Home
last modified time | relevance | path

Searched refs:tmpbuf (Results 1 – 5 of 5) sorted by relevance

/PHP-7.4/ext/standard/
H A Dmath.c1145 zend_string *tmpbuf; in _php_math_number_format_ex() local
1160 tmpbuf = strpprintf(0, "%.*F", dec, d); in _php_math_number_format_ex()
1161 if (tmpbuf == NULL) { in _php_math_number_format_ex()
1163 } else if (!isdigit((int)ZSTR_VAL(tmpbuf)[0])) { in _php_math_number_format_ex()
1164 return tmpbuf; in _php_math_number_format_ex()
1174 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex()
1181 integral = (dp - ZSTR_VAL(tmpbuf)); in _php_math_number_format_ex()
1184 integral = ZSTR_LEN(tmpbuf); in _php_math_number_format_ex()
1208 s = ZSTR_VAL(tmpbuf) + ZSTR_LEN(tmpbuf) - 1; in _php_math_number_format_ex()
1241 while (s >= ZSTR_VAL(tmpbuf)) { in _php_math_number_format_ex()
[all …]
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_sockets.c281 char tmpbuf[INET6_ADDRSTRLEN]; in fpm_socket_af_inet_socket_by_addr() local
295 inet_ntop(p->ai_family, fpm_get_in_addr(p->ai_addr), tmpbuf, INET6_ADDRSTRLEN); in fpm_socket_af_inet_socket_by_addr()
298 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
301 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
/PHP-7.4/ext/sockets/
H A Dsockets.c1262 zend_string *tmpbuf; local
1275 tmpbuf = zend_string_alloc(length, 0);
1282 retval = php_read(php_sock, ZSTR_VAL(tmpbuf), length, 0);
1284 retval = recv(php_sock->bsd_socket, ZSTR_VAL(tmpbuf), length, 0);
1301 zend_string_efree(tmpbuf);
1304 zend_string_efree(tmpbuf);
1308 tmpbuf = zend_string_truncate(tmpbuf, retval, 0);
1309 ZSTR_LEN(tmpbuf) = retval;
1310 ZSTR_VAL(tmpbuf)[ZSTR_LEN(tmpbuf)] = '\0' ; local
1312 RETURN_NEW_STR(tmpbuf);
/PHP-7.4/ext/iconv/
H A Diconv.c1589 char tmpbuf[80]; in _php_iconv_mime_decode() local
1598 if (csname_len > sizeof(tmpbuf) - 1) { in _php_iconv_mime_decode()
1617 memcpy(tmpbuf, csname, csname_len); in _php_iconv_mime_decode()
1618 tmpbuf[csname_len] = '\0'; in _php_iconv_mime_decode()
1624 cd = iconv_open(enc, tmpbuf); in _php_iconv_mime_decode()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c958 zend_stat_t *tmpbuf = sapi_module.get_stat(); in zend_get_file_handle_timestamp() local
960 if (tmpbuf) { in zend_get_file_handle_timestamp()
962 *size = tmpbuf->st_size; in zend_get_file_handle_timestamp()
964 return tmpbuf->st_mtime; in zend_get_file_handle_timestamp()

Completed in 46 milliseconds