Searched refs:newsize (Results 1 – 7 of 7) sorted by relevance
/PHP-5.4/ext/xmlrpc/libxmlrpc/ |
H A D | simplestring.c | 200 int newsize = target->len + add_len + 1; in simplestring_addn() local 204 newsize = newsize - (newsize % incr) + incr; in simplestring_addn() 205 target->str = (char*)realloc(target->str, newsize); in simplestring_addn() 207 target->size = target->str ? newsize : 0; in simplestring_addn()
|
/PHP-5.4/main/streams/ |
H A D | memory.c | 246 size_t newsize; in php_stream_memory_set_option() local 258 newsize = *(size_t*)ptrparam; in php_stream_memory_set_option() 259 if (newsize <= ms->fsize) { in php_stream_memory_set_option() 260 if (newsize < ms->fpos) { in php_stream_memory_set_option() 261 ms->fpos = newsize; in php_stream_memory_set_option() 264 ms->data = erealloc(ms->data, newsize); in php_stream_memory_set_option() 265 memset(ms->data+ms->fsize, 0, newsize - ms->fsize); in php_stream_memory_set_option() 266 ms->fsize = newsize; in php_stream_memory_set_option() 268 ms->fsize = newsize; in php_stream_memory_set_option()
|
H A D | streams.c | 1390 PHPAPI int _php_stream_truncate_set_size(php_stream *stream, size_t newsize TSRMLS_DC) in _php_stream_truncate_set_size() 1392 …_stream_set_option(stream, PHP_STREAM_OPTION_TRUNCATE_API, PHP_STREAM_TRUNCATE_SET_SIZE, &newsize); in _php_stream_truncate_set_size()
|
/PHP-5.4/ext/mbstring/oniguruma/ |
H A D | st.c | 131 int newsize; local 133 for (i = 0, newsize = MINSIZE; 135 i++, newsize <<= 1) 137 if (newsize > size) return primes[i];
|
/PHP-5.4/win32/ |
H A D | glob.c | 713 u_int newsize, len; local 717 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs); 718 pathv = pglob->gl_pathv ? realloc((char *)pglob->gl_pathv, newsize) : 719 malloc(newsize); 750 newsize + *limitp >= ARG_MAX) {
|
/PHP-5.4/ext/pcre/pcrelib/ |
H A D | pcre_compile.c | 914 int newsize = cd->workspace_size * 2; in expand_workspace() local 916 if (newsize > COMPILE_WORK_SIZE_MAX) newsize = COMPILE_WORK_SIZE_MAX; in expand_workspace() 918 newsize - cd->workspace_size < WORK_SIZE_SAFETY_MARGIN) in expand_workspace() 921 newspace = (PUBL(malloc))(IN_UCHARS(newsize)); in expand_workspace() 928 cd->workspace_size = newsize; in expand_workspace() 7093 int newsize = cd->named_group_list_size * 2; in compile_branch() local 7095 (newsize * sizeof(named_group)); in compile_branch() 7108 cd->named_group_list_size = newsize; in compile_branch()
|
/PHP-5.4/main/ |
H A D | php_streams.h | 422 PHPAPI int _php_stream_truncate_set_size(php_stream *stream, size_t newsize TSRMLS_DC);
|
Completed in 77 milliseconds