/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/bluetooth/ |
H A D | BluetoothHidDeviceAppConfiguration.java | 33 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 D | ResourcesKey.java | 66 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 D | DisplayAdjustments.java | 76 int hash = 17; 77 hash = hash * 31 + Objects.hashCode(mCompatInfo); 78 hash = hash * 31 + Objects.hashCode(mConfiguration); 79 return hash;
|
H A D | Display.java | 1217 int hash = 1; 1218 hash = hash * 17 + mModeId; 1219 hash = hash * 17 + mWidth; 1220 hash = hash * 17 + mHeight; 1221 hash = hash * 17 + Float.floatToIntBits(mRefreshRate); 1222 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 | 49 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...] |
H A D | TessellationCache.cpp | 44 // Shape bits should be set to zeroes, because they are used for hash calculation. 55 // Shape bits should be set to zeroes, because they are used for hash calculation. 77 hash_t TessellationCache::Description::hash() const { function in class:android::uirenderer::TessellationCache::Description 78 uint32_t hash = JenkinsHashMix(0, static_cast<int>(type)); local 79 hash = JenkinsHashMix(hash, aa); 80 hash = JenkinsHashMix(hash, cap); 81 hash = JenkinsHashMix(hash, styl 113 hash_t TessellationCache::ShadowDescription::hash() const { function in class:android::uirenderer::TessellationCache::ShadowDescription 114 uint32_t hash = JenkinsHashMixBytes(0, (uint8_t*) &nodeKey, sizeof(const void*)); local [all...] |
/frameworks/base/telephony/java/com/android/internal/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/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/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/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/services/core/java/com/android/server/ |
H A D | LockSettingsStorage.java | 84 private CredentialHash(byte[] hash, int type, int version) { argument 86 if (hash == null) { 87 throw new RuntimeException("Empty hash for CredentialHash"); 90 if (hash != null) { 91 throw new RuntimeException("None type CredentialHash should not have hash"); 94 this.hash = hash; 100 private CredentialHash(byte[] hash, boolean isBaseZeroPattern) { argument 101 this.hash = hash; 107 create(byte[] hash, int type) argument 119 byte[] hash; field in class:LockSettingsStorage.CredentialHash 336 writeFile(String name, byte[] hash) argument 378 writeCredentialHash(CredentialHash hash, int userId) argument [all...] |
/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/tools/aapt2/process/ |
H A D | SymbolTable.h | 37 std::hash<std::string> str_hash; 38 android::hash_t hash = 0; local 39 hash = android::JenkinsHashMix(hash, (uint32_t)str_hash(name.package)); 40 hash = android::JenkinsHashMix(hash, (uint32_t)name.type); 41 hash = android::JenkinsHashMix(hash, (uint32_t)str_hash(name.entry)); 42 return 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...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
H A D | HTTPRequest.java | 134 byte[] a1 = hash(userName, realm, passwordString); 135 byte[] a2 = hash("POST", url.getPath()); 136 byte[] response = hash(a1, nonceText, nc, cNonceString, "auth", a2); 166 private static byte[] hash(Object... objects) throws GeneralSecurityException { method in class:HTTPRequest 167 MessageDigest hash = MessageDigest.getInstance("MD5"); 183 hash.update((byte) ':'); 185 hash.update(octets); 188 return hash.digest(); 286 byte[] a1 = hash(user, realm, password); 288 byte[] a2 = hash(metho [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | Sha1Test.java | 50 byte[] hash = digest.digest(); 51 String encodedHash = encodeHex(hash);
|