Searched refs:hash (Results 1 - 25 of 189) sorted by relevance

12345678

/frameworks/compile/mclinker/include/mcld/Support/
H A DPathCache.h23 hash::StringCompare<llvm::StringRef> > HashEntryType;
26 hash::StringHash<hash::DJB>,
/frameworks/base/sax/java/android/sax/
H A DChildren.java31 int hash = uri.hashCode() * 31 + localName.hashCode();
32 int index = hash & 15;
37 current = new Child(parent, uri, localName, parent.depth + 1, hash);
44 if (current.hash == hash
56 current = new Child(parent, uri, localName, parent.depth + 1, hash);
66 int hash = uri.hashCode() * 31 + localName.hashCode();
67 int index = hash & 15;
74 if (current.hash == hash
88 final int hash; field in class:Children.Child
91 Child(Element parent, String uri, String localName, int depth, int hash) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHidDeviceAppConfiguration.java33 BluetoothHidDeviceAppConfiguration(long hash) { argument
34 mHash = hash;
56 long hash = in.readLong();
57 return new BluetoothHidDeviceAppConfiguration(hash);
/frameworks/base/core/java/android/content/res/
H A DResourcesKey.java66 int hash = 17;
67 hash = 31 * hash + Objects.hashCode(mResDir);
68 hash = 31 * hash + Arrays.hashCode(mSplitResDirs);
69 hash = 31 * hash + Arrays.hashCode(mOverlayDirs);
70 hash = 31 * hash + Arrays.hashCode(mLibDirs);
71 hash
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayAdjustments.java76 int hash = 17;
77 hash = hash * 31 + Objects.hashCode(mCompatInfo);
78 hash = hash * 31 + Objects.hashCode(mConfiguration);
79 return hash;
H A DDisplay.java1236 int hash = 1;
1237 hash = hash * 17 + mModeId;
1238 hash = hash * 17 + mWidth;
1239 hash = hash * 17 + mHeight;
1240 hash = hash * 17 + Float.floatToIntBits(mRefreshRate);
1241 return hash;
[all...]
/frameworks/base/tools/aapt/
H A DResourceIdCache.cpp34 static inline uint32_t hashround(uint32_t hash, int c) { argument
35 return ((hash << 5) + hash) + c; /* hash * 33 + c */
38 static uint32_t hash(const android::String16& hashableString) { function
39 uint32_t hash = 5381; local
41 while (int c = *str++) hash = hashround(hash, c);
42 return hash;
63 const uint32_t hashcode = hash(hashedNam
[all...]
/frameworks/ml/nn/common/operations/
H A DLSHProjection.cpp21 #include "util/hash/farmhash.h"
45 const RunTimeOperandInfo *hash = GetInput(operation, operands, kHashTensor); local
46 NN_CHECK_EQ(NumDimensions(hash), 2);
48 NN_CHECK(SizeOfDimension(hash, 1) <= 32);
58 outputShape->dimensions = { SizeOfDimension(hash, 0) };
65 outputShape->dimensions = { SizeOfDimension(hash, 0) * SizeOfDimension(hash, 1) };
79 // Compute sign bit of dot product of hash(seed, input) and weight.
96 // Create running hash id and value for current dimension.
113 void SparseLshProjection(const RunTimeOperandInfo* hash, argument
129 DenseLshProjection(const RunTimeOperandInfo* hash, const RunTimeOperandInfo* input, const RunTimeOperandInfo* weight, int32_t* out_buf) argument
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp32 hash_t ShadowText::hash() const { function in class:android::uirenderer::ShadowText
33 uint32_t hash = JenkinsHashMix(0, glyphCount); local
34 hash = JenkinsHashMix(hash, android::hash_type(radius));
35 hash = JenkinsHashMix(hash, android::hash_type(textSize));
36 hash = JenkinsHashMix(hash, android::hash_type(typeface));
37 hash = JenkinsHashMix(hash, flag
[all...]
H A DPatchCache.cpp49 hash_t PatchCache::PatchDescription::hash() const { function in class:android::uirenderer::PatchCache::PatchDescription
50 uint32_t hash = JenkinsHashMix(0, android::hash_type(mPatch)); local
51 hash = JenkinsHashMix(hash, mBitmapWidth);
52 hash = JenkinsHashMix(hash, mBitmapHeight);
53 hash = JenkinsHashMix(hash, mPixelWidth);
54 hash = JenkinsHashMix(hash, mPixelHeigh
[all...]
/frameworks/ml/nn/runtime/test/generated/models/
H A Dlsh_projection_weights_as_inputs.model.cpp9 auto hash = model->addOperand(&type0); local
15 model->addOperation(ANEURALNETWORKS_LSH_PROJECTION, {hash, lookup, weight, type_param}, {output});
18 {hash, lookup, weight, type_param},
H A Dlsh_projection.model.cpp9 auto hash = model->addOperand(&type0); local
16 model->setOperandValue(hash, hash_init, sizeof(float) * 8);
19 model->addOperation(ANEURALNETWORKS_LSH_PROJECTION, {hash, lookup, weight, type_param}, {output});
H A Dlsh_projection_2.model.cpp9 auto hash = model->addOperand(&type0); local
16 model->setOperandValue(hash, hash_init, sizeof(float) * 8);
19 model->addOperation(ANEURALNETWORKS_LSH_PROJECTION, {hash, lookup, weight, type_param}, {output});
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsCbLocation.java103 int hash = mPlmn.hashCode();
104 hash = hash * 31 + mLac;
105 hash = hash * 31 + mCid;
106 return hash;
/frameworks/base/libs/hwui/utils/
H A DMacros.h28 hash_t hash() const; \
30 friend inline hash_t hash_type(const Type& entry) { return entry.hash(); }
/frameworks/base/location/java/android/location/
H A DCountry.java176 int hash = mHashCode;
177 if (hash == 0) {
178 hash = 17;
179 hash = hash * 13 + mCountryIso.hashCode();
180 hash = hash * 13 + mSource;
181 mHashCode = hash;
/frameworks/compile/mclinker/include/mcld/LD/
H A DObjectReader.h27 typedef HashTable<ResolveInfo, hash::StringHash<hash::DJB> >
/frameworks/support/room/common/src/main/java/android/arch/persistence/room/
H A DRoomMasterTable.java50 public static String createInsertQuery(String hash) { argument
53 + " VALUES(" + DEFAULT_ID + ", \"" + hash + "\")";
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DBitmapRequestKeyImpl.java55 int hash = 17;
56 hash += 31 * hash + mUriString.hashCode();
57 return hash;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DContiguousFIFOAggregator.java100 final int hash = key.hashCode();
103 mTasks.remove(hash);
107 mTasks.put(hash, new Value(callback, null));
167 final int hash = key.hashCode();
168 final Value value = mTasks.get(hash);
201 final int hash = first.hashCode();
202 final Value value = mTasks.get(hash);
209 mTasks.delete(hash);
224 final int hash = key.hashCode();
225 final Value value = mTasks.get(hash);
[all...]
/frameworks/av/services/audioflinger/
H A DTypedLogger.h25 Fowler-Noll-Vo (FNV-1a) hash function for the file name.
28 hash = offset_basis
30 hash = hash xor byte
31 hash = hash * FNV_prime
32 return hash
34 offset_basis and FNV_prime values depend on the size of the hash output
70 constexpr uint64_t hash(const char (&file)[n], uint32_t line) { function
86 x->logFormat((fmt), hash(__FILE_
[all...]
/frameworks/compile/mclinker/include/mcld/
H A DLinkerScript.h36 hash::StringHash<hash::DJB>,
40 hash::StringHash<hash::DJB>,
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupPasswordManager.java35 * <p>Does not persist the password itself, but persists a PBKDF2 hash with a randomly chosen (also
175 * Sets the password hash, salt, and version in the object from what has been persisted to the
187 BackupPasswordHash hash = getPasswordHashFileCodec().deserialize();
188 mPasswordHash = hash.hash;
189 mPasswordSalt = hash.salt;
191 Slog.e(TAG, "Unable to read saved backup pw hash");
210 * @param algorithm The algorithm used to hash passwords.
249 * Container class for a PBKDF hash and the salt used to create the hash
252 public String hash; field in class:BackupPasswordManager.BackupPasswordHash
255 BackupPasswordHash(String hash, byte[] salt) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DVerificationParams.java153 int hash = 3;
155 hash += 5 * (mVerificationURI == null ? 1 : mVerificationURI.hashCode());
156 hash += 7 * (mOriginatingURI == null ? 1 : mOriginatingURI.hashCode());
157 hash += 11 * (mReferrer == null ? 1 : mReferrer.hashCode());
158 hash += 13 * mOriginatingUid;
159 hash += 17 * mInstallerUid;
161 return hash;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DFlagSet.java144 int hash = 1;
146 hash = (hash * 7) ^ (int)(bucket >>> 32);
147 hash = (hash * 13) ^ (int)(bucket & 0xFFFF);
149 return hash;

Completed in 1017 milliseconds

12345678