| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | InterpStack.cpp | 23 if (Chunk && Chunk->Next) in ~InterpStack() 24 std::free(Chunk->Next); in ~InterpStack() 25 if (Chunk) in ~InterpStack() 26 std::free(Chunk); in ~InterpStack() 27 Chunk = nullptr; in ~InterpStack() 36 if (!Chunk) in clear() 39 if (Chunk->Next) in clear() 40 std::free(Chunk->Next); in clear() 42 assert(Chunk); in clear() 62 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow() [all …]
|
| H A D | InterpStack.h | 83 void *top() const { return Chunk ? peekData(0) : nullptr; } in top() 147 StackChunk *Chunk = nullptr; variable
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | DLL.h | 29 std::vector<Chunk *> dirs; 30 std::vector<Chunk *> lookups; 31 std::vector<Chunk *> addresses; 32 std::vector<Chunk *> hints; 33 std::vector<Chunk *> dllNames; 34 std::vector<Chunk *> auxIat; 35 std::vector<Chunk *> auxIatCopy; 46 std::vector<Chunk *> getChunks(); 47 std::vector<Chunk *> getDataChunks(); 48 ArrayRef<Chunk *> getCodeChunks() { return thunks; } in getCodeChunks() [all …]
|
| H A D | DLL.cpp | 64 explicit LookupChunk(COFFLinkerContext &ctx, Chunk *c) in LookupChunk() 77 Chunk *hintName; 113 explicit ImportDirectoryChunk(Chunk *n) : dllName(n) { setAlignment(4); } in ImportDirectoryChunk() 125 Chunk *dllName; 126 Chunk *lookupTab; 127 Chunk *addressTab; 214 explicit DelayDirectoryChunk(Chunk *n) : dllName(n) { setAlignment(4); } in DelayDirectoryChunk() 231 Chunk *dllName; 232 Chunk *moduleHandle; 233 Chunk *addressTab; [all …]
|
| H A D | Chunks.h | 56 class Chunk { 134 Chunk(Kind k = OtherKind) : chunkKind(k), hasData(true), p2Align(0) {} in chunkKind() 158 class NonSectionChunk : public Chunk { 196 static bool classof(const Chunk *c) { return c->kind() >= OtherKind; } in classof() 199 NonSectionChunk(Kind k = OtherKind) : Chunk(k) {} in Chunk() function 230 class SectionChunk : public Chunk { 252 static bool classof(const Chunk *c) { return c->kind() <= SectionECKind; } in classof() 415 static bool classof(const Chunk *c) { return c->kind() == SectionECKind; } in classof() 424 inline size_t Chunk::getSize() const { in getSize() 430 inline uint32_t Chunk::getOutputCharacteristics() const { in getOutputCharacteristics() [all …]
|
| H A D | Writer.h | 31 std::vector<Chunk *> chunks; 44 void addChunk(Chunk *c); 45 void insertChunkAtStart(Chunk *c); 82 std::vector<Chunk *> chunks; 83 std::vector<Chunk *> origChunks;
|
| H A D | SymbolTable.h | 26 class Chunk; variable 117 Symbol *addSynthetic(StringRef n, Chunk *c); 136 Chunk *&location); 157 std::vector<Chunk *> localImportChunks; 167 Chunk *edataStart = nullptr; 168 Chunk *edataEnd = nullptr; 171 Chunk *tailMergeUnwindInfoChunk = nullptr;
|
| H A D | Writer.cpp | 87 const std::vector<std::pair<COFF::DebugType, Chunk *>> &r, in DebugDirectoryChunk() 98 for (const std::pair<COFF::DebugType, Chunk *>& record : records) { in writeTo() 99 Chunk *c = record.second; in writeTo() 137 const std::vector<std::pair<COFF::DebugType, Chunk *>> &records; 198 Chunk *first = nullptr, *last; 230 bool verifyRanges(const std::vector<Chunk *> chunks); 261 void sortCRTSectionChunks(std::vector<Chunk *> &chunks); 263 void sortBySectionOrder(std::vector<Chunk *> &chunks); 290 Chunk *importTableStart = nullptr; 292 Chunk *iatStart = nullptr; [all …]
|
| H A D | Symbols.h | 176 Chunk *getChunk(); 279 explicit DefinedSynthetic(StringRef name, Chunk *c, uint32_t offset = 0) 289 Chunk *getChunk() { return c; } in getChunk() 292 Chunk *c; 376 DefinedImportData(StringRef n, ImportFile *file, Chunk *&location) in DefinedImportData() 384 Chunk *getChunk() { return location; } in getChunk() 385 void setLocation(Chunk *addressTable) { location = addressTable; } in setLocation() 392 Chunk *&location; 441 Chunk *getChunk() { return data; } in getChunk() 472 inline Chunk *Defined::getChunk() { in getChunk()
|
| H A D | InputFiles.h | 56 class Chunk; variable 146 ArrayRef<Chunk *> getChunks() { return chunks; } in getChunks() 286 std::vector<Chunk *> chunks; 372 Chunk *location = nullptr; 376 Chunk *auxLocation = nullptr; 379 Chunk *auxCopyLocation = nullptr;
|
| H A D | MapFile.cpp | 160 } else if (Chunk *chunk = sym->getChunk()) { in getSymbolStrings() 255 for (Chunk *c : sec->chunks) { in writeMapFile() 304 Chunk *chunk = entry->getChunk(); in writeMapFile()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_cpp.cpp | 39 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 44 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::NewArray); in operator new[]() 50 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New); in operator new() 56 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::NewArray); 61 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New, in operator delete[]() 67 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator delete[]() 74 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::New, in operator delete[]() 81 void *Ptr = Allocator.allocate(size, scudo::Chunk::Origin::NewArray, in operator delete() 89 Allocator.deallocate(ptr, scudo::Chunk::Origin::New); in operator delete() 93 Allocator.deallocate(ptr, scudo::Chunk in operator delete[]() [all...] |
| H A D | combined.h | 73 Chunk::UnpackedHeader Header; in recycle() 74 Chunk::loadHeader(Allocator.Cookie, Ptr, &Header); in recycle() 75 if (UNLIKELY(Header.State != Chunk::State::Quarantined)) in recycle() 78 Header.State = Chunk::State::Available; in recycle() 79 Chunk::storeHeader(Allocator.Cookie, Ptr, &Header); in recycle() 92 sizeof(QuarantineBatch) + Chunk::getHeaderSize()); in allocate() 99 Chunk::getHeaderSize()); in allocate() 100 Chunk::UnpackedHeader Header = {}; in allocate() 101 Header.ClassId = QuarantineClassId & Chunk::ClassIdMask; in allocate() 103 Header.State = Chunk::State::Allocated; in allocate() [all …]
|
| H A D | wrappers_c.inc | 60 void *Ptr = SCUDO_ALLOCATOR.allocate(Product, scudo::Chunk::Origin::Malloc, 68 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 110 void *Ptr = SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, 143 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, alignment); 156 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, alignment); 177 scudo::Chunk::Origin::Memalign, PageSize); 185 void *Ptr = SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, 192 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 221 void *Ptr = SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Memalign, 311 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment);
|
| H A D | size_class_map.h | 243 static const uptr SizeDelta = Chunk::getHeaderSize();
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandImm.cpp | 30 static bool canUseOrr(uint64_t Chunk, uint64_t &Encoding) { in canUseOrr() argument 31 Chunk = (Chunk << 48) | (Chunk << 32) | (Chunk << 16) | Chunk; in canUseOrr() 33 return AArch64_AM::processLogicalImmediate(Chunk, 64, Encoding); in canUseOrr() 54 for (const auto &Chunk : Counts) { in tryToreplicateChunks() local 55 const uint64_t ChunkVal = Chunk.first; in tryToreplicateChunks() 56 const unsigned Count = Chunk.second; in tryToreplicateChunks() 106 static bool isStartChunk(uint64_t Chunk) { in isStartChunk() argument 107 if (Chunk == 0 || Chunk == std::numeric_limits<uint64_t>::max()) in isStartChunk() 110 return isMask_64(~Chunk); in isStartChunk() 116 static bool isEndChunk(uint64_t Chunk) { in isEndChunk() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 179 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() function in CodeCompletionString::Chunk 252 CodeCompletionString::Chunk 253 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText() 254 return Chunk(CK_Text, Text); in CreateText() 257 CodeCompletionString::Chunk 258 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { in CreateOptional() 259 Chunk Result; in CreateOptional() 265 CodeCompletionString::Chunk 266 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) { in CreatePlaceholder() 267 return Chunk(CK_Placeholder, Placeholder); in CreatePlaceholder() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 1066 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() local 1067 switch (Chunk.Kind) { in containsUnexpandedParameterPacks() 1077 if (Chunk.Arr.NumElts && in containsUnexpandedParameterPacks() 1078 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks() 1082 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { in containsUnexpandedParameterPacks() 1083 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); in containsUnexpandedParameterPacks() 1089 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks() 1090 for (unsigned i = 0; i != Chunk.Fun.getNumExceptions(); ++i) { in containsUnexpandedParameterPacks() 1091 if (Chunk.Fun.Exceptions[i] in containsUnexpandedParameterPacks() 1096 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | ELFYAML.h | 224 struct Chunk { struct 262 Chunk(ChunkKind K, bool Implicit) : Kind(K), IsImplicit(Implicit) {} in Chunk() argument 263 virtual ~Chunk(); 266 struct Section : public Chunk { 280 Section(ChunkKind Kind, bool IsImplicit = false) : Chunk(Kind, IsImplicit) {} in Chunk() function 282 static bool classof(const Chunk *S) { in classof() 324 struct Fill : Chunk { 328 Fill() : Chunk(ChunkKind::Fill, /*Implicit=*/false) {} in Fill() 330 static bool classof(const Chunk *S) { return S->Kind == ChunkKind::Fill; } in classof() 333 struct SectionHeaderTable : Chunk { [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | CodeCompleteConsumer.h | 529 struct Chunk { struct 547 Chunk() : Text(nullptr) {} in Chunk() argument 549 explicit Chunk(ChunkKind Kind, const char *Text = ""); 552 static Chunk CreateText(const char *Text); 555 static Chunk CreateOptional(CodeCompletionString *Optional); 558 static Chunk CreatePlaceholder(const char *Placeholder); 561 static Chunk CreateInformative(const char *Informative); 564 static Chunk CreateResultType(const char *ResultType); 567 static Chunk CreateCurrentParameter(const char *CurrentParameter); 594 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks, [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | DebugCounter.h | 59 struct Chunk { struct 66 LLVM_ABI static void printChunks(raw_ostream &OS, ArrayRef<Chunk>); argument 70 LLVM_ABI static bool parseChunks(StringRef Str, SmallVector<Chunk> &Res); 179 SmallVector<Chunk> Chunks;
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | BinaryStreamWriter.cpp | 73 ArrayRef<uint8_t> Chunk; in writeStreamRef() local 74 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk)) in writeStreamRef() 76 if (auto EC = writeBytes(Chunk)) in writeStreamRef()
|
| H A D | DebugCounter.cpp | 12 void DebugCounter::Chunk::print(llvm::raw_ostream &OS) { in print() 19 void DebugCounter::printChunks(raw_ostream &OS, ArrayRef<Chunk> Chunks) { in printChunks() 34 bool DebugCounter::parseChunks(StringRef Str, SmallVector<Chunk> &Chunks) { in parseChunks() 188 SmallVector<Chunk> Chunks; in push_back()
|
| /freebsd/contrib/llvm-project/llvm/lib/Debuginfod/ |
| H A D | HTTPServer.cpp | 103 StringRef Chunk = Response.Provider(Offset, Length); in setResponse() local 104 Sink.write(Chunk.begin(), Chunk.size()); in setResponse()
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | acorn | 7 # RISC OS Chunk File Format 10 0 lelong 0xc3cbc6c5 RISC OS Chunk data
|