| /arkcompiler/ets_runtime/test/fuzztest/commoncompbaseutf_fuzzer/ |
| D | commoncompbaseutf_fuzzer.cpp | 23 void UtfHelperGetValueFromTwoHex(const uint8_t* data, size_t size) in UtfHelperGetValueFromTwoHex() argument 25 if (size == 0) { in UtfHelperGetValueFromTwoHex() 28 … GetValueFromTwoHex('0' + data[size - 1] % 10, // 10: val in [0x0, 0x9], convert to ['0', '9'] in UtfHelperGetValueFromTwoHex() 29 'a' + data[size - 1] % 6); // 6:val in ['a', 'f'], convert to ['a', 'f'] in UtfHelperGetValueFromTwoHex() 32 void UtfHelperGetHexChar16(const uint8_t* data, size_t size) in UtfHelperGetHexChar16() argument 34 if (size == 0) { in UtfHelperGetHexChar16() 37 GetHexChar16(data[size - 1] % 0xff); // 0xff: Maximum value of uint8 in UtfHelperGetHexChar16() 40 void UtfHelperCombineTwoU16(const uint8_t* data, size_t size) in UtfHelperCombineTwoU16() argument 42 if (size == 0) { in UtfHelperCombineTwoU16() 45 …CombineTwoU16(data[size - 1] % 0xff, (size / 2) % 0xff); // 2:half of the size,0xff: Maximum valu… in UtfHelperCombineTwoU16() [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/commoncomplog_fuzzer/ |
| D | commoncomplog_fuzzer.cpp | 24 void CommonCompFormatLog(const uint8_t* data, size_t size) in CommonCompFormatLog() argument 26 FormatLog("%d", data[size / 2]); // 2:Check size is even number in CommonCompFormatLog() 29 void CommonCompPrettyOrderMathNano(const uint8_t* data, size_t size) in CommonCompPrettyOrderMathNano() argument 32 if (size == 0) { in CommonCompPrettyOrderMathNano() 35 …PrettyOrderMathNano(size, orderOfMagnitudeFromNano[data[size - 1] % 3]); // 3: len of orderOfMagni… in CommonCompPrettyOrderMathNano() 38 void CommonCompPrettyOrderInfo(const uint8_t* data, size_t size) in CommonCompPrettyOrderInfo() argument 41 if (size == 0) { in CommonCompPrettyOrderInfo() 44 PrettyOrderInfo(size, orderOfMagnitude[data[size - 1] % 7]); // 7:len of orderOfMagnitude in CommonCompPrettyOrderInfo() 47 void CommonCompPretty(const uint8_t* data, size_t size) in CommonCompPretty() argument 49 if (size == 0) { in CommonCompPretty() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | native_area_allocator.cpp | 29 LOG_ECMA_MEM(FATAL) << "capacity must have a size not less than sizeof Area."; in AllocateArea() 40 LOG_ECMA_MEM(FATAL) << "malloc failed, current alloc size = " << capacity in AllocateArea() 41 … << ", total allocated size = " << nativeMemoryUsage_.load(std::memory_order_relaxed); in AllocateArea() 66 auto size = area->GetSize() + sizeof(Area); in FreeArea() local 67 DecreaseNativeMemoryUsage(size); in FreeArea() 69 if (memset_s(area, size, INVALID_VALUE, size) != EOK) { // LOCV_EXCL_BR_LINE in FreeArea() 78 void NativeAreaAllocator::Free(void *mem, size_t size) in Free() argument 83 DecreaseNativeMemoryUsage(size); in Free() 85 if (memset_s(mem, size, INVALID_VALUE, size) != EOK) { // LOCV_EXCL_BR_LINE in Free() 94 void *NativeAreaAllocator::AllocateBuffer(size_t size) in AllocateBuffer() argument [all …]
|
| D | tlab_allocator-inl.h | 47 uintptr_t TlabAllocator::Allocate(size_t size, MemSpaceType space) in Allocate() argument 52 result = AllocateInYoungSpace(size); in Allocate() 55 result = AllocateInOldSpace(size); in Allocate() 58 result = AllocateInCompressSpace(size); in Allocate() 67 uintptr_t TlabAllocator::AllocateInYoungSpace(size_t size) in AllocateInYoungSpace() argument 69 ASSERT(AlignUp(size, static_cast<size_t>(MemAlignment::MEM_ALIGN_OBJECT)) == size); in AllocateInYoungSpace() 70 if (UNLIKELY(size > SMALL_OBJECT_SIZE)) { in AllocateInYoungSpace() 71 uintptr_t address = heap_->AllocateYoungSync(size); in AllocateInYoungSpace() 74 uintptr_t result = youngAllocator_.Allocate(size); in AllocateInYoungSpace() 82 return youngAllocator_.Allocate(size); in AllocateInYoungSpace() [all …]
|
| D | heap-inl.h | 47 #define CHECK_OBJ_AND_THROW_OOM_ERROR(object, size, space, message) … argument 56 …ThrowOutOfMemoryError(GetJSThread(), size, message); … 57 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size)); … 60 #define CHECK_SOBJ_AND_THROW_OOM_ERROR(thread, object, size, space, message) … argument 65 …ThrowOutOfMemoryError(thread, size, message); … 66 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(thread, size)); … 69 #define CHECK_MACHINE_CODE_OBJ_AND_SET_OOM_ERROR_FORT(object, size, space, desc, message) … argument 74 …SetMachineCodeOutOfMemoryError(GetJSThread(), size, message); … 75 …(object) = reinterpret_cast<TaggedObject *>((space)->Allocate(size, desc)); … 78 #define CHECK_MACHINE_CODE_OBJ_AND_SET_OOM_ERROR(object, size, space, message) … argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | mir_pragma.h | 44 kValueShort = 0x02, // size - 1 (0…1) ubyte[size] 45 kValueChar = 0x03, // size - 1 (0…1) ubyte[size] 46 kValueInt = 0x04, // size - 1 (0…3) ubyte[size] 47 kValueLong = 0x06, // size - 1 (0…7) ubyte[size] 48 kValueFloat = 0x10, // size - 1 (0…3) ubyte[size] 49 kValueDouble = 0x11, // size - 1 (0…7) ubyte[size] 50 kValueMethodType = 0x15, // size - 1 (0…3) ubyte[size] 51 kValueMethodHandle = 0x16, // size - 1 (0…3) ubyte[size] 52 kValueString = 0x17, // size - 1 (0…3) ubyte[size] 53 kValueType = 0x18, // size - 1 (0…3) ubyte[size] [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 …]
|
| /arkcompiler/runtime_core/libpandabase/os/ |
| D | mem.h | 41 void MmapDeleter(std::byte *ptr, size_t size) noexcept; 44 * \brief Make memory region \param mem with size \param size with protection flags \param prot 45 * @param mem Pointer to memory region (should be aligned to page size) 46 * @param size Size of memory region 50 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot); 53 * \brief Make memory region \param mem with size \param size readable and executable 54 * @param mem Pointer to memory region (should be aligned to page size) 55 * @param size Size of memory region 58 std::optional<Error> MakeMemReadExec(void *mem, size_t size); 61 * \brief Make memory region \param mem with size \param size readable and writable [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/os/ |
| D | mem.h | 43 PANDA_PUBLIC_API void MmapDeleter(std::byte *ptr, size_t size) noexcept; 46 * @brief Make memory region @param mem with size @param size with protection flags @param prot 47 * @param mem Pointer to memory region (should be aligned to page size) 48 * @param size Size of memory region 52 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot); 55 * @brief Make memory region @param mem with size @param size readable and executable 56 * @param mem Pointer to memory region (should be aligned to page size) 57 * @param size Size of memory region 60 std::optional<Error> MakeMemReadExec(void *mem, size_t size); 63 * @brief Make memory region @param mem with size @param size readable and writable [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | dump_test.cpp | 214 for (int i = 0; i < loopVal.size(); i++) { in HWTEST_F_L0() 223 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSMap::SIZE, JSType::JS_MAP, proto); in NewJSMap() 235 JSHandle<JSHClass> mapClass = factory->NewSEcmaHClass(JSSharedMap::SIZE, 0, in NewJSSharedMap() 247 JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSSet::SIZE, JSType::JS_SET, proto); in NewJSSet() 259 JSHandle<JSHClass> setClass = factory->NewSEcmaHClass(JSSharedSet::SIZE, 0, in NewJSSharedSet() 273 …JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPIHashMap::SIZE, JSType::JS_API_HASH_MAP, … in NewJSAPIHashMap() 284 …JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPIHashSet::SIZE, JSType::JS_API_HASH_SET, … in NewJSAPIHashSet() 295 …JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPITreeMap::SIZE, JSType::JS_API_TREE_MAP, … in NewJSAPITreeMap() 306 …JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSAPITreeSet::SIZE, JSType::JS_API_TREE_SET, … in NewJSAPITreeSet() 317 …JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSAPIPlainArray::SIZE, JSType::JS_API_PLAIN_A… in NewJSAPIPlainArray() [all …]
|
| /arkcompiler/runtime_core/static_core/verification/util/tests/ |
| D | bit_vector_property_test.cpp | 43 if (bits.SetBitsCount() != indices.size()) { in IsEqual() 69 size_t size = (set.empty() ? 0 : *set.rbegin()) + inc; in arbitrary() local 70 BitVector bits {size}; in arbitrary() 99 void ClassifySize(const std::string &name, size_t size, const Intervals &intervals) in ClassifySize() argument 102 RC_CLASSIFY(i.Contains(size), name + " " + std::to_string(i)); in ClassifySize() 114 ClassifySize("Bits.size() in", bitset.bits.Size(), g_statIntervals); in Stat() 115 ClassifySize("Indices.size() in", bitset.indices.size(), g_statIntervals); in Stat() 119 StdSet Universum(size_t size) in Universum() argument 121 return ToSet<StdSet>(Interval(0, size - 1)); in Universum() 127 RC_ASSERT(bit_set.bits.SetBitsCount() == bit_set.indices.size()); [all …]
|
| /arkcompiler/ets_runtime/common_components/heap/ |
| D | heap_allocator.cpp | 25 Address AllocateYoungInAllocBuffer(uintptr_t buffer, size_t size) in AllocateYoungInAllocBuffer() argument 29 return allocBuffer->FastAllocateInTlab<AllocBufferType::YOUNG>(size); in AllocateYoungInAllocBuffer() 32 Address AllocateOldInAllocBuffer(uintptr_t buffer, size_t size) in AllocateOldInAllocBuffer() argument 36 return allocBuffer->FastAllocateInTlab<common::AllocBufferType::OLD>(size); in AllocateOldInAllocBuffer() 39 Address HeapAllocator::AllocateInYoungOrHuge(size_t size, LanguageType language) in AllocateInYoungOrHuge() argument 41 auto address = HeapManager::Allocate(size); in AllocateInYoungOrHuge() 46 Address HeapAllocator::AllocateInNonmoveOrHuge(size_t size, LanguageType language) in AllocateInNonmoveOrHuge() argument 48 auto address = HeapManager::Allocate(size, AllocType::PINNED_OBJECT); in AllocateInNonmoveOrHuge() 53 Address HeapAllocator::AllocateInOldOrHuge(size_t size, LanguageType language) in AllocateInOldOrHuge() argument 55 auto address = HeapManager::Allocate(size, AllocType::MOVEABLE_OLD_OBJECT); in AllocateInOldOrHuge() [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslinkedlistcommon_fuzzer/ |
| D | containerslinkedlistcommon_fuzzer.h | 107 static void ContainersLinkedListAddFuzzTest(const uint8_t* data, size_t size) in ContainersLinkedListAddFuzzTest() argument 117 if (size <= 0) { in ContainersLinkedListAddFuzzTest() 120 if (size > MAXBYTELEN) { in ContainersLinkedListAddFuzzTest() 121 size = MAXBYTELEN; in ContainersLinkedListAddFuzzTest() 123 if (memcpy_s(&value, MAXBYTELEN, data, size) != 0) { in ContainersLinkedListAddFuzzTest() 132 static void ContainersLinkedListGetFirstFuzzTest(const uint8_t* data, size_t size) in ContainersLinkedListGetFirstFuzzTest() argument 142 if (size <= 0) { in ContainersLinkedListGetFirstFuzzTest() 145 if (size > MAXBYTELEN) { in ContainersLinkedListGetFirstFuzzTest() 146 size = MAXBYTELEN; in ContainersLinkedListGetFirstFuzzTest() 148 if (memcpy_s(&value, MAXBYTELEN, data, size) != 0) { in ContainersLinkedListGetFirstFuzzTest() [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefiscorrect_fuzzer/ |
| D | jsvaluerefiscorrect_fuzzer.cpp | 26 void JSValueRefIsFalseFuzzTest(const uint8_t *data, size_t size) in JSValueRefIsFalseFuzzTest() argument 28 FuzzedDataProvider fdp(data, size); in JSValueRefIsFalseFuzzTest() 39 void JSValueRefIsTrueFuzzTest(const uint8_t *data, size_t size) in JSValueRefIsTrueFuzzTest() argument 44 if (data == nullptr || size <= 0) { in JSValueRefIsTrueFuzzTest() 49 size = size > sizeof(int) ? sizeof(int) : size; in JSValueRefIsTrueFuzzTest() 50 if (memcpy_s(&value, sizeof(int), data, size) != EOK) { in JSValueRefIsTrueFuzzTest() 60 void JSValueRefIsHoleFuzzTest(const uint8_t *data, size_t size) in JSValueRefIsHoleFuzzTest() argument 65 if (data == nullptr || size <= 0) { in JSValueRefIsHoleFuzzTest() 70 size = size > sizeof(int) ? sizeof(int) : size; in JSValueRefIsHoleFuzzTest() 71 if (memcpy_s(&value, sizeof(int), data, size) != EOK) { in JSValueRefIsHoleFuzzTest() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_string_builder_reserve_part30-44.ets | 22 //! INST_NOT "NewArray (size=1)" 24 //! INST "NewArray (size=1)" 28 //! INST_NOT "NewArray (size=2)" 30 //! INST "NewArray (size=2)" 34 //! INST_NOT "NewArray (size=1)" 36 //! INST_NOT "NewArray (size=1)" 40 //! INST_NOT "NewArray (size=1)" 42 //! INST_NOT "NewArray (size=1)" 46 //! INST_NOT "NewArray (size=1)" 48 //! INST_NOT "NewArray (size=1)" [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/cfg/ |
| D | cfg_test_do_while.cpp | 38 ASSERT_EQ(basicBlocks.size(), EXPECTED_FOUR); in TEST_F() 52 ASSERT_EQ(bb1->GetSuccessors().size(), EXPECTED_ONE); in TEST_F() 53 ASSERT_EQ(bb1->GetPredecessors().size(), EXPECTED_ZERO); in TEST_F() 54 ASSERT_EQ(bb2->GetSuccessors().size(), EXPECTED_ONE); in TEST_F() 55 ASSERT_EQ(bb2->GetPredecessors().size(), EXPECTED_TWO); in TEST_F() 56 ASSERT_EQ(bb3->GetSuccessors().size(), EXPECTED_TWO); in TEST_F() 57 ASSERT_EQ(bb3->GetPredecessors().size(), EXPECTED_ONE); in TEST_F() 59 ASSERT_EQ(bb4->GetSuccessors().size(), EXPECTED_ZERO); in TEST_F() 61 ASSERT_EQ(bb4Predecessors.size(), EXPECTED_ONE); in TEST_F() 87 ASSERT_EQ(basicBlocks.size(), EXPECTED_FIVE); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/03.array_creation_expressions/ |
| D | expr.params.yaml | 17 let size = 3 18 let v: string[] = new string[size] 24 let size = 1 // identity dimension conversion 25 let v: number[] = new number[size] 31 let size: Int = new Int(1) // unboxing dimension conversion 32 let v: number[] = new number[size] 38 let size: number = 1 // narrowing dimension conversion 39 let v: Byte[] = new Byte[size] 45 let size: Number = new Number(1) // unboxing and narrowing dimension conversion 46 let v: Byte[] = new Byte[size] [all …]
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/ |
| D | mem.cpp | 25 void MmapDeleter(std::byte *ptr, size_t size) noexcept in MmapDeleter() argument 28 munmap(ptr, size); in MmapDeleter() 32 BytePtr MapFile(file::File file, uint32_t prot, uint32_t flags, size_t size, size_t file_offset, vo… in MapFile() argument 36 size_t map_size = size + offset; in MapFile() 44 return BytePtr(static_cast<std::byte *>(result) + offset, size, offset, MmapDeleter); in MapFile() 47 BytePtr MapExecuted(size_t size) in MapExecuted() argument 49 // By design caller should pass valid size, so don't do any additional checks except ones that in MapExecuted() 52 void *result = mmap(nullptr, size, PROT_EXEC | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0); in MapExecuted() 57 return BytePtr(static_cast<std::byte *>(result), (result == nullptr) ? 0 : size, MmapDeleter); in MapExecuted() 60 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot) in MakeMemWithProtFlag() argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/platform/unix/ |
| D | map.cpp | 24 MemMap PageMap(size_t size, int prot, size_t alignment, void *addr, int flags) in PageMap() argument 26 ASSERT(size == AlignUp(size, PageSize())); in PageMap() 28 size_t allocSize = size + alignment; in PageMap() 38 void *alignEndResult = reinterpret_cast<void *>(alignResult + size); in PageMap() 43 return MemMap(result, size); in PageMap() 51 MemMap MachineCodePageMap(size_t size, int prot, size_t alignment) in MachineCodePageMap() argument 53 MemMap memMap = PageMap(size, prot, alignment); in MachineCodePageMap() 67 void PageRelease(void *mem, size_t size) in PageRelease() argument 69 madvise(mem, size, MADV_DONTNEED); in PageRelease() 72 void PagePreRead(void *mem, size_t size) in PagePreRead() argument [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisarray_fuzzer/ |
| D | jsvaluerefisarray_fuzzer.cpp | 24 void IsInt8ArrayFuzztest(const uint8_t *data, size_t size) in IsInt8ArrayFuzztest() argument 29 if (data == nullptr || size <= 0) { in IsInt8ArrayFuzztest() 34 …Local<ArrayBufferRef> arrayBuffer = ArrayBufferRef::New(vm, (void *)data, (int32_t)size, deleter, … in IsInt8ArrayFuzztest() 35 Local<JSValueRef> typedArray = Int8ArrayRef::New(vm, arrayBuffer, 0, (int32_t)size); in IsInt8ArrayFuzztest() 40 void IsUint8ArrayFuzztest(const uint8_t *data, size_t size) in IsUint8ArrayFuzztest() argument 45 if (data == nullptr || size <= 0) { in IsUint8ArrayFuzztest() 50 …Local<ArrayBufferRef> arrayBuffer = ArrayBufferRef::New(vm, (void *)data, (int32_t)size, deleter, … in IsUint8ArrayFuzztest() 51 Local<JSValueRef> typedArray = Uint8ArrayRef::New(vm, arrayBuffer, 0, (int32_t)size); in IsUint8ArrayFuzztest() 56 void IsUint8ClampedArrayFuzztest(const uint8_t *data, size_t size) in IsUint8ClampedArrayFuzztest() argument 61 if (data == nullptr || size <= 0) { in IsUint8ClampedArrayFuzztest() [all …]
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
| D | mem.cpp | 38 void MmapDeleter(std::byte *ptr, size_t size) noexcept in MmapDeleter() argument 41 munmap(ptr, size); in MmapDeleter() 46 BytePtr MapFile(file::File file, uint32_t prot, uint32_t flags, size_t size, size_t fileOffset, voi… in MapFile() argument 50 size_t mapSize = size + offset; in MapFile() 59 return BytePtr(static_cast<std::byte *>(result) + offset, size, offset, MmapDeleter); in MapFile() 62 BytePtr MapExecuted(size_t size) in MapExecuted() argument 64 // By design caller should pass valid size, so don't do any additional checks except ones that in MapExecuted() 67 void *result = mmap(nullptr, size, PROT_EXEC | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0); in MapExecuted() 72 return BytePtr(static_cast<std::byte *>(result), (result == nullptr) ? 0 : size, MmapDeleter); in MapExecuted() 75 std::optional<Error> MakeMemWithProtFlag(void *mem, size_t size, int prot) in MakeMemWithProtFlag() argument [all …]
|
| /arkcompiler/runtime_core/static_core/dprof/libdprof/dprof/ipc/ |
| D | ipc_message.cpp | 29 uint32_t size = message.GetSize(); in SendMessage() local 30 if (!SendAll(fd, &size, sizeof(size))) { in SendMessage() 31 PLOG(ERROR, DPROF) << "Cannot send data size"; in SendMessage() 35 if (size != 0 && !SendAll(fd, message.GetData(), message.GetSize())) { in SendMessage() 36 PLOG(ERROR, DPROF) << "Cannot send message data, size=" << message.GetSize(); in SendMessage() 58 uint32_t size; in RecvMessage() local 59 if (RecvTimeout(fd, &size, sizeof(size), DEFAULT_TIMEOUT) <= 0) { in RecvMessage() 60 LOG(ERROR, DPROF) << "Cannot get data size"; in RecvMessage() 64 if (size > Message::MAX_DATA_SIZE) { in RecvMessage() 65 LOG(ERROR, DPROF) << "Data size is too large, size=" << size; in RecvMessage() [all …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | mmap_mem_pool-inl.h | 32 inline Pool MmapPoolMap::PopFreePool(size_t size) in PopFreePool() argument 34 auto element = free_pools_.lower_bound(size); in PopFreePool() 45 Pool pool(size, element_mem); in PopFreePool() 47 if (size < element_size) { in PopFreePool() 48 Pool new_pool(element_size - size, ToVoidPtr(ToUintPtr(element_mem) + size)); in PopFreePool() 49 mmap_pool->SetSize(size); in PopFreePool() 134 // We should get aligned to PANDA_POOL_ALIGNMENT_IN_BYTES size in MmapMemPool() 147 … << ToVoidPtr(min_object_memory_addr_) << " Preallocated size is equal to " in MmapMemPool() 180 inline ArenaT *MmapMemPool::AllocArenaImpl(size_t size, SpaceType space_type, AllocatorType allocat… in AllocArenaImpl() argument 184 LOG_MMAP_MEM_POOL(DEBUG) << "Try to get new arena with size " << std::dec << size << " for " in AllocArenaImpl() [all …]
|