| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | frame_allocator_test.cpp | 53 FrameAllocator<> alloc(useMalloc); in SmallAllocateTest() local 56 array[i] = alloc.Alloc(FRAME_SIZE); in SmallAllocateTest() 62 alloc.Free(array[i]); in SmallAllocateTest() 75 void *mem = alloc1.Alloc(FIRST_FRAME_SIZE); in CornerAllocationSizeTest() 79 mem = alloc1.Alloc(SECOND_FRAME_SIZE); in CornerAllocationSizeTest() 83 void *mem = alloc2.Alloc(SECOND_FRAME_SIZE); in CornerAllocationSizeTest() 87 mem = alloc2.Alloc(THIRD_FRAME_SIZE); in CornerAllocationSizeTest() 91 void *mem = alloc3.Alloc(THIRD_FRAME_SIZE); in CornerAllocationSizeTest() 95 mem = alloc3.Alloc(THIRD_FRAME_SIZE); in CornerAllocationSizeTest() 98 ASSERT_NE(alloc1.Alloc(FIRST_FRAME_SIZE), nullptr); in CornerAllocationSizeTest() [all …]
|
| D | stack_like_allocator_test.cpp | 90 StackLikeAllocator<> alloc; in TEST_F() local 93 array[i] = alloc.Alloc(FRAME_SIZE); in TEST_F() 99 alloc.Free(array[i]); in TEST_F() 104 void AlignmentTest(StackLikeAllocator<ALIGNMENT> &alloc) in AlignmentTest() argument 109 array[i] = alloc.Alloc(i * GetAlignmentInBytes(ALIGNMENT)); in AlignmentTest() 122 alloc.Free(array[i]); in AlignmentTest() 128 StackLikeAllocator<> alloc; in TEST_F() local 129 AlignmentTest(alloc); in TEST_F() 146 StackLikeAllocator<> alloc; in TEST_F() local 151 void *mem = alloc.Alloc(FRAME_SIZE); in TEST_F() [all …]
|
| D | runslots_allocator_test.cpp | 53 void AddMemoryPoolToAllocator(NonObjectAllocator &alloc) override in AddMemoryPoolToAllocator() argument 59 if (!alloc.AddMemoryPool(mem, DEFAULT_POOL_SIZE_FOR_ALLOC)) { in AddMemoryPoolToAllocator() 64 void AddMemoryPoolToAllocatorProtected(NonObjectAllocator &alloc) override in AddMemoryPoolToAllocatorProtected() argument 72 if (!alloc.AddMemoryPool(mem, DEFAULT_POOL_SIZE_FOR_ALLOC)) { in AddMemoryPoolToAllocatorProtected() 77 void ReleasePages(NonObjectAllocator &alloc) in ReleasePages() argument 79 alloc.ReleaseEmptyRunSlotsPagesUnsafe(); in ReleasePages() 89 LOG(DEBUG, ALLOC) << "Test RunSlots with size " << slotsSize; in TestRunSlots() 99 LOG(DEBUG, ALLOC) << "Iteration = " << i; in TestRunSlots() 118 LOG(DEBUG, ALLOC) << "SimpleAllocateDifferentObjSizeTest"; in TEST_F() 124 void *mem = allocator.Alloc(i); in TEST_F() [all …]
|
| D | freelist_allocator_test.cpp | 69 void AddMemoryPoolToAllocator(NonObjectFreeListAllocator &alloc) override in AddMemoryPoolToAllocator() argument 73 … AllocatorType::FREELIST_ALLOCATOR, &alloc); in AddMemoryPoolToAllocator() 79 if (!alloc.AddMemoryPool(pool.GetMem(), pool.GetSize())) { in AddMemoryPoolToAllocator() 84 void AddMemoryPoolToAllocatorProtected(NonObjectFreeListAllocator &alloc) override in AddMemoryPoolToAllocatorProtected() argument 87 AddMemoryPoolToAllocator(alloc); in AddMemoryPoolToAllocatorProtected() 118 LOG(DEBUG, ALLOC) << "SimpleAllocateDifferentObjSizeTest"; in TEST_F() 124 void *mem = allocator.Alloc(i); in TEST_F() 126 LOG(DEBUG, ALLOC) << "Allocate obj with size " << i << " at " << std::hex << mem; in TEST_F() 205 void *mem = allocator.Alloc(MIN_ALLOC_SIZE); in TEST_F() 220 void *mem = allocator.Alloc(MIN_ALLOC_SIZE * 2U); in TEST_F() [all …]
|
| D | humongous_obj_allocator_test.cpp | 60 void AddMemoryPoolToAllocator(NonObjectHumongousObjAllocator &alloc) override in AddMemoryPoolToAllocator() argument 62 AddMemoryPoolToAllocator(alloc, DEFAULT_POOL_SIZE_FOR_ALLOC); in AddMemoryPoolToAllocator() 65 void AddMemoryPoolToAllocator(NonObjectHumongousObjAllocator &alloc, size_t size) in AddMemoryPoolToAllocator() argument 71 … AllocatorType::HUMONGOUS_ALLOCATOR, &alloc); in AddMemoryPoolToAllocator() 77 if (!alloc.AddMemoryPool(pool.GetMem(), size)) { in AddMemoryPoolToAllocator() 82 void AddMemoryPoolToAllocatorProtected(NonObjectHumongousObjAllocator &alloc) override in AddMemoryPoolToAllocatorProtected() argument 85 AddMemoryPoolToAllocator(alloc); in AddMemoryPoolToAllocatorProtected() 118 void *firstObject = allocator.Alloc(FIRST_OBJECT_SIZE, OBJECT_ALIGNMENT); in TEST_F() 121 void *secondObject = allocator.Alloc(SECOND_OBJECT_SIZE, OBJECT_ALIGNMENT); in TEST_F() 127 LOG(DEBUG, ALLOC) << "SimpleAllocateDifferentObjSizeTest"; in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | live_registers_test.cpp | 33 auto alloc = GetGraph()->GetAllocator(); in TEST_F() local 34 auto intervals = ArenaVector<LifeIntervals *>(alloc->Adapter()); in TEST_F() 35 …intervals.push_back(alloc->New<LifeIntervals>(alloc, GetGraph()->CreateInstAdd(), LiveRange(0U, 42… in TEST_F() 41 auto alloc = GetGraph()->GetAllocator(); in TEST_F() local 42 auto intervals = ArenaVector<LifeIntervals *>(alloc->Adapter()); in TEST_F() 43 …intervals.push_back(alloc->New<LifeIntervals>(alloc, GetGraph()->CreateInstAdd(), LiveRange(0U, 10… in TEST_F() 44 …intervals.push_back(alloc->New<LifeIntervals>(alloc, GetGraph()->CreateInstAdd(), LiveRange(0U, 2U… in TEST_F() 45 …intervals.push_back(alloc->New<LifeIntervals>(alloc, GetGraph()->CreateInstAdd(), LiveRange(2U, 3U… in TEST_F() 46 …intervals.push_back(alloc->New<LifeIntervals>(alloc, GetGraph()->CreateInstAdd(), LiveRange(5U, 6U… in TEST_F() 47 …intervals.push_back(alloc->New<LifeIntervals>(alloc, GetGraph()->CreateInstAdd(), LiveRange(6U, 8U… in TEST_F() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/utils/ |
| D | ref_vector.h | 55 template <typename T, typename Alloc = std::allocator<T>> 57 using base_vector = std::vector<T *, Alloc>; 61 using allocator_type = Alloc; 75 explicit ref_vector(const allocator_type &alloc) noexcept : base(alloc) {} 79 const allocator_type &alloc = allocator_type()) = delete; 80 explicit ref_vector(size_type count, const allocator_type &alloc = allocator_type()) = delete; 84 ref_vector(Iter first, Iter last, const allocator_type &alloc = allocator_type()) = delete; 88 ref_vector(const ref_vector &other, const allocator_type &alloc) : base(other.base, alloc) {} 92 …ref_vector(ref_vector &&other, const allocator_type &alloc) noexcept : base(std::move(other), allo… 94 …ref_vector(std::initializer_list<value_type> init, const allocator_type &alloc = allocator_type())… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | cg_irbuilder.cpp | 94 … return mp ? *mp->New<ImmOperand>(value, size, false) : *alloc.New<ImmOperand>(value, size, false); in CreateImm() 99 …return mp ? *mp->New<ImmOperand>(value, size, isSigned) : *alloc.New<ImmOperand>(value, size, isSi… in CreateImm() 105 : *alloc.New<ImmOperand>(symbol, offset, relocs, false); in CreateImm() 110 return mp ? *mp->New<OfstOperand>(offset, size) : *alloc.New<OfstOperand>(offset, size); in CreateOfst() 115 return mp ? *mp->New<MemOperand>(size) : *alloc.New<MemOperand>(size); in CreateMem() 124 return *alloc.New<MemOperand>(&baseOpnd, &ofstOperand, size); in CreateMem() 132 return *alloc.New<MemOperand>(size, &baseOpnd, nullptr, &ofstOperand, nullptr); in CreateMem() 141 …return *alloc.New<MemOperand>(MemOperand::kAddrModeLo12Li, size, baseOpnd, nullptr, &ofstOperand, … in CreateMem() 149 return *alloc.New<BitShiftOperand>(op, amount, bitLen); in CreateBitShift() 155 …RegOperand &rp = mp ? *mp->New<RegOperand>(vRegNO, size, type) : *alloc.New<RegOperand>(vRegNO, si… in CreateVReg() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/ |
| D | me_ir.h | 510 explicit MePhiNode(MapleAllocator *alloc) : opnds(kOperandNumBinary, nullptr, alloc->Adapter()) in MePhiNode() argument 516 MePhiNode(ScalarMeExpr *expr, MapleAllocator *alloc) in MePhiNode() argument 517 : lhs(expr), opnds(kOperandNumBinary, nullptr, alloc->Adapter()) in MePhiNode() 1135 IvarMeExpr(MapleAllocator *alloc, int32 exprid, PrimType t, TyIdx tidx, FieldID fid, Opcode op) in IvarMeExpr() argument 1136 …: MeExpr(exprid, kMeOpIvar, op, t, 1), tyIdx(tidx), fieldID(fid), muList(1, nullptr, alloc->Adapte… in IvarMeExpr() 1140 IvarMeExpr(MapleAllocator *alloc, int32 exprid, PrimType t, TyIdx tidx, FieldID fid) in IvarMeExpr() argument 1141 : IvarMeExpr(alloc, exprid, t, tidx, fid, OP_iread) in IvarMeExpr() 1145 IvarMeExpr(MapleAllocator *alloc, int32 exprid, const IvarMeExpr &ivarme) in IvarMeExpr() argument 1153 muList(ivarme.muList, alloc->Adapter()) in IvarMeExpr() 1965 DassignMeStmt(MapleAllocator *alloc, const StmtNode *stt) in DassignMeStmt() argument [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | schedule.h | 147 RegPressureSchedule(CGFunc &func, MapleAllocator &alloc) in RegPressureSchedule() argument 149 liveReg(alloc.Adapter()), in RegPressureSchedule() 150 scheduledNode(alloc.Adapter()), in RegPressureSchedule() 151 originalNodeSeries(alloc.Adapter()), in RegPressureSchedule() 152 readyList(alloc.Adapter()), in RegPressureSchedule() 153 partialList(alloc.Adapter()), in RegPressureSchedule() 154 partialSet(alloc.Adapter()), in RegPressureSchedule() 155 partialScheduledNode(alloc.Adapter()), in RegPressureSchedule() 156 optimisticScheduledNodes(alloc.Adapter()), in RegPressureSchedule() 157 splitterIndexes(alloc.Adapter()), in RegPressureSchedule() [all …]
|
| D | live.h | 29 : AnalysisResult(&memPool), cgFunc(&func), alloc(&memPool), stackMp(func.GetStackMemPool()) in LiveAnalysis() 58 return memPool->New<SparseDataInfo>(maxRegCount, alloc); in NewLiveIn() 63 return memPool->New<SparseDataInfo>(maxRegCount, alloc); in NewLiveOut() 68 return memPool->New<SparseDataInfo>(maxRegCount, alloc); in NewDef() 73 return memPool->New<SparseDataInfo>(def, alloc); in NewDef() 78 return memPool->New<SparseDataInfo>(maxRegCount, alloc); in NewUse() 83 return memPool->New<SparseDataInfo>(use, alloc); in NewUse() 93 MapleAllocator alloc; variable
|
| D | reg_alloc_basic.h | 28 calleeSaveUsed(alloc.Adapter()), in DefaultO0RegAllocator() 29 availRegSet(alloc.Adapter()), in DefaultO0RegAllocator() 30 regMap(std::less<uint32>(), alloc.Adapter()), in DefaultO0RegAllocator() 31 liveReg(std::less<uint8>(), alloc.Adapter()), in DefaultO0RegAllocator() 32 allocatedSet(std::less<Operand *>(), alloc.Adapter()), in DefaultO0RegAllocator() 33 regLiveness(alloc.Adapter()), in DefaultO0RegAllocator() 34 rememberRegs(alloc.Adapter()) in DefaultO0RegAllocator()
|
| D | sparse_datainfo.h | 33 …SparseDataInfo(uint32 bitNum, const MapleAllocator &alloc) : allocator(alloc), info(allocator), ma… in SparseDataInfo() argument 35 SparseDataInfo(const SparseDataInfo &other, const MapleAllocator &alloc) in SparseDataInfo() argument 36 : allocator(alloc), in SparseDataInfo() 49 SparseDataInfo &Clone(MapleAllocator &alloc) const in Clone() argument 51 auto *dataInfo = alloc.New<SparseDataInfo>(*this, alloc); in Clone()
|
| D | reg_alloc_lsra.h | 96 alloc(&memPool), in LiveInterval() 97 ranges(alloc.Adapter()), in LiveInterval() 98 usePositions(alloc.Adapter()), in LiveInterval() 99 noReloadPos(alloc.Adapter()) {} in LiveInterval() 544 MapleAllocator alloc; variable 702 liveIntervalsArray(alloc.Adapter()), in LSRALinearScanRegAllocator() 703 initialQue(alloc.Adapter()), in LSRALinearScanRegAllocator() 704 intParamQueue(alloc.Adapter()), in LSRALinearScanRegAllocator() 705 fpParamQueue(alloc.Adapter()), in LSRALinearScanRegAllocator() 706 callQueue(alloc.Adapter()), in LSRALinearScanRegAllocator() [all …]
|
| D | loop.h | 36 : alloc(allocator), in LoopDesc() 38 loopBBs(alloc.Adapter()), in LoopDesc() 39 exitBBs(alloc.Adapter()), in LoopDesc() 40 backEdges(alloc.Adapter()), in LoopDesc() 41 childLoops(alloc.Adapter()) in LoopDesc() 139 MapleAllocator &alloc; 153 alloc(&memPool), in LoopAnalysis() 156 loops(alloc.Adapter()), in LoopAnalysis() 157 bbLoopParent(cgFunc.GetAllBBSize(), nullptr, alloc.Adapter()) in LoopAnalysis() 220 MapleAllocator alloc;
|
| D | stackmap.h | 70 …DeoptInfo(MapleAllocator &alloc) : deoptVreg2Opnd(alloc.Adapter()), deoptVreg2LocationInfo(alloc.A… in DeoptInfo() argument 131 ReferenceMap(MapleAllocator &alloc) : referenceLocations(alloc.Adapter()) {} in ReferenceMap() argument 175 StackMap(MapleAllocator &alloc) : deoptInfo(alloc), referenceMap(alloc) {} in StackMap() argument
|
| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | arena_allocator.cpp | 67 void *mem = arenas_->Alloc(size, alignment); in AllocateAndAddNewPool() 76 LOG(DEBUG, ALLOC) << "Can not add new pool for " << SpaceTypeToString(spaceType_); in AllocateAndAddNewPool() 79 mem = arenas_->Alloc(size, alignment); in AllocateAndAddNewPool() 86 void *ArenaAllocatorT<USE_OOM_HANDLER>::Alloc(size_t size, Alignment align) in Alloc() function in ark::ArenaAllocatorT 89 LOG(DEBUG, ALLOC) << "ArenaAllocator: try to alloc " << size << " with align " << align; in Alloc() 92 LOG(DEBUG, ALLOC) << "\tTry to allocate from stack"; in Alloc() 93 ret = buff_.Alloc(size, align); in Alloc() 94 LOG_IF(ret, DEBUG, ALLOC) << "\tallocate from stack buffer"; in Alloc() 107 LOG(DEBUG, ALLOC) << "ArenaAllocator: allocated " << size << " bytes aligned by " << align; in Alloc() 115 LOG(DEBUG, ALLOC) << "ArenaAllocator: resize to new size " << newSize; in Resize() [all …]
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | arena_allocator.cpp | 72 void *mem = arenas_->Alloc(size, alignment); in AllocateAndAddNewPool() 81 LOG(DEBUG, ALLOC) << "Can not add new pool for " << SpaceTypeToString(space_type_); in AllocateAndAddNewPool() 84 mem = arenas_->Alloc(size, alignment); in AllocateAndAddNewPool() 91 void *ArenaAllocatorT<use_oom_handler>::Alloc(size_t size, Alignment align) in Alloc() function in panda::ArenaAllocatorT 94 LOG(DEBUG, ALLOC) << "ArenaAllocator: try to alloc " << size << " with align " << align; in Alloc() 97 LOG(DEBUG, ALLOC) << "\tTry to allocate from stack"; in Alloc() 98 ret = buff_.Alloc(size, align); in Alloc() 99 LOG_IF(ret, DEBUG, ALLOC) << "\tallocate from stack buffer"; in Alloc() 112 LOG(DEBUG, ALLOC) << "ArenaAllocator: allocated " << size << " bytes aligned by " << align; in Alloc() 120 LOG(DEBUG, ALLOC) << "ArenaAllocator: resize to new size " << new_size; in Resize() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
| D | aarch64_regsaves.h | 32 explicit SavedRegInfo(MapleAllocator &alloc) in SavedRegInfo() argument 33 … : saveSet(alloc.Adapter()), restoreEntrySet(alloc.Adapter()), restoreExitSet(alloc.Adapter()) in SavedRegInfo() 104 explicit SavedBBInfo(MapleAllocator &alloc) : bbList(alloc.Adapter()) {} in SavedBBInfo() argument 132 bbSavedRegs(alloc.Adapter()), in AArch64RegSavesOpt() 133 regSavedBBs(alloc.Adapter()), in AArch64RegSavesOpt() 134 regOffset(alloc.Adapter()), in AArch64RegSavesOpt() 135 id2bb(alloc.Adapter()) in AArch64RegSavesOpt() 248 bbSavedRegs[bid] = memPool->New<SavedRegInfo>(alloc); in GetbbSavedRegsEntry()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
| D | globalClassHandler.cpp | 94 auto *ident = NodeAllocator::Alloc<ir::Identifier>(allocator, name, allocator); in CreateAndFillTopLevelMethod() 99 …auto *body = NodeAllocator::Alloc<ir::BlockStatement>(allocator, allocator, std::move(statements)); in CreateAndFillTopLevelMethod() 103 auto *func = NodeAllocator::Alloc<ir::ScriptFunction>( in CreateAndFillTopLevelMethod() 111 auto *funcExpr = NodeAllocator::Alloc<ir::FunctionExpression>(allocator, func); in CreateAndFillTopLevelMethod() 112 …auto methodDef = NodeAllocator::Alloc<ir::MethodDefinition>(allocator, ir::MethodDefinitionKind::M… in CreateAndFillTopLevelMethod() 137 auto *const callExpr = NodeAllocator::Alloc<ir::CallExpression>( in AddInitCall() 141 auto exprStmt = NodeAllocator::Alloc<ir::ExpressionStatement>(allocator_, callExpr); in AddInitCall() 148 auto *const callee = NodeAllocator::Alloc<ir::Identifier>(allocator_, name, allocator_); in RefIdent() 179 …auto *id = NodeAllocator::Alloc<ir::Identifier>(allocator_, compiler::Signatures::CCTOR, allocator… in CreateCCtor() 183 …auto *body = NodeAllocator::Alloc<ir::BlockStatement>(allocator_, allocator_, std::move(statements… in CreateCCtor() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ipa/include/old/ |
| D | ea_connection_graph.h | 92 alloc(allocator), in mirModule() 227 MapleAllocator *alloc; variable 269 …: locInfo(nullptr), mirModule(m), alloc(a), kind(nk), meExpr(nullptr), eaStatus(kNoEscape), id(0),… in EACGBaseNode() 275 …: locInfo(nullptr), mirModule(m), alloc(a), kind(nk), meExpr(expr), eaStatus(initialEas), id(i), e… in EACGBaseNode() 398 MapleAllocator *alloc; variable 438 EACGPointerNode(MIRModule *md, MapleAllocator *alloc, EAConnectionGraph *ec) in EACGPointerNode() argument 439 : EACGBaseNode(md, alloc, kPointerNode, ec), indirectLevel(0) in EACGPointerNode() 443 …EACGPointerNode(MIRModule *md, MapleAllocator *alloc, EAConnectionGraph &ec, MeExpr *expr, EAStatu… in EACGPointerNode() argument 445 … : EACGBaseNode(md, alloc, kPointerNode, ec, expr, initialEas, i), indirectLevel(indirectL) {}; in EACGPointerNode() 512 EACGObjectNode(MIRModule *md, MapleAllocator *alloc, EAConnectionGraph *ec) in EACGObjectNode() argument [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | pygote_space_allocator-inl.h | 28 #define LOG_PYGOTE_SPACE_ALLOCATOR(level) LOG(level, ALLOC) << "PygoteSpaceAllocator: " 88 inline void *PygoteSpaceAllocator<AllocConfigT>::Alloc(size_t size, Alignment align) in Alloc() function 92 // alloc from runslots firstly, if failed, try to alloc from new arena in Alloc() 95 void *obj = runslotsAlloc_.template Alloc<true, false>(size, align); in Alloc() 103 obj = runslotsAlloc_.Alloc(size, align); in Alloc() 114 … LOG(FATAL, ALLOC) << "PygoteSpaceAllocator: couldn't add memory pool to object allocator"; in Alloc() 116 // alloc object again in Alloc() 117 obj = runslotsAlloc_.Alloc(size, align); in Alloc() 120 obj = arena_->Alloc(size, align); in Alloc() 131 obj = arena_->Alloc(size, align); in Alloc() [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | alloc_tracker_test.cpp | 110 AllocInfo alloc; in TEST() local 112 out.read(reinterpret_cast<char *>(&alloc), sizeof(alloc)); in TEST() 115 ASSERT_EQ(DetailAllocTracker::ALLOC_TAG, alloc.tag); in TEST() 116 ASSERT_EQ(0, alloc.id); in TEST() 117 ASSERT_EQ(20, alloc.size); in TEST() 118 ASSERT_EQ(static_cast<uint32_t>(SpaceType::SPACE_TYPE_INTERNAL), alloc.space); in TEST() 119 ASSERT_EQ(0, alloc.stacktrace_id); in TEST()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | alloc_tracker_test.cpp | 113 AllocInfo alloc; in TEST() local 115 out.read(reinterpret_cast<char *>(&alloc), sizeof(alloc)); in TEST() 118 ASSERT_EQ(DetailAllocTracker::ALLOC_TAG, alloc.tag); in TEST() 119 ASSERT_EQ(0U, alloc.id); in TEST() 120 ASSERT_EQ(20U, alloc.size); in TEST() 121 ASSERT_EQ(static_cast<uint32_t>(SpaceType::SPACE_TYPE_INTERNAL), alloc.space); in TEST() 122 ASSERT_EQ(0U, alloc.stacktraceId); in TEST()
|
| D | logger_test.cpp | 35 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 50 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 72 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in DEATH_TEST() 153 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in TEST() 170 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in TEST() 176 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in TEST() 190 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in TEST() 196 EXPECT_TRUE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in TEST() 208 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::FATAL, Logger::Component::ALLOC)); in TEST() 218 EXPECT_FALSE(Logger::IsLoggingOn(Logger::Level::WARNING, Logger::Component::ALLOC)); in TEST() [all …]
|