Home
last modified time | relevance | path

Searched refs:test (Results 1 – 18 of 18) 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 || 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()
953 if (test.length != 0 && test.start[0] == '!') { in nxt_http_route_pattern_create()
961 if (test.length > 0 && test.start[0] == '~') { in nxt_http_route_pattern_create()
1019 p = memchr(test.start, '*', test.length); in nxt_http_route_pattern_create()
1026 test.start += test.length; in nxt_http_route_pattern_create()
1047 end = test.start + test.length; in nxt_http_route_pattern_create()
1193 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_tstr.h22 uint8_t test; /* 1 bit */ member
40 nxt_tstr_state_t *nxt_tstr_state_new(nxt_mp_t *mp, nxt_bool_t test);
H A Dnxt_tstr.c55 nxt_tstr_state_new(nxt_mp_t *mp, nxt_bool_t test) in nxt_tstr_state_new() argument
65 state->test = test; in nxt_tstr_state_new()
183 if (!state->test) { in nxt_tstr_state_done()
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 Dsources162 src/test/nxt_rbtree1.h \
166 src/test/nxt_tests.c \
167 src/test/nxt_rbtree1.c \
168 src/test/nxt_rbtree_test.c \
171 src/test/nxt_mp_test.c \
173 src/test/nxt_lvlhsh_test.c \
174 src/test/nxt_gmtime_test.c \
175 src/test/nxt_sprintf_test.c \
176 src/test/nxt_malloc_test.c \
177 src/test/nxt_utf8_test.c \
[all …]
H A Dmake11 $NXT_BUILD_DIR/src/test
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
366 test -d \$(DESTDIR)$NXT_SBINDIR \
369 test -d \$(DESTDIR)$NXT_STATE \
396 test -d \$(DESTDIR)$NXT_LIBDIR \
[all …]
H A Doptions92 --test-build-epoll) NXT_TEST_BUILD_EPOLL=YES ;;
93 --test-build-eventport) NXT_TEST_BUILD_EVENTPORT=YES ;;
94 --test-build-devpoll) NXT_TEST_BUILD_DEVPOLL=YES ;;
95 --test-build-pollset) NXT_TEST_BUILD_POLLSET=YES ;;
97 --test-build-freebsd-sendfile) NXT_TEST_BUILD_FREEBSD_SENDFILE=YES ;;
98 --test-build-linux-sendfile) NXT_TEST_BUILD_LINUX_SENDFILE=YES ;;
99 --test-build-solaris-sendfilev) NXT_TEST_BUILD_SOLARIS_SENDFILEV=YES ;;
100 --test-build-macosx-sendfile) NXT_TEST_BUILD_MACOSX_SENDFILE=YES ;;
101 --test-build-aix-send_file) NXT_TEST_BUILD_AIX_SEND_FILE=YES ;;
102 --test-build-hpux-sendfile) NXT_TEST_BUILD_HPUX_SENDFILE=YES ;;
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" \\