Searched refs:tmpbuf (Results 1 – 5 of 5) sorted by relevance
/PHP-8.1/ext/standard/ |
H A D | math.c | 1016 zend_string *tmpbuf; in _php_math_number_format_ex() local 1031 tmpbuf = strpprintf(0, "%.*F", dec, d); in _php_math_number_format_ex() 1032 if (tmpbuf == NULL) { in _php_math_number_format_ex() 1034 } else if (!isdigit((int)ZSTR_VAL(tmpbuf)[0])) { in _php_math_number_format_ex() 1035 return tmpbuf; in _php_math_number_format_ex() 1045 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex() 1052 integral = (dp - ZSTR_VAL(tmpbuf)); in _php_math_number_format_ex() 1055 integral = ZSTR_LEN(tmpbuf); in _php_math_number_format_ex() 1079 s = ZSTR_VAL(tmpbuf) + ZSTR_LEN(tmpbuf) - 1; in _php_math_number_format_ex() 1112 while (s >= ZSTR_VAL(tmpbuf)) { in _php_math_number_format_ex() [all …]
|
/PHP-8.1/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 289 char tmpbuf[INET6_ADDRSTRLEN]; in fpm_socket_af_inet_socket_by_addr() local 303 inet_ntop(p->ai_family, fpm_get_in_addr(p->ai_addr), tmpbuf, INET6_ADDRSTRLEN); in fpm_socket_af_inet_socket_by_addr() 306 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr() 309 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
|
/PHP-8.1/ext/sockets/ |
H A D | sockets.c | 1032 zend_string *tmpbuf; local 1048 tmpbuf = zend_string_alloc(length, 0); 1051 retval = php_read(php_sock, ZSTR_VAL(tmpbuf), length, 0); 1053 retval = recv(php_sock->bsd_socket, ZSTR_VAL(tmpbuf), length, 0); 1066 zend_string_efree(tmpbuf); 1069 zend_string_efree(tmpbuf); 1073 tmpbuf = zend_string_truncate(tmpbuf, retval, 0); 1074 ZSTR_LEN(tmpbuf) = retval; 1075 ZSTR_VAL(tmpbuf)[ZSTR_LEN(tmpbuf)] = '\0' ; local 1077 RETURN_NEW_STR(tmpbuf);
|
/PHP-8.1/ext/iconv/ |
H A D | iconv.c | 1318 char tmpbuf[80]; in _php_iconv_mime_decode() local 1327 if (csname_len > sizeof(tmpbuf) - 1) { in _php_iconv_mime_decode() 1346 memcpy(tmpbuf, csname, csname_len); in _php_iconv_mime_decode() 1347 tmpbuf[csname_len] = '\0'; in _php_iconv_mime_decode() 1353 cd = iconv_open(enc, tmpbuf); in _php_iconv_mime_decode()
|
/PHP-8.1/ext/opcache/ |
H A D | ZendAccelerator.c | 984 zend_stat_t *tmpbuf = sapi_module.get_stat(); in zend_get_file_handle_timestamp() local 986 if (tmpbuf) { in zend_get_file_handle_timestamp() 988 *size = tmpbuf->st_size; in zend_get_file_handle_timestamp() 990 return tmpbuf->st_mtime; in zend_get_file_handle_timestamp()
|
Completed in 39 milliseconds