Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 24 of 24) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/
DCachedFileContents.java20 import com.google.common.hash.HashCode;
21 import com.google.common.hash.Hashing;
74 private HashCode hash; field in CachedFileContents
104 hash = hashFile(); in closed()
129 if (valid && !Objects.equal(hash, hashFile())) { in isValid()
160 return Files.hash(file, Hashing.crc32()); in hashFile()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFat.java410 int hash = 7; in hashCode() local
411 hash = 23 * hash + Arrays.hashCode(this.entries); in hashCode()
412 hash = 23 * hash + this.fatType.hashCode(); in hashCode()
413 hash = 23 * hash + this.sectorCount; in hashCode()
414 hash = 23 * hash + this.sectorSize; in hashCode()
415 hash = 23 * hash + this.lastClusterIndex; in hashCode()
416 return hash; in hashCode()
DClusterChain.java304 int hash = 3; in hashCode() local
305 hash = 79 * hash + in hashCode()
307 hash = 79 * hash + in hashCode()
309 return hash; in hashCode()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DDataSlice.kt71 var hash = 1 in hashCode() variable
73 hash = 31 * hash + buffer[i].toInt() in hashCode()
75 _cachedHashCode = hash in hashCode()
77 return hash in hashCode()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DCloseableDelegateByteSource.java19 import com.google.common.hash.HashCode;
20 import com.google.common.hash.HashFunction;
144 public HashCode hash(HashFunction hashFunction) throws IOException { in hash() method in CloseableDelegateByteSource
145 return get().hash(hashFunction); in hash()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DLazyDelegateByteSource.java20 import com.google.common.hash.HashCode;
21 import com.google.common.hash.HashFunction;
138 public HashCode hash(HashFunction hashFunction) throws IOException { in hash() method in LazyDelegateByteSource
139 return get().hash(hashFunction); in hash()
DZFile.java34 import com.google.common.hash.Hashing;
1656 long crc32 = source.hash(Hashing.crc32()).padToLong(); in makeStoredEntry()
/tools/dexter/slicer/
Ddex_ir.cc34 uint32_t hash = 5381; // DBJ2 magic prime value in HashString() local
36 hash = ((hash << 5) + hash) ^ *cstr++; in HashString()
38 return hash; in HashString()
66 return static_cast<uint32_t>(std::hash<void*>{}(method_key.class_descriptor) ^ in Hash()
67 std::hash<void*>{}(method_key.method_name) ^ in Hash()
68 std::hash<void*>{}(method_key.prototype)); in Hash()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
Dbt_contacts_utils.py148 return hash(self.phone_type) ^ hash(self.phone_number)
167 result = hash(self.name) ^ hash(self.email) ^ hash(self.photo == None)
169 result ^= hash(number)
173 return hash(self) == hash(other)
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java270 for (byte[] hash : hashes) { in digestDataByChunks()
271 dataSink.consume(hash, 0, hash.length); in digestDataByChunks()
/tools/platform-compat/java/android/processor/compat/
DSourcePosition.java73 return Objects.hash( in hashCode()
/tools/tradefederation/core/src/com/android/tradefed/util/
DListInstrumentationParser.java86 return Objects.hash(packageName, runnerName, targetName); in hashCode()
/tools/tradefederation/core/atest/
Dtest_mapping.py79 return hash(str(self))
/tools/asuite/atest/
Dtest_mapping.py77 return hash(str(self))
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DMetricSummary.java124 return Objects.hash(loopCount, loadTimeMs, summaries); in hashCode()
DLoopSummary.java190 return Objects.hash( in hashCode()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZipMergeTest.java28 import com.google.common.hash.Hashing;
DZFileTest.java37 import com.google.common.hash.Hashing;
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java113 return Objects.hash(listHash, mFile, mLineNumber); in hashCode()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java28 import com.google.common.hash.Hashing;
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
/tools/repohooks/
DREADME.md110 * `${PREUPLOAD_COMMIT}`: Commit hash.