Home
last modified time | relevance | path

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

/PHP-5.4/ext/standard/
H A Dmath.c1104 char *tmpbuf = NULL, *resbuf; in _php_math_number_format_ex_len() local
1120 tmplen = spprintf(&tmpbuf, 0, "%.*F", dec, d); in _php_math_number_format_ex_len()
1122 if (tmpbuf == NULL || !isdigit((int)tmpbuf[0])) { in _php_math_number_format_ex_len()
1127 return tmpbuf; in _php_math_number_format_ex_len()
1132 dp = strpbrk(tmpbuf, ".,"); in _php_math_number_format_ex_len()
1139 integral = dp - tmpbuf; in _php_math_number_format_ex_len()
1166 s = tmpbuf+tmplen-1; in _php_math_number_format_ex_len()
1199 while(s >= tmpbuf) { in _php_math_number_format_ex_len()
1201 if (thousand_sep && (++count%3)==0 && s>=tmpbuf) { in _php_math_number_format_ex_len()
1212 efree(tmpbuf); in _php_math_number_format_ex_len()
/PHP-5.4/ext/sockets/
H A Dsockets.c1309 char *tmpbuf; local
1322 tmpbuf = emalloc(length + 1);
1327 retval = php_read(php_sock, tmpbuf, length, 0);
1329 retval = recv(php_sock->bsd_socket, tmpbuf, length, 0);
1346 efree(tmpbuf);
1349 efree(tmpbuf);
1353 tmpbuf = erealloc(tmpbuf, retval + 1);
1354 tmpbuf[retval] = '\0' ;
1356 RETURN_STRINGL(tmpbuf, retval, 0);
/PHP-5.4/ext/iconv/
H A Diconv.c1489 char tmpbuf[80]; in _php_iconv_mime_decode() local
1498 if (csname_len > sizeof(tmpbuf) - 1) { in _php_iconv_mime_decode()
1517 memcpy(tmpbuf, csname, csname_len); in _php_iconv_mime_decode()
1518 tmpbuf[csname_len] = '\0'; in _php_iconv_mime_decode()
1524 cd = iconv_open(enc, tmpbuf); in _php_iconv_mime_decode()

Completed in 22 milliseconds