Home
last modified time | relevance | path

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

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