/external/v8/src/objects/ |
D | map.cc | 471 Handle<Map> new_map = Map::CopyAddDescriptor(isolate, map, &d, flag); in CopyWithField() local 472 new_map->AccountAddedPropertyField(); in CopyWithField() 473 return new_map; in CopyWithField() 897 Map new_map = TryUpdateSlow(isolate, *old_map); in TryUpdate() local 898 if (new_map.is_null()) return MaybeHandle<Map>(); in TryUpdate() 901 .SetMigrationTarget(new_map); in TryUpdate() 903 return handle(new_map, isolate); in TryUpdate() 1031 Map new_map = *this; in TryReplayPropertyTransitions() local 1035 TransitionsAccessor(isolate, new_map, &no_allocation) in TryReplayPropertyTransitions() 1039 new_map = transition; in TryReplayPropertyTransitions() [all …]
|
D | js-objects.cc | 2598 Map new_map) { in PrintInstanceMigration() argument 2599 if (new_map.is_dictionary_map()) { in PrintInstanceMigration() 2605 DescriptorArray n = new_map.instance_descriptors(kRelaxedLoad); in PrintInstanceMigration() 2623 if (original_map.elements_kind() != new_map.elements_kind()) { in PrintInstanceMigration() 2625 new_map.elements_kind()); in PrintInstanceMigration() 2649 Handle<Map> new_map, in UpdatePrototypeUserRegistration() argument 2652 DCHECK(new_map->is_prototype_map()); in UpdatePrototypeUserRegistration() 2654 new_map->set_prototype_info(old_map->prototype_info()); in UpdatePrototypeUserRegistration() 2658 reinterpret_cast<void*>(new_map->prototype_info().ptr()), in UpdatePrototypeUserRegistration() 2660 reinterpret_cast<void*>(new_map->ptr())); in UpdatePrototypeUserRegistration() [all …]
|
D | lookup.cc | 433 Handle<Map> new_map = Map::Update(isolate_, old_map); in PrepareForDataProperty() local 434 if (!new_map->is_dictionary_map()) { in PrepareForDataProperty() 435 new_map = Map::PrepareForDataProperty( in PrepareForDataProperty() 436 isolate(), new_map, descriptor_number(), new_constness, value); in PrepareForDataProperty() 438 if (old_map.is_identical_to(new_map)) { in PrepareForDataProperty() 442 new_map->instance_descriptors(isolate_, kRelaxedLoad) in PrepareForDataProperty() 450 DCHECK_NE(*old_map, *new_map); in PrepareForDataProperty() 452 JSObject::MigrateToMap(isolate_, holder_obj, new_map); in PrepareForDataProperty() 481 Handle<Map> new_map = Map::ReconfigureExistingProperty( in ReconfigureDataProperty() local 484 if (!new_map->is_dictionary_map()) { in ReconfigureDataProperty() [all …]
|
D | js-function.cc | 361 Handle<Map> new_map = in SetInstancePrototype() local 363 JSFunction::SetInitialMap(function, new_map, value); in SetInstancePrototype() 373 CacheInitialJSArrayMaps(isolate, native_context, new_map); in SetInstancePrototype() 409 Handle<Map> new_map = in SetPrototype() local 412 JSObject::MigrateToMap(isolate, function, new_map); in SetPrototype() 413 new_map->SetConstructor(*value); in SetPrototype() 414 new_map->set_has_non_instance_prototype(true); in SetPrototype()
|
D | string.cc | 182 Map new_map; in MakeExternal() local 186 new_map = roots.uncached_external_internalized_string_map(); in MakeExternal() 188 new_map = roots.uncached_external_string_map(); in MakeExternal() 191 new_map = is_internalized ? roots.external_internalized_string_map() in MakeExternal() 196 int new_size = this->SizeFromMap(new_map); in MakeExternal() 203 this->synchronized_set_map(new_map); in MakeExternal() 259 Map new_map; in MakeExternal() local 262 new_map = is_internalized in MakeExternal() 266 new_map = is_internalized in MakeExternal() 272 int new_size = this->SizeFromMap(new_map); in MakeExternal() [all …]
|
D | js-objects.h | 466 Handle<Map> new_map, 474 static void NotifyMapChange(Handle<Map> old_map, Handle<Map> new_map, 604 Isolate* isolate, Handle<JSObject> object, Handle<Map> new_map, 707 void PrintInstanceMigration(FILE* file, Map original_map, Map new_map);
|
D | map-updater.cc | 773 Handle<Map> new_map = Map::AddMissingTransitions( in ConstructNewMap() local 783 target_map_ = new_map; in ConstructNewMap() 786 result_map_ = new_map; in ConstructNewMap()
|
D | elements.cc | 865 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, to_kind); in BasicGrowCapacityAndConvertImpl() local 866 JSObject::SetMapAndElements(object, new_map, elements); in BasicGrowCapacityAndConvertImpl() 2601 Handle<Map> new_map = Map::Copy(isolate, handle(array->map(), isolate), in SetLengthImpl() local 2603 new_map->set_is_extensible(false); in SetLengthImpl() 2604 new_map->set_elements_kind(DICTIONARY_ELEMENTS); in SetLengthImpl() 2605 JSObject::MigrateToMap(isolate, array, new_map); in SetLengthImpl() 2696 Handle<Map> new_map = Map::Copy(isolate, handle(array->map(), isolate), in SetLengthImpl() local 2698 new_map->set_is_extensible(false); in SetLengthImpl() 2699 new_map->set_elements_kind(DICTIONARY_ELEMENTS); in SetLengthImpl() 2700 JSObject::MigrateToMap(isolate, array, new_map); in SetLengthImpl() [all …]
|
D | js-objects-inl.h | 215 void JSObject::SetMapAndElements(Handle<JSObject> object, Handle<Map> new_map, in SetMapAndElements() argument 218 JSObject::MigrateToMap(isolate, object, new_map); in SetMapAndElements()
|
D | ordered-hash-table.cc | 1226 MaybeHandle<SmallOrderedHashMap> new_map = in Add() local 1228 if (!new_map.is_null()) return new_map.ToHandleChecked(); in Add()
|
D | objects.cc | 4696 Handle<Map> new_map; in CacheInitialJSArrayMaps() local 4700 new_map = handle(maybe_elements_transition, isolate); in CacheInitialJSArrayMaps() 4702 new_map = Map::CopyAsElementsKind(isolate, current_map, next_kind, in CacheInitialJSArrayMaps() 4705 DCHECK_EQ(next_kind, new_map->elements_kind()); in CacheInitialJSArrayMaps() 4706 native_context->set(Context::ArrayMapIndex(next_kind), *new_map); in CacheInitialJSArrayMaps() 4707 current_map = new_map; in CacheInitialJSArrayMaps()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | hoist_random_uniform_test.cc | 66 const auto& new_map = output.node(new_map_id); in TEST() local 71 ASSERT_EQ(new_map.input_size(), 1); in TEST() 72 EXPECT_EQ(new_map.input(0), zip.name()); in TEST()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | map.c | 494 VALUE new_map = Qnil; in Map_new_this_type() local 498 new_map = rb_funcall(CLASS_OF(_self), rb_intern("new"), 3, in Map_new_this_type() 501 new_map = rb_funcall(CLASS_OF(_self), rb_intern("new"), 2, in Map_new_this_type() 504 return new_map; in Map_new_this_type() 516 VALUE new_map = Map_new_this_type(_self); in Map_dup() local 517 Map* new_self = ruby_to_Map(new_map); in Map_dup() 538 return new_map; in Map_dup() 544 VALUE new_map = Map_new_this_type(_self); in Map_deep_copy() local 545 Map* new_self = ruby_to_Map(new_map); in Map_deep_copy() 566 return new_map; in Map_deep_copy()
|
/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/giflib/ |
D | gifalloc.c | 191 GifColorType *new_map = (GifColorType *)reallocarray(Map, in GifUnionColorMap() local 193 if( new_map == NULL ) { in GifUnionColorMap() 197 ColorUnion->Colors = new_map; in GifUnionColorMap()
|
/external/selinux/checkpolicy/ |
D | module_compiler.c | 745 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class() local 746 class_value * sizeof(*new_map)); in add_perm_to_class() 747 if (new_map == NULL) { in add_perm_to_class() 750 scope->class_perms_map = new_map; in add_perm_to_class() 1383 ebitmap_t *new_map = in copy_requirements() local 1386 sizeof(*new_map)); in copy_requirements() 1387 if (new_map == NULL) { in copy_requirements() 1391 dest_scope->class_perms_map = new_map; in copy_requirements()
|
/external/v8/src/api/ |
D | api-natives.cc | 137 Handle<Map> new_map = Map::Copy(isolate, old_map, "DisableAccessChecks"); in DisableAccessChecks() local 138 new_map->set_is_access_check_needed(false); in DisableAccessChecks() 139 JSObject::MigrateToMap(isolate, Handle<JSObject>::cast(object), new_map); in DisableAccessChecks() 145 Handle<Map> new_map = Map::Copy(isolate, old_map, "EnableAccessChecks"); in EnableAccessChecks() local 146 new_map->set_is_access_check_needed(true); in EnableAccessChecks() 147 new_map->set_may_have_interesting_symbols(true); in EnableAccessChecks() 148 JSObject::MigrateToMap(isolate, object, new_map); in EnableAccessChecks()
|
/external/freetype/src/sfnt/ |
D | ttsbit.c | 1650 FT_Bitmap new_map; in tt_face_load_sbit_image() local 1654 FT_Bitmap_Init( &new_map ); in tt_face_load_sbit_image() 1657 error = FT_Bitmap_Convert( library, map, &new_map, 1 ); in tt_face_load_sbit_image() 1659 FT_Bitmap_Done( library, &new_map ); in tt_face_load_sbit_image() 1662 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image() 1663 map->pitch = new_map.pitch; in tt_face_load_sbit_image() 1664 map->num_grays = new_map.num_grays; in tt_face_load_sbit_image() 1666 ft_glyphslot_set_bitmap( face->root.glyph, new_map.buffer ); in tt_face_load_sbit_image()
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 352 ext2fs_block_bitmap old_map, new_map; in move_bg_metadata() local 364 retval = ext2fs_allocate_block_bitmap(rfs->new_fs, "newfs", &new_map); in move_bg_metadata() 396 ext2fs_mark_block_bitmap2(new_map, b); in move_bg_metadata() 398 ext2fs_mark_block_bitmap2(new_map, c + j); in move_bg_metadata() 400 ext2fs_mark_block_bitmap2(new_map, d); in move_bg_metadata() 411 new = ext2fs_test_block_bitmap2(new_map, b); in move_bg_metadata() 422 ext2fs_unmark_block_bitmap2(new_map, b); in move_bg_metadata() 437 if (ext2fs_test_block_bitmap2(new_map, b)) in move_bg_metadata() 443 if (ext2fs_test_block_bitmap2(new_map, b)) in move_bg_metadata() 452 if (ext2fs_test_block_bitmap2(new_map, b + c)) in move_bg_metadata() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sparse_reshape_op_test.py | 310 new_map = np.random.randint(new_rank, size=factors.shape) 311 new_shape = [np.prod(factors[new_map == d]) for d in range(new_rank)]
|
/external/v8/src/heap/ |
D | factory.cc | 1823 Handle<Map> new_map; in DEFINE_ERROR() local 1825 new_map = handle(native_context->async_generator_object_prototype_map(), in DEFINE_ERROR() 1830 new_map = in DEFINE_ERROR() 1838 new_map = handle(object_function->initial_map(), isolate()); in DEFINE_ERROR() 1841 DCHECK(!new_map->is_prototype_map()); in DEFINE_ERROR() 1842 Handle<JSObject> prototype = NewJSObjectFromMap(new_map); in DEFINE_ERROR() 2001 Handle<Map> new_map = Map::Copy( in NewJSObjectWithNullProto() local 2003 Map::SetPrototype(isolate(), new_map, null_value()); in NewJSObjectWithNullProto() 2004 JSObject::MigrateToMap(isolate(), result, new_map); in NewJSObjectWithNullProto() 2057 Handle<Map> new_map = Map::CopyDropDescriptors(isolate(), map); in NewJSGlobalObject() local [all …]
|
D | heap.cc | 3485 void Heap::VerifyObjectLayoutChange(HeapObject object, Map new_map) { in VerifyObjectLayoutChange() argument 3494 DCHECK(!object.map().TransitionRequiresSynchronizationWithGC(new_map)); in VerifyObjectLayoutChange() 3496 (new_map == ReadOnlyRoots(this).thin_string_map() || in VerifyObjectLayoutChange() 3497 new_map == ReadOnlyRoots(this).thin_one_byte_string_map())) { in VerifyObjectLayoutChange() 3507 object.set_map_word(MapWord::FromMap(new_map)); in VerifyObjectLayoutChange()
|
/external/protobuf/src/google/protobuf/ |
D | map_test.cc | 843 Map<int32, int32> new_map(map.begin(), map.end()); in TEST_F() local 845 EXPECT_EQ(2, new_map.size()); in TEST_F() 846 EXPECT_EQ(value1, new_map.at(key1)); in TEST_F() 847 EXPECT_EQ(value2, new_map.at(key2)); in TEST_F()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 173 auto* new_map = new tensorflow::gtl::FlatMap<string, tensorflow::DataType>; in GetAttrToDefaultsMap() local 177 new_map->insert({attr.name(), attr.default_value().type()}); in GetAttrToDefaultsMap() 181 (*all_attr_to_defaults_maps)[op_def.name()] = new_map; in GetAttrToDefaultsMap() 183 return new_map; in GetAttrToDefaultsMap()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_instruction.cc | 2305 CanonicalNameMap new_map; in ToString() local 2306 return ToStringWithCanonicalNameMap(options, &new_map); in ToString() 2432 CanonicalNameMap new_map; in OperandsToString() local 2433 return OperandsToStringWithCanonicalNameMap(options, &new_map); in OperandsToString()
|