Home
last modified time | relevance | path

Searched refs:test (Results 1 – 16 of 16) sorted by relevance

/unit/src/test/
H A Dnxt_http_parse_test.c536 nxt_http_parse_test_case_t *test; in nxt_http_parse_test() local
548 test = &nxt_http_test_cases[i]; in nxt_http_parse_test()
567 if (rc != test->result) { in nxt_http_parse_test()
571 &test->request, rc, test->result); in nxt_http_parse_test()
575 if (test->handler != NULL in nxt_http_parse_test()
576 && test->handler(&rp, &test->data, &test->request, thr->log) in nxt_http_parse_test()
723 if (rp->method.start != test->method.start in nxt_http_parse_test_request_line()
736 if (str.start != test->target.start in nxt_http_parse_test_request_line()
737 && !nxt_strstr_eq(&str, &test->target)) in nxt_http_parse_test_request_line()
746 if (rp->args.start != test->args.start in nxt_http_parse_test_request_line()
[all …]
H A Dnxt_sprintf_test.c13 const char *test; member
31 const char *test, double n) in nxt_sprintf_test_double() argument
38 return nxt_strcmp(buf, test); in nxt_sprintf_test_double()
56 double_test[i].test, in nxt_sprintf_test()
64 double_test[i].format, double_test[i].test, buf); in nxt_sprintf_test()
H A Dnxt_utf8_file_name_test.c43 u_char *p, test[4], buf[32]; in nxt_utf8_file_name_test() local
128 n = nxt_file_read(&lc_file, test, 4, 0); in nxt_utf8_file_name_test()
132 if (n != 4 || nxt_memcmp(utf8, test, 4) != 0) { in nxt_utf8_file_name_test()
/unit/src/
H A Dnxt_http_route.c448 test = &match->test[0]; in nxt_http_route_match_create()
460 test++; in nxt_http_route_match_create()
474 test++; in nxt_http_route_match_create()
488 test++; in nxt_http_route_match_create()
951 if (test.length != 0 && test.start[0] == '!') { in nxt_http_route_pattern_create()
959 if (test.length > 0 && test.start[0] == '~') { in nxt_http_route_pattern_create()
1017 p = nxt_memchr(test.start, '*', test.length); in nxt_http_route_pattern_create()
1024 test.start += test.length; in nxt_http_route_pattern_create()
1045 end = test.start + test.length; in nxt_http_route_pattern_create()
1191 nxt_memcpy(start, test->start, test->length); in nxt_http_route_pattern_slice()
[all …]
H A Dnxt_clone.h39 #define nxt_is_clone_flag_set(flags, test) \ argument
40 ((flags & CLONE_##test) == CLONE_##test)
H A Dnxt_lvlhsh.h77 nxt_lvlhsh_test_t test; member
H A Dnxt_lvlhsh.c247 if (lhq->proto->test(lhq, value) == NXT_OK) { in nxt_lvlhsh_bucket_find()
375 if (proto->test(lhq, value) == NXT_OK) { in nxt_lvlhsh_bucket_insert()
706 if (proto->test(lhq, value) == NXT_OK) { in nxt_lvlhsh_bucket_delete()
H A Dnxt_http_parse.c1229 proto.test = nxt_http_field_hash_collision; in nxt_http_fields_hash_collisions()
/unit/auto/
H A Doptions88 --test-build-epoll) NXT_TEST_BUILD_EPOLL=YES ;;
89 --test-build-eventport) NXT_TEST_BUILD_EVENTPORT=YES ;;
90 --test-build-devpoll) NXT_TEST_BUILD_DEVPOLL=YES ;;
91 --test-build-pollset) NXT_TEST_BUILD_POLLSET=YES ;;
93 --test-build-freebsd-sendfile) NXT_TEST_BUILD_FREEBSD_SENDFILE=YES ;;
94 --test-build-linux-sendfile) NXT_TEST_BUILD_LINUX_SENDFILE=YES ;;
95 --test-build-solaris-sendfilev) NXT_TEST_BUILD_SOLARIS_SENDFILEV=YES ;;
96 --test-build-macosx-sendfile) NXT_TEST_BUILD_MACOSX_SENDFILE=YES ;;
97 --test-build-aix-send_file) NXT_TEST_BUILD_AIX_SEND_FILE=YES ;;
98 --test-build-hpux-sendfile) NXT_TEST_BUILD_HPUX_SENDFILE=YES ;;
H A Dsources155 src/test/nxt_rbtree1.h \
159 src/test/nxt_tests.c \
160 src/test/nxt_rbtree1.c \
161 src/test/nxt_rbtree_test.c \
164 src/test/nxt_mp_test.c \
166 src/test/nxt_lvlhsh_test.c \
167 src/test/nxt_gmtime_test.c \
168 src/test/nxt_sprintf_test.c \
169 src/test/nxt_malloc_test.c \
170 src/test/nxt_utf8_test.c \
[all …]
H A Dmake11 $NXT_BUILD_DIR/src/test
112 src/test/nxt_unit_app_test.c \
113 src/test/nxt_unit_websocket_chat.c \
114 src/test/nxt_unit_websocket_echo.c
135 nxt_src=src/test/nxt_cq_test.c
136 nxt_obj=src/test/nxt_ncq_test.o
137 nxt_dep=src/test/nxt_ncq_test.dep
153 nxt_src=src/test/nxt_cq_test.c
154 nxt_obj=src/test/nxt_vbcq_test.o
155 nxt_dep=src/test/nxt_vbcq_test.dep
[all …]
H A Dfeature18 if test -n "$nxt_feature_incs"; then
/unit/test/php/open/
H A Dtest.txt1 test
/unit/src/nodejs/unit-http/
H A Dwebsocket_router.js141 if (handler.path.test(request.resourceURL.pathname)) {
/unit/
H A DCONTRIBUTING.md42 information as possible, and a code sample or an executable test case showing
/unit/auto/modules/
H A Dnodejs195 @test -n "\$(DESTDIR)$NXT_NODE_LOCAL" \\