Searched defs:hash (Results 1 - 7 of 7) sorted by relevance
/art/compiler/utils/ |
H A D | dedupe_set_test.cc | 26 size_t hash = 0; local 28 hash += c; 29 hash += hash << 10; 30 hash += hash >> 6; 32 return hash;
|
/art/runtime/ |
H A D | gc_map.h | 79 uint32_t hash = native_offset; local 80 hash ^= (hash >> 20) ^ (hash >> 12); 81 hash ^= (hash >> 7) ^ (hash >> 4); 82 return hash;
|
H A D | utf.cc | 73 int32_t hash = 0; local 75 hash = hash * 31 + chars->Get(offset + i); 77 return hash; 81 int32_t hash = 0; local 83 hash = hash * 31 + *chars++; 85 return hash; 89 int32_t hash = 0; local 91 hash [all...] |
H A D | elf_file.cc | 296 if (!CheckAndSet(section_header->sh_offset, "hash section", 417 // Need a hash section for dynamic symbol lookup. 419 *error_msg = StringPrintf("Failed to find hash section in ELF file: '%s'", 424 // And the hash section should be linking to the dynsym. 646 // WARNING: The following methods do not check for an error condition (non-existent hash section). 754 // Check that we have a hash section. 766 // WARNING: Only called from FindDynamicSymbolAddress. Elides check for hash section. 772 Elf32_Word hash = elfhash(symbol_name.c_str()); local 773 Elf32_Word bucket_index = hash % GetHashBucketNum(); 1166 // Now that we are done loading, .dynamic should be in memory to find .dynstr, .dynsym, .hash [all...] |
H A D | class_linker.cc | 133 size_t hash = 0; local 135 hash = hash * 31 + *s; 137 return hash; 3092 // class to the hash table --- necessary because of possible races with 3222 size_t hash) { 3234 LookupClassFromTableLocked(descriptor, klass->GetClassLoader(), hash); 3248 class_table_.insert(std::make_pair(hash, GcRoot<mirror::Class>(klass))); 3250 new_class_roots_.push_back(std::make_pair(hash, GcRoot<mirror::Class>(klass))); 3256 size_t hash) { 3221 InsertClass(const char* descriptor, mirror::Class* klass, size_t hash) argument 3255 UpdateClass(const char* descriptor, mirror::Class* klass, size_t hash) argument 3300 size_t hash = Hash(descriptor); local 3316 size_t hash = Hash(descriptor); local 3344 LookupClassFromTableLocked(const char* descriptor, const mirror::ClassLoader* class_loader, size_t hash) argument 3393 size_t hash = Hash(descriptor); local 3443 size_t hash = Hash(descriptor); local [all...] |
/art/compiler/driver/ |
H A D | compiler_driver.h | 785 // For small arrays compute a hash using every byte. 787 size_t hash = 0x811c9dc5; local 790 hash = (hash * 16777619) ^ b; 799 hash = (hash * 16777619) ^ b; 804 hash = (hash * 16777619) ^ b; 807 hash += hash << 1 [all...] |
/art/compiler/ |
H A D | elf_writer_quick.cc | 155 // | Elf32_Phdr LOAD R | .dynsym .dynstr .hash .rodata 173 // | .hash | 209 // | .hash\0 | 231 // | Elf32_Shdr .hash | 342 // Setup .hash 393 // Fill in the hash section. 394 std::vector<Elf32_Word> hash = dynsym_builder_.GenerateHashContents(); local 397 LOG(INFO) << ".hash size (bytes)=" << hash.size() * sizeof(Elf32_Word) 398 << std::hex << " " << hash 775 std::vector<Elf32_Word> hash; local [all...] |
Completed in 273 milliseconds