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

/PHP_5_6/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_6/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_6/win32/
H A Dglob.c720 u_int newsize, len; local
724 newsize = sizeof(*pathv) * (2 + pglob->gl_pathc + pglob->gl_offs);
725 pathv = pglob->gl_pathv ? realloc((char *)pglob->gl_pathv, newsize) :
726 malloc(newsize);
757 newsize + *limitp >= ARG_MAX) {
/PHP_5_6/ext/pcre/pcrelib/
H A Dpcre_compile.c911 int newsize = cd->workspace_size * 2; local
913 if (newsize > COMPILE_WORK_SIZE_MAX) newsize = COMPILE_WORK_SIZE_MAX;
915 newsize - cd->workspace_size < WORK_SIZE_SAFETY_MARGIN)
918 newspace = (PUBL(malloc))(IN_UCHARS(newsize));
925 cd->workspace_size = newsize;
6968 int newsize = cd->named_group_list_size * 2; local
6970 (newsize * sizeof(named_group));
6983 cd->named_group_list_size = newsize;
/PHP_5_6/main/streams/
H A Dmemory.c246 size_t newsize; local
258 newsize = *(size_t*)ptrparam;
259 if (newsize <= ms->fsize) {
260 if (newsize < ms->fpos) {
261 ms->fpos = newsize;
264 ms->data = erealloc(ms->data, newsize);
265 memset(ms->data+ms->fsize, 0, newsize - ms->fsize);
266 ms->fsize = newsize;
268 ms->fsize = newsize;

Completed in 73 milliseconds