/unit/src/ |
H A D | nxt_isolation.c | 99 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 D | nxt_application.c | 989 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 D | nxt_controller.c | 1092 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 D | nxt_string.h | 143 #define nxt_str_eq(s, p, _length) \ macro
|
H A D | nxt_http_static.c | 192 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 D | nxt_cache.c | 103 if (nxt_str_eq(&lhq->key, node->key_data, node->key_len)) { in nxt_cache_lvlhsh_test()
|
H A D | nxt_cert.c | 860 if (nxt_str_eq(&name, ".", 1) || nxt_str_eq(&name, "..", 2)) { in nxt_cert_store_load()
|
H A D | nxt_http_route.c | 1382 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 D | nxt_php_sapi.c | 693 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 D | nxt_conf_validation.c | 1549 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 D | nxt_base64_test.c | 89 if (!nxt_str_eq(&tests[i].dec, buf, (size_t) ret)) { in nxt_base64_test()
|
H A D | nxt_clone_test.c | 417 if (!nxt_str_eq(&tc->errmsg, msg, (nxt_uint_t) (p - msg - 1))) { in nxt_clone_test_log_handler()
|
/unit/src/python/ |
H A D | nxt_python_asgi_http.c | 279 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()
|