Home
last modified time | relevance | path

Searched refs:newmap (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/
Dptrmap.c48 struct ptrmap *newmap; in __ptrmap_add() local
62 newmap = __alloc_ptrmap(0); in __ptrmap_add()
64 *mapp = newmap; in __ptrmap_add()
66 newmap->next = head->next; in __ptrmap_add()
67 head->next = newmap; in __ptrmap_add()
69 map = newmap; in __ptrmap_add()
/third_party/python/Modules/
Dmmapmodule.c559 void *newmap; in mmap_resize_method() local
567 newmap = mremap(self->data, self->size, new_size, MREMAP_MAYMOVE); in mmap_resize_method()
570 newmap = mremap(self->data, self->size, self->data, new_size, 0); in mmap_resize_method()
572 newmap = mremap(self->data, self->size, new_size, 0); in mmap_resize_method()
575 if (newmap == (void *)-1) in mmap_resize_method()
580 self->data = newmap; in mmap_resize_method()
/third_party/selinux/libsepol/src/
Dlink.c189 uint32_t *newmap = calloc(perm->s.value, sizeof(*newmap)); in permission_copy_callback() local
190 if (newmap == NULL) { in permission_copy_callback()
195 memcpy(newmap, mod->perm_map[sclassi], mod->perm_map_len[sclassi] * sizeof(*newmap)); in permission_copy_callback()
198 mod->perm_map[sclassi] = newmap; in permission_copy_callback()