/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/ |
CachedFileContents.java | 20 import com.google.common.hash.HashCode; 21 import com.google.common.hash.Hashing; 71 * Hash of the file when closed. {@code null} if hashing failed for some reason. 74 private HashCode hash; field in class:CachedFileContents 104 hash = hashFile(); 129 if (valid && !Objects.equal(hash, hashFile())) { 155 * @return the hash code 160 return Files.hash(file, Hashing.crc32());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
OAEPEncoding.java | 39 Digest hash) 41 this(cipher, hash, null); 46 Digest hash, 49 this(cipher, hash, hash, encodingParams); 54 Digest hash, 60 this.defHash = new byte[hash.getDigestSize()]; 62 hash.reset(); 66 hash.update(encodingParams, 0, encodingParams.length); 69 hash.doFinal(defHash, 0) [all...] |
/art/runtime/ |
debug_print.cc | 65 uint32_t hash = ComputeModifiedUtf8Hash(class_descriptor); local 87 (table != nullptr) ? table->Lookup(class_descriptor, hash) : nullptr;
|
type_lookup_table.cc | 29 static uint16_t MakeData(uint16_t class_def_idx, uint32_t hash, uint32_t mask) { 31 return (static_cast<uint16_t>(hash) & hash_mask) | class_def_idx; 84 const uint32_t hash = ComputeModifiedUtf8Hash(dex_file.GetStringData(str_id)); local 87 entry.data = MakeData(i, hash, GetSizeMask()); 88 if (!SetOnInitialPos(entry, hash)) { 98 const uint32_t hash = ComputeModifiedUtf8Hash(dex_file.GetStringData(str_id)); local 101 entry.data = MakeData(class_def_idx, hash, GetSizeMask()); 102 Insert(entry, hash); 115 bool TypeLookupTable::SetOnInitialPos(const Entry& entry, uint32_t hash) { 116 const uint32_t pos = hash & GetSizeMask() [all...] |
/art/test/522-checker-regression-monitor-exit/src/ |
Main.java | 46 System.out.println("Hash code query exception"); 71 int hash = obj.hashCode(); local 74 if (hash != result) { 75 throw new Error("Query #" + i + " wrong. Expected " + hash + ", got " + result);
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
CatchTable.java | 133 int hash = (start * 31) + end; local 134 hash = (hash * 31) + handlers.hashCode(); 135 return hash;
|
/dalvik/dx/src/com/android/dx/dex/code/ |
CatchTable.java | 133 int hash = (start * 31) + end; local 134 hash = (hash * 31) + handlers.hashCode(); 135 return hash;
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/datasource/ |
SharedPrefsPackageVerificationRepository.java | 52 String hash; local 54 hash = SecurityHelper.getFingerprint(context, packageName); 55 Log.d(TAG, "Hash for " + packageName + ": " + hash); 57 Log.w(TAG, "Error getting hash for " + packageName + ": " + e); 66 .putString(packageName, hash) 70 return containsMatchingSignatureForPackage(context, packageName, hash); 80 String hash) { 83 return hash.equals(prefs.getString(packageName, null));
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/ |
SharedPrefsPackageVerificationRepository.java | 59 String hash; local 63 hash = SecurityHelper.getFingerprint(packageInfo, packageName); 64 logd("Hash for %s: %s", packageName, hash); 66 logw(e, "Error getting hash for %s.", packageName); 72 mSharedPrefs.edit().putString(packageName, hash).apply(); 75 return containsMatchingSignatureForPackage(packageName, hash); 83 String hash) { 84 return hash.equals(mSharedPrefs.getString(packageName, null));
|
/device/generic/car/emulator/audio/driver/ |
ext_pcm.c | 43 * use djb hash unless we find it inadequate. 50 uint32_t hash = 5381; local 53 hash = ((hash << 5) + hash) + *p; 55 return (int)hash;
|
/device/google/cuttlefish_common/common/vsoc/lib/ |
region_view.cpp | 145 size_t hash = (offset >> 2) & max_index; local 151 if (offsets[hash].compare_exchange_strong(expected, offset)) { 161 // Hash collision. Try again in a different node 163 hash = (hash + 1) & max_index; 173 if (offsets[hash].compare_exchange_strong(expected, offset)) {
|
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/ |
region_registry.cpp | 97 Hashmap* hash = get_regions(); local 98 hashmapLock(hash); 100 hashmapGet(hash, region_name)); 103 hashmapPut(hash, strdup(region_name), region);
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/auth/cryptocell/ |
cryptocell_crypto.c | 130 /* The CryptoCell only supports SHA256 as hash algorithm */ 235 * Match a hash 245 uint8_t *p, *end, *hash; local 259 /* Get the hash algorithm */ 267 /* Verify that hash algorithm is SHA256 */ 271 /* Hash should be octet string type */ 276 /* Length of hash must match the algorithm's size */ 286 hash = p; 292 rc = memcmp(pubKeyHash, hash, HASH_RESULT_SIZE_IN_BYTES);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
setobject.h | 17 Note: .pop() abuses the hash field of an Unused or Dummy slot to
18 hold a search finger. The hash field of Unused or Dummy slots has
25 long hash; /* cached hash code for the entry key */
member in struct:__anon4361 52 setentry *(*lookup)(PySetObject *so, PyObject *key, long hash);
55 long hash; /* only used by frozenset objects */
member in struct:_setobject 64 * hash is the hash of the frozenset or -1 if not computed yet.
66 * hash is -1
92 PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, long *hash);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
setobject.h | 17 Note: .pop() abuses the hash field of an Unused or Dummy slot to
18 hold a search finger. The hash field of Unused or Dummy slots has
25 long hash; /* cached hash code for the entry key */
member in struct:__anon4667 52 setentry *(*lookup)(PySetObject *so, PyObject *key, long hash);
55 long hash; /* only used by frozenset objects */
member in struct:_setobject 64 * hash is the hash of the frozenset or -1 if not computed yet.
66 * hash is -1
92 PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, long *hash);
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
st.h | 1 /* This is a public domain general purpose hash table package written by Peter Moore @ UCB. */
21 int (*hash)();
member in struct:st_hash_type
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
TransformerMap.java | 182 int hash = defaultTransformer.hashCode(); local 184 hash = hash * 31 + t.hashCode(); 186 return hash;
|
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 212 int hash = LangUtils.HASH_SEED; local 213 hash = LangUtils.hashCode(hash, this.lcHostname); 214 hash = LangUtils.hashCode(hash, this.port); 215 hash = LangUtils.hashCode(hash, this.schemeName); 216 return hash;
|
/external/apache-http/src/org/apache/http/auth/ |
NTCredentials.java | 154 int hash = LangUtils.HASH_SEED; local 155 hash = LangUtils.hashCode(hash, this.principal); 156 hash = LangUtils.hashCode(hash, this.workstation); 157 return hash;
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
Scheme.java | 214 * Obtains a hash code for this scheme. 216 * @return the hash code 220 int hash = LangUtils.HASH_SEED; local 221 hash = LangUtils.hashCode(hash, this.defaultPort); 222 hash = LangUtils.hashCode(hash, this.name); 223 hash = LangUtils.hashCode(hash, this.layered); 224 hash = LangUtils.hashCode(hash, this.socketFactory) [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderElement.java | 218 int hash = LangUtils.HASH_SEED; local 219 hash = LangUtils.hashCode(hash, this.name); 220 hash = LangUtils.hashCode(hash, this.value); 222 hash = LangUtils.hashCode(hash, this.parameters[i]); 224 return hash;
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
BenchmarkSpec.java | 26 import com.google.common.hash.Funnel; 27 import com.google.common.hash.PrimitiveSink; 47 @ExcludeFromJson private int hash; field in class:BenchmarkSpec 87 if (hash == 0) { 88 this.hash = getPersistentHashFunction() 95 return hash;
|
InstrumentSpec.java | 43 private int hash; field in class:InstrumentSpec 76 if (hash == 0) { 77 this.hash = getPersistentHashFunction() 81 .hash().asInt(); 87 return hash;
|
/external/clang/test/PCH/ |
cxx-templates.cpp | 70 static unsigned hash(const char* data, unsigned length) { function in struct:Test1::CaseFoldingHash
|
/external/compiler-rt/lib/builtins/ |
atomic.c | 110 intptr_t hash = (intptr_t)ptr; local 112 // same memory operation to hash to the same value and therefore use the same 114 hash >>= 4; 115 // Use the next bits as the basis for the hash 116 intptr_t low = hash & SPINLOCK_MASK; 117 // Now use the high(er) set of bits to perturb the hash, so that we don't 119 hash >>= 16; 120 hash ^= low; 122 return locks + (hash & SPINLOCK_MASK);
|