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

123

/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/content/res/
H A DResourcesKey.java41 int hash = 17;
42 hash = 31 * hash + (mResDir == null ? 0 : mResDir.hashCode());
43 hash = 31 * hash + mDisplayId;
44 hash = 31 * hash + (mOverrideConfiguration != null
46 hash = 31 * hash + Float.floatToIntBits(mScale);
47 mHash = hash;
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DSectionMap.cpp23 : hash(-1) {
28 hash = SectionMap::hash(pFrom);
41 unsigned int hash = SectionMap::hash(pFrom); local
42 return find(pFrom, hash);
47 unsigned int hash = SectionMap::hash(pFrom); local
48 return find(pFrom, hash);
101 if (!hash
113 unsigned int SectionMap::hash(const std::string& pString) function in class:SectionMap
[all...]
/frameworks/base/libs/hwui/utils/
H A DTinyHashMap.h26 * A very simple hash map that doesn't allow duplicate keys, overwriting the older entry.
36 * Puts an entry in the hash, removing any existing entry with the same key
39 hash_t hash = hash_t(key); local
41 ssize_t index = mTable.find(-1, hash, key);
47 mTable.add(hash, initEntry);
54 hash_t hash = hash_t(key); local
55 ssize_t index = mTable.find(-1, hash, key);
/frameworks/compile/mclinker/include/mcld/Support/
H A DPathCache.h27 hash::StringCompare<llvm::StringRef> > HashEntryType;
30 typedef HashTable<HashEntryType, hash::StringHash<hash::BKDR>, EntryFactory<HashEntryType> > PathCache;
H A DHandleToArea.h50 typedef hash::StringHash<hash::BKDR> HashFunction;
/frameworks/base/core/java/android/view/
H A DDisplayAdjustments.java80 int hash = 17;
81 hash = hash * 31 + mCompatInfo.hashCode();
83 hash = hash * 31 + (mActivityToken == null ? 0 : mActivityToken.hashCode());
85 return hash;
/frameworks/compile/mclinker/include/mcld/
H A DLinkerScript.h31 hash::StringHash<hash::ELF>,
35 hash::StringHash<hash::ELF>,
39 hash::StringHash<hash::ELF>,
/frameworks/base/tools/aapt/
H A DResourceIdCache.cpp36 static inline uint32_t hashround(uint32_t hash, int c) { argument
37 return ((hash << 5) + hash) + c; /* hash * 33 + c */
40 static uint32_t hash(const android::String16& hashableString) { function
41 uint32_t hash = 5381; local
43 while (int c = *str++) hash = hashround(hash, c);
44 return hash;
65 const uint32_t hashcode = hash(hashedNam
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp33 hash_t ShadowText::hash() const { function in class:android::uirenderer::ShadowText
35 uint32_t hash = JenkinsHashMix(0, len); local
36 hash = JenkinsHashMix(hash, android::hash_type(radius));
37 hash = JenkinsHashMix(hash, android::hash_type(textSize));
38 hash = JenkinsHashMix(hash, android::hash_type(typeface));
39 hash = JenkinsHashMix(hash, flag
[all...]
H A DPatchCache.cpp69 hash_t PatchCache::PatchDescription::hash() const { function in class:android::uirenderer::PatchCache::PatchDescription
70 uint32_t hash = JenkinsHashMix(0, android::hash_type(mPatch)); local
71 hash = JenkinsHashMix(hash, mBitmapWidth);
72 hash = JenkinsHashMix(hash, mBitmapHeight);
73 hash = JenkinsHashMix(hash, mPixelWidth);
74 hash = JenkinsHashMix(hash, mPixelHeigh
[all...]
H A DPathCache.cpp65 hash_t PathDescription::hash() const { function in class:android::uirenderer::PathDescription
66 uint32_t hash = JenkinsHashMix(0, type); local
67 hash = JenkinsHashMix(hash, join);
68 hash = JenkinsHashMix(hash, cap);
69 hash = JenkinsHashMix(hash, style);
70 hash = JenkinsHashMix(hash, androi
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbLocation.java103 int hash = mPlmn.hashCode();
104 hash = hash * 31 + mLac;
105 hash = hash * 31 + mCid;
106 return 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/base/core/java/android/content/pm/
H A DVerificationParams.java173 int hash = 3;
175 hash += 5 * (mVerificationURI == null ? 1 : mVerificationURI.hashCode());
176 hash += 7 * (mOriginatingURI == null ? 1 : mOriginatingURI.hashCode());
177 hash += 11 * (mReferrer == null ? 1 : mReferrer.hashCode());
178 hash += 13 * mOriginatingUid;
179 hash += 17 * (mManifestDigest == null ? 1 : mManifestDigest.hashCode());
180 hash += 19 * mInstallerUid;
182 return hash;
H A DContainerEncryptionParams.java260 int hash = 3;
262 hash += 5 * mEncryptionAlgorithm.hashCode();
263 hash += 7 * Arrays.hashCode(mEncryptionSpec.getIV());
264 hash += 11 * mEncryptionKey.hashCode();
265 hash += 13 * mMacAlgorithm.hashCode();
266 hash += 17 * mMacKey.hashCode();
267 hash += 19 * Arrays.hashCode(mMacTag);
268 hash += 23 * mAuthenticatedDataStart;
269 hash += 29 * mEncryptedDataStart;
270 hash
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DObjectReader.h32 typedef HashTable<ResolveInfo, hash::StringHash<hash::ELF> > GroupSignatureMap;
H A DNamePool.h41 typedef HashTable<ResolveInfo, hash::StringHash<hash::ELF> > Table;
86 /// @return the StringRef points to the hash table
/frameworks/base/services/java/com/android/server/am/
H A DPendingIntentRecord.java76 int hash = 23;
77 hash = (ODD_PRIME_NUMBER*hash) + _f;
78 hash = (ODD_PRIME_NUMBER*hash) + _r;
79 hash = (ODD_PRIME_NUMBER*hash) + _userId;
81 hash = (ODD_PRIME_NUMBER*hash) + _w.hashCode();
84 hash
[all...]
/frameworks/base/libs/hwui/font/
H A DFont.cpp76 hash_t Font::FontDescription::hash() const { function in class:android::uirenderer::Font::FontDescription
77 uint32_t hash = JenkinsHashMix(0, mFontId); local
78 hash = JenkinsHashMix(hash, android::hash_type(mFontSize));
79 hash = JenkinsHashMix(hash, android::hash_type(mFlags));
80 hash = JenkinsHashMix(hash, android::hash_type(mItalicStyle));
81 hash = JenkinsHashMix(hash, androi
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DSha1Test.java50 byte[] hash = digest.digest();
51 String encodedHash = encodeHex(hash);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DHashBase.h27 * \brief HashBucket is an entry in the hash table.
48 * HashTableImpl uses open-addressing, linear probing hash table.
49 * linear probing hash table obviously has high performance when the
52 * than the size of the hash table.
62 * example, on-device linkers needs a more light-weight hash function
64 * change the hash functions.
96 hasher& hash() function in class:mcld::HashTableImpl
99 const hasher& hash() const function in class:mcld::HashTableImpl
103 /// initialize the hash table.
119 /// doRehash - re-new the hash tabl
[all...]
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h40 unsigned int hash; member in struct:mcld::SectionMap::NamePair
77 static unsigned int hash(const std::string& pString);
/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java396 int hash = toString().hashCode();
397 hash = hash * 31 + mSpanCount;
401 hash = hash * 31 + span.hashCode();
403 hash = hash * 31 + getSpanStart(span);
404 hash = hash * 31 + getSpanEnd(span);
405 hash
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java244 int hash = 0;
246 hash = hash * 31 + (hashTarget != null ? hashTarget.hashCode() : 0);
248 return hash;
360 int hash = mType;
361 hash = hash * 31 + (mNumber != null ? mNumber.hashCode() : 0);
362 hash = hash * 31 + (mLabel != null ? mLabel.hashCode() : 0);
363 hash
[all...]

Completed in 3578 milliseconds

123