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.c110 size_t i, dot_pos, host_length; in nxt_http_validate_host() local
119 dot_pos = host->length; in nxt_http_validate_host()
138 if (dot_pos == i - 1) { in nxt_http_validate_host()
142 dot_pos = i; in nxt_http_validate_host()
180 if (dot_pos == host_length - 1) { in nxt_http_validate_host()
H A Dnxt_conf.c2068 u_char *p, *s, ch, c, *dot_pos; in nxt_conf_json_parse_number() local
2079 dot_pos = NULL; in nxt_conf_json_parse_number()
2088 if (ch == '.' && nxt_fast_path(dot_pos == NULL)) { in nxt_conf_json_parse_number()
2089 dot_pos = p; in nxt_conf_json_parse_number()
2097 if (dot_pos != NULL) { in nxt_conf_json_parse_number()
2098 if (nxt_slow_path(p - dot_pos <= 1)) { in nxt_conf_json_parse_number()
2108 dot_pos = p; in nxt_conf_json_parse_number()
2111 if (nxt_slow_path(dot_pos - s > 1 && *start == '0')) { in nxt_conf_json_parse_number()