Home
last modified time | relevance | path

Searched refs:nxt_str_eq (Results 1 – 14 of 14) 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.c1032 if (nxt_str_eq(&str, "external", 8) || nxt_str_eq(&str, "go", 2)) { in nxt_app_parse_type()
1035 } else if (nxt_str_eq(&str, "python", 6)) { in nxt_app_parse_type()
1038 } else if (nxt_str_eq(&str, "php", 3)) { in nxt_app_parse_type()
1041 } else if (nxt_str_eq(&str, "perl", 4)) { in nxt_app_parse_type()
1044 } else if (nxt_str_eq(&str, "ruby", 4)) { in nxt_app_parse_type()
1047 } else if (nxt_str_eq(&str, "java", 4)) { in nxt_app_parse_type()
H A Dnxt_controller.c1083 if (!nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_request()
1133 if (!nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_request()
1221 if (nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_config()
1236 if (nxt_str_eq(&req->parser.method, "POST", 4)) { in nxt_controller_process_config()
1247 if (post || nxt_str_eq(&req->parser.method, "PUT", 3)) { in nxt_controller_process_config()
1360 if (nxt_str_eq(&req->parser.method, "DELETE", 6)) { in nxt_controller_process_config()
1656 if (nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_cert()
1689 if (nxt_str_eq(&req->parser.method, "PUT", 3)) { in nxt_controller_process_cert()
1713 if (nxt_str_eq(&req->parser.method, "DELETE", 6)) { in nxt_controller_process_cert()
1938 if (!nxt_str_eq(&req->parser.method, "GET", 3)) { in nxt_controller_process_control()
H A Dnxt_string.h135 #define nxt_str_eq(s, p, _length) \ macro
H A Dnxt_http_route_addr.c44 if (nxt_str_eq(&addr, "unix", 4)) { in nxt_http_route_addr_pattern_parse()
H A Dnxt_http_static.c195 if (nxt_slow_path(!nxt_str_eq(r->method, "GET", 3))) { in nxt_http_static()
197 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.c1388 if (nxt_str_eq(&segments[0], "applications", 12)) { in nxt_http_pass_find()
1394 if (nxt_str_eq(&segments[0], "upstreams", 9)) { in nxt_http_pass_find()
1398 if (nxt_str_eq(&segments[0], "routes", 6)) { in nxt_http_pass_find()
H A Dnxt_php_sapi.c696 if (nxt_str_eq(&name, "disable_functions", 17)) { in nxt_php_set_options()
707 if (nxt_str_eq(&name, "disable_classes", 15)) { in nxt_php_set_options()
H A Dnxt_conf_validation.c1587 if (nxt_str_eq(&segments[0], "applications", 12)) { in nxt_conf_vldt_pass()
1622 if (nxt_str_eq(&segments[0], "upstreams", 9)) { in nxt_conf_vldt_pass()
1643 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()