Searched defs:newsize (Results 1 - 5 of 5) sorted by relevance

/PHP_5_5/ext/mbstring/oniguruma/
H A Dst.c115 int newsize; local
117 for (i = 0, newsize = MINSIZE;
119 i++, newsize <<= 1)
121 if (newsize > size) return primes[i];
/PHP_5_5/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c199 /* newsize is current length + new length */
200 int newsize = target->len + add_len + 1; local
204 newsize = newsize - (newsize % incr) + incr;
205 target->str = (char*)realloc(target->str, newsize);
207 target->size = target->str ? newsize : 0;
/PHP_5_5/main/streams/
H A Dmemory.c250 size_t newsize; local
262 newsize = *(size_t*)ptrparam;
263 if (newsize <= ms->fsize) {
264 if (newsize < ms->fpos) {
265 ms->fpos = newsize;
268 ms->data = erealloc(ms->data, newsize);
269 memset(ms->data+ms->fsize, 0, newsize - ms->fsize);
270 ms->fsize = newsize;
272 ms->fsize = newsize;
/PHP_5_5/ext/pcre/pcrelib/
H A Dpcre_compile.c914 int newsize = cd->workspace_size * 2; local
916 if (newsize > COMPILE_WORK_SIZE_MAX) newsize = COMPILE_WORK_SIZE_MAX;
918 newsize - cd->workspace_size < WORK_SIZE_SAFETY_MARGIN)
921 newspace = (PUBL(malloc))(IN_UCHARS(newsize));
928 cd->workspace_size = newsize;
7093 int newsize = cd->named_group_list_size * 2; local
7095 (newsize * sizeof(named_group));
7108 cd->named_group_list_size = newsize;
/PHP_5_5/win32/
H A Dglob.c722 u_int newsize, len; local
726 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
727 pathv = pglob->gl_pathv ? realloc((char *)pglob->gl_pathv, newsize) :
728 malloc(newsize);
759 newsize + *limitp >= ARG_MAX) {

Completed in 37 milliseconds