Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-field-type-tracking.cc457 Handle<Map> new_map = Map::ReconfigureProperty( in TEST() local
466 CHECK(!new_map->is_deprecated()); in TEST()
467 CHECK(new_map->is_stable()); in TEST()
468 CHECK(expectations.Check(*new_map)); in TEST()
472 CHECK_EQ(*new_map, *new_map2); in TEST()
475 Handle<Map> prepared_map = Map::PrepareForDataProperty(new_map, 0, value); in TEST()
477 CHECK_EQ(*new_map, *prepared_map); in TEST()
610 Handle<Map> new_map = in TestGeneralizeRepresentation() local
617 CHECK(!new_map->is_deprecated()); in TestGeneralizeRepresentation()
618 CHECK(expectations.Check(*new_map)); in TestGeneralizeRepresentation()
[all …]
Dtest-unboxed-doubles.cc1365 static void TestWriteBarrier(Handle<Map> map, Handle<Map> new_map, in TestWriteBarrier() argument
1404 JSObject::MigrateToMap(obj, new_map); in TestWriteBarrier()
1410 FieldIndex::ForDescriptor(*new_map, double_descriptor); in TestWriteBarrier()
1419 FieldIndex::ForDescriptor(*new_map, tagged_descriptor); in TestWriteBarrier()
1426 static void TestIncrementalWriteBarrier(Handle<Map> map, Handle<Map> new_map, in TestIncrementalWriteBarrier() argument
1484 JSObject::MigrateToMap(obj, new_map); in TestIncrementalWriteBarrier()
1489 FieldIndex::ForDescriptor(*new_map, double_descriptor); in TestIncrementalWriteBarrier()
1501 FieldIndex::ForDescriptor(*new_map, tagged_descriptor); in TestIncrementalWriteBarrier()
1534 Handle<Map> new_map = Map::ReconfigureProperty( in TestWriteBarrierObjectShiftFieldsRight() local
1538 TestWriteBarrier(map, new_map, 2, 1); in TestWriteBarrierObjectShiftFieldsRight()
[all …]
/external/v8/tools/
Dtrace-maps-processor.py95 new_map = AddMap(words[3], "SFI#%s" % words[5]) variable
96 root_maps.append(new_map)
103 new_map = AddMap(from_map, "<unknown>") variable
104 root_maps.append(new_map)
/external/v8/src/
Dlookup.cc226 Handle<Map> new_map = in PrepareForDataProperty() local
229 if (old_map.is_identical_to(new_map)) { in PrepareForDataProperty()
233 new_map->instance_descriptors()->GetDetails(descriptor_number()); in PrepareForDataProperty()
238 JSObject::MigrateToMap(holder, new_map); in PrepareForDataProperty()
262 Handle<Map> new_map = Map::ReconfigureExistingProperty( in ReconfigureDataProperty() local
264 new_map = in ReconfigureDataProperty()
265 Map::PrepareForDataProperty(new_map, descriptor_number(), value); in ReconfigureDataProperty()
266 JSObject::MigrateToMap(holder, new_map); in ReconfigureDataProperty()
394 Handle<Map> new_map = Map::TransitionToAccessorProperty( in TransitionToAccessorProperty() local
396 bool simple_transition = new_map->GetBackPointer() == receiver->map(); in TransitionToAccessorProperty()
[all …]
Dobjects.cc1989 Map* new_map; in MakeExternal() local
1991 new_map = is_internalized in MakeExternal()
1998 new_map = is_internalized in MakeExternal()
2007 int new_size = this->SizeFromMap(new_map); in MakeExternal()
2013 this->synchronized_set_map(new_map); in MakeExternal()
2057 Map* new_map; in MakeExternal() local
2059 new_map = is_internalized in MakeExternal()
2063 new_map = is_internalized in MakeExternal()
2069 int new_size = this->SizeFromMap(new_map); in MakeExternal()
2075 this->synchronized_set_map(new_map); in MakeExternal()
[all …]
Dapi-natives.cc105 Handle<Map> new_map = Map::Copy(old_map, "DisableAccessChecks"); in DisableAccessChecks() local
106 new_map->set_is_access_check_needed(false); in DisableAccessChecks()
107 JSObject::MigrateToMap(Handle<JSObject>::cast(object), new_map); in DisableAccessChecks()
114 Handle<Map> new_map = Map::Copy(old_map, "EnableAccessChecks"); in EnableAccessChecks() local
115 new_map->set_is_access_check_needed(true); in EnableAccessChecks()
116 JSObject::MigrateToMap(object, new_map); in EnableAccessChecks()
Dfactory.cc1328 Handle<Map> new_map; in NewFunctionPrototype() local
1332 new_map = handle(native_context->generator_object_prototype_map()); in NewFunctionPrototype()
1339 new_map = handle(object_function->initial_map()); in NewFunctionPrototype()
1342 DCHECK(!new_map->is_prototype_map()); in NewFunctionPrototype()
1343 Handle<JSObject> prototype = NewJSObjectFromMap(new_map); in NewFunctionPrototype()
1516 Handle<Map> new_map = in NewJSObjectWithNullProto() local
1518 Map::SetPrototype(new_map, null_value()); in NewJSObjectWithNullProto()
1519 JSObject::MigrateToMap(result, new_map); in NewJSObjectWithNullProto()
1583 Handle<Map> new_map = Map::CopyDropDescriptors(map); in NewJSGlobalObject() local
1584 new_map->set_dictionary_map(true); in NewJSGlobalObject()
[all …]
Delements.cc544 Handle<Map> new_map = in TryTransitionResultArrayToPacked() local
546 JSObject::MigrateToMap(array, new_map); in TryTransitionResultArrayToPacked()
813 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, to_kind); in BasicGrowCapacityAndConvertImpl() local
814 JSObject::SetMapAndElements(object, new_map, elements); in BasicGrowCapacityAndConvertImpl()
2633 Handle<Map> new_map = JSObject::GetElementsTransitionMap( in GrowCapacityAndConvertImpl() local
2635 JSObject::MigrateToMap(object, new_map); in GrowCapacityAndConvertImpl()
Dbootstrapper.cc344 Handle<Map> new_map = Map::Copy(old_map, "SetObjectPrototype"); in SetObjectPrototype() local
345 Map::SetPrototype(new_map, proto, FAST_PROTOTYPE); in SetObjectPrototype()
346 JSObject::MigrateToMap(object, new_map); in SetObjectPrototype()
Dobjects.h2180 Handle<Map> new_map,
2297 static void MigrateToMap(Handle<JSObject> object, Handle<Map> new_map,
2396 void PrintInstanceMigration(FILE* file, Map* original_map, Map* new_map);
Dobjects-inl.h1873 Handle<Map> new_map, in SetMapAndElements() argument
1875 JSObject::MigrateToMap(object, new_map); in SetMapAndElements()
/external/e2fsprogs/intl/
Dlocalealias.c371 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/
Dgifalloc.c191 GifColorType *new_map = (GifColorType *)reallocarray(Map, in GifUnionColorMap() local
193 if( new_map == NULL ) { in GifUnionColorMap()
197 ColorUnion->Colors = new_map; in GifUnionColorMap()
/external/pdfium/third_party/freetype/src/sfnt/
Dttsbit.c1447 FT_Bitmap new_map; in tt_face_load_sbit_image() local
1451 FT_Bitmap_Init( &new_map ); in tt_face_load_sbit_image()
1454 error = FT_Bitmap_Convert( library, map, &new_map, 1 ); in tt_face_load_sbit_image()
1456 FT_Bitmap_Done( library, &new_map ); in tt_face_load_sbit_image()
1459 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image()
1460 map->pitch = new_map.pitch; in tt_face_load_sbit_image()
1461 map->num_grays = new_map.num_grays; in tt_face_load_sbit_image()
1463 ft_glyphslot_set_bitmap( face->root.glyph, new_map.buffer ); in tt_face_load_sbit_image()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
Dttsbit.c1542 FT_Bitmap new_map; in tt_face_load_sbit_image() local
1546 FT_Bitmap_Init( &new_map ); in tt_face_load_sbit_image()
1549 error = FT_Bitmap_Convert( library, map, &new_map, 1 ); in tt_face_load_sbit_image()
1551 FT_Bitmap_Done( library, &new_map ); in tt_face_load_sbit_image()
1554 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image()
1555 map->pitch = new_map.pitch; in tt_face_load_sbit_image()
1556 map->num_grays = new_map.num_grays; in tt_face_load_sbit_image()
1558 ft_glyphslot_set_bitmap( face->root.glyph, new_map.buffer ); in tt_face_load_sbit_image()
/external/selinux/checkpolicy/
Dmodule_compiler.c705 ebitmap_t *new_map = realloc(scope->class_perms_map, in add_perm_to_class() local
706 class_value * sizeof(*new_map)); in add_perm_to_class()
707 if (new_map == NULL) { in add_perm_to_class()
710 scope->class_perms_map = new_map; in add_perm_to_class()
1502 ebitmap_t *new_map = in copy_requirements() local
1505 sizeof(*new_map)); in copy_requirements()
1506 if (new_map == NULL) { in copy_requirements()
1510 dest_scope->class_perms_map = new_map; in copy_requirements()
/external/freetype/src/sfnt/
Dttsbit.c1588 FT_Bitmap new_map; in tt_face_load_sbit_image() local
1592 FT_Bitmap_Init( &new_map ); in tt_face_load_sbit_image()
1595 error = FT_Bitmap_Convert( library, map, &new_map, 1 ); in tt_face_load_sbit_image()
1597 FT_Bitmap_Done( library, &new_map ); in tt_face_load_sbit_image()
1600 map->pixel_mode = new_map.pixel_mode; in tt_face_load_sbit_image()
1601 map->pitch = new_map.pitch; in tt_face_load_sbit_image()
1602 map->num_grays = new_map.num_grays; in tt_face_load_sbit_image()
1604 ft_glyphslot_set_bitmap( face->root.glyph, new_map.buffer ); in tt_face_load_sbit_image()
/external/lldb/source/Symbol/
DClangASTImporter.cpp397 NamespaceMapSP new_map; in BuildNamespaceMap() local
399 new_map.reset(new NamespaceMap); in BuildNamespaceMap()
405 …context_md->m_map_completer->CompleteNamespaceMap (new_map, ConstString(namespace_string.c_str()),… in BuildNamespaceMap()
408 context_md->m_namespace_maps[decl] = new_map; in BuildNamespaceMap()
/external/v8/src/runtime/
Druntime-array.cc125 Handle<Map> new_map = JSObject::GetElementsTransitionMap(to, from_kind); in RUNTIME_FUNCTION() local
126 JSObject::SetMapAndElements(to, new_map, new_elements); in RUNTIME_FUNCTION()
/external/pcre/dist/
Dpcre_compile.c8619 int new_map = bracket_map | ((n < 32)? (1 << n) : 1); in is_anchored() local
8620 if (!is_anchored(scode, new_map, cd, atomcount)) return FALSE; in is_anchored()
8738 int new_map = bracket_map | ((n < 32)? (1 << n) : 1); in is_startline() local
8739 if (!is_startline(scode, new_map, cd, atomcount)) return FALSE; in is_startline()
/external/v8/src/crankshaft/arm64/
Dlithium-codegen-arm64.cc5433 Register new_map = ToRegister(instr->temp2()); in DoTransitionElementsKind() local
5435 __ Mov(new_map, Operand(to_map)); in DoTransitionElementsKind()
5436 __ Str(new_map, FieldMemOperand(object, HeapObject::kMapOffset)); in DoTransitionElementsKind()
5438 __ RecordWriteForMap(object, new_map, temp1, GetLinkRegisterState(), in DoTransitionElementsKind()