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

/PHP_5_3/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_3/win32/
H A Dglob.c713 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_3/ext/mbstring/oniguruma/
H A Dst.c131 int newsize; local
133 for (i = 0, newsize = MINSIZE;
135 i++, newsize <<= 1)
137 if (newsize > size) return primes[i];
/PHP_5_3/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_3/ext/pcre/pcrelib/
H A Dpcre_compile.c694 int newsize = cd->workspace_size * 2; local
696 if (newsize > COMPILE_WORK_SIZE_MAX) newsize = COMPILE_WORK_SIZE_MAX;
698 newsize - cd->workspace_size < WORK_SIZE_SAFETY_MARGIN)
701 newspace = (PUBL(malloc))(IN_UCHARS(newsize));
708 cd->workspace_size = newsize;

Completed in 50 milliseconds