/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpStack.cpp | 26 if (Chunk && Chunk->Next) in clear() 27 std::free(Chunk->Next); in clear() 28 if (Chunk) in clear() 29 std::free(Chunk); in clear() 30 Chunk = nullptr; in clear() 40 if (!Chunk || sizeof(StackChunk) + Chunk->size() + Size > ChunkSize) { in grow() 41 if (Chunk && Chunk->Next) { in grow() 42 Chunk = Chunk->Next; in grow() 44 StackChunk *Next = new (std::malloc(ChunkSize)) StackChunk(Chunk); in grow() 45 if (Chunk) in grow() [all …]
|
H A D | InterpStack.h | 82 void *top() const { return Chunk ? peekData(0) : nullptr; } in top() 145 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; 44 std::vector<Chunk *> getChunks(); 45 std::vector<Chunk *> getDataChunks(); 46 ArrayRef<Chunk *> getCodeChunks() { return thunks; } in getCodeChunks() 47 ArrayRef<Chunk *> getCodePData() { return pdata; } in getCodePData() 48 ArrayRef<Chunk *> getCodeUnwindInfo() { return unwindinfo; } in getCodeUnwindInfo() [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; 175 explicit DelayDirectoryChunk(Chunk *n) : dllName(n) { setAlignment(4); } in DelayDirectoryChunk() 192 Chunk *dllName; 193 Chunk *moduleHandle; 194 Chunk *addressTab; [all …]
|
H A D | Chunks.h | 56 class Chunk { 133 Chunk(Kind k = OtherKind) : chunkKind(k), hasData(true), p2Align(0) {} in chunkKind() 157 class NonSectionChunk : public Chunk { 188 static bool classof(const Chunk *c) { return c->kind() >= OtherKind; } in classof() 191 NonSectionChunk(Kind k = OtherKind) : Chunk(k) {} in Chunk() function 222 class SectionChunk : public Chunk { 244 static bool classof(const Chunk *c) { return c->kind() <= SectionECKind; } in classof() 408 static bool classof(const Chunk *c) { return c->kind() == SectionECKind; } in classof() 417 inline size_t Chunk::getSize() const { in getSize() 423 inline uint32_t Chunk::getOutputCharacteristics() const { in getOutputCharacteristics() [all …]
|
H A D | Writer.h | 31 std::vector<Chunk *> chunks; 35 // container of chunks. OutputSection and Chunk are 1:N relationship. 44 void addChunk(Chunk *c); 45 void insertChunkAtStart(Chunk *c); 79 std::vector<Chunk *> chunks; 80 std::vector<Chunk *> origChunks;
|
H A D | Writer.cpp | 90 const std::vector<std::pair<COFF::DebugType, Chunk *>> &r, in DebugDirectoryChunk() 101 for (const std::pair<COFF::DebugType, Chunk *>& record : records) { in writeTo() 102 Chunk *c = record.second; in writeTo() 140 const std::vector<std::pair<COFF::DebugType, Chunk *>> &records; 201 Chunk *first = nullptr, *last; 227 bool verifyRanges(const std::vector<Chunk *> chunks); 257 void sortCRTSectionChunks(std::vector<Chunk *> &chunks); 259 void sortBySectionOrder(std::vector<Chunk *> &chunks); 285 Chunk *importTableStart = nullptr; 287 Chunk *edataStart = nullptr; [all …]
|
H A D | Symbols.h | 169 Chunk *getChunk(); 272 explicit DefinedSynthetic(StringRef name, Chunk *c, uint32_t offset = 0) 282 Chunk *getChunk() { return c; } in getChunk() 285 Chunk *c; 363 Chunk *getChunk() { return file->location; } in getChunk() 364 void setLocation(Chunk *addressTable) { file->location = addressTable; } in setLocation() 395 Chunk *getChunk() { return data; } in getChunk() 400 Chunk *data; 419 Chunk *getChunk() { return data; } in getChunk() 450 inline Chunk *Defined::getChunk() { in getChunk()
|
H A D | SymbolTable.h | 25 class Chunk; variable 67 std::vector<Chunk *> getChunks() const; 87 Symbol *addSynthetic(StringRef n, Chunk *c); 117 std::vector<Chunk *> localImportChunks;
|
H A D | InputFiles.h | 53 class Chunk; variable 137 ArrayRef<Chunk *> getChunks() { return chunks; } in getChunks() 277 std::vector<Chunk *> chunks; 356 Chunk *location = nullptr;
|
H A D | MapFile.cpp | 161 } else if (Chunk *chunk = sym->getChunk()) { in getSymbolStrings() 256 for (Chunk *c : sec->chunks) { in writeMapFile() 305 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 | 72 Chunk::UnpackedHeader Header; in recycle() 73 Chunk::loadHeader(Allocator.Cookie, Ptr, &Header); in recycle() 74 if (UNLIKELY(Header.State != Chunk::State::Quarantined)) in recycle() 77 Header.State = Chunk::State::Available; in recycle() 78 Chunk::storeHeader(Allocator.Cookie, Ptr, &Header); in recycle() 91 sizeof(QuarantineBatch) + Chunk::getHeaderSize()); in allocate() 98 Chunk::getHeaderSize()); in allocate() 99 Chunk::UnpackedHeader Header = {}; in allocate() 100 Header.ClassId = QuarantineClassId & Chunk::ClassIdMask; in allocate() 102 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 | 183 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) in Chunk() function in CodeCompletionString::Chunk 256 CodeCompletionString::Chunk 257 CodeCompletionString::Chunk::CreateText(const char *Text) { in CreateText() 258 return Chunk(CK_Text, Text); in CreateText() 261 CodeCompletionString::Chunk 262 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { in CreateOptional() 263 Chunk Result; in CreateOptional() 269 CodeCompletionString::Chunk 270 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) { in CreatePlaceholder() 271 return Chunk(CK_Placeholder, Placeholder); in CreatePlaceholder() [all …]
|
H A D | SemaTemplateVariadic.cpp | 944 const DeclaratorChunk &Chunk = D.getTypeObject(I); in containsUnexpandedParameterPacks() local 945 switch (Chunk.Kind) { in containsUnexpandedParameterPacks() 955 if (Chunk.Arr.NumElts && in containsUnexpandedParameterPacks() 956 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks() 960 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { in containsUnexpandedParameterPacks() 961 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); in containsUnexpandedParameterPacks() 967 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { in containsUnexpandedParameterPacks() 968 for (unsigned i = 0; i != Chunk.Fun.getNumExceptions(); ++i) { in containsUnexpandedParameterPacks() 969 if (Chunk.Fun.Exceptions[i] in containsUnexpandedParameterPacks() 974 } else if (isComputedNoexcept(Chunk.Fun.getExceptionSpecType()) && in containsUnexpandedParameterPacks() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | ELFYAML.h | 209 struct Chunk { struct 247 Chunk(ChunkKind K, bool Implicit) : Kind(K), IsImplicit(Implicit) {} in Chunk() argument 248 virtual ~Chunk(); 251 struct Section : public Chunk { 265 Section(ChunkKind Kind, bool IsImplicit = false) : Chunk(Kind, IsImplicit) {} in Chunk() function 267 static bool classof(const Chunk *S) { in classof() 309 struct Fill : Chunk { 313 Fill() : Chunk(ChunkKind::Fill, /*Implicit=*/false) {} in Fill() 315 static bool classof(const Chunk *S) { return S->Kind == ChunkKind::Fill; } in classof() 318 struct SectionHeaderTable : Chunk { [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | CodeCompleteConsumer.h | 530 struct Chunk { struct 548 Chunk() : Text(nullptr) {} in Chunk() argument 550 explicit Chunk(ChunkKind Kind, const char *Text = ""); 553 static Chunk CreateText(const char *Text); 556 static Chunk CreateOptional(CodeCompletionString *Optional); 559 static Chunk CreatePlaceholder(const char *Placeholder); 562 static Chunk CreateInformative(const char *Informative); 565 static Chunk CreateResultType(const char *ResultType); 568 static Chunk CreateCurrentParameter(const char *CurrentParameter); 595 CodeCompletionString(const Chunk *Chunks, unsigned NumChunks, [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | DebugCounter.h | 58 struct Chunk { struct 65 static void printChunks(raw_ostream &OS, ArrayRef<Chunk>); argument 69 static bool parseChunks(StringRef Str, SmallVector<Chunk> &Res); 175 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() 183 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
|