Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/mem/
Dchunk.cpp25 auto area = allocator_->AllocateArea(size); in NewArea() local
26 if (area == nullptr) { in NewArea()
30 areaList_.AddNode(area); in NewArea()
31 currentArea_ = area; in NewArea()
32 return area; in NewArea()
60 Area *area = NewArea(newSize); in Expand() local
61 if (area == nullptr) { in Expand()
65 uintptr_t result = AlignUp(area->GetBegin(), MEM_ALIGN); in Expand()
67 end_ = area->GetEnd(); in Expand()
Dnative_area_allocator.cpp54 void NativeAreaAllocator::FreeArea(Area *area) in FreeArea() argument
56 if (area == nullptr) { in FreeArea()
59 if (cachedArea_ == nullptr && area->GetSize() <= MAX_CACHED_CHUNK_AREA_SIZE) { in FreeArea()
60 cachedArea_ = area; in FreeArea()
63 auto size = area->GetSize() + sizeof(Area); in FreeArea()
66 if (memset_s(area, size, INVALID_VALUE, size) != EOK) { in FreeArea()
72 free(reinterpret_cast<std::byte *>(area)); in FreeArea()
Dparallel_marker.cpp70 VisitObjectArea area) { in ProcessMarkStack() argument
73 if (area == VisitObjectArea::IN_OBJECT) { in ProcessMarkStack()
102 VisitObjectArea area) { in ProcessIncrementalMarkStack() argument
106 if (area == VisitObjectArea::IN_OBJECT) { in ProcessIncrementalMarkStack()
150 VisitObjectArea area) { in ProcessMarkStack() argument
151 if (area == VisitObjectArea::IN_OBJECT) { in ProcessMarkStack()
176 VisitObjectArea area) { in ProcessMarkStack() argument
177 if (area == VisitObjectArea::IN_OBJECT) { in ProcessMarkStack()
Dnative_area_allocator.h40 void FreeArea(Area *area);
140 static inline void FreeSpace(Area *area) in FreeSpace() argument
142 if (area == nullptr) { in FreeSpace()
146 free(reinterpret_cast<std::byte *>(area)); in FreeSpace()
Dverification.cpp29 VisitObjectArea area) { in VisitAllObjects() argument
30 if (area == VisitObjectArea::IN_OBJECT) { in VisitAllObjects()
Dmark_stack.h158 auto area = NativeAreaAllocator::AllocateSpace(DEFAULT_MARK_STACK_SIZE); in Extend() local
160 currentArea_ = area; in Extend()
Dvisitor.h46 VisitObjectArea area)>;
Dparallel_evacuator.cpp152 [&](TaggedObject *root, ObjectSlot start, ObjectSlot end, VisitObjectArea area) { in VerifyHeapObject() argument
153 if (area == VisitObjectArea::IN_OBJECT) { in VerifyHeapObject()
392 [this](TaggedObject *root, ObjectSlot start, ObjectSlot end, VisitObjectArea area) { in UpdateNewObjectField() argument
393 if (area == VisitObjectArea::IN_OBJECT) { in UpdateNewObjectField()
Dparallel_evacuator-inl.h147 …CSet = [this, region](TaggedObject *root, ObjectSlot start, ObjectSlot end, VisitObjectArea area) { in SetObjectFieldRSet()
148 if (area == VisitObjectArea::IN_OBJECT) { in SetObjectFieldRSet()
/arkcompiler/ets_frontend/arkguard/test/grammar/interface_validation/
Dinterface_index_signature.ts25 function createSquare(config: SquareConfig): { color: string; area: number } {
26 let newSquare = {color: 'white', area: 100};
31 newSquare.area = config.width * config.width;
39 assert(mySquare.area === 10000, 'success');
Dinterface_optional_attributes.ts23 function createSquare(config: SquareConfig): { color: string; area: number } {
24 let newSquare = {color: 'white', area: 100};
29 newSquare.area = config.width * config.width;
38 assert(createSquare({color: 'black'}).area === 100, 'success');
/arkcompiler/ets_frontend/arkguard/test/grammar/advanced_type/
Ddiscriminated_unions.ts36 function area(s: Shape): number { function
55 assert(area(<Square>a) === targetArea, 'success');
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_env.cpp67 VisitObjectArea area) { in HandleObjectField() argument
71 if (area == VisitObjectArea::IN_OBJECT && !hclass->IsAllTaggedProp()) { in HandleObjectField()
Dsnapshot_processor.h105 …ctBodyWithRep(TaggedObject *root, ObjectSlot slot, uintptr_t obj, int index, VisitObjectArea area);
Dsnapshot_processor.cpp1455 VisitObjectArea area) { in SerializeObject() argument
1458 if (area == VisitObjectArea::NATIVE_POINTER) { in SerializeObject()
1463 if (VisitObjectBodyWithRep(root, slot, snapshotObj, index, area)) { in SerializeObject()
1477 VisitObjectArea area) in VisitObjectBodyWithRep() argument
1479 if (area != VisitObjectArea::IN_OBJECT) { in VisitObjectBodyWithRep()
1679 …his]([[maybe_unused]] TaggedObject *root, ObjectSlot start, ObjectSlot end, VisitObjectArea area) { in DeserializeField() argument
1682 if (area == VisitObjectArea::NATIVE_POINTER) { in DeserializeField()
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.cpp880 bool AsmEmitter::HandleAreaForInner(ItemContainer *items, const Program &program, ClassItem **area, in HandleAreaForInner() argument
896 *area = items->GetOrCreateClassItem(descriptor); in HandleAreaForInner()
897 (*area)->SetAccessFlags(rec.metadata->GetAccessFlags()); in HandleAreaForInner()
907 bool AsmEmitter::HandleRecordOnwer(ItemContainer *items, const Program &program, ClassItem **area, in HandleRecordOnwer() argument
912 *area = items->GetOrCreateGlobalClassItem(); in HandleRecordOnwer()
913 (*area)->SetAccessFlags(ACC_PUBLIC); in HandleRecordOnwer()
914 (*area)->SetSourceLang(program.lang); in HandleRecordOnwer()
916 if (!HandleAreaForInner(items, program, area, foreign_area, name, record_owner_name)) { in HandleRecordOnwer()
969 const Function &func, TypeItem *type_item, ClassItem *area, in CreateMethodItem() argument
978 method = items->CreateItem<ForeignMethodItem>(area, method_name, proto, access_flags); in CreateMethodItem()
[all …]
Dassembly-emitter.h102 … panda_file::ClassItem **area, panda_file::ForeignClassItem **foreign_area,
105 … panda_file::ClassItem **area, panda_file::ForeignClassItem **foreign_area,
115 … const Function &func, panda_file::TypeItem *type_item, panda_file::ClassItem *area,
/arkcompiler/runtime_core/docs/diagrams/
Dstacktrace.pusequence24 "~/proc~/self~/maps" -> StackPrinter: Array of VMA (virtual memory area)
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DtypeGuardNarrowsIndexedAccessOfKnownProperty1.ts44 function area(s: Shape): number { function
/arkcompiler/runtime_core/docs/
Ddesign-of-interpreter.md186 and padding. A lot of free space is expected to be in the padding area. Probably we may use it
/arkcompiler/toolchain/build/third_party_gn/openssl/
DBUILD.gn235 # The exec_script in the global area will be executed before ninja command,