Searched refs:a_allocated (Results 1 - 2 of 2) sorted by relevance

/external/bluetooth/glib/glib/gnulib/
H A Dprintf-parse.c51 unsigned int a_allocated; /* allocated elements of a->arg */ local
63 a_allocated = 0;
69 if (n >= a_allocated) \
72 a_allocated = 2 * a_allocated; \
73 if (a_allocated <= n) \
74 a_allocated = n + 1; \
76 ? realloc (a->arg, a_allocated * sizeof (argument)) \
77 : malloc (a_allocated * sizeof (argument))); \
/external/e2fsprogs/intl/
H A Dprintf-parse.c68 size_t a_allocated; /* allocated elements of a->arg */ local
80 a_allocated = 0;
86 if (n >= a_allocated) \
91 a_allocated = xtimes (a_allocated, 2); \
92 if (a_allocated <= n) \
93 a_allocated = xsum (n, 1); \
94 memory_size = xtimes (a_allocated, sizeof (argument)); \

Completed in 55 milliseconds