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
120 spf.end = end; in nxt_vsprintf()
568 u_char *p, *end; in nxt_integer() local
656 end = nxt_min(end, spf->end); in nxt_integer()
666 end = buf + length; in nxt_integer()
667 end = nxt_min(end, spf->end); in nxt_integer()
669 while (buf < end) { in nxt_integer()
680 u_char *p, *end; in nxt_number() local
696 end = nxt_min(end, spf->end); in nxt_number()
707 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_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_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_http_route_addr.c61 u_char *end; in nxt_http_route_addr_pattern_parse() local
72 end = addr.start + addr.length; in nxt_http_route_addr_pattern_parse()
81 port.length = end - port.start; in nxt_http_route_addr_pattern_parse()
170 inet6->end.s6_addr[i] = 0; in nxt_http_route_addr_pattern_parse()
210 inet->end = nxt_inet_addr(delim + 1, in nxt_http_route_addr_pattern_parse()
271 base->port.end = 65535; in nxt_http_route_addr_pattern_parse()
290 base->port.end = ret; in nxt_http_route_addr_pattern_parse()
299 base->port.end = ret; in nxt_http_route_addr_pattern_parse()
311 u_char *end; in nxt_valid_ipv6_blocks() local
314 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, u_char *end);
13 u_char **pos, u_char *end);
15 u_char **pos, u_char *end);
17 u_char **pos, u_char *end);
101 while (p != end) { in nxt_http_parse_target()
161 u_char *end) in nxt_http_parse_request_line() argument
482 u_char *end) in nxt_http_parse_unusual_target() argument
520 u_char *end) in nxt_http_parse_field_name() argument
627 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_conf.c96 u_char *end; member
323 end = nxt_sprintf(p, end, "%L", value); in nxt_conf_set_member_integer()
324 *end = '\0'; in nxt_conf_set_member_integer()
495 u_char *p, *start, *end; in nxt_conf_path_next_token() local
1241 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse()
1260 if (nxt_slow_path(p != end)) { in nxt_conf_json_parse()
1426 if (p == end) { in nxt_conf_json_parse_value()
1427 return end; in nxt_conf_json_parse_value()
2168 end = NULL; in nxt_conf_json_parse_number()
2183 if (nxt_slow_path(end == NULL || *end != '\0')) { in nxt_conf_json_parse_number()
[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_sockaddr.c236 u_char *p, *start, *end, *octet; in nxt_sockaddr_text() local
244 end = start + sa->length; in nxt_sockaddr_text()
524 if (buf + max_inet6_length > end) { in nxt_inet6_ntop()
726 u_char *p, *start, *end; in nxt_sockaddr_inet6_parse() local
740 p = end + 1; in nxt_sockaddr_inet6_parse()
1187 u_char c, *end; in nxt_inet_addr() local
1199 end = buf + length; in nxt_inet_addr()
1201 while (buf < end) { in nxt_inet_addr()
1244 end = buf + length; in nxt_inet6_addr()
1257 while (buf < end) { in nxt_inet6_addr()
[all …]
H A Dnxt_http_route_addr.h34 in_addr_t end; member
41 struct in6_addr end; member
53 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.c809 goto end; in nxt_http_route_rule_name_create()
854 end: in nxt_http_route_rule_name_create()
1112 p = end - 1; in nxt_http_route_pattern_create()
1127 end = p; in nxt_http_route_pattern_create()
1144 while (p != end) { in nxt_http_route_pattern_create()
1188 u_char *start, *end; in nxt_http_route_decode_str() local
1633 while (test < end) { in nxt_http_route_match()
1698 while (rule < end) { in nxt_http_route_ruleset()
1990 while (nv < end) { in nxt_http_route_test_argument()
2069 while (nv < end) { in nxt_http_route_test_cookie()
[all …]
H A Dnxt_var.c247 end = p + str->length; in nxt_var_compile()
249 while (p < end) { in nxt_var_compile()
283 while (p < end) { in nxt_var_compile()
315 end = p + str->length; in nxt_var_test()
317 while (p < end) { in nxt_var_test()
352 end = start + length; in nxt_var_next_part()
361 if (p == end) { in nxt_var_next_part()
395 if (p == end) { in nxt_var_next_part()
405 end = p + bracket; in nxt_var_next_part()
412 end = p; in nxt_var_next_part()
[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