/external/sepolicy/check_seapp/ |
D | check_seapp.c | 457 rule_map *new_map = NULL; in rule_map_new() local 461 new_map = calloc(1, (num_of_keys * sizeof(key_map)) + sizeof(rule_map)); in rule_map_new() 462 if (!new_map) in rule_map_new() 465 new_map->length = num_of_keys; in rule_map_new() 466 new_map->lineno = lineno; in rule_map_new() 471 r = &(new_map->m[i]); in rule_map_new() 504 int l = (new_map->key) ? strlen(new_map->key) : 0; in rule_map_new() 508 tmp = realloc(new_map->key, l); in rule_map_new() 512 if (!new_map->key) in rule_map_new() 515 new_map->key = tmp; in rule_map_new() [all …]
|
/external/oprofile/libdb/ |
D | db_manage.c | 72 void * new_map; in odb_grow_hashtable() local 81 new_map = mmap(0, new_file_size, PROT_READ | PROT_WRITE, in odb_grow_hashtable() 84 new_map = mremap(data->base_memory, in odb_grow_hashtable() 88 if (new_map == MAP_FAILED) in odb_grow_hashtable() 95 data->base_memory = new_map; in odb_grow_hashtable()
|
/external/e2fsprogs/intl/ |
D | localealias.c | 371 struct alias_map *new_map; in extend_alias_table() local 374 new_map = (struct alias_map *) realloc (map, (new_size in extend_alias_table() 376 if (new_map == NULL) in extend_alias_table() 380 map = new_map; in extend_alias_table()
|
/external/chromium/net/disk_cache/ |
D | bitmap.cc | 75 uint32* new_map = new uint32[array_size_]; in Resize() local 77 new_map[array_size_ - 1] = 0; in Resize() 78 memcpy(new_map, map_, in Resize() 82 map_ = new_map; in Resize()
|
/external/v8/src/ |
D | objects.cc | 509 Object* new_map; in DeleteNormalizedProperty() local 511 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in DeleteNormalizedProperty() 513 set_map(Map::cast(new_map)); in DeleteNormalizedProperty() 1481 MaybeObject* JSObject::AddFastPropertyUsingMap(Map* new_map, in AddFastPropertyUsingMap() argument 1484 int index = new_map->PropertyIndexFor(name); in AddFastPropertyUsingMap() 1487 int new_unused = new_map->unused_property_fields(); in AddFastPropertyUsingMap() 1495 set_map(new_map); in AddFastPropertyUsingMap() 1572 Map* new_map = Map::cast(r); in AddFastProperty() local 1575 MapTransitionDescriptor d(name, Map::cast(new_map), attributes); in AddFastProperty() 1599 new_map->set_unused_property_fields(kFieldsAdded - 1); in AddFastProperty() [all …]
|
D | bootstrapper.cc | 1112 Handle<Map> new_map = factory->CopyMapDropTransitions(old_map); in InitializeGlobal() local 1113 new_map->set_pre_allocated_property_fields(2); in InitializeGlobal() 1114 Handle<JSObject> result = factory->NewJSObjectFromMap(new_map); in InitializeGlobal() 1117 new_map->set_elements_kind(NON_STRICT_ARGUMENTS_ELEMENTS); in InitializeGlobal() 1638 Map* new_map; in InstallNatives() local 1639 if (!maybe_map->To<Map>(&new_map)) return false; in InstallNatives() 1640 new_map->set_elements_kind(FAST_ELEMENTS); in InstallNatives() 1641 array_function->set_initial_map(new_map); in InstallNatives()
|
D | runtime.cc | 1229 Object* new_map; in RUNTIME_FUNCTION() local 1231 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in RUNTIME_FUNCTION() 1234 Map::cast(new_map)->set_is_access_check_needed(false); in RUNTIME_FUNCTION() 1235 object->set_map(Map::cast(new_map)); in RUNTIME_FUNCTION() 1247 Object* new_map; in RUNTIME_FUNCTION() local 1249 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in RUNTIME_FUNCTION() 1252 Map::cast(new_map)->set_is_access_check_needed(true); in RUNTIME_FUNCTION() 1253 object->set_map(Map::cast(new_map)); in RUNTIME_FUNCTION() 2126 Map* new_map = Map::cast(map_unchecked); in RUNTIME_FUNCTION() local 2127 new_map->set_instance_descriptors(new_descriptors); in RUNTIME_FUNCTION() [all …]
|
D | objects-inl.h | 1347 void JSObject::set_map_and_elements(Map* new_map, in set_map_and_elements() argument 1354 if (new_map != NULL) { in set_map_and_elements() 1356 set_map(new_map); in set_map_and_elements() 1359 set_map_no_write_barrier(new_map); in set_map_and_elements()
|
D | heap.cc | 3554 Map* new_map; in AllocateFunctionPrototype() local 3558 if (!maybe_map->To<Map>(&new_map)) return maybe_map; in AllocateFunctionPrototype() 3561 { MaybeObject* maybe_prototype = AllocateJSObjectFromMap(new_map); in AllocateFunctionPrototype() 3999 Map* new_map = Map::cast(obj); in AllocateGlobalObject() local 4002 global->set_map(new_map); in AllocateGlobalObject()
|
D | ic.cc | 1576 Handle<Map> new_map = ComputeTransitionedMap(receiver, stub_kind); in ComputeStub() local 1577 map_added |= AddOneReceiverMapIfMissing(&target_receiver_maps, new_map); in ComputeStub()
|
D | api.cc | 3193 i::Handle<i::Map> new_map = in TurnOnAccessCheck() local 3195 new_map->set_is_access_check_needed(true); in TurnOnAccessCheck() 3196 obj->set_map(*new_map); in TurnOnAccessCheck()
|
D | objects.h | 1887 MUST_USE_RESULT MaybeObject* AddFastPropertyUsingMap(Map* new_map,
|
/external/checkpolicy/ |
D | module_compiler.c | 704 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class() local 705 class_value * sizeof(*new_map)); in add_perm_to_class() 706 if (new_map == NULL) { in add_perm_to_class() 709 scope->class_perms_map = new_map; in add_perm_to_class() 1501 ebitmap_t *new_map = in copy_requirements() local 1504 sizeof(*new_map)); in copy_requirements() 1505 if (new_map == NULL) { in copy_requirements() 1509 dest_scope->class_perms_map = new_map; in copy_requirements()
|