Home
last modified time | relevance | path

Searched refs:new_map (Results 1 – 24 of 24) sorted by relevance

/third_party/node/deps/v8/src/objects/
Dmap.cc463 Handle<Map> new_map = Map::CopyAddDescriptor(isolate, map, &d, flag); in CopyWithField() local
464 new_map->AccountAddedPropertyField(); in CopyWithField()
465 return new_map; in CopyWithField()
703 base::Optional<Map> new_map = MapUpdater::TryUpdateNoLock( in TryUpdate() local
705 if (!new_map.has_value()) return MaybeHandle<Map>(); in TryUpdate()
707 TransitionsAccessor::SetMigrationTarget(isolate, old_map, new_map.value()); in TryUpdate()
709 return handle(new_map.value(), isolate); in TryUpdate()
724 Map new_map = *this; in TryReplayPropertyTransitions() local
728 TransitionsAccessor(isolate, new_map, IsConcurrent(cmode)) in TryReplayPropertyTransitions()
732 new_map = transition; in TryReplayPropertyTransitions()
[all …]
Djs-objects.cc2886 Map new_map) { in PrintInstanceMigration() argument
2887 if (new_map.is_dictionary_map()) { in PrintInstanceMigration()
2894 DescriptorArray n = new_map.instance_descriptors(isolate); in PrintInstanceMigration()
2912 if (original_map.elements_kind() != new_map.elements_kind()) { in PrintInstanceMigration()
2914 new_map.elements_kind()); in PrintInstanceMigration()
2938 Handle<Map> new_map, in UpdatePrototypeUserRegistration() argument
2941 DCHECK(new_map->is_prototype_map()); in UpdatePrototypeUserRegistration()
2943 new_map->set_prototype_info(old_map->prototype_info(), kReleaseStore); in UpdatePrototypeUserRegistration()
2947 reinterpret_cast<void*>(new_map->prototype_info().ptr()), in UpdatePrototypeUserRegistration()
2949 reinterpret_cast<void*>(new_map->ptr())); in UpdatePrototypeUserRegistration()
[all …]
Dlookup.cc417 Handle<Map> new_map = Map::Update(isolate_, old_map); in PrepareForDataProperty() local
418 if (!new_map->is_dictionary_map()) { // fast -> fast in PrepareForDataProperty()
419 new_map = Map::PrepareForDataProperty( in PrepareForDataProperty()
420 isolate(), new_map, descriptor_number(), new_constness, value); in PrepareForDataProperty()
422 if (old_map.is_identical_to(new_map)) { in PrepareForDataProperty()
425 property_details_ = new_map->instance_descriptors(isolate_).GetDetails( in PrepareForDataProperty()
433 DCHECK_NE(*old_map, *new_map); in PrepareForDataProperty()
435 JSObject::MigrateToMap(isolate_, holder_obj, new_map); in PrepareForDataProperty()
442 if (V8_DICT_PROPERTY_CONST_TRACKING_BOOL && new_map->is_dictionary_map() && in PrepareForDataProperty()
455 DCHECK_IMPLIES(new_map->is_prototype_map(), in PrepareForDataProperty()
[all …]
Dstring.cc90 MaybeHandle<Map> new_map; in SlowShare() local
91 switch (isolate->factory()->ComputeSharingStrategyForString(flat, &new_map)) { in SlowShare()
98 flat->set_map_no_write_barrier(*new_map.ToHandleChecked()); in SlowShare()
407 Map new_map; in MakeExternal() local
411 new_map = roots.uncached_external_internalized_string_map(); in MakeExternal()
413 new_map = roots.uncached_external_string_map(); in MakeExternal()
416 new_map = is_internalized ? roots.external_internalized_string_map() in MakeExternal()
421 int new_size = this->SizeFromMap(new_map); in MakeExternal()
434 this->set_map(new_map, kReleaseStore); in MakeExternal()
491 Map new_map; in MakeExternal() local
[all …]
Djs-function.cc642 Handle<Map> new_map = in SetInstancePrototype() local
644 JSFunction::SetInitialMap(isolate, function, new_map, value); in SetInstancePrototype()
681 Handle<Map> new_map = in SetPrototype() local
684 new_map->SetConstructor(*value); in SetPrototype()
685 new_map->set_has_non_instance_prototype(true); in SetPrototype()
686 JSObject::MigrateToMap(isolate, function, new_map); in SetPrototype()
Djs-objects.h503 Handle<Map> new_map,
511 static void NotifyMapChange(Handle<Map> old_map, Handle<Map> new_map,
638 Isolate* isolate, Handle<JSObject> object, Handle<Map> new_map,
775 void PrintInstanceMigration(FILE* file, Map original_map, Map new_map);
Dmap-updater.cc1030 Handle<Map> new_map = in ConstructNewMap() local
1039 target_map_ = new_map; in ConstructNewMap()
1042 result_map_ = new_map; in ConstructNewMap()
Delements.cc920 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, to_kind); in BasicGrowCapacityAndConvertImpl() local
921 JSObject::SetMapAndElements(object, new_map, elements); in BasicGrowCapacityAndConvertImpl()
2680 Handle<Map> new_map = Map::Copy(isolate, handle(array->map(), isolate), in SetLengthImpl() local
2682 new_map->set_is_extensible(false); in SetLengthImpl()
2683 new_map->set_elements_kind(DICTIONARY_ELEMENTS); in SetLengthImpl()
2684 JSObject::MigrateToMap(isolate, array, new_map); in SetLengthImpl()
2778 Handle<Map> new_map = Map::Copy(isolate, handle(array->map(), isolate), in SetLengthImpl() local
2780 new_map->set_is_extensible(false); in SetLengthImpl()
2781 new_map->set_elements_kind(DICTIONARY_ELEMENTS); in SetLengthImpl()
2782 JSObject::MigrateToMap(isolate, array, new_map); in SetLengthImpl()
[all …]
Dstring-inl.h788 MaybeHandle<Map> new_map; in Share() local
790 isolate->factory()->ComputeSharingStrategyForString(string, &new_map)) { in Share()
797 string->set_map_no_write_barrier(*new_map.ToHandleChecked()); in Share()
Djs-objects-inl.h238 void JSObject::SetMapAndElements(Handle<JSObject> object, Handle<Map> new_map, in SetMapAndElements() argument
241 JSObject::MigrateToMap(isolate, object, new_map); in SetMapAndElements()
Dordered-hash-table.cc1231 MaybeHandle<SmallOrderedHashMap> new_map = in Add() local
1233 if (!new_map.is_null()) return new_map.ToHandleChecked(); in Add()
/third_party/ffmpeg/libavfilter/
Df_streamselect.c188 int *new_map; in parse_mapping() local
196 new_map = av_calloc(s->nb_inputs, sizeof(*new_map)); in parse_mapping()
197 if (!new_map) in parse_mapping()
213 av_free(new_map); in parse_mapping()
221 av_free(new_map); in parse_mapping()
226 new_map[new_nb_map++] = n; in parse_mapping()
231 av_free(new_map); in parse_mapping()
236 s->map = new_map; in parse_mapping()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dmap.c496 VALUE new_map = Qnil; in Map_new_this_type() local
500 new_map = rb_funcall(CLASS_OF(_self), rb_intern("new"), 3, in Map_new_this_type()
503 new_map = rb_funcall(CLASS_OF(_self), rb_intern("new"), 2, in Map_new_this_type()
506 return new_map; in Map_new_this_type()
518 VALUE new_map = Map_new_this_type(_self); in Map_dup() local
519 Map* new_self = ruby_to_Map(new_map); in Map_dup()
537 return new_map; in Map_dup()
543 VALUE new_map = Map_new_this_type(_self); in Map_deep_copy() local
544 Map* new_self = ruby_to_Map(new_map); in Map_deep_copy()
563 return new_map; in Map_deep_copy()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c746 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class() local
747 class_value * sizeof(*new_map)); in add_perm_to_class()
748 if (new_map == NULL) { in add_perm_to_class()
751 scope->class_perms_map = new_map; in add_perm_to_class()
1392 ebitmap_t *new_map = in copy_requirements() local
1395 sizeof(*new_map)); in copy_requirements()
1396 if (new_map == NULL) { in copy_requirements()
1400 dest_scope->class_perms_map = new_map; in copy_requirements()
/third_party/node/deps/v8/src/api/
Dapi-natives.cc137 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()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttsbit.c1653 FT_Bitmap new_map; in tt_face_load_sbit_image() local
1657 FT_Bitmap_Init( &new_map ); in tt_face_load_sbit_image()
1660 error = FT_Bitmap_Convert( library, map, &new_map, 1 ); in tt_face_load_sbit_image()
1662 FT_Bitmap_Done( library, &new_map ); in tt_face_load_sbit_image()
1665 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image()
1666 map->pitch = new_map.pitch; in tt_face_load_sbit_image()
1667 map->num_grays = new_map.num_grays; in tt_face_load_sbit_image()
1669 ft_glyphslot_set_bitmap( face->root.glyph, new_map.buffer ); in tt_face_load_sbit_image()
/third_party/node/deps/v8/src/inspector/
Dinspected-context.cc143 v8::Local<v8::debug::EphemeronTable> new_map = in addInternalObject() local
147 m_internalObjects.Reset(isolate(), new_map); in addInternalObject()
/third_party/node/deps/v8/src/heap/
Dfactory.cc2244 Handle<Map> new_map; in DEFINE_ERROR() local
2246 new_map = handle(native_context->async_generator_object_prototype_map(), in DEFINE_ERROR()
2251 new_map = in DEFINE_ERROR()
2259 new_map = handle(object_function->initial_map(), isolate()); in DEFINE_ERROR()
2262 DCHECK(!new_map->is_prototype_map()); in DEFINE_ERROR()
2263 Handle<JSObject> prototype = NewJSObjectFromMap(new_map); in DEFINE_ERROR()
2493 Handle<Map> new_map = Map::CopyDropDescriptors(isolate(), map); in NewJSGlobalObject() local
2494 Map raw_map = *new_map; in NewJSGlobalObject()
Dheap.cc4026 void Heap::VerifyObjectLayoutChange(HeapObject object, Map new_map) { in VerifyObjectLayoutChange() argument
4039 VerifySafeMapTransition(object, new_map); in VerifyObjectLayoutChange()
4046 void Heap::VerifySafeMapTransition(HeapObject object, Map new_map) { in VerifySafeMapTransition() argument
4054 (new_map == ReadOnlyRoots(this).thin_string_map() || in VerifySafeMapTransition()
4055 new_map == ReadOnlyRoots(this).thin_one_byte_string_map())) { in VerifySafeMapTransition()
4062 InstanceTypeChecker::IsInternalizedString(new_map.instance_type())) { in VerifySafeMapTransition()
4075 object.set_map_word(MapWord::FromMap(new_map), kRelaxedStore); in VerifySafeMapTransition()
Dheap.h1125 Map new_map);
1128 Map new_map);
/third_party/alsa-lib/src/control/
Dcontrol_remap.c973 static int new_map(snd_ctl_remap_t *priv, snd_ctl_map_t **_map, snd_ctl_elem_id_t *id) in new_map() function
1127 err = new_map(priv, &map, &eid); in parse_map()
/third_party/protobuf/src/google/protobuf/
Dmap_test.cc847 Map<int32, int32> new_map(map.begin(), map.end()); in TEST_F() local
849 EXPECT_EQ(2, new_map.size()); in TEST_F()
850 EXPECT_EQ(value1, new_map.at(key1)); in TEST_F()
851 EXPECT_EQ(value2, new_map.at(key2)); in TEST_F()
/third_party/node/deps/v8/src/init/
Dbootstrapper.cc1203 Handle<Map> new_map; in InitializeJSArrayMaps() local
1208 new_map = handle(maybe_elements_transition, isolate); in InitializeJSArrayMaps()
1210 new_map = Map::CopyAsElementsKind(isolate, current_map, next_kind, in InitializeJSArrayMaps()
1213 DCHECK_EQ(next_kind, new_map->elements_kind()); in InitializeJSArrayMaps()
1214 native_context->set(Context::ArrayMapIndex(next_kind), *new_map, in InitializeJSArrayMaps()
1216 current_map = new_map; in InitializeJSArrayMaps()
/third_party/pcre2/pcre2/src/
Dpcre2_compile.c8419 uint32_t new_map = bracket_map | ((n < 32)? (1u << n) : 1); in is_anchored() local
8420 if (!is_anchored(scode, new_map, cb, atomcount, inassert)) return FALSE; in is_anchored()
8557 unsigned int new_map = bracket_map | ((n < 32)? (1u << n) : 1); in is_startline() local
8558 if (!is_startline(scode, new_map, cb, atomcount, inassert)) return FALSE; in is_startline()