Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Dmath.c1020 zend_string *tmpbuf; in _php_math_number_format_ex() local
1035 tmpbuf = strpprintf(0, "%.*F", dec, d); in _php_math_number_format_ex()
1036 if (tmpbuf == NULL) { in _php_math_number_format_ex()
1038 } else if (!isdigit((int)ZSTR_VAL(tmpbuf)[0])) { in _php_math_number_format_ex()
1039 return tmpbuf; in _php_math_number_format_ex()
1049 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex()
1056 integral = (dp - ZSTR_VAL(tmpbuf)); in _php_math_number_format_ex()
1059 integral = ZSTR_LEN(tmpbuf); in _php_math_number_format_ex()
1083 s = ZSTR_VAL(tmpbuf) + ZSTR_LEN(tmpbuf) - 1; in _php_math_number_format_ex()
1116 while (s >= ZSTR_VAL(tmpbuf)) { in _php_math_number_format_ex()
[all …]
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_sockets.c289 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.0/ext/sockets/
H A Dsockets.c1026 zend_string *tmpbuf; local
1042 tmpbuf = zend_string_alloc(length, 0);
1045 retval = php_read(php_sock, ZSTR_VAL(tmpbuf), length, 0);
1047 retval = recv(php_sock->bsd_socket, ZSTR_VAL(tmpbuf), length, 0);
1064 zend_string_efree(tmpbuf);
1067 zend_string_efree(tmpbuf);
1071 tmpbuf = zend_string_truncate(tmpbuf, retval, 0);
1072 ZSTR_LEN(tmpbuf) = retval;
1073 ZSTR_VAL(tmpbuf)[ZSTR_LEN(tmpbuf)] = '\0' ; local
1075 RETURN_NEW_STR(tmpbuf);
/PHP-8.0/ext/iconv/
H A Diconv.c1310 char tmpbuf[80]; in _php_iconv_mime_decode() local
1319 if (csname_len > sizeof(tmpbuf) - 1) { in _php_iconv_mime_decode()
1338 memcpy(tmpbuf, csname, csname_len); in _php_iconv_mime_decode()
1339 tmpbuf[csname_len] = '\0'; in _php_iconv_mime_decode()
1345 cd = iconv_open(enc, tmpbuf); in _php_iconv_mime_decode()
/PHP-8.0/ext/opcache/
H A DZendAccelerator.c955 zend_stat_t *tmpbuf = sapi_module.get_stat(); in zend_get_file_handle_timestamp() local
957 if (tmpbuf) { in zend_get_file_handle_timestamp()
959 *size = tmpbuf->st_size; in zend_get_file_handle_timestamp()
961 return tmpbuf->st_mtime; in zend_get_file_handle_timestamp()

Completed in 43 milliseconds