Home
last modified time | relevance | path

Searched refs:digest (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
H A Drmd160.cpp12 uint8_t digest[RMD160_DIGEST_LENGTH]; in test1() local
16 RMD160Final(digest, &ctx); in test1()
20 printf("%02x", digest[i]); in test1()
27 char digest[RMD160_DIGEST_STRING_LENGTH]; in test2() local
31 char *p = RMD160End(&ctx, digest); in test2()
32 assert(p == digest); in test2()
34 printf("test2: '%s'\n", digest); in test2()
52 char digest[RMD160_DIGEST_STRING_LENGTH]; in test4() local
55 assert(p == digest); in test4()
73 assert(p == digest); in test6()
[all …]
H A Dsha1.cpp12 uint8_t digest[SHA1_DIGEST_LENGTH]; in test1() local
16 SHA1Final(digest, &ctx); in test1()
20 printf("%02x", digest[i]); in test1()
52 SHA1Final(digest, &ctx); in test2()
56 printf("%02x", digest[i]); in test2()
67 char *p = SHA1End(&ctx, digest); in test3()
68 assert(p == digest); in test3()
70 printf("test3: '%s'\n", digest); in test3()
91 assert(p == digest); in test5()
109 assert(p == digest); in test7()
[all …]
H A Dmd4.cpp15 uint8_t digest[MD4_DIGEST_LENGTH]; in test1() local
19 MD4Final(digest, &ctx); in test1()
23 printf("%02x", digest[i]); in test1()
30 char digest[MD4_DIGEST_STRING_LENGTH]; in test2() local
34 char *p = MD4End(&ctx, digest); in test2()
35 assert(p == digest); in test2()
37 printf("test2: '%s'\n", digest); in test2()
55 char digest[MD4_DIGEST_STRING_LENGTH]; in test4() local
58 assert(p == digest); in test4()
74 char digest[MD4_DIGEST_STRING_LENGTH]; in test6() local
[all …]
H A Dmd2.cpp15 uint8_t digest[MD2_DIGEST_LENGTH]; in test1() local
19 MD2Final(digest, &ctx); in test1()
23 printf("%02x", digest[i]); in test1()
30 char digest[MD2_DIGEST_STRING_LENGTH]; in test2() local
34 char *p = MD2End(&ctx, digest); in test2()
35 assert(p == digest); in test2()
37 printf("test2: '%s'\n", digest); in test2()
55 char digest[MD2_DIGEST_STRING_LENGTH]; in test4() local
58 assert(p == digest); in test4()
74 char digest[MD2_DIGEST_STRING_LENGTH]; in test6() local
[all …]
H A Dmd5.cpp15 uint8_t digest[MD5_DIGEST_LENGTH]; in test1() local
19 MD5Final(digest, &ctx); in test1()
23 printf("%02x", digest[i]); in test1()
30 char digest[MD5_DIGEST_STRING_LENGTH]; in test2() local
34 char *p = MD5End(&ctx, digest); in test2()
37 printf("test2: '%s'\n", digest); in test2()
55 char digest[MD5_DIGEST_STRING_LENGTH]; in test4() local
57 char *p = MD5File("/etc/fstab", digest); in test4()
58 assert(p == digest); in test4()
74 char digest[MD5_DIGEST_STRING_LENGTH]; in test6() local
[all …]
H A Dsha2.cpp52 uint8_t digest[SHA_DIGEST_LENGTH(SHASIZE)]; in test1() local
56 SHA_Final(SHASIZE)(digest, &ctx); in test1()
60 printf("%02x", digest[i]); in test1()
67 char digest[SHA_DIGEST_STRING_LENGTH(SHASIZE)]; in test2() local
71 char *p = SHA_End(SHASIZE)(&ctx, digest); in test2()
72 assert(p == digest); in test2()
74 printf("test2: '%s'\n", digest); in test2()
92 char digest[SHA_DIGEST_STRING_LENGTH(SHASIZE)]; in test4() local
95 assert(p == digest); in test4()
113 assert(p == digest); in test6()
[all …]
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/FreeBSD/
H A Dmd5.cpp14 uint8_t digest[MD5_DIGEST_LENGTH]; in test1() local
16 size_t digestsz = sizeof(digest); in test1()
20 MD5Final(digest, &ctx); in test1()
24 printf("%02x", digest[i]); in test1()
31 char digest[MD5_DIGEST_STRING_LENGTH]; in test2() local
36 char *p = MD5End(&ctx, digest); in test2()
39 printf("test2: '%s'\n", digest); in test2()
58 char digest[MD5_DIGEST_STRING_LENGTH]; in test4() local
61 assert(p == digest); in test4()
77 char digest[MD5_DIGEST_STRING_LENGTH]; in test6() local
[all …]
H A Dsha2.cpp54 uint8_t digest[SHA_DIGEST_LENGTH(SHASIZE)]; in test1() local
56 size_t digestsz = sizeof(digest); in test1()
60 SHA_Final(SHASIZE)(digest, &ctx); in test1()
64 printf("%02x", digest[i]); in test1()
71 char digest[SHA_DIGEST_STRING_LENGTH(SHASIZE)]; in test2() local
76 char *p = SHA_End(SHASIZE)(&ctx, digest); in test2()
77 assert(p == digest); in test2()
79 printf("test2: '%s'\n", digest); in test2()
101 assert(p == digest); in test4()
119 assert(p == digest); in test6()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DIndexActionTests.cpp132 hasDigest(digest(MainCode)))), in TEST_F()
135 hasDigest(digest(Level1HeaderCode)))), in TEST_F()
138 hasDigest(digest(Level2HeaderCode)))))); in TEST_F()
161 hasDigest(digest(MainCode)))), in TEST_F()
163 hasDigest(digest(HeaderCode)))))); in TEST_F()
196 hasDigest(digest(MainCode)))), in TEST_F()
199 hasDigest(digest(HeaderCode)))), in TEST_F()
202 hasDigest(digest(CommonHeaderCode)))))); in TEST_F()
229 hasDigest(digest(MainCode)))), in TEST_F()
231 hasDigest(digest(HeaderCode)))))); in TEST_F()
H A DSerializationTests.cpp245 IGN.Digest = digest(TestContent); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DImmutableSet.h221 uint32_t digest = 0; variable
285 uint32_t digest = 0; in computeDigest() local
288 digest += L->computeDigest(); in computeDigest()
293 digest += ID.ComputeHash(); in computeDigest()
296 digest += R->computeDigest(); in computeDigest()
298 return digest; in computeDigest()
305 return digest; in computeDigest()
308 digest = X; in computeDigest()
609 unsigned digest = TNew->computeDigest();
610 TreeTy *&entry = Cache[maskCacheIndex(digest)];
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Darm-lscript.test4 # This is a test case for PR33029. Making sure that linker can digest
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DMD5.h44 SmallString<32> digest() const;
/llvm-project-15.0.7/utils/bazel/examples/http_archive/
H A DWORKSPACE26 # then run a bazel build and it will report the digest necessary to cache the
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DBackgroundIndexStorage.cpp31 "." + llvm::toHex(digest(FilePath)) + in getShardPathFromFilePath()
H A DBackground.cpp86 return digest(Buf->get()->getBuffer()) != LS.Digest; in shardIsStale()
261 auto Hash = digest(Buf->get()->getBuffer()); in index()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.h42 FileDigest digest(StringRef Content);
H A DSourceCode.cpp559 FileDigest digest(llvm::StringRef Content) { in digest() function
574 return digest(Content); in digestFile()
H A DGlobalCompilationDatabase.cpp230 FileDigest NewContentHash = digest((*Buf)->getBuffer()); in load()
/llvm-project-15.0.7/lld/MachO/
H A DWriter.cpp495 void writeUuid(uint64_t digest) const { in writeUuid()
499 memcpy(uuidBuf + 8, &digest, 8); in writeUuid()
1133 uint64_t digest = xxHash64({reinterpret_cast<uint8_t *>(hashes.data()), in writeUuid() local
1135 uuidCommand->writeUuid(digest); in writeUuid()
/llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/Inputs/
H A Dcode-signature-check.py247 calculated_hash_bytes = hasher.digest()
/llvm-project-15.0.7/lld/test/MachO/Inputs/
H A Dcode-signature-check.py247 calculated_hash_bytes = hasher.digest()
/llvm-project-15.0.7/llvm/lib/Support/
H A DMD5.cpp281 SmallString<32> MD5::MD5Result::digest() const { in digest() function in MD5::MD5Result
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc8760 REAL(SHA1Final)(digest, context);
8761 if (digest)
8856 REAL(MD4Final)(digest, context);
8857 if (digest)
8930 REAL(RMD160Final)(digest, context);
8931 if (digest)
9026 REAL(MD5Final)(digest, context);
9027 if (digest)
9156 REAL(MD2Final)(digest, context);
9157 if (digest)
[all …]
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp655 CoveragePath += "##" + std::string(Result.digest()); in getCoveragePath()

12