Home
last modified time | relevance | path

Searched refs:dot_pos (Results 1 – 2 of 2) sorted by relevance

/unit/src/
H A Dnxt_http_request.c112 size_t i, dot_pos, host_length; in nxt_http_validate_host() local
121 dot_pos = host->length; in nxt_http_validate_host()
140 if (dot_pos == i - 1) { in nxt_http_validate_host()
144 dot_pos = i; in nxt_http_validate_host()
182 if (dot_pos == host_length - 1) { in nxt_http_validate_host()
H A Dnxt_conf.c2093 u_char *p, *s, ch, c, *dot_pos; in nxt_conf_json_parse_number() local
2104 dot_pos = NULL; in nxt_conf_json_parse_number()
2113 if (ch == '.' && nxt_fast_path(dot_pos == NULL)) { in nxt_conf_json_parse_number()
2114 dot_pos = p; in nxt_conf_json_parse_number()
2122 if (dot_pos != NULL) { in nxt_conf_json_parse_number()
2123 if (nxt_slow_path(p - dot_pos <= 1)) { in nxt_conf_json_parse_number()
2133 dot_pos = p; in nxt_conf_json_parse_number()
2136 if (nxt_slow_path(dot_pos - s > 1 && *start == '0')) { in nxt_conf_json_parse_number()