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/
H A 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(
705 if (!new_map.has_value()) return MaybeHandle<Map>();
707 TransitionsAccessor::SetMigrationTarget(isolate, old_map, new_map.value());
709 return handle(new_map.value(), isolate);
724 Map new_map = *this;
728 TransitionsAccessor(isolate, new_map, IsConcurrent(cmode))
732 new_map
1191 Handle<Map> new_map; Normalize() local
1292 Handle<Map> new_map = Map::Copy(isolate, map, "ImmutablePrototype"); TransitionToImmutableProto() local
1508 Handle<Map> new_map = CopyDropDescriptors(isolate, map); AddMissingTransitions() local
1574 Handle<Map> new_map = CopyForElementsTransition(isolate, map); CopyAsElementsKind() local
1583 Handle<Map> new_map = Copy(isolate, map, "CopyAsElementsKind"); CopyAsElementsKind() local
1630 Handle<Map> new_map = CopyDropDescriptors(isolate, map); CopyForElementsTransition() local
1700 Handle<Map> new_map = CopyForPreventExtensions() local
2306 Handle<Map> new_map = TransitionToPrototype() local
[all...]
H A Djs-objects.cc2886 Map new_map) { in PrintInstanceMigration()
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()
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 in UpdatePrototypeUserRegistration()
2885 PrintInstanceMigration(FILE* file, Map original_map, Map new_map) PrintInstanceMigration() argument
2937 UpdatePrototypeUserRegistration(Handle<Map> old_map, Handle<Map> new_map, Isolate* isolate) UpdatePrototypeUserRegistration() argument
2963 NotifyMapChange(Handle<Map> old_map, Handle<Map> new_map, Isolate* isolate) NotifyMapChange() argument
2994 MigrateFastToFast(Isolate* isolate, Handle<JSObject> object, Handle<Map> new_map) MigrateFastToFast() argument
3185 MigrateFastToSlow(Isolate* isolate, Handle<JSObject> object, Handle<Map> new_map, int expected_additional_properties) MigrateFastToSlow() argument
3311 MigrateToMap(Isolate* isolate, Handle<JSObject> object, Handle<Map> new_map, int expected_additional_properties) MigrateToMap() argument
3359 Handle<Map> new_map = Map::Copy(isolate, old_map, "ForceSetPrototype"); ForceSetPrototype() local
3450 Handle<Map> new_map; TryMigrateInstance() local
3666 Handle<Map> new_map = NormalizeProperties() local
3736 Handle<Map> new_map = Map::CopyDropDescriptors(isolate, old_map); MigrateSlowToFast() local
3921 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, target_kind); NormalizeElements() local
4152 Handle<Map> new_map = PreventExtensions() local
4337 Handle<Map> new_map = Map::CopyForPreventExtensions( PreventExtensionsWithTransition() local
4351 Handle<Map> new_map = Map::Copy(isolate, handle(object->map(), isolate), PreventExtensionsWithTransition() local
4740 Handle<Map> new_map = OptimizeAsPrototype() local
5057 Handle<Map> new_map = SetPrototype() local
5267 Handle<Map> new_map = GetElementsTransitionMap(object, to_kind); TransitionElementsKind() local
[all...]
H A 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()
431 // We should only get here if the new_map is different from the old map, 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 in PrepareForDataProperty()
488 Handle<Map> new_map = MapUpdater::ReconfigureExistingProperty( ReconfigureDataProperty() local
763 Handle<Map> new_map = Map::TransitionToAccessorProperty( TransitionToAccessorProperty() local
[all...]
H A 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...]
H A 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()
H A Djs-objects.h503 Handle<Map> new_map,
510 // map from |old_map| to |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);
H A Dmap-updater.cc1030 Handle<Map> new_map = in ConstructNewMap() local
1039 target_map_ = new_map; in ConstructNewMap()
1042 result_map_ = new_map; in ConstructNewMap()
H A Delements.cc920 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, to_kind); local
921 JSObject::SetMapAndElements(object, new_map, elements);
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()
4918 Handle<Map> new_map = JSObject::GetElementsTransitionMap( GrowCapacityAndConvertImpl() local
[all...]
H A 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()
H A 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()
H A 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/
H A Df_streamselect.c189 int *new_map; in parse_mapping() local
197 new_map = av_calloc(s->nb_inputs, sizeof(*new_map)); in parse_mapping()
198 if (!new_map) in parse_mapping()
214 av_free(new_map); in parse_mapping()
222 av_free(new_map); in parse_mapping()
227 new_map[new_nb_map++] = n; in parse_mapping()
232 av_free(new_map); in parse_mapping()
237 s->map = new_map; in parse_mapping()
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A 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()
511 * Map.dup => new_map
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()
[all...]
/third_party/node/deps/v8/src/api/
H A 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/
H A Dttsbit.c1653 FT_Bitmap new_map; in FT_LOCAL() local
1657 FT_Bitmap_Init( &new_map ); in FT_LOCAL()
1660 error = FT_Bitmap_Convert( library, map, &new_map, 1 ); in FT_LOCAL()
1662 FT_Bitmap_Done( library, &new_map ); in FT_LOCAL()
1665 map->pixel_mode = new_map.pixel_mode; in FT_LOCAL()
1666 map->pitch = new_map.pitch; in FT_LOCAL()
1667 map->num_grays = new_map.num_grays; in FT_LOCAL()
1669 ft_glyphslot_set_bitmap( face->root.glyph, new_map.buffer ); in FT_LOCAL()
/third_party/selinux/checkpolicy/
H A 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/inspector/
H A Dinspected-context.cc143 v8::Local<v8::debug::EphemeronTable> new_map = in addInternalObject() local
147 m_internalObjects.Reset(isolate(), new_map); in addInternalObject() local
/third_party/node/deps/v8/src/heap/
H A Dfactory.cc2244 Handle<Map> new_map; in NewFunctionPrototype() local
2246 new_map = handle(native_context->async_generator_object_prototype_map(), in NewFunctionPrototype()
2251 new_map = in NewFunctionPrototype()
2259 new_map = handle(object_function->initial_map(), isolate()); in NewFunctionPrototype()
2262 DCHECK(!new_map->is_prototype_map()); in NewFunctionPrototype()
2263 Handle<JSObject> prototype = NewJSObjectFromMap(new_map); in NewFunctionPrototype()
2493 Handle<Map> new_map = Map::CopyDropDescriptors(isolate(), map); in NewJSGlobalObject() local
2494 Map raw_map = *new_map; in NewJSGlobalObject()
H A Dheap.h1125 Map new_map);
1128 Map new_map);
H A 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()
/third_party/alsa-lib/src/control/
H A Dcontrol_remap.c978 static int new_map(snd_ctl_remap_t *priv, snd_ctl_map_t **_map, snd_ctl_elem_id_t *id) in new_map() function
1132 err = new_map(priv, &map, &eid); in parse_map()
/third_party/protobuf/src/google/protobuf/
H A Dmap_test.cc847 Map<int32, int32> new_map(map.begin(), map.end()); in TEST_F()
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/
H A 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() local
1216 current_map = new_map; in InitializeJSArrayMaps()
/third_party/pcre2/pcre2/src/
H A 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()

Completed in 90 milliseconds