Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 160) sorted by relevance

1234567

/unit/src/
H A Dnxt_process_title.c67 end = argv[0]; in nxt_process_arguments()
74 if (argv[i] == end) { in nxt_process_arguments()
104 argv_end = end; in nxt_process_arguments()
111 if (env[i] == end) { in nxt_process_arguments()
124 if (argv_end == end) { in nxt_process_arguments()
133 end = argv[0]; in nxt_process_arguments()
137 if (argv[i] != end) { in nxt_process_arguments()
145 end = argv[i] + size; in nxt_process_arguments()
167 if (env[i] != end) { in nxt_process_arguments()
175 end = env[i] + size; in nxt_process_arguments()
[all …]
H A Dnxt_sprintf.c79 u_char *end; member
121 spf.end = end; in nxt_vsprintf()
578 u_char *p, *end; in nxt_integer() local
666 end = nxt_min(end, spf->end); in nxt_integer()
676 end = buf + length; in nxt_integer()
677 end = nxt_min(end, spf->end); in nxt_integer()
679 while (buf < end) { in nxt_integer()
690 u_char *p, *end; in nxt_number() local
706 end = nxt_min(end, spf->end); in nxt_number()
717 end = buf + length; in nxt_number()
[all …]
H A Dnxt_string.c251 while (s < end) { in nxt_memstrn()
287 while (s < end) { in nxt_memcasestrn()
319 s1 = end - length; in nxt_rmemstrn()
522 u_char *end, ch; in nxt_decode_uri() local
527 end = src + length; in nxt_decode_uri()
529 while (src < end) { in nxt_decode_uri()
557 u_char *end, ch; in nxt_decode_uri_plus() local
598 u_char *end; in nxt_encode_uri() local
713 for (end = src + length; src < end; src++) { in nxt_is_complex_uri_encoded()
753 u_char *end, *p; in nxt_base64_decode() local
[all …]
H A Dnxt_utf8.c73 nxt_utf8_decode(const u_char **start, const u_char *end) in nxt_utf8_decode() argument
84 return nxt_utf8_decode2(start, end); in nxt_utf8_decode()
95 nxt_utf8_decode2(const u_char **start, const u_char *end) in nxt_utf8_decode2() argument
142 if (nxt_fast_path(p + n <= end)) { in nxt_utf8_decode2()
223 u = nxt_utf8_decode2(start, end); in nxt_utf8_lowcase()
241 const u_char *end; in nxt_utf8_length() local
245 end = p + len; in nxt_utf8_length()
247 while (p < end) { in nxt_utf8_length()
262 const u_char *end; in nxt_utf8_is_valid() local
264 end = p + len; in nxt_utf8_is_valid()
[all …]
H A Dnxt_fs.c164 end = data - 1; in nxt_fs_mount()
167 p = end + 1; in nxt_fs_mount()
169 if (end == NULL) { in nxt_fs_mount()
173 *end = '\0'; in nxt_fs_mount()
180 p = end + 1; in nxt_fs_mount()
183 if (end != NULL) { in nxt_fs_mount()
184 *end = '\0'; in nxt_fs_mount()
239 char *start, *end, *dst; in nxt_fs_mkdir_all() local
248 start = end = (char *) dir; in nxt_fs_mkdir_all()
256 if (end == NULL) { in nxt_fs_mkdir_all()
[all …]
H A Dnxt_http_route_addr.c71 u_char *end; in nxt_http_route_addr_pattern_parse() local
82 end = addr.start + addr.length; in nxt_http_route_addr_pattern_parse()
91 port.length = end - port.start; in nxt_http_route_addr_pattern_parse()
180 inet6->end.s6_addr[i] = 0; in nxt_http_route_addr_pattern_parse()
220 inet->end = nxt_inet_addr(delim + 1, in nxt_http_route_addr_pattern_parse()
281 base->port.end = 65535; in nxt_http_route_addr_pattern_parse()
300 base->port.end = ret; in nxt_http_route_addr_pattern_parse()
309 base->port.end = ret; in nxt_http_route_addr_pattern_parse()
321 u_char *end; in nxt_valid_ipv6_blocks() local
324 end = c + len; in nxt_valid_ipv6_blocks()
[all …]
H A Dnxt_log.c69 u_char *p, *end; in nxt_log_handler() local
77 end = msg + NXT_MAX_ERROR_STR; in nxt_log_handler()
80 p = nxt_cpystrn(p, nxt_log_prefix, end - p); in nxt_log_handler()
89 p = nxt_sprintf(p, end, (log->ident != 0) ? "[%V] *%D " : "[%V] ", in nxt_log_handler()
93 p = nxt_vsprintf(p, end, fmt, args); in nxt_log_handler()
97 p = log->ctx_handler(log->ctx, p, end); in nxt_log_handler()
100 if (p > end - nxt_length("\n")) { in nxt_log_handler()
101 p = end - nxt_length("\n"); in nxt_log_handler()
H A Dnxt_app_log.c22 u_char *p, *end; in nxt_log_time_handler() local
33 end = msg + NXT_MAX_ERROR_STR; in nxt_log_time_handler()
60 p = nxt_sprintf(p, end, id, &nxt_log_levels[level], nxt_pid, in nxt_log_time_handler()
63 p = nxt_sprintf(p, end, "[%V] %PI#%PT ", &nxt_log_levels[level], nxt_pid, in nxt_log_time_handler()
68 p = nxt_sprintf(p, end, "*%D ", log->ident); in nxt_log_time_handler()
72 p = nxt_vsprintf(p, end, fmt, args); in nxt_log_time_handler()
76 p = log->ctx_handler(log->ctx, p, end); in nxt_log_time_handler()
79 if (p > end - nxt_length("\n")) { in nxt_log_time_handler()
80 p = end - nxt_length("\n"); in nxt_log_time_handler()
H A Dnxt_utf8.h20 NXT_EXPORT uint32_t nxt_utf8_decode(const u_char **start, const u_char *end);
21 NXT_EXPORT uint32_t nxt_utf8_decode2(const u_char **start, const u_char *end);
24 NXT_EXPORT uint32_t nxt_utf8_lowcase(const u_char **start, const u_char *end);
32 nxt_utf8_next(const u_char *p, const u_char *end) in nxt_utf8_next() argument
53 } while (p < end); in nxt_utf8_next()
H A Dnxt_http_parse.c11 u_char **pos, const u_char *end);
13 u_char **pos, const u_char *end);
101 while (p != end) { in nxt_http_parse_target()
161 const u_char *end) in nxt_http_parse_request_line() argument
202 while (p != end) { in nxt_http_parse_request_line()
354 if (p == end) { in nxt_http_parse_request_line()
482 const u_char *end) in nxt_http_parse_unusual_target() argument
520 const u_char *end) in nxt_http_parse_field_name() argument
627 const u_char *end) in nxt_http_parse_field_value() argument
752 switch (end - p) { in nxt_http_lookup_field_end()
[all …]
H A Dnxt_time_parse.c23 const u_char *end; in nxt_time_parse() local
36 end = p + len; in nxt_time_parse()
38 while (p < end) { in nxt_time_parse()
51 while (p < end) { in nxt_time_parse()
59 if (nxt_slow_path(p + 18 > end)) { in nxt_time_parse()
74 if (nxt_slow_path(p + 18 > end)) { in nxt_time_parse()
185 if (nxt_slow_path(p + 14 > end)) { in nxt_time_parse()
315 const u_char *end; in nxt_term_parse() local
342 end = p + len; in nxt_term_parse()
344 while (p < end) { in nxt_term_parse()
[all …]
H A Dnxt_sockaddr.c232 u_char *p, *start, *end, *octet; in nxt_sockaddr_text() local
240 end = start + sa->length; in nxt_sockaddr_text()
444 if (buf + max_inet6_length > end) { in nxt_inet6_ntop()
647 u_char *p, *start, *end; in nxt_sockaddr_inet6_parse() local
661 p = end + 1; in nxt_sockaddr_inet6_parse()
776 u_char c, *end; in nxt_inet_addr() local
788 end = buf + length; in nxt_inet_addr()
790 while (buf < end) { in nxt_inet_addr()
833 end = buf + length; in nxt_inet6_addr()
846 while (buf < end) { in nxt_inet6_addr()
[all …]
H A Dnxt_clone.c42 u_char *p, *end; in nxt_clone_credential_setgroups() local
45 end = path + PATH_MAX; in nxt_clone_credential_setgroups()
49 if (nxt_slow_path(p == end)) { in nxt_clone_credential_setgroups()
88 u_char *p, *end; in nxt_clone_credential_map_write() local
92 end = buf + sizeof(buf); in nxt_clone_credential_map_write()
95 if (nxt_slow_path(p == end)) { in nxt_clone_credential_map_write()
138 u_char *p, *end, *mapinfo; in nxt_clone_credential_map_set() local
157 end = mapinfo + len; in nxt_clone_credential_map_set()
163 if (nxt_slow_path(p == end)) { in nxt_clone_credential_map_set()
183 end = mapinfo + len; in nxt_clone_credential_map_set()
[all …]
H A Dnxt_var.c135 while (p < end) { in nxt_var_decl_get()
141 if (p == end) { in nxt_var_decl_get()
352 end = p + str->length; in nxt_var_compile()
354 while (p < end) { in nxt_var_compile()
388 while (p < end) { in nxt_var_compile()
420 end = p + str->length; in nxt_var_test()
422 while (p < end) { in nxt_var_test()
457 end = start + length; in nxt_var_next_part()
466 if (p == end) { in nxt_var_next_part()
517 end = p; in nxt_var_next_part()
[all …]
H A Dnxt_conf.c96 u_char *end; member
337 end = nxt_sprintf(p, end, "%L", value); in nxt_conf_set_member_integer()
338 *end = '\0'; in nxt_conf_set_member_integer()
509 u_char *p, *start, *end; in nxt_conf_path_next_token() local
1255 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse()
1274 if (nxt_slow_path(p != end)) { in nxt_conf_json_parse()
1440 if (p == end) { in nxt_conf_json_parse_value()
1441 return end; in nxt_conf_json_parse_value()
2182 end = NULL; in nxt_conf_json_parse_number()
2197 if (nxt_slow_path(end == NULL || *end != '\0')) { in nxt_conf_json_parse_number()
[all …]
H A Dnxt_http_route_addr.h35 in_addr_t end; member
42 struct in6_addr end; member
54 uint16_t end; member
H A Dnxt_recvbuf.c26 size = b->mem.end - b->mem.free; in nxt_recvbuf_mem_coalesce()
45 last = b->mem.end; in nxt_recvbuf_mem_coalesce()
69 size = b->mem.end - b->mem.free; in nxt_recvbuf_update()
76 b->mem.free = b->mem.end; in nxt_recvbuf_update()
H A Dnxt_http_route.c1050 p = end - 1; in nxt_http_route_pattern_create()
1065 end = p; in nxt_http_route_pattern_create()
1082 while (p != end) { in nxt_http_route_pattern_create()
1126 u_char *start, *end; in nxt_http_route_decode_str() local
1247 while (match < end) { in nxt_http_route_resolve()
1468 while (route < end) { in nxt_http_route_find()
1572 while (test < end) { in nxt_http_route_match()
1637 while (rule < end) { in nxt_http_route_ruleset()
1936 while (nv < end) { in nxt_http_route_test_argument()
2014 while (nv < end) { in nxt_http_route_test_cookie()
[all …]
/unit/src/test/
H A Dnxt_sprintf_test.c30 nxt_sprintf_test_double(u_char *buf, u_char *end, const char *fmt, in nxt_sprintf_test_double() argument
35 p = nxt_sprintf(buf, end, fmt, n); in nxt_sprintf_test_double()
47 u_char *end, buf[64]; in nxt_sprintf_test() local
51 end = buf + 64; in nxt_sprintf_test()
55 ret = nxt_sprintf_test_double(buf, end, double_test[i].format, in nxt_sprintf_test()
H A Dnxt_rbtree_test.c29 nxt_nsec_t start, end; in nxt_rbtree_test() local
109 end = nxt_thread_monotonic_time(thr); in nxt_rbtree_test()
127 (end - start) / 1000000000.0); in nxt_rbtree_test()
206 uint64_t start, end; in nxt_rbtree_mb_start() local
233 end = nxt_rdtsc(); in nxt_rbtree_mb_start()
245 uint64_t start, end; in nxt_rbtree_mb_insert() local
253 end = nxt_rdtsc(); in nxt_rbtree_mb_insert()
256 "rbtree mb insert: %L cycles", end - start); in nxt_rbtree_mb_insert()
263 uint64_t start, end; in nxt_rbtree_mb_delete() local
271 end = nxt_rdtsc(); in nxt_rbtree_mb_delete()
[all …]
H A Dnxt_gmtime_test.c30 nxt_nsec_t start, end; in nxt_gmtime_test() local
63 end = nxt_thread_monotonic_time(thr); in nxt_gmtime_test()
66 (end - start) / 10000000.0); in nxt_gmtime_test()
77 end = nxt_thread_monotonic_time(thr); in nxt_gmtime_test()
80 (end - start) / 10000000.0); in nxt_gmtime_test()
H A Dnxt_rbtree1_test.c60 nxt_nsec_t start, end; in nxt_rbtree1_test() local
133 end = nxt_thread_monotonic_time(thr); in nxt_rbtree1_test()
144 (end - start) / 1000000000.0); in nxt_rbtree1_test()
268 uint64_t start, end; in nxt_rbtree1_mb_start() local
295 end = nxt_rdtsc(); in nxt_rbtree1_mb_start()
307 uint64_t start, end; in nxt_rbtree1_mb_insert() local
315 end = nxt_rdtsc(); in nxt_rbtree1_mb_insert()
318 "rbtree1 mb insert: %L cycles", end - start); in nxt_rbtree1_mb_insert()
325 uint64_t start, end; in nxt_rbtree1_mb_delete() local
333 end = nxt_rdtsc(); in nxt_rbtree1_mb_delete()
[all …]
/unit/test/ruby/errors_write_to_s_custom/
H A Dconfig.ru6 end
7 end
13 end
/unit/test/node/double_end/
H A Dapp.js3 res.end().end();
/unit/test/ruby/at_exit/
H A Dconfig.ru4 end
6 end

1234567