/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | PathCache.h | 23 hash::StringCompare<llvm::StringRef> > HashEntryType; 26 hash::StringHash<hash::DJB>,
|
/frameworks/base/sax/java/android/sax/ |
H A D | Children.java | 31 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 D | ResourcesKey.java | 65 int hash = 17; 66 hash = 31 * hash + Objects.hashCode(mResDir); 67 hash = 31 * hash + Arrays.hashCode(mSplitResDirs); 68 hash = 31 * hash + Arrays.hashCode(mOverlayDirs); 69 hash = 31 * hash + Arrays.hashCode(mLibDirs); 70 hash [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayAdjustments.java | 74 int hash = 17; 75 hash = hash * 31 + Objects.hashCode(mCompatInfo); 76 hash = hash * 31 + Objects.hashCode(mConfiguration); 77 return hash;
|
H A D | Display.java | 1076 int hash = 1; 1077 hash = hash * 17 + mModeId; 1078 hash = hash * 17 + mWidth; 1079 hash = hash * 17 + mHeight; 1080 hash = hash * 17 + Float.floatToIntBits(mRefreshRate); 1081 return hash; [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceIdCache.cpp | 34 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/base/libs/hwui/ |
H A D | TextDropShadowCache.cpp | 32 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 D | PatchCache.cpp | 65 hash_t PatchCache::PatchDescription::hash() const { function in class:android::uirenderer::PatchCache::PatchDescription 66 uint32_t hash = JenkinsHashMix(0, android::hash_type(mPatch)); local 67 hash = JenkinsHashMix(hash, mBitmapWidth); 68 hash = JenkinsHashMix(hash, mBitmapHeight); 69 hash = JenkinsHashMix(hash, mPixelWidth); 70 hash = JenkinsHashMix(hash, mPixelHeigh [all...] |
H A D | TessellationCache.cpp | 45 // Shape bits should be set to zeroes, because they are used for hash calculation. 56 // Shape bits should be set to zeroes, because they are used for hash calculation. 78 hash_t TessellationCache::Description::hash() const { function in class:android::uirenderer::TessellationCache::Description 79 uint32_t hash = JenkinsHashMix(0, static_cast<int>(type)); local 80 hash = JenkinsHashMix(hash, aa); 81 hash = JenkinsHashMix(hash, cap); 82 hash = JenkinsHashMix(hash, styl 114 hash_t TessellationCache::ShadowDescription::hash() const { function in class:android::uirenderer::TessellationCache::ShadowDescription 115 uint32_t hash = JenkinsHashMixBytes(0, (uint8_t*) &nodeKey, sizeof(const void*)); local [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsCbLocation.java | 103 int hash = mPlmn.hashCode(); 104 hash = hash * 31 + mLac; 105 hash = hash * 31 + mCid; 106 return hash;
|
/frameworks/base/libs/hwui/utils/ |
H A D | Macros.h | 28 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 D | Country.java | 176 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 D | ObjectReader.h | 27 typedef HashTable<ResolveInfo, hash::StringHash<hash::DJB> >
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | LockSettingsStorageTests.java | 228 assertArrayEquals("thepassword".getBytes(), mStorage.readPasswordHash(0).hash); 230 assertArrayEquals("thepassword".getBytes(), mStorage.readPasswordHash(0).hash); 237 assertArrayEquals("profilepassword".getBytes(), mStorage.readPasswordHash(1).hash); 238 assertArrayEquals("profilepassword".getBytes(), mStorage.readPasswordHash(2).hash); 240 assertArrayEquals("profilepassword".getBytes(), mStorage.readPasswordHash(1).hash); 241 assertArrayEquals("profilepassword".getBytes(), mStorage.readPasswordHash(2).hash); 269 assertArrayEquals("parentpasswordd".getBytes(), mStorage.readPasswordHash(1).hash); 270 assertArrayEquals("parentpasswordd".getBytes(), mStorage.readPasswordHash(2).hash); 272 assertArrayEquals("parentpasswordd".getBytes(), mStorage.readPasswordHash(1).hash); 273 assertArrayEquals("parentpasswordd".getBytes(), mStorage.readPasswordHash(2).hash); [all...] |
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | BitmapRequestKeyImpl.java | 55 int hash = 17; 56 hash += 31 * hash + mUriString.hashCode(); 57 return hash;
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.h | 37 std::hash<std::u16string> strHash; 38 android::hash_t hash = 0; local 39 hash = android::JenkinsHashMix(hash, (uint32_t) strHash(name.package)); 40 hash = android::JenkinsHashMix(hash, (uint32_t) name.type); 41 hash = android::JenkinsHashMix(hash, (uint32_t) strHash(name.entry)); 42 return hash;
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ContiguousFIFOAggregator.java | 100 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/compile/mclinker/include/mcld/ |
H A D | LinkerScript.h | 36 hash::StringHash<hash::DJB>, 40 hash::StringHash<hash::DJB>,
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 89 int hash = 23; 90 hash = (ODD_PRIME_NUMBER*hash) + _f; 91 hash = (ODD_PRIME_NUMBER*hash) + _r; 92 hash = (ODD_PRIME_NUMBER*hash) + _userId; 94 hash = (ODD_PRIME_NUMBER*hash) + _w.hashCode(); 97 hash [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | VerificationParams.java | 153 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/base/core/java/android/security/net/config/ |
H A D | DirectoryCertificateSource.java | 43 * named after a hash of their SubjectName for more efficient lookups. 141 String hash = getHash(subj); 144 String fileName = hash + "." + index; 166 String hash = getHash(subj); 168 String fileName = hash + "." + index; 187 int hash = NativeCrypto.X509_NAME_hash_old(name); 188 return Hex.intToHexString(hash, 8);
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
H A D | FlagSet.java | 144 int hash = 1; 146 hash = (hash * 7) ^ (int)(bucket >>> 32); 147 hash = (hash * 13) ^ (int)(bucket & 0xFFFF); 149 return hash;
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
H A D | MarshalRegistry.java | 109 this.hash = typeReference.hashCode() ^ nativeType; 114 private final int hash; field in class:MarshalRegistry.MarshalToken 129 return hash;
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | ViewDumpParser.java | 42 Object hash = getProperty(props, "__hash__"); 44 if (name instanceof String && hash instanceof Integer) { 45 return String.format(Locale.US, "%s@%x", name, hash);
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 69 hash_t Font::FontDescription::hash() const { function in class:android::uirenderer::Font::FontDescription 70 uint32_t hash = JenkinsHashMix(0, mFontId); local 71 hash = JenkinsHashMix(hash, android::hash_type(mFontSize)); 72 hash = JenkinsHashMix(hash, android::hash_type(mFlags)); 73 hash = JenkinsHashMix(hash, android::hash_type(mItalicStyle)); 74 hash = JenkinsHashMix(hash, androi [all...] |