Searched defs:hash (Results 26 - 50 of 61) sorted by relevance

123

/frameworks/av/media/libnblog/
H A DPerformanceAnalysis.cpp255 void PerformanceAnalysis::reportPerformance(String8 *body, int author, log_hash_t hash, argument
305 "Thread, hash, starting timestamp: ", author,
306 static_cast<long long int>(hash), static_cast<long long int>(startingTs));
355 for (auto & hash: thread.second) {
356 PerformanceAnalysis& curr = hash.second;
358 curr.reportPerformance(&body, thread.first, hash.first);
365 kDirectory, false, thread.first, hash.first);
H A DNBLog.cpp104 // skip hash
120 NBLog::log_hash_t NBLog::FormatEntry::hash() const { function in class:android::NBLog::FormatEntry
127 log_hash_t hash; local
128 memcpy(&hash, it->data, sizeof(hash));
129 return hash;
138 // skip hash
153 (++it).copyTo(dst); // copy hash
238 NBLog::log_hash_t NBLog::HistogramEntry::hash() const { function in class:android::NBLog::HistogramEntry
239 return EntryIterator(mEntry).payload<HistTsEntry>().hash;
444 logHash(log_hash_t hash) argument
452 logEventHistTs(Event event, log_hash_t hash) argument
467 logFormat(const char *fmt, log_hash_t hash, ...) argument
479 logVFormat(const char *fmt, log_hash_t hash, va_list argp) argument
671 logHash(log_hash_t hash) argument
821 log_hash_t hash; local
835 log_hash_t hash; local
942 log_hash_t hash = fmtEntry.hash(); local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp138 size_t AString::hash() const { function in class:android::AString
/frameworks/base/core/java/android/util/
H A DArraySet.java65 * list; the second entry is a pointer to the int[] hash code array for it.
78 private int indexOf(Object key, int hash) { argument
86 int index = ContainerHelpers.binarySearch(mHashes, N, hash);
88 // If the hash code wasn't found, then we have no entry for this key.
100 for (end = index + 1; end < N && mHashes[end] == hash; end++) {
105 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) {
111 // hash chain to reduce the number of array entries that will
126 // If the hash code wasn't found, then we have no entry for this key.
149 // hash chain to reduce the number of array entries that will
372 final int hash;
[all...]
H A DArrayMap.java29 * It keeps its mappings in an array data structure -- an integer array of hash
34 * a hash map).
76 * Special hash array value that indicates the container is immutable.
89 * list; the second entry is a pointer to the int[] hash code array for it.
102 private static int binarySearchHashes(int[] hashes, int N, int hash) { argument
104 return ContainerHelpers.binarySearch(hashes, N, hash);
114 int indexOf(Object key, int hash) { argument
122 int index = binarySearchHashes(mHashes, N, hash);
124 // If the hash code wasn't found, then we have no entry for this key.
136 for (end = index + 1; end < N && mHashes[end] == hash; en
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarVerifier.java97 * Stores and a hash and a message digest and verifies that massage digest
98 * matches the hash.
106 private final byte[] hash; field in class:StrictJarVerifier.VerifierEntry
112 VerifierEntry(String name, MessageDigest digest, byte[] hash, argument
116 this.hash = hash;
150 if (!verifyMessageDigest(d, hash)) {
196 * which contains the certificates used to sign the entry and its hash value
242 final String hash = attributes.getValue(algorithm + "-Digest");
243 if (hash
[all...]
/frameworks/base/core/java/android/view/textclassifier/
H A DSelectionSessionLogger.java252 final int hash = Objects.hash(text, start, end, context.getPackageName());
253 return SignatureParser.createSignature(CLASSIFIER_ID, modelName, hash);
263 static String createSignature(String classifierId, String modelName, int hash) { argument
264 return String.format(Locale.US, "%s|%s|%d", classifierId, modelName, hash);
/frameworks/base/libs/androidfw/include/androidfw/
H A DStringPiece.h308 struct hash<android::BasicStringPiece<TChar>> { struct in namespace:std
/frameworks/base/libs/hwui/
H A DGradientCache.cpp43 hash_t GradientCacheEntry::hash() const { function in class:android::uirenderer::GradientCacheEntry
44 uint32_t hash = JenkinsHashMix(0, count); local
46 hash = JenkinsHashMix(hash, android::hash_type(colors[i]));
47 hash = JenkinsHashMix(hash, android::hash_type(positions[i]));
49 return JenkinsHashWhiten(hash);
H A DPathCache.cpp71 // Shape bits should be set to zeroes, because they are used for hash calculation.
83 // Shape bits should be set to zeroes, because they are used for hash calculation.
87 hash_t PathDescription::hash() const { function in class:android::uirenderer::PathDescription
88 uint32_t hash = JenkinsHashMix(0, static_cast<int>(type)); local
89 hash = JenkinsHashMix(hash, join);
90 hash = JenkinsHashMix(hash, cap);
91 hash = JenkinsHashMix(hash, styl
[all...]
H A DTessellationCache.cpp44 // 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
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/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/compile/mclinker/include/mcld/ADT/
H A DStringHash.h20 namespace hash { namespace in namespace:mcld
56 * \brief JS hash funciton
72 * \brief P.J. Weinberger hash function
100 * \brief ELF hash function.
120 * \brief BKDR hash function
136 * \brief SDBM hash function
152 * \brief DJB hash function
169 * \brief DEK hash function
186 * \brief BP hash function
202 * \brief FNV hash functio
[all...]
/frameworks/minikin/include/minikin/
H A DLayoutCache.h63 android::hash_t hash() const { return mHash; } function in class:minikin::LayoutCacheKey
107 uint32_t hash = android::JenkinsHashMix(0, mId); local
108 hash = android::JenkinsHashMix(hash, mStart);
109 hash = android::JenkinsHashMix(hash, mCount);
110 hash = android::JenkinsHashMix(hash, android::hash_type(mStyle.identifier()));
111 hash = android::JenkinsHashMix(hash, androi
[all...]
/frameworks/rs/
H A DrsMap.h56 const size_t index = hash(key) & MAP_NUM_BUCKET_MASK;
144 const size_t index = hash(key) & MAP_NUM_BUCKET_MASK;
158 size_t hash(const KeyType& key) const { return ((size_t)key) >> 4; } function in class:android::renderscript::Map
/frameworks/rs/script_api/
H A DUtilities.cpp126 long hash = 0; local
128 hash = hash * 43 + s[i];
131 stream << "0x" << std::hex << hash << "l"; local
/frameworks/support/collection/src/main/java/androidx/collection/
H A DArraySet.java71 * list; the second entry is a pointer to the int[] hash code array for it.
83 private int indexOf(Object key, int hash) { argument
91 int index = ContainerHelpers.binarySearch(mHashes, N, hash);
93 // If the hash code wasn't found, then we have no entry for this key.
105 for (end = index + 1; end < N && mHashes[end] == hash; end++) {
110 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) {
116 // hash chain to reduce the number of array entries that will
131 // If the hash code wasn't found, then we have no entry for this key.
154 // hash chain to reduce the number of array entries that will
357 final int hash;
[all...]
H A DSimpleArrayMap.java61 * list; the second entry is a pointer to the int[] hash code array for it.
72 private static int binarySearchHashes(int[] hashes, int N, int hash) { argument
74 return ContainerHelpers.binarySearch(hashes, N, hash);
84 int indexOf(Object key, int hash) { argument
92 int index = binarySearchHashes(mHashes, N, hash);
94 // If the hash code wasn't found, then we have no entry for this key.
106 for (end = index + 1; end < N && mHashes[end] == hash; end++) {
111 for (int i = index - 1; i >= 0 && mHashes[i] == hash; i--) {
117 // hash chain to reduce the number of array entries that will
132 // If the hash cod
[all...]
/frameworks/base/tools/aapt2/
H A DResource.h386 struct hash<aapt::ResourceName> { struct in namespace:std
389 h = android::JenkinsHashMix(h, static_cast<uint32_t>(hash<string>()(name.package)));
391 h = android::JenkinsHashMix(h, static_cast<uint32_t>(hash<string>()(name.entry)));
397 struct hash<aapt::ResourceId> { struct in namespace:std
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMELFAttributeData.cpp650 int hash = calculate_fp_config_hash(pConfig); local
651 assert(static_cast<size_t>(hash) <
653 return fp_config_hash_table[hash];
/frameworks/native/cmds/lshal/
H A Dtest.cpp286 hidl_hash hash; local
288 for (size_t i = 0; i < hash.size(); ++i) {
289 hash[i] = isReleased ? static_cast<uint8_t>(serverId) : 0u;
291 return hash;
/frameworks/av/include/media/nblog/
H A DNBLog.h61 EVENT_HASH, // unique HASH of log origin, originates from hash of file name
148 virtual log_hash_t hash() const = 0;
187 virtual log_hash_t hash() const override;
208 virtual log_hash_t hash() const override;
244 log_hash_t hash; member in struct:android::NBLog::HistTsEntry
249 log_hash_t hash; member in struct:android::NBLog::HistTsEntryWithAuthor
255 log_hash_t hash; member in struct:android::NBLog::HistIntEntry
342 virtual void logFormat(const char *fmt, log_hash_t hash, ...);
343 virtual void logVFormat(const char *fmt, log_hash_t hash, va_list ap);
346 virtual void logHash(log_hash_t hash);
[all...]
/frameworks/av/media/libnblog/include/media/nblog/
H A DNBLog.h61 EVENT_HASH, // unique HASH of log origin, originates from hash of file name
148 virtual log_hash_t hash() const = 0;
187 virtual log_hash_t hash() const override;
208 virtual log_hash_t hash() const override;
244 log_hash_t hash; member in struct:android::NBLog::HistTsEntry
249 log_hash_t hash; member in struct:android::NBLog::HistTsEntryWithAuthor
255 log_hash_t hash; member in struct:android::NBLog::HistIntEntry
342 virtual void logFormat(const char *fmt, log_hash_t hash, ...);
343 virtual void logVFormat(const char *fmt, log_hash_t hash, va_list ap);
346 virtual void logHash(log_hash_t hash);
[all...]
/frameworks/base/libs/hwui/font/
H A DFont.cpp69 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/cmds/statsd/tests/
H A Dstatsd_test_util.cpp482 return static_cast<int64_t>(std::hash<std::string>()(str));
656 ALOGE("Can not find the string hash: %llu",
670 uint64_t hash = Hash64(str); local
671 if (str_map.find(hash) != str_map.end()) {
672 ALOGE("String hash conflicts: %s %s", str.c_str(), str_map[hash].c_str());
674 str_map[hash] = str;
699 ALOGE("Can not find the string package name hash: %llu",
715 ALOGE("Can not find the string change app name hash: %llu",

Completed in 525 milliseconds

123