| /arkcompiler/ets_runtime/common_components/heap/ |
| D | heap_allocator.cpp | 25 Address AllocateYoungInAllocBuffer(uintptr_t buffer, size_t size) in AllocateYoungInAllocBuffer() 32 Address AllocateOldInAllocBuffer(uintptr_t buffer, size_t size) in AllocateOldInAllocBuffer() 39 Address HeapAllocator::AllocateInYoungOrHuge(size_t size, LanguageType language) in AllocateInYoungOrHuge() 46 Address HeapAllocator::AllocateInNonmoveOrHuge(size_t size, LanguageType language) in AllocateInNonmoveOrHuge() 53 Address HeapAllocator::AllocateInOldOrHuge(size_t size, LanguageType language) in AllocateInOldOrHuge() 60 Address HeapAllocator::AllocateInHuge(size_t size, LanguageType language) in AllocateInHuge() 67 Address HeapAllocator::AllocateInReadOnly(size_t size, LanguageType language) in AllocateInReadOnly() 74 uintptr_t HeapAllocator::AllocateLargeJitFortRegion(size_t size, LanguageType language) in AllocateLargeJitFortRegion() 83 Address HeapAllocator::AllocateNoGC(size_t size) in AllocateNoGC() 88 Address HeapAllocator::AllocateOldOrLargeNoGC(size_t size) in AllocateOldOrLargeNoGC() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/js_type_metadata/ |
| D | source_text_module_record.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number 32 "size": 8 number 37 "size": 8 number 42 "size": 8 number 47 "size": 8 number 52 "size": 8 number [all …]
|
| D | js_number_format.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number 32 "size": 8 number 37 "size": 8 number 42 "size": 8 number 47 "size": 8 number 52 "size": 8 number [all …]
|
| D | hclass.json | 7 "size": 4 number 12 "size": 4 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number 32 "size": 8 number 37 "size": 8 number 42 "size": 8 number 47 "size": 8 number 52 "size": 8 number [all …]
|
| D | js_plural_rules.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number 32 "size": 8 number 37 "size": 8 number 42 "size": 8 number
|
| D | js_date_time_format.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number 32 "size": 8 number 37 "size": 8 number 42 "size": 8 number
|
| D | js_function.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number 32 "size": 8 number 37 "size": 8 number
|
| D | class_info_extractor.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number 32 "size": 8 number 37 "size": 8 number
|
| D | js_generator_context.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number 32 "size": 8 number
|
| D | js_promise_all_resolve_element_function.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number
|
| D | js_finalization_registry.json | 7 "size": 8 number 12 "size": 8 number 17 "size": 8 number 22 "size": 8 number 27 "size": 8 number
|
| /arkcompiler/ets_runtime/test/fuzztest/commoncomplog_fuzzer/ |
| D | commoncomplog_fuzzer.cpp | 24 void CommonCompFormatLog(const uint8_t* data, size_t size) in CommonCompFormatLog() 29 void CommonCompPrettyOrderMathNano(const uint8_t* data, size_t size) in CommonCompPrettyOrderMathNano() 38 void CommonCompPrettyOrderInfo(const uint8_t* data, size_t size) in CommonCompPrettyOrderInfo() 47 void CommonCompPretty(const uint8_t* data, size_t size) in CommonCompPretty() 55 void CommonCompLevelToString(const uint8_t* data, size_t size) in CommonCompLevelToString() 64 void CommonCompConvertFromRuntime(const uint8_t* data, size_t size) in CommonCompConvertFromRuntime() 75 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
|
| /arkcompiler/ets_runtime/common_components/base/ |
| D | ark_sanitizer.h | 37 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument 41 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument 53 #define ASAN_POISON_MEMORY_REGION(addr, size) \ argument 60 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \ argument 71 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 76 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
|
| D | asan_interface.h | 37 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument 41 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument 48 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 53 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
|
| /arkcompiler/ets_runtime/test/fuzztest/commoncompbaseutf_fuzzer/ |
| D | commoncompbaseutf_fuzzer.cpp | 23 void UtfHelperGetValueFromTwoHex(const uint8_t* data, size_t size) in UtfHelperGetValueFromTwoHex() 32 void UtfHelperGetHexChar16(const uint8_t* data, size_t size) in UtfHelperGetHexChar16() 40 void UtfHelperCombineTwoU16(const uint8_t* data, size_t size) in UtfHelperCombineTwoU16() 48 void UtfHelperUTF16Decode(const uint8_t* data, size_t size) in UtfHelperUTF16Decode() 59 void UtfHelperDebuggerConvertRegionUtf16ToUtf8(const uint8_t* data, size_t size) in UtfHelperDebuggerConvertRegionUtf16ToUtf8() 82 void UtfHelperConvertUtf8ToUtf16Pair(const uint8_t* data, size_t size) in UtfHelperConvertUtf8ToUtf16Pair() 96 void UtfHelperConvertUtf8ToUnicodeChar(const uint8_t* data, size_t size) in UtfHelperConvertUtf8ToUnicodeChar() 106 void UtfHelperConvertUtf16ToUtf8(const uint8_t* data, size_t size) in UtfHelperConvertUtf16ToUtf8() 118 void UtfHelperIsValidUTF8(const uint8_t* data, size_t size) in UtfHelperIsValidUTF8() 136 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | alloc_config.h | 38 static void OnAlloc(size_t size, SpaceType typeMem, MemStatsType *memStats) in OnAlloc() 43 static void OnFree(size_t size, SpaceType typeMem, MemStatsType *memStats) in OnFree() 103 static void InitializeCrossingMapForMemory(void *startAddr, size_t size) in InitializeCrossingMapForMemory() 113 static void RemoveCrossingMapForMemory(void *startAddr, size_t size) in RemoveCrossingMapForMemory() 131 static void OnAlloc(size_t size, SpaceType typeMem, MemStatsType *memStats) in OnAlloc() 136 static void OnFree(size_t size, SpaceType typeMem, MemStatsType *memStats) in OnFree() 174 …d InitializeCrossingMapForMemory([[maybe_unused]] void *startAddr, [[maybe_unused]] size_t size) {} in InitializeCrossingMapForMemory() 177 … void RemoveCrossingMapForMemory([[maybe_unused]] void *startAddr, [[maybe_unused]] size_t size) {} in RemoveCrossingMapForMemory() 192 static void OnAlloc(size_t size, SpaceType typeMem, MemStatsType *memStats) in OnAlloc() 198 static void OnFree(size_t size, SpaceType typeMem, MemStatsType *memStats) in OnFree() [all …]
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/ |
| D | mem.cpp | 25 void MmapDeleter(std::byte *ptr, size_t size) noexcept in MmapDeleter() 32 BytePtr MapFile(file::File file, uint32_t prot, uint32_t flags, size_t size, size_t file_offset, vo… in MapFile() 47 BytePtr MapExecuted(size_t size) in MapExecuted() 60 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot) in MakeMemWithProtFlag() 69 std::optional<Error> MakeMemReadExec(void *mem, size_t size) in MakeMemReadExec() 75 std::optional<Error> MakeMemReadWrite(void *mem, size_t size) in MakeMemReadWrite() 81 std::optional<Error> MakeMemReadOnly(void *mem, size_t size) in MakeMemReadOnly() 86 std::optional<Error> MakeMemProtected(void *mem, size_t size) in MakeMemProtected() 98 void *AlignedAlloc(size_t alignment_in_bytes, size_t size) in AlignedAlloc() 137 void *MapRWAnonymousRaw(size_t size, bool force_poison) in MapRWAnonymousRaw() [all …]
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
| D | mem.cpp | 38 void MmapDeleter(std::byte *ptr, size_t size) noexcept in MmapDeleter() 46 BytePtr MapFile(file::File file, uint32_t prot, uint32_t flags, size_t size, size_t fileOffset, voi… in MapFile() 62 BytePtr MapExecuted(size_t size) in MapExecuted() 75 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot) in MakeMemWithProtFlag() 84 std::optional<Error> MakeMemReadExec(void *mem, size_t size) in MakeMemReadExec() 90 std::optional<Error> MakeMemReadWrite(void *mem, size_t size) in MakeMemReadWrite() 96 std::optional<Error> MakeMemReadOnly(void *mem, size_t size) in MakeMemReadOnly() 101 std::optional<Error> MakeMemProtected(void *mem, size_t size) in MakeMemProtected() 113 void *AlignedAlloc(size_t alignmentInBytes, size_t size) in AlignedAlloc() 176 void *MapRWAnonymousRaw(size_t size, bool forcePoison) in MapRWAnonymousRaw() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | free_object_set.cpp | 22 void FreeObjectSet<T>::Free(uintptr_t begin, size_t size) in Free() 34 void FreeObjectSet<MemDesc>::Free(uintptr_t begin, size_t size) in Free() 80 T *FreeObjectSet<T>::ObtainSmallFreeObject(size_t size) in ObtainSmallFreeObject() 103 T *FreeObjectSet<T>::ObtainLargeFreeObject(size_t size) in ObtainLargeFreeObject() 136 T *FreeObjectSet<T>::LookupSmallFreeObject(size_t size) in LookupSmallFreeObject() 152 T *FreeObjectSet<T>::LookupLargeFreeObject(size_t size) in LookupLargeFreeObject()
|
| D | heap-inl.h | 47 #define CHECK_OBJ_AND_THROW_OOM_ERROR(object, size, space, message) … argument 60 #define CHECK_SOBJ_AND_THROW_OOM_ERROR(thread, object, size, space, message) … argument 69 #define CHECK_MACHINE_CODE_OBJ_AND_SET_OOM_ERROR_FORT(object, size, space, desc, message) … argument 78 #define CHECK_MACHINE_CODE_OBJ_AND_SET_OOM_ERROR(object, size, space, message) … argument 207 size_t size = hclass->GetObjectSize(); in AllocateYoungOrHugeObject() local 211 TaggedObject *Heap::AllocateYoungOrHugeObject(size_t size) in AllocateYoungOrHugeObject() 237 TaggedObject *Heap::AllocateInYoungSpace(size_t size) in AllocateInYoungSpace() 243 TaggedObject *Heap::AllocateYoungOrHugeObject(JSHClass *hclass, size_t size) in AllocateYoungOrHugeObject() 255 [[maybe_unused]] size_t size) in SetHClassAndDoAllocateEvent() 264 TaggedObject *BaseHeap::FastAllocateYoungInTlabForCMC(JSThread *thread, size_t size) const in FastAllocateYoungInTlabForCMC() [all …]
|
| D | tlab_allocator-inl.h | 47 uintptr_t TlabAllocator::Allocate(size_t size, MemSpaceType space) in Allocate() 67 uintptr_t TlabAllocator::AllocateInYoungSpace(size_t size) in AllocateInYoungSpace() 85 uintptr_t TlabAllocator::AllocateInCompressSpace(size_t size) in AllocateInCompressSpace() 94 uintptr_t TlabAllocator::AllocateInOldSpace(size_t size) in AllocateInOldSpace() 133 bool TlabAllocator::ExpandCompressFromOld(size_t size) in ExpandCompressFromOld() 155 uintptr_t SharedTlabAllocator::Allocate(size_t size, MemSpaceType space) in Allocate() 169 uintptr_t SharedTlabAllocator::AllocateInCompressSpace(size_t size) in AllocateInCompressSpace()
|
| D | native_area_allocator.cpp | 66 auto size = area->GetSize() + sizeof(Area); in FreeArea() local 78 void NativeAreaAllocator::Free(void *mem, size_t size) in Free() 94 void *NativeAreaAllocator::AllocateBuffer(size_t size) in AllocateBuffer() 122 size_t size = MallocUsableSize(mem); in FreeBuffer() local 135 void *NativeAreaAllocator::NativeAreaPageMap(size_t size) in NativeAreaPageMap() 155 void NativeAreaAllocator::NativeAreaPageUnmap(void *mem, size_t size) in NativeAreaPageUnmap()
|
| /arkcompiler/runtime_core/static_core/verification/util/tests/ |
| D | bit_vector_property_test.cpp | 69 size_t size = (set.empty() ? 0 : *set.rbegin()) + inc; in arbitrary() local 99 void ClassifySize(const std::string &name, size_t size, const Intervals &intervals) in ClassifySize() 119 StdSet Universum(size_t size) in Universum() 166 auto size = bset.bits.Size(); variable 177 auto size = bset.bits.Size(); variable 189 auto size = bset.bits.Size(); variable 372 auto size = std::min(bset1.bits.Size(), bset2.bits.Size()); variable 383 auto size = std::min(std::min(bset1.bits.Size(), bset2.bits.Size()), bset3.bits.Size()); variable 393 auto size = std::min(bset1.bits.Size(), bset2.bits.Size()); variable 406 auto size = std::min(std::min(bset1.bits.Size(), bset2.bits.Size()), bset3.bits.Size()); variable [all …]
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | asan_interface.h | 41 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument 43 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument 51 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 53 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | asan_interface.h | 44 #define ASAN_POISON_MEMORY_REGION(addr, size) __asan_poison_memory_region((addr), (size)) argument 46 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) __asan_unpoison_memory_region((addr), (size)) argument 54 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 56 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument
|