Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dmath.c1107 zend_string *tmpbuf; in _php_math_number_format_ex() local
1123 if (tmpbuf == NULL) { in _php_math_number_format_ex()
1126 return tmpbuf; in _php_math_number_format_ex()
1146 integral = ZSTR_LEN(tmpbuf); in _php_math_number_format_ex()
1170 s = ZSTR_VAL(tmpbuf) + ZSTR_LEN(tmpbuf) - 1; in _php_math_number_format_ex()
1203 while (s >= ZSTR_VAL(tmpbuf)) { in _php_math_number_format_ex()
1217 zend_string_release_ex(tmpbuf, 0); in _php_math_number_format_ex()
1241 zend_string *tmpbuf; in _php_math_number_format_long() local
1281 reslen = ZSTR_LEN(tmpbuf); in _php_math_number_format_long()
1300 s = ZSTR_VAL(tmpbuf) + ZSTR_LEN(tmpbuf) - 1; in _php_math_number_format_long()
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_sockets.c308 char tmpbuf[INET6_ADDRSTRLEN]; in fpm_socket_af_inet_socket_by_addr() local
322 inet_ntop(p->ai_family, fpm_get_in_addr(p->ai_addr), tmpbuf, INET6_ADDRSTRLEN); in fpm_socket_af_inet_socket_by_addr()
325 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
328 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
/php-src/ext/mbstring/
H A Dmbstring.c6094 while (p < tmpbuf->out) { in transfer_encoded_size()
6106 unsigned char *p = (unsigned char*)ZSTR_VAL(tmpbuf->str), *e = tmpbuf->out; in transfer_encode_mime_bytes()
6144 mb_convert_buf_reset(tmpbuf, 0); in transfer_encode_mime_bytes()
6329 mb_convert_buf tmpbuf; in mb_mime_header_encode() local
6366 unsigned int tmpstate = tmpbuf.state; in mb_mime_header_encode()
6378 unsigned int tmpstate2 = tmpbuf.state; in mb_mime_header_encode()
6393 mb_convert_buf_free(&tmpbuf); in mb_mime_header_encode()
6399 tmpbuf.state = tmpstate2; in mb_mime_header_encode()
6405 tmpbuf.state = tmpstate; in mb_mime_header_encode()
6412 tmpbuf.state = 0; in mb_mime_header_encode()
[all …]
/php-src/ext/sockets/
H A Dsockets.c903 zend_string *tmpbuf; local
922 tmpbuf = zend_string_alloc(length, 0);
925 retval = php_read(php_sock, ZSTR_VAL(tmpbuf), length, 0);
927 retval = recv(php_sock->bsd_socket, ZSTR_VAL(tmpbuf), length, 0);
940 zend_string_efree(tmpbuf);
943 zend_string_efree(tmpbuf);
947 tmpbuf = zend_string_truncate(tmpbuf, retval, 0);
948 ZSTR_LEN(tmpbuf) = retval;
949 ZSTR_VAL(tmpbuf)[ZSTR_LEN(tmpbuf)] = '\0' ; local
951 RETURN_NEW_STR(tmpbuf);
/php-src/ext/iconv/
H A Diconv.c1317 char tmpbuf[80]; in _php_iconv_mime_decode() local
1326 if (csname_len > sizeof(tmpbuf) - 1) { in _php_iconv_mime_decode()
1345 memcpy(tmpbuf, csname, csname_len); in _php_iconv_mime_decode()
1346 tmpbuf[csname_len] = '\0'; in _php_iconv_mime_decode()
1352 cd = iconv_open(enc, tmpbuf); in _php_iconv_mime_decode()
/php-src/ext/opcache/
H A DZendAccelerator.c1026 zend_stat_t *tmpbuf = sapi_module.get_stat(); in zend_get_file_handle_timestamp() local
1028 if (tmpbuf) { in zend_get_file_handle_timestamp()
1030 *size = tmpbuf->st_size; in zend_get_file_handle_timestamp()
1032 return tmpbuf->st_mtime; in zend_get_file_handle_timestamp()

Completed in 74 milliseconds