Home
last modified time | relevance | path

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

/third_party/ltp/tools/sparse/sparse-src/
H A 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/
H A Dmmapmodule.c630 void *newmap; in mmap_resize_method()
638 newmap = mremap(self->data, self->size, new_size, MREMAP_MAYMOVE); in mmap_resize_method()
641 newmap = mremap(self->data, self->size, self->data, new_size, 0); in mmap_resize_method()
643 newmap = mremap(self->data, self->size, new_size, 0); in mmap_resize_method()
646 if (newmap == (void *)-1) in mmap_resize_method()
651 self->data = newmap; in mmap_resize_method()
/third_party/selinux/libsepol/src/
H A 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()

Completed in 6 milliseconds