Searched refs:hashSize (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/lld/MachO/ |
| H A D | SyntheticSections.cpp | 1172 return allHeadersSize + getBlockCount() * hashSize; in getRawSize() 1185 assert(hash.size() == hashSize); in writeHashes() 1186 memcpy(hashes, hash.data(), hashSize); in writeHashes() 1188 hashes += hashSize; in writeHashes() 1226 codeDirectory->hashSize = static_cast<uint8_t>(hashSize); in writeTo()
|
| H A D | SyntheticSections.h | 481 static constexpr size_t hashSize = 256 / 8; variable
|
| /freebsd-13.1/contrib/llvm-project/lld/ELF/ |
| H A D | Writer.cpp | 3032 size_t hashSize = mainPart->buildId->hashSize; in writeBuildId() local 3033 std::vector<uint8_t> buildId(hashSize); in writeBuildId() 3044 memcpy(dest, MD5::hash(arr).data(), hashSize); in writeBuildId() 3049 memcpy(dest, SHA1::hash(arr).data(), hashSize); in writeBuildId() 3053 if (auto ec = llvm::getRandomBytes(buildId.data(), hashSize)) in writeBuildId()
|
| H A D | SyntheticSections.h | 173 const size_t hashSize; 176 size_t getSize() const override { return headerSize + hashSize; } in getSize()
|
| H A D | SyntheticSections.cpp | 326 hashSize(getHashSize()) {} in BuildIdSection() 330 write32(buf + 4, hashSize); // Content size in writeTo() 337 assert(buf.size() == hashSize); in writeBuildId() 338 memcpy(hashBuf, buf.data(), hashSize); in writeBuildId()
|
| /freebsd-13.1/sys/contrib/zstd/lib/compress/ |
| H A D | zstdmt_compress.c | 486 size_t const hashSize = ((size_t)1 << hashLog) * sizeof(ldmEntry_t); in ZSTDMT_serialState_reset() local 500 serialState->ldmState.hashTable = (ldmEntry_t*)ZSTD_customMalloc(hashSize, cMem); in ZSTDMT_serialState_reset() 509 ZSTD_memset(serialState->ldmState.hashTable, 0, hashSize); in ZSTDMT_serialState_reset()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 2161 uint8_t hashSize; /* size of each hash in bytes */ member
|