Lines Matching refs:size

55 php_sprintf_appendchar(char **buffer, int *pos, int *size, char add TSRMLS_DC)  in php_sprintf_appendchar()  argument
57 if ((*pos + 1) >= *size) { in php_sprintf_appendchar()
58 *size <<= 1; in php_sprintf_appendchar()
59 …PRINTF_DEBUG(("%s(): ereallocing buffer to %d bytes\n", get_active_function_name(TSRMLS_C), *size)… in php_sprintf_appendchar()
60 *buffer = erealloc(*buffer, *size); in php_sprintf_appendchar()
69 php_sprintf_appendstring(char **buffer, int *pos, int *size, char *add, in php_sprintf_appendstring() argument
86 *buffer, *pos, *size, add, min_width, padding, alignment)); in php_sprintf_appendstring()
95 if (req_size > *size) { in php_sprintf_appendstring()
96 while (req_size > *size) { in php_sprintf_appendstring()
97 if(*size > INT_MAX/2) { in php_sprintf_appendstring()
100 *size <<= 1; in php_sprintf_appendstring()
102 PRINTF_DEBUG(("sprintf ereallocing buffer to %d bytes\n", *size)); in php_sprintf_appendstring()
103 *buffer = erealloc(*buffer, *size); in php_sprintf_appendstring()
129 php_sprintf_appendint(char **buffer, int *pos, int *size, long number, in php_sprintf_appendint() argument
138 *buffer, pos, size, number, width, padding, alignment)); in php_sprintf_appendint()
165 php_sprintf_appendstring(buffer, pos, size, &numbuf[i], width, 0, in php_sprintf_appendint()
173 php_sprintf_appenduint(char **buffer, int *pos, int *size, in php_sprintf_appenduint() argument
182 *buffer, pos, size, number, width, padding, alignment)); in php_sprintf_appenduint()
198 php_sprintf_appendstring(buffer, pos, size, &numbuf[i], width, 0, in php_sprintf_appenduint()
206 int *size, double number, in php_sprintf_appenddouble() argument
221 *buffer, pos, size, number, width, padding, alignment, fmt)); in php_sprintf_appenddouble()
231 php_sprintf_appendstring(buffer, pos, size, "NaN", 3, 0, padding, in php_sprintf_appenddouble()
238 php_sprintf_appendstring(buffer, pos, size, "INF", 3, 0, padding, in php_sprintf_appenddouble()
289 php_sprintf_appendstring(buffer, pos, size, s, width, 0, padding, in php_sprintf_appenddouble()
296 php_sprintf_append2n(char **buffer, int *pos, int *size, long number, in php_sprintf_append2n() argument
306 *buffer, pos, size, number, width, padding, alignment, n, in php_sprintf_append2n()
319 php_sprintf_appendstring(buffer, pos, size, &numbuf[i], width, 0, in php_sprintf_append2n()
375 int argc, size = 240, inpos = 0, outpos = 0, temppos; in php_formatted_print() local
419 result = emalloc(size); in php_formatted_print()
430 php_sprintf_appendchar(&result, &outpos, &size, format[inpos++] TSRMLS_CC); in php_formatted_print()
432 php_sprintf_appendchar(&result, &outpos, &size, '%' TSRMLS_CC); in php_formatted_print()
563 php_sprintf_appendstring(&result, &outpos, &size, in php_formatted_print()
577 php_sprintf_appendint(&result, &outpos, &size, in php_formatted_print()
585 php_sprintf_appenduint(&result, &outpos, &size, in php_formatted_print()
597 php_sprintf_appenddouble(&result, &outpos, &size, in php_formatted_print()
607 php_sprintf_appendchar(&result, &outpos, &size, in php_formatted_print()
613 php_sprintf_append2n(&result, &outpos, &size, in php_formatted_print()
621 php_sprintf_append2n(&result, &outpos, &size, in php_formatted_print()
629 php_sprintf_append2n(&result, &outpos, &size, in php_formatted_print()
637 php_sprintf_append2n(&result, &outpos, &size, in php_formatted_print()
644 php_sprintf_appendchar(&result, &outpos, &size, '%' TSRMLS_CC); in php_formatted_print()