/unit/src/test/ |
H A D | nxt_http_parse_test.c | 536 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 D | nxt_sprintf_test.c | 13 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 D | nxt_utf8_file_name_test.c | 43 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 D | nxt_http_route.c | 448 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() 977 if (test.length != 0 && test.start[0] == '!') { in nxt_http_route_pattern_create() 985 if (test.length > 0 && test.start[0] == '~') { in nxt_http_route_pattern_create() 1043 p = memchr(test.start, '*', test.length); in nxt_http_route_pattern_create() 1050 test.start += test.length; in nxt_http_route_pattern_create() 1071 end = test.start + test.length; in nxt_http_route_pattern_create() 1217 nxt_memcpy(start, test->start, test->length); in nxt_http_route_pattern_slice() [all …]
|
H A D | nxt_clone.h | 38 #define nxt_is_clone_flag_set(flags, test) \ argument 39 ((flags & CLONE_##test) == CLONE_##test)
|
H A D | nxt_tstr.c | 55 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() 73 state->jcf = nxt_js_conf_new(mp, test); in nxt_tstr_state_new() 182 if (!state->test) { in nxt_tstr_state_done()
|
H A D | nxt_tstr.h | 22 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 D | nxt_js.c | 28 uint8_t test; /* 1 bit */ member 84 nxt_js_conf_new(nxt_mp_t *mp, nxt_bool_t test) in nxt_js_conf_new() argument 94 jcf->test = test; in nxt_js_conf_new() 145 if (jcf->test || jcf->modules->nelts == 0) { in nxt_js_vm_create() 301 if (jcf->test) { in nxt_js_compile()
|
H A D | nxt_js.h | 26 nxt_js_conf_t *nxt_js_conf_new(nxt_mp_t *mp, nxt_bool_t test);
|
H A D | nxt_lvlhsh.h | 77 nxt_lvlhsh_test_t test; member
|
H A D | nxt_lvlhsh.c | 247 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 D | nxt_http_parse.c | 1229 proto.test = nxt_http_field_hash_collision; in nxt_http_fields_hash_collisions()
|
/unit/auto/ |
H A D | sources | 151 src/test/nxt_rbtree1.h \ 155 src/test/nxt_tests.c \ 156 src/test/nxt_rbtree1.c \ 157 src/test/nxt_rbtree_test.c \ 160 src/test/nxt_mp_test.c \ 162 src/test/nxt_lvlhsh_test.c \ 163 src/test/nxt_gmtime_test.c \ 164 src/test/nxt_sprintf_test.c \ 165 src/test/nxt_malloc_test.c \ 166 src/test/nxt_utf8_test.c \ [all …]
|
H A D | make | 131 nxt_src=src/test/nxt_cq_test.c 132 nxt_obj=src/test/nxt_ncq_test.o 133 nxt_dep=src/test/nxt_ncq_test.dep 149 nxt_src=src/test/nxt_cq_test.c 150 nxt_obj=src/test/nxt_vbcq_test.o 151 nxt_dep=src/test/nxt_vbcq_test.dep 354 @test -n "\$(DESTDIR)$NXT_PREFIX" \\ 363 test -d \$(DESTDIR)$NXT_SBINDIR \ 366 test -d \$(DESTDIR)$NXT_STATEDIR \ 368 test -d \$(DESTDIR)$NXT_LOGDIR \ [all …]
|
H A D | options | 114 --test-build-epoll) NXT_TEST_BUILD_EPOLL=YES ;; 115 --test-build-eventport) NXT_TEST_BUILD_EVENTPORT=YES ;; 116 --test-build-devpoll) NXT_TEST_BUILD_DEVPOLL=YES ;; 117 --test-build-pollset) NXT_TEST_BUILD_POLLSET=YES ;; 119 --test-build-freebsd-sendfile) NXT_TEST_BUILD_FREEBSD_SENDFILE=YES ;; 120 --test-build-linux-sendfile) NXT_TEST_BUILD_LINUX_SENDFILE=YES ;; 121 --test-build-solaris-sendfilev) NXT_TEST_BUILD_SOLARIS_SENDFILEV=YES ;; 122 --test-build-macosx-sendfile) NXT_TEST_BUILD_MACOSX_SENDFILE=YES ;; 123 --test-build-aix-send_file) NXT_TEST_BUILD_AIX_SEND_FILE=YES ;; 124 --test-build-hpux-sendfile) NXT_TEST_BUILD_HPUX_SENDFILE=YES ;;
|
H A D | feature | 18 if test -n "$nxt_feature_incs"; then
|
/unit/test/php/open/ |
H A D | test.txt | 1 test
|
/unit/src/nodejs/unit-http/ |
H A D | websocket_router.js | 141 if (handler.path.test(request.resourceURL.pathname)) {
|
/unit/.github/workflows/ |
H A D | ci.yml | 10 test: 79 testpath="test/test_${module}*" 84 testpath="test"
|
/unit/ |
H A D | CONTRIBUTING.md | 42 information as possible, and a code sample or an executable test case showing
|
/unit/auto/modules/ |
H A D | nodejs | 195 @test -n "\$(DESTDIR)$NXT_NODE_LOCAL" \\
|