Home
last modified time | relevance | path

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

/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_io.c262 char port_buf[8]; local
293 snprintf(port_buf, sizeof(port_buf), "%u", port);
295 rc = getaddrinfo(addr, port_buf, &hints, &res);
297 rc = getaddrinfo(NULL, port_buf, &hints, &res);
/PHP-7.4/ext/standard/
H A Durl.c113 char port_buf[6]; in php_url_parse_ex2() local
203 memcpy(port_buf, p, (pp - p)); in php_url_parse_ex2()
204 port_buf[pp - p] = '\0'; in php_url_parse_ex2()
205 port = ZEND_STRTOL(port_buf, &end, 10); in php_url_parse_ex2()
206 if (port >= 0 && port <= 65535 && end != port_buf) { in php_url_parse_ex2()
269 memcpy(port_buf, p, (e - p)); in php_url_parse_ex2()
270 port_buf[e - p] = '\0'; in php_url_parse_ex2()
271 port = ZEND_STRTOL(port_buf, &end, 10); in php_url_parse_ex2()
272 if (port >= 0 && port <= 65535 && end != port_buf) { in php_url_parse_ex2()

Completed in 7 milliseconds