Lines Matching defs:size
48 nsinl->size = INHERIT_DEFAULT_SIZE;
77 size_t size = 2 * nsinl->size;
78 if (size) {
80 inherits = (ns_inherit **)__libc_realloc(nsinl->inherits, size * (sizeof *nsinl->inherits));
85 nsinl->size = size;
97 dsol->size = DSOLIST_DEFAULT_SIZE;
113 size_t size = 2 * dsol->size;
114 if (size) {
116 ds = (struct dso **)__libc_realloc(dsol->dsos, size * (sizeof *dsol->dsos));
121 dsol->size = size;
182 if (ns->ns_dsos->num == ns->ns_dsos->size) {
183 /* if list is full, realloc size to double*/
186 if (ns->ns_dsos->num < ns->ns_dsos->size) {
196 g_ns_list.size = NSLIST_DEFAULT_SIZE;
208 size_t size = 2 * g_ns_list.size;
209 if (size) {
211 nss = (ns_t **)__libc_realloc(g_ns_list.nss, size * (sizeof *g_ns_list.nss));
216 g_ns_list.size = size;
228 if (g_ns_list.num == g_ns_list.size) {
229 /* if list is full, realloc size to double*/
232 if (g_ns_list.num < g_ns_list.size) {
441 if (ns->ns_inherits->num == ns->ns_inherits->size) {
442 /* if list is full, realloc size to double*/
443 LD_LOGD("ns_add_inherit ns[%{public}s] ns_inherited[%{public}s] list is full, realloc size to double!",
449 if (ns->ns_inherits->num < ns->ns_inherits->size) {