Home
last modified time | relevance | path

Searched refs:nxt_str_eq (Results 1 – 13 of 13) sorted by relevance

/unit/src/
H A Dnxt_isolation.c99 if (!nxt_str_eq(&app_conf->user, (u_char *) rt->user_cred.user, in nxt_isolation_main_prefork()
109 && !nxt_str_eq(&app_conf->group, (u_char *) rt->group, in nxt_isolation_main_prefork()
385 if (nxt_str_eq(&name, "credential", 10)) { in nxt_isolation_clone_flags()
391 if (nxt_str_eq(&name, "pid", 3)) { in nxt_isolation_clone_flags()
397 if (nxt_str_eq(&name, "network", 7)) { in nxt_isolation_clone_flags()
403 if (nxt_str_eq(&name, "uname", 5)) { in nxt_isolation_clone_flags()
409 if (nxt_str_eq(&name, "mount", 5)) { in nxt_isolation_clone_flags()
415 if (nxt_str_eq(&name, "cgroup", 6)) { in nxt_isolation_clone_flags()
H A Dnxt_application.c989 if (nxt_str_eq(&str, "external", 8) || nxt_str_eq(&str, "go", 2)) { in nxt_app_parse_type()
992 } else if (nxt_str_eq(&str, "python", 6)) { in nxt_app_parse_type()
995 } else if (nxt_str_eq(&str, "php", 3)) { in nxt_app_parse_type()
998 } else if (nxt_str_eq(&str, "perl", 4)) { in nxt_app_parse_type()
1001 } else if (nxt_str_eq(&str, "ruby", 4)) { in nxt_app_parse_type()
1004 } else if (nxt_str_eq(&str, "java", 4)) { in nxt_app_parse_type()
H A Dnxt_controller.c1092 if (!nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_request()
1174 if (nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_config()
1189 if (nxt_str_eq(&req->parser.method, "POST", 4)) { in nxt_controller_process_config()
1200 if (post || nxt_str_eq(&req->parser.method, "PUT", 3)) { in nxt_controller_process_config()
1313 if (nxt_str_eq(&req->parser.method, "DELETE", 6)) { in nxt_controller_process_config()
1487 if (nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_cert()
1520 if (nxt_str_eq(&req->parser.method, "PUT", 3)) { in nxt_controller_process_cert()
1544 if (nxt_str_eq(&req->parser.method, "DELETE", 6)) { in nxt_controller_process_cert()
1769 if (!nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_control()
H A Dnxt_string.h143 #define nxt_str_eq(s, p, _length) \ macro
H A Dnxt_http_static.c192 if (nxt_slow_path(!nxt_str_eq(r->method, "GET", 3))) { in nxt_http_static()
194 if (!nxt_str_eq(r->method, "HEAD", 4)) { in nxt_http_static()
H A Dnxt_cache.c103 if (nxt_str_eq(&lhq->key, node->key_data, node->key_len)) { in nxt_cache_lvlhsh_test()
H A Dnxt_cert.c860 if (nxt_str_eq(&name, ".", 1) || nxt_str_eq(&name, "..", 2)) { in nxt_cert_store_load()
H A Dnxt_http_route.c1382 if (nxt_str_eq(&segments[0], "applications", 12)) { in nxt_http_pass_find()
1388 if (nxt_str_eq(&segments[0], "upstreams", 9)) { in nxt_http_pass_find()
1392 if (nxt_str_eq(&segments[0], "routes", 6)) { in nxt_http_pass_find()
H A Dnxt_php_sapi.c693 if (nxt_str_eq(&name, "disable_functions", 17)) { in nxt_php_set_options()
704 if (nxt_str_eq(&name, "disable_classes", 15)) { in nxt_php_set_options()
H A Dnxt_conf_validation.c1549 if (nxt_str_eq(&segments[0], "applications", 12)) { in nxt_conf_vldt_pass()
1584 if (nxt_str_eq(&segments[0], "upstreams", 9)) { in nxt_conf_vldt_pass()
1605 if (nxt_str_eq(&segments[0], "routes", 6)) { in nxt_conf_vldt_pass()
/unit/src/test/
H A Dnxt_base64_test.c89 if (!nxt_str_eq(&tests[i].dec, buf, (size_t) ret)) { in nxt_base64_test()
H A Dnxt_clone_test.c417 if (!nxt_str_eq(&tc->errmsg, msg, (nxt_uint_t) (p - msg - 1))) { in nxt_clone_test_log_handler()
/unit/src/python/
H A Dnxt_python_asgi_http.c279 if (nxt_str_eq(&response_body, type_str, (size_t) type_len)) { in nxt_py_asgi_http_send()
288 if (nxt_str_eq(&response_start, type_str, (size_t) type_len)) { in nxt_py_asgi_http_send()