Lines Matching refs:end

96     u_char                    *end;  member
105 static u_char *nxt_conf_json_skip_space(u_char *start, const u_char *end);
107 u_char *start, u_char *end, nxt_conf_json_error_t *error);
109 u_char *start, u_char *end, nxt_conf_json_error_t *error);
117 u_char *start, u_char *end, nxt_conf_json_error_t *error);
119 u_char *start, u_char *end, nxt_conf_json_error_t *error);
121 u_char *start, u_char *end, nxt_conf_json_error_t *error);
327 u_char *p, *end; in nxt_conf_set_member_integer() local
335 end = p + NXT_CONF_MAX_NUMBER_LEN; in nxt_conf_set_member_integer()
337 end = nxt_sprintf(p, end, "%L", value); in nxt_conf_set_member_integer()
338 *end = '\0'; in nxt_conf_set_member_integer()
458 parse.end = path->start + path->length; in nxt_conf_get_path()
509 u_char *p, *start, *end; in nxt_conf_path_next_token() local
516 while (p < parse->end && *p != '/') { in nxt_conf_path_next_token()
521 parse->last = (p >= parse->end); in nxt_conf_path_next_token()
529 end = nxt_decode_uri(parse->buf, start, length); in nxt_conf_path_next_token()
530 if (nxt_slow_path(end == NULL)) { in nxt_conf_path_next_token()
534 token->length = end - parse->buf; in nxt_conf_path_next_token()
821 parse.end = path->start + path->length; in nxt_conf_op_compile()
1242 nxt_conf_json_parse(nxt_mp_t *mp, u_char *start, u_char *end, in nxt_conf_json_parse() argument
1253 p = nxt_conf_json_skip_space(start, end); in nxt_conf_json_parse()
1255 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse()
1266 p = nxt_conf_json_parse_value(mp, value, p, end, error); in nxt_conf_json_parse()
1272 p = nxt_conf_json_skip_space(p, end); in nxt_conf_json_parse()
1274 if (nxt_slow_path(p != end)) { in nxt_conf_json_parse()
1288 nxt_conf_json_skip_space(u_char *start, const u_char *end) in nxt_conf_json_skip_space() argument
1302 for (p = start; nxt_fast_path(p != end); p++) { in nxt_conf_json_skip_space()
1374 u_char *end, nxt_conf_json_error_t *error) in nxt_conf_json_parse_value() argument
1382 return nxt_conf_json_parse_object(mp, value, start, end, error); in nxt_conf_json_parse_value()
1385 return nxt_conf_json_parse_array(mp, value, start, end, error); in nxt_conf_json_parse_value()
1388 return nxt_conf_json_parse_string(mp, value, start, end, error); in nxt_conf_json_parse_value()
1391 if (nxt_fast_path(end - start >= 4 in nxt_conf_json_parse_value()
1403 if (nxt_fast_path(end - start >= 5 in nxt_conf_json_parse_value()
1415 if (nxt_fast_path(end - start >= 4 in nxt_conf_json_parse_value()
1425 if (nxt_fast_path(end - start > 1)) { in nxt_conf_json_parse_value()
1434 p = nxt_conf_json_parse_number(mp, value, start, end, error); in nxt_conf_json_parse_value()
1440 if (p == end) { in nxt_conf_json_parse_value()
1441 return end; in nxt_conf_json_parse_value()
1484 u_char *end, nxt_conf_json_error_t *error) in nxt_conf_json_parse_object() argument
1506 p = nxt_conf_json_skip_space(p + 1, end); in nxt_conf_json_parse_object()
1508 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_object()
1541 p = nxt_conf_json_parse_string(mp, &member->name, p, end, error); in nxt_conf_json_parse_object()
1561 p = nxt_conf_json_skip_space(p, end); in nxt_conf_json_parse_object()
1563 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_object()
1583 p = nxt_conf_json_skip_space(p + 1, end); in nxt_conf_json_parse_object()
1585 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_object()
1595 p = nxt_conf_json_parse_value(mp, &member->value, p, end, error); in nxt_conf_json_parse_object()
1601 p = nxt_conf_json_skip_space(p, end); in nxt_conf_json_parse_object()
1603 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_object()
1711 u_char *end, nxt_conf_json_error_t *error) in nxt_conf_json_parse_array() argument
1734 p = nxt_conf_json_skip_space(p + 1, end); in nxt_conf_json_parse_array()
1736 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_array()
1757 p = nxt_conf_json_parse_value(mp, element, p, end, error); in nxt_conf_json_parse_array()
1763 p = nxt_conf_json_skip_space(p, end); in nxt_conf_json_parse_array()
1765 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_array()
1819 u_char *end, nxt_conf_json_error_t *error) in nxt_conf_json_parse_string() argument
1839 for (p = start; nxt_fast_path(p != end); p++) { in nxt_conf_json_parse_string()
1926 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_string()
2080 u_char *end, nxt_conf_json_error_t *error) in nxt_conf_json_parse_number() argument
2095 for (p = s; nxt_fast_path(p != end); p++) { in nxt_conf_json_parse_number()
2138 if (nxt_fast_path(s != end)) { in nxt_conf_json_parse_number()
2145 for (p = s; nxt_fast_path(p != end); p++) { in nxt_conf_json_parse_number()
2182 end = NULL; in nxt_conf_json_parse_number()
2184 num = nxt_strtod(value->u.number, &end); in nxt_conf_json_parse_number()
2197 if (nxt_slow_path(end == NULL || *end != '\0')) { in nxt_conf_json_parse_number()
2199 end == NULL ? (u_char *) "NULL" : end, nxt_errno); in nxt_conf_json_parse_number()