Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 25 of 389) sorted by relevance

12345678910>>...16

/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dquarantine_test.cpp77 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST()
85 EXPECT_EQ(BlockSize + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST()
92 EXPECT_EQ(BlockSize + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST()
94 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST()
111 Cache.getSize()); in TEST()
118 EXPECT_EQ(BlockSize * 2 + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST()
119 EXPECT_EQ(ToDeallocate.getSize(), sizeof(scudo::QuarantineBatch)); in TEST()
139 Cache.getSize()); in TEST()
147 Cache.getSize()); in TEST()
148 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBTFDebug.h53 virtual uint32_t getSize() { return BTF::CommonTypeSize; } in getSize() function
95 uint32_t getSize() override { return BTFTypeBase::getSize() + sizeof(uint32_t); } in getSize() function
107 uint32_t getSize() override { in getSize() function
108 return BTFTypeBase::getSize() + EnumValues.size() * BTF::BTFEnumSize; in getSize()
120 uint32_t getSize() override { return BTFTypeBase::getSize() + BTF::BTFArraySize; } in getSize() function
134 uint32_t getSize() override { in getSize() function
135 return BTFTypeBase::getSize() + Members.size() * BTF::BTFMemberSize; in getSize()
151 uint32_t getSize() override { in getSize() function
152 return BTFTypeBase::getSize() + Parameters.size() * BTF::BTFParamSize; in getSize()
164 uint32_t getSize() override { return BTFTypeBase::getSize(); } in getSize() function
[all …]
/openbsd-src/gnu/llvm/lld/ELF/
H A DSyntheticSections.h50 size_t getSize() const override { return size; } in getSize() function
101 size_t getSize() const override { return size; } in getSize() function
135 size_t getSize() const override { return 0; } in getSize() function
142 size_t getSize() const override;
154 size_t getSize() const override { return headerSize + hashSize; } in getSize() function
170 size_t getSize() const override { return size; } in getSize() function
180 size_t getSize() const override { return size; } in getSize() function
357 size_t getSize() const override;
377 size_t getSize() const override;
390 size_t getSize() const override { return size; } in getSize() function
[all …]
/openbsd-src/gnu/llvm/lld/COFF/
H A DChunks.h60 size_t getSize() const;
147 virtual size_t getSize() const = 0;
218 size_t getSize() const { return header->SizeOfRawData; } in getSize() function
378 inline size_t Chunk::getSize() const { in getSize() function
380 return static_cast<const SectionChunk *>(this)->getSize(); in getSize()
382 return static_cast<const NonSectionChunk *>(this)->getSize(); in getSize()
439 size_t getSize() const override;
453 size_t getSize() const override { return sym.getValue(); } in getSize() function
465 size_t getSize() const override { return str.size() + 1; } in getSize() function
505 size_t getSize() const override { return sizeof(importThunkX86); } in getSize() function
[all …]
H A DDLL.cpp44 size_t getSize() const override { in getSize() function in lld::coff::__anonc0c5fbab0111::HintNameChunk
51 memset(buf, 0, getSize()); in writeTo()
68 size_t getSize() const override { return ctx.config.wordsize; } in getSize() function in lld::coff::__anonc0c5fbab0111::LookupChunk
92 size_t getSize() const override { return ctx.config.wordsize; } in getSize() function in lld::coff::__anonc0c5fbab0111::OrdinalOnlyChunk
114 size_t getSize() const override { return sizeof(ImportDirectoryTableEntry); } in getSize() function in lld::coff::__anonc0c5fbab0111::ImportDirectoryChunk
117 memset(buf, 0, getSize()); in writeTo()
135 size_t getSize() const override { return size; } in getSize() function in lld::coff::__anonc0c5fbab0111::NullChunk
177 size_t getSize() const override { in getSize() function in lld::coff::__anonc0c5fbab0111::DelayDirectoryChunk
182 memset(buf, 0, getSize()); in writeTo()
320 size_t getSize() const override { return sizeof(thunkX64); } in getSize() function in lld::coff::__anonc0c5fbab0111::ThunkChunkX64
[all …]
/openbsd-src/gnu/llvm/lld/MachO/
H A DWriter.cpp96 uint32_t getSize() const override { return sizeof(dyld_info_command); } in getSize() function in __anonb67f1e760111::LCDyldInfo
101 c->cmdsize = getSize(); in writeTo()
135 uint32_t getSize() const override { in getSize() function in __anonb67f1e760111::LCSubFramework
145 c->cmdsize = getSize(); in writeTo()
161 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize() function in __anonb67f1e760111::LCFunctionStarts
166 c->cmdsize = getSize(); in writeTo()
180 uint32_t getSize() const override { return sizeof(linkedit_data_command); } in getSize() function in __anonb67f1e760111::LCDataInCode
185 c->cmdsize = getSize(); in writeTo()
201 uint32_t getSize() const override { return sizeof(dysymtab_command); } in getSize() function in __anonb67f1e760111::LCDysymtab
206 c->cmdsize = getSize(); in writeTo()
[all …]
H A DSyntheticSections.h81 uint64_t getSize() const final { return llvm::alignTo(getRawSize(), align); } in getSize() function
89 uint64_t getSize() const override;
106 uint64_t getSize() const override { return target->pageZeroSize; } in getSize() function
120 uint64_t getSize() const override { in getSize() function
282 uint64_t getSize() const override;
308 uint64_t getSize() const override;
328 uint64_t getSize() const override;
347 uint64_t getSize() const override;
539 uint64_t getSize() const override { return xarSize; } in getSize() function
552 uint64_t getSize() const override { return size; } in getSize() function
[all …]
H A DConcatOutputSection.cpp129 isecAddr = alignTo(isecAddr, isec->align) + isec->getSize(); in needsThunks()
130 if (isecAddr - addr + in.stubs->getSize() <= in needsThunks()
175 isecEnd = alignTo(isecEnd, isec->align) + isec->getSize(); in estimateStubsInRangeVA()
185 in.stubs->getSize() - forwardBranchRange; in estimateStubsInRangeVA()
188 ", stubs = " + std::to_string(in.stubs->getSize()) + ", isecVA = " + in estimateStubsInRangeVA()
201 size += isec->getSize(); in finalizeOne()
250 while (finalIdx < endIdx && addr + size + inputs[finalIdx]->getSize() < in finalize()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DArrayRecycler.h49 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop()
51 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop()
63 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push()
84 size_t getSize() const { return size_t(1u) << Index; } in getSize() function
130 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DPointer.h83 return Pointer(Pointee, RootPtrMark, getDeclDesc()->getSize()); in atIndex()
143 return Pointer(Pointee, Base, Base + getSize() + Adjust); in expand()
206 return getDeclDesc()->getSize(); in elemSize()
210 size_t getSize() const { return getFieldDesc()->getSize(); } in getSize() function
287 unsigned getNumElems() const { return getSize() / elemSize(); } in getNumElems()
300 return isElementPastEnd() || getSize() == getOffset(); in isOnePastEnd()
333 OS << Pointee->getSize(); in print()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DMachOUniversal.cpp170 bigSize += A.getSize(); in MachOUniversalBinary()
214 A.getOffset() < B.getOffset() + B.getSize()) || in MachOUniversalBinary()
215 (A.getOffset() + A.getSize() > B.getOffset() && in MachOUniversalBinary()
216 A.getOffset() + A.getSize() < B.getOffset() + B.getSize()) || in MachOUniversalBinary()
218 A.getOffset() + A.getSize() >= B.getOffset() + B.getSize())) { in MachOUniversalBinary()
222 Twine(A.getSize()) + ", overlaps cputype (" + Twine(B.getCPUType()) + in MachOUniversalBinary()
225 + Twine(B.getSize())); in MachOUniversalBinary()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h70 uptr getSize() const { return atomic_load_relaxed(&Size); } in getSize() function
89 addToSize(From->getSize()); in transfer()
162 void addToSize(uptr add) { atomic_store_relaxed(&Size, getSize() + add); } in addToSize()
163 void subFromSize(uptr sub) { atomic_store_relaxed(&Size, getSize() - sub); } in subFromSize()
196 if (C->getSize() > getCacheSize()) in put()
205 if (Cache.getSize() > getMaxSize() && RecycleMutex.tryLock()) in drain()
255 const uptr CacheSize = Cache.getSize(); in recycle()
269 while (Cache.getSize() > MinSize) in recycle()
/openbsd-src/gnu/llvm/lld/wasm/
H A DMapFile.cpp89 size = DD->getSize(); in getSymbolStrings()
93 size = DF->function->getSize(); in getSymbolStrings()
126 writeHeader(os, -1, osec->getOffset(), osec->getSize()); in writeMapFile()
131 chunk->getSize()); in writeMapFile()
146 writeHeader(os, chunk->getVA(), offset, chunk->getSize()); in writeMapFile()
H A DOutputSections.cpp47 " total=" + Twine(getSize())); in createHeader()
61 assert(func->getSize()); in finalizeContents()
62 bodySize += func->getSize(); in finalizeContents()
70 " size=" + Twine(getSize())); in writeTo()
169 " size=" + Twine(getSize()) + " body=" + Twine(bodySize)); in writeTo()
253 payloadSize += section->getSize(); in finalizeContents()
261 " size=" + Twine(getSize()) + " chunks=" + Twine(inputSections.size())); in writeTo()
H A DOutputSections.h39 virtual size_t getSize() const = 0;
65 size_t getSize() const override { return header.size() + bodySize; } in getSize() function
88 size_t getSize() const override { return header.size() + bodySize; } in getSize() function
119 size_t getSize() const override { in getSize() function
H A DOutputSegment.cpp27 << " size=" << inSeg->getSize() in addInputSegment()
31 size += inSeg->getSize(); in addInputSegment()
81 size += seg->getSize(); in finalizeInputSegments()
/openbsd-src/gnu/llvm/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp138 int getSize() const { return Nodes.size(); } in getSize() function in clang::diff::SyntaxTree::Impl
141 PreorderIterator end() const { return getSize(); } in end()
145 bool isValidNodeId(NodeId Id) const { return Id >= 0 && Id < getSize(); } in isValidNodeId()
223 N.RightMostDescendant < Tree.getSize() && in PostTraverse()
307 PostorderIds.resize(getSize()); in initTree()
502 int getSize() const { return RootIds.size(); } in getSize() function in clang::diff::Subtree
504 assert(Id > 0 && Id <= getSize() && "Invalid subtree node index."); in getIdInRoot()
511 assert(Id > 0 && Id <= getSize() && "Invalid subtree node index."); in getLeftMostDescendant()
526 LeftMostDescendants.resize(getSize()); in setLeftMostDescendants()
527 for (int I = 0; I < getSize(); ++I) { in setLeftMostDescendants()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DAliasSetTracker.cpp62 MemoryLocation(L->getValue(), L->getSize(), L->getAAInfo()), in mergeSetIn()
63 MemoryLocation(R->getValue(), R->getSize(), R->getAAInfo()))) in mergeSetIn()
137 MemoryLocation(P->getValue(), P->getSize(), P->getAAInfo()), in addPointer()
202 return AA.alias(MemoryLocation(SomePtr->getValue(), SomePtr->getSize(), in aliasesPointer()
212 MemoryLocation(I.getPointer(), I.getSize(), I.getAAInfo())); in aliasesPointer()
250 Inst, MemoryLocation(I.getPointer(), I.getSize(), I.getAAInfo())); in aliasesUnknownInst()
506 MemoryLocation(ASI.getPointer(), ASI.getSize(), ASI.getAAInfo()), in add()
584 if (I.getSize() == LocationSize::afterPointer()) in print()
586 else if (I.getSize() == LocationSize::beforeOrAfterPointer()) in print()
589 OS << ", " << I.getSize() << ")"; in print()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp46 return LHS->getSize() < RHS->getSize(); in BasicLayout()
58 Seg.ContentSize += B->getSize(); in BasicLayout()
65 SegEndOffset += B->getSize(); in BasicLayout()
115 Seg.Addr += B->getSize(); in apply()
120 B->getSize()); in apply()
122 {Seg.WorkingMem + Seg.NextWorkingMemOffset, B->getSize()}); in apply()
123 Seg.NextWorkingMemOffset += B->getSize(); in apply()
131 Seg.Addr += B->getSize(); in apply()
H A DJITLink.cpp92 return OS << B.getAddress() << " -- " << (B.getAddress() + B.getSize()) in operator <<()
94 << "size = " << formatv("{0:x8}", B.getSize()) << ", " in operator <<()
104 << "): size: " << formatv("{0:x8}", Sym.getSize()) in operator <<()
156 if (SplitIndex == B.getSize()) in splitBlock()
159 assert(SplitIndex < B.getSize() && "SplitIndex out of range"); in splitBlock()
216 if (Sym->getOffset() + Sym->getSize() > SplitIndex) in splitBlock()
266 << " size = " << formatv("{0:x8}", B->getSize()) in dump()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp152 (unsigned)Context.toBits(getSize(Type)))); in getStorageType()
161 CharUnits getSize(llvm::Type *Type) { in getSize() function
281 CharUnits Size = NVBaseType ? Layout.getNonVirtualSize() : Layout.getSize(); in lower()
312 CharUnits LayoutSize = Layout.getSize(); in lowerUnion()
325 if (LayoutSize < getSize(FieldType)) in lowerUnion()
355 getSize(FieldType) > getSize(StorageType))) in lowerUnion()
363 if (LayoutSize < getSize(StorageType)) in lowerUnion()
366 appendPaddingBytes(LayoutSize - getSize(StorageType)); in lowerUnion()
597 const CharUnits RecordSize = Layout.getSize(); in computeVolatileBitfields()
733 CharUnits Tail = getSize(Prior->Data); in clipTailPadding()
[all …]
H A DCGBuilder.h62 llvm::ConstantInt *getSize(CharUnits N) { in getSize() function
65 llvm::ConstantInt *getSize(uint64_t N) { in getSize() function
222 {getSize(CharUnits::Zero()), getSize(Index)}, Name),
239 getSize(Index), Name),
256 getSize(Index), Name),
281 getSize(Offset), Name),
289 getSize(Offset), Name),
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DPrettyTypeDumper.cpp46 return S1->getSize() < S2->getSize(); in CompareSizes()
54 double Pct1 = (double)S1->deepPaddingSize() / (double)S1->getSize(); in ComparePaddingPct()
55 double Pct2 = (double)S2->deepPaddingSize() / (double)S2->getSize(); in ComparePaddingPct()
65 double Pct1 = (double)S1->immediatePadding() / (double)S1->getSize(); in ComparePaddingPctImmediate()
66 double Pct2 = (double)S2->immediatePadding() / (double)S2->getSize(); in ComparePaddingPctImmediate()
H A DPrettyClassDefinitionDumper.cpp51 uint32_t Size = Layout.getSize(); in prettyPrintClassIntro()
99 (double)Layout.getSize()); in prettyPrintClassOutro()
107 (double)Layout.getSize()); in prettyPrintClassOutro()
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwarfdump/
H A DSectionSizes.cpp93 LLVM_DEBUG(dbgs() << SectionName.str() << ": " << Section.getSize() in calculateSectionSizes()
99 Sizes.TotalDebugSectionsSize += Section.getSize(); in calculateSectionSizes()
100 Sizes.DebugSectionSizes[std::string(SectionName)] += Section.getSize(); in calculateSectionSizes()

12345678910>>...16