Home
last modified time | relevance | path

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

/PHP-7.0/ext/standard/
H A Dmath.c1123 zend_string *tmpbuf; in _php_math_number_format_ex() local
1138 tmpbuf = strpprintf(0, "%.*F", dec, d); in _php_math_number_format_ex()
1139 if (tmpbuf == NULL) { in _php_math_number_format_ex()
1141 } else if (!isdigit((int)ZSTR_VAL(tmpbuf)[0])) { in _php_math_number_format_ex()
1142 return tmpbuf; in _php_math_number_format_ex()
1147 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex()
1154 integral = (dp - ZSTR_VAL(tmpbuf)); in _php_math_number_format_ex()
1157 integral = ZSTR_LEN(tmpbuf); in _php_math_number_format_ex()
1181 s = ZSTR_VAL(tmpbuf) + ZSTR_LEN(tmpbuf) - 1; in _php_math_number_format_ex()
1214 while (s >= ZSTR_VAL(tmpbuf)) { in _php_math_number_format_ex()
[all …]
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_sockets.c255 char tmpbuf[INET6_ADDRSTRLEN]; in fpm_socket_af_inet_listening_socket() local
295 inet_ntop(p->ai_family, fpm_get_in_addr(p->ai_addr), tmpbuf, INET6_ADDRSTRLEN); in fpm_socket_af_inet_listening_socket()
298 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_listening_socket()
301 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_listening_socket()
/PHP-7.0/ext/sockets/
H A Dsockets.c1145 zend_string *tmpbuf; local
1158 tmpbuf = zend_string_alloc(length, 0);
1165 retval = php_read(php_sock, ZSTR_VAL(tmpbuf), length, 0);
1167 retval = recv(php_sock->bsd_socket, ZSTR_VAL(tmpbuf), length, 0);
1184 zend_string_free(tmpbuf);
1187 zend_string_free(tmpbuf);
1191 tmpbuf = zend_string_truncate(tmpbuf, retval, 0);
1192 ZSTR_LEN(tmpbuf) = retval;
1193 ZSTR_VAL(tmpbuf)[ZSTR_LEN(tmpbuf)] = '\0' ; local
1195 RETURN_NEW_STR(tmpbuf);
/PHP-7.0/ext/iconv/
H A Diconv.c1584 char tmpbuf[80]; in _php_iconv_mime_decode() local
1593 if (csname_len > sizeof(tmpbuf) - 1) { in _php_iconv_mime_decode()
1612 memcpy(tmpbuf, csname, csname_len); in _php_iconv_mime_decode()
1613 tmpbuf[csname_len] = '\0'; in _php_iconv_mime_decode()
1619 cd = iconv_open(enc, tmpbuf); in _php_iconv_mime_decode()
/PHP-7.0/ext/opcache/
H A DZendAccelerator.c802 zend_stat_t *tmpbuf = sapi_module.get_stat(); in zend_get_file_handle_timestamp() local
804 if (tmpbuf) { in zend_get_file_handle_timestamp()
806 *size = tmpbuf->st_size; in zend_get_file_handle_timestamp()
808 return tmpbuf->st_mtime; in zend_get_file_handle_timestamp()

Completed in 37 milliseconds