Searched refs:new_allocated (Results 1 - 17 of 17) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/
H A Dmemory-ostream.oo.c51 size_t new_allocated = local
54 if (size_overflow_p (new_allocated))
58 stream->buffer = (char *) xrealloc (stream->buffer, new_allocated);
59 stream->allocated = new_allocated;
H A Dterm-styled-ostream.oo.c544 size_t new_allocated = stream->curr_classes_length + 1 + classname_len + 1; local
545 if (new_allocated < 2 * stream->curr_classes_allocated)
546 new_allocated = 2 * stream->curr_classes_allocated;
548 stream->curr_classes = xrealloc (stream->curr_classes, new_allocated);
549 stream->curr_classes_allocated = new_allocated;
H A Dterm-ostream.oo.c1558 size_t new_allocated = local
1561 if (size_overflow_p (new_allocated))
1565 stream->buffer = (char *) xrealloc (stream->buffer, new_allocated);
1569 new_allocated * sizeof (attributes_t));
1570 stream->allocated = new_allocated;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/unicase/
H A Du-casemap.h300 size_t new_allocated = 2 * old_allocated; local
301 if (new_allocated < 64)
302 new_allocated = 64;
303 if (new_allocated < old_allocated) /* integer overflow? */
309 larger_result = (UNIT *) malloc (new_allocated * sizeof (UNIT));
318 larger_result = (UNIT *) malloc (new_allocated * sizeof (UNIT));
329 (UNIT *) realloc (result, new_allocated * sizeof (UNIT));
337 allocated = new_allocated;
H A Du-ct-totitle.h376 size_t new_allocated = 2 * old_allocated; local
377 if (new_allocated < 64)
378 new_allocated = 64;
379 if (new_allocated < old_allocated) /* integer overflow? */
385 larger_result = (UNIT *) malloc (new_allocated * sizeof (UNIT));
394 larger_result = (UNIT *) malloc (new_allocated * sizeof (UNIT));
405 (UNIT *) realloc (result, new_allocated * sizeof (UNIT));
413 allocated = new_allocated;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/uninorm/
H A Du-normalize-internal.h237 size_t new_allocated = 2 * old_allocated; local
238 if (new_allocated < 64)
239 new_allocated = 64;
240 if (new_allocated < old_allocated) /* integer overflow? */
247 (UNIT *) malloc (new_allocated * sizeof (UNIT));
257 (UNIT *) malloc (new_allocated * sizeof (UNIT));
268 (UNIT *) realloc (result, new_allocated * sizeof (UNIT));
276 allocated = new_allocated;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/
H A Dmsgl-fsearch.c120 size_t new_allocated = 2 * length - (length >> 6); local
121 list = (index_ty *) xrealloc (list, (2 + new_allocated) * sizeof (index_ty));
122 list[IL_ALLOCATED] = new_allocated;
159 size_t new_allocated = 2 * length - (length >> 6); local
160 list = (index_ty *) xrealloc (list, (2 + new_allocated) * sizeof (index_ty));
161 list[IL_ALLOCATED] = new_allocated;
H A Dx-python.c487 size_t new_allocated = 2 * bp->utf8_allocated + 10; local
488 if (new_allocated < bp->utf8_buflen + count)
489 new_allocated = bp->utf8_buflen + count;
490 bp->utf8_allocated = new_allocated;
491 bp->utf8_buffer = xrealloc (bp->utf8_buffer, new_allocated);
829 size_t new_allocated = 2 * bp->utf8_allocated + 10; local
830 if (new_allocated < bp->utf8_buflen + count)
831 new_allocated = bp->utf8_buflen + count;
832 bp->utf8_allocated = new_allocated;
833 bp->utf8_buffer = xrealloc (bp->utf8_buffer, new_allocated);
[all...]
H A Dx-java.c437 size_t new_allocated = 2 * bp->utf8_allocated + 10; local
438 if (new_allocated < bp->utf8_buflen + count)
439 new_allocated = bp->utf8_buflen + count;
440 bp->utf8_allocated = new_allocated;
441 bp->utf8_buffer = xrealloc (bp->utf8_buffer, new_allocated);
H A Dx-csharp.c544 size_t new_allocated = 2 * bp->utf8_allocated + 10; local
545 if (new_allocated < bp->utf8_buflen + count)
546 new_allocated = bp->utf8_buflen + count;
547 bp->utf8_allocated = new_allocated;
548 bp->utf8_buffer = xrealloc (bp->utf8_buffer, new_allocated);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dterm-styled-ostream.c541 size_t new_allocated = stream->curr_classes_length + 1 + classname_len + 1; local
542 if (new_allocated < 2 * stream->curr_classes_allocated)
543 new_allocated = 2 * stream->curr_classes_allocated;
545 stream->curr_classes = xrealloc (stream->curr_classes, new_allocated);
546 stream->curr_classes_allocated = new_allocated;
H A Dterm-styled-ostream.oo.c544 size_t new_allocated = stream->curr_classes_length + 1 + classname_len + 1; local
545 if (new_allocated < 2 * stream->curr_classes_allocated)
546 new_allocated = 2 * stream->curr_classes_allocated;
548 stream->curr_classes = xrealloc (stream->curr_classes, new_allocated);
549 stream->curr_classes_allocated = new_allocated;
H A Dgl_array_list.c224 size_t new_allocated; local
228 new_allocated = xtimes (list->allocated, 2);
229 new_allocated = xsum (new_allocated, 1);
230 memory_size = xtimes (new_allocated, sizeof (const void *));
239 list->allocated = new_allocated;
H A Dclean-temp.c284 size_t new_allocated = 2 * cleanup_list.tempdir_allocated + 1; local
286 XNMALLOC (new_allocated, struct tempdir * volatile);
303 cleanup_list.tempdir_allocated = new_allocated;
H A Dterm-ostream.c1535 size_t new_allocated = local
1538 if (size_overflow_p (new_allocated))
1542 stream->buffer = (char *) xrealloc (stream->buffer, new_allocated);
1546 new_allocated * sizeof (attributes_t));
1547 stream->allocated = new_allocated;
H A Dterm-ostream.oo.c1558 size_t new_allocated = local
1561 if (size_overflow_p (new_allocated))
1565 stream->buffer = (char *) xrealloc (stream->buffer, new_allocated);
1569 new_allocated * sizeof (attributes_t));
1570 stream->allocated = new_allocated;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/
H A Ddbus-string.c259 int new_allocated; local
267 new_allocated = real->len + _DBUS_STRING_ALLOCATION_PADDING;
269 new_str = dbus_realloc (real->str - real->align_offset, new_allocated);
274 real->allocated = new_allocated;
312 int new_allocated; local
319 new_allocated = _DBUS_STRING_MAX_LENGTH + _DBUS_STRING_ALLOCATION_PADDING;
321 new_allocated = real->allocated * 2;
333 new_allocated = 0; /* ensure a realloc every time so that we go
340 new_allocated = MAX (new_allocated,
[all...]

Completed in 236 milliseconds