Home
last modified time | relevance | path

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

12

/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/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/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/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java176 byte[] hash = saltedDigest(buffer); in digestDataByChunks()
177 dataSink.consume(hash, 0, hash.length); in digestDataByChunks()
188 byte[] hash = saltedDigest(buffer); in digestDataByChunks()
189 dataSink.consume(hash, 0, hash.length); in digestDataByChunks()
/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/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/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.java33 import com.google.common.hash.Hashing;
1655 long crc32 = source.hash(Hashing.crc32()).padToLong(); in makeStoredEntry()
/tools/test/connectivity/tools/lab/
DREADME.md17 hash: hash of keys in $ADB_VENDOR_KEYS (string)
/tools/tradefederation/core/atest/
Dtest_mapping.py72 return hash(str(self))
/tools/tradefederation/core/src/com/android/tradefed/util/
DListInstrumentationParser.java86 return Objects.hash(packageName, runnerName, targetName); in hashCode()
/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/repohooks/
DREADME.md103 * `${PREUPLOAD_COMMIT}`: Commit hash.
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt1652 a hash key by routers, for looking up the state associated with the
/tools/dexter/testdata/expected/
Dmedium.rewrite6075 .params "key", "hash"
6348 .local v0, "hash", int
Dmedium.wrap_invoke6075 .params "key", "hash"
6348 .local v0, "hash", int
Dmedium.scratch_regs7651 .params "key", "hash"
7969 .local v0, "hash", int
Dmedium.exit_hook6600 .params "key", "hash"
6909 .local v0, "hash", int

12