Home
last modified time | relevance | path

Searched refs:HeaderSize (Results 1 – 25 of 82) sorted by relevance

1234

/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dchunk_test.cpp15 static constexpr scudo::uptr HeaderSize = scudo::Chunk::getHeaderSize(); variable
28 void *Block = malloc(HeaderSize + Size); in TEST()
30 HeaderSize); in TEST()
48 void *Block = malloc(HeaderSize + Size); in TEST()
50 HeaderSize); in TEST()
67 void *Block = malloc(HeaderSize + Size); in TEST()
69 HeaderSize); in TEST()
Dsecondary_test.cpp71 constexpr scudo::uptr HeaderSize = scudo::roundUpTo(8, MinAlign); in TEST() local
84 HeaderSize + UserSize + (Align > MinAlign ? Align - HeaderSize : 0); in TEST()
/external/scudo/standalone/tests/
Dchunk_test.cpp15 static constexpr scudo::uptr HeaderSize = scudo::Chunk::getHeaderSize(); variable
28 void *Block = malloc(HeaderSize + Size); in TEST()
30 HeaderSize); in TEST()
48 void *Block = malloc(HeaderSize + Size); in TEST()
50 HeaderSize); in TEST()
67 void *Block = malloc(HeaderSize + Size); in TEST()
69 HeaderSize); in TEST()
Dsecondary_test.cpp89 constexpr scudo::uptr HeaderSize = scudo::roundUpTo(8, MinAlign); in TEST() local
102 HeaderSize + UserSize + (Align > MinAlign ? Align - HeaderSize : 0); in TEST()
/external/angle/src/common/
DPoolAlloc.h78 static size_t AllocationSize(size_t size) { return size + 2 * kGuardBlockSize + HeaderSize(); } in AllocationSize()
83 return m + kGuardBlockSize + HeaderSize(); in OffsetAllocation()
90 unsigned char *preGuard() const { return mMem + HeaderSize(); } in preGuard()
102 static constexpr size_t HeaderSize() { return sizeof(Allocation); } in HeaderSize() function
105 static constexpr size_t HeaderSize() { return 0; } in HeaderSize() function
/external/llvm-project/clang/tools/clang-offload-bundler/
DClangOffloadBundler.cpp331 uint64_t HeaderSize = 0; in WriteHeader() local
333 HeaderSize += sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1; in WriteHeader()
334 HeaderSize += 8; // Number of Bundles in WriteHeader()
337 HeaderSize += 3 * 8; // Bundle offset, Size of bundle and size of triple. in WriteHeader()
338 HeaderSize += T.size(); // The triple. in WriteHeader()
349 HeaderSize = alignTo(HeaderSize, BundleAlignment); in WriteHeader()
351 Write8byteIntegerToBuffer(OS, HeaderSize); in WriteHeader()
354 BundlesInfo[T] = BundleInfo(MB.getBufferSize(), HeaderSize); in WriteHeader()
355 HeaderSize += MB.getBufferSize(); in WriteHeader()
/external/llvm-project/lld/test/ELF/
Demulation-x86.s31 # AMD64-NEXT: HeaderSize: 64
66 # X86-64-NEXT: HeaderSize: 64
100 # X32-NEXT: HeaderSize: 52
134 # X86-NEXT: HeaderSize: 52
168 # X86FBSD-NEXT: HeaderSize: 52
202 # IAMCU-NEXT: HeaderSize: 52
Demulation-ppc.s30 # PPC64-NEXT: HeaderSize: 64
62 # PPC64-FBSD-NEXT: HeaderSize: 64
98 # PPC64LE-NEXT: HeaderSize: 64
135 # PPC32-NEXT: HeaderSize: 52
Demulation-riscv.s30 # RV32-NEXT: HeaderSize: 52
65 # RV64-NEXT: HeaderSize: 64
Drelocatable.s37 # CHECK-NEXT: HeaderSize: 64
100 # CHECKEXE-NEXT: HeaderSize: 64
Drelocatable-bss.s26 # CHECK-NEXT: HeaderSize:
/external/llvm/tools/dsymutil/
DMachOUtils.cpp376 unsigned HeaderSize = in generateDsymCompanion() local
421 SymtabStart += HeaderSize; in generateDsymCompanion()
428 assert(OutFile.tell() == HeaderSize); in generateDsymCompanion()
434 assert(OutFile.tell() == HeaderSize + sizeof(UUIDCmd)); in generateDsymCompanion()
479 assert(OutFile.tell() == LoadCommandSize + HeaderSize); in generateDsymCompanion()
480 Writer.WriteZeros(SymtabStart - (LoadCommandSize + HeaderSize)); in generateDsymCompanion()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_parse.c39 if( ctx->FullHeader.Header.HeaderSize >= 2 ) { in tgsi_parse_init()
47 ctx->Position = ctx->FullHeader.Header.HeaderSize; in tgsi_parse_init()
67 ctx->FullHeader.Header.HeaderSize + ctx->FullHeader.Header.BodySize; in tgsi_parse_end_of_tokens()
/external/llvm-project/llvm/tools/dsymutil/
DMachOUtils.cpp420 unsigned HeaderSize = in generateDsymCompanion() local
470 SymtabStart += HeaderSize; in generateDsymCompanion()
477 assert(OutFile.tell() == HeaderSize); in generateDsymCompanion()
482 assert(OutFile.tell() == HeaderSize + sizeof(UUIDCmd)); in generateDsymCompanion()
535 assert(OutFile.tell() == LoadCommandSize + HeaderSize); in generateDsymCompanion()
536 OutFile.write_zeros(SymtabStart - (LoadCommandSize + HeaderSize)); in generateDsymCompanion()
/external/llvm-project/llvm/tools/llvm-objcopy/MachO/
DMachOLayoutBuilder.cpp114 auto HeaderSize = in layoutSegments() local
118 uint64_t Offset = IsObjectFile ? (HeaderSize + O.Header.SizeOfCmds) : 0; in layoutSegments()
232 const uint64_t HeaderSize = in layoutTail() local
235 Offset >= HeaderSize + O.Header.SizeOfCmds) && in layoutTail()
237 Offset = std::max(Offset, HeaderSize + O.Header.SizeOfCmds); in layoutTail()
DObject.cpp114 uint64_t HeaderSize = in nextAvailableSegmentAddress() local
116 uint64_t Addr = HeaderSize + Header.SizeOfCmds; in nextAvailableSegmentAddress()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_parse.c39 if (ctx->FullHeader.Header.HeaderSize >= 2) { in tgsi_parse_init()
47 ctx->Position = ctx->FullHeader.Header.HeaderSize; in tgsi_parse_init()
67 ctx->FullHeader.Header.HeaderSize + ctx->FullHeader.Header.BodySize; in tgsi_parse_end_of_tokens()
Dtgsi_parse.h141 return header.HeaderSize + header.BodySize; in tgsi_num_tokens()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitcodeHeader.h158 size_t HeaderSize; variable
203 size_t getHeaderSize() { return HeaderSize; } in getHeaderSize()
/external/mesa3d/src/gallium/tests/graw/
Dtgsi_dump.gdb3 set $nr_tokens = $tokens->HeaderSize + $tokens->BodySize
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dfile-headers.test29 # I386-NEXT: HeaderSize: 52
77 # X86-64-NEXT: HeaderSize: 64
132 # LANAI-NEXT: HeaderSize: 52
174 # INVALID-LLVM-NEXT: HeaderSize: 64
/external/vboot_reference/utility/
Dimage_types.c21 uint32_t HeaderSize; member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp343 uint64_t HeaderSize = DWARFListTableHeader::getHeaderSize(Format); in parseListTableHeader() local
344 if (Offset < HeaderSize) in parseListTableHeader()
348 Offset -= HeaderSize; in parseListTableHeader()
535 uint64_t HeaderSize = DWARFListTableHeader::getHeaderSize(Header.getFormat()); in tryExtractDIEsIfNeeded() local
539 if (Offset < HeaderSize) in tryExtractDIEsIfNeeded()
544 Offset -= HeaderSize; in tryExtractDIEsIfNeeded()
/external/llvm/lib/DebugInfo/PDB/Raw/
DTpiStream.cpp45 ulittle32_t HeaderSize; member
170 if (Header->HeaderSize != sizeof(HeaderInfo)) in reload()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DDWARFEmitter.cpp103 auto HeaderSize = OS.tell() - HeaderStart; in EmitDebugAranges() local
104 auto FirstDescriptor = alignTo(HeaderSize, Range.AddrSize * 2); in EmitDebugAranges()
105 ZeroFillBytes(OS, FirstDescriptor - HeaderSize); in EmitDebugAranges()

1234