Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 25 of 27) sorted by relevance

12

/art/libdexfile/dex/
Dtype_lookup_table.cc41 Entry* entries = owned_entries.get(); in Create() local
55 if (entries[pos].IsEmpty()) { in Create()
56 entries[pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
57 DCHECK(entries[pos].IsLast(mask_bits)); in Create()
71 DCHECK(!entries[tail_pos].IsEmpty()); in Create()
72 while (!entries[tail_pos].IsLast(mask_bits)) { in Create()
73 tail_pos = (tail_pos + entries[tail_pos].GetNextPosDelta(mask_bits)) & mask; in Create()
74 DCHECK(!entries[tail_pos].IsEmpty()); in Create()
80 } while (!entries[insert_pos].IsEmpty()); in Create()
82 entries[insert_pos] = Entry(str_id.string_data_off_, hash, class_def_idx, mask_bits); in Create()
[all …]
Dtype_lookup_table.h169 const Entry* entries,
/art/runtime/native/
Dstring_array_utils.h37 Thread* self, size_t size, const Container& entries) REQUIRES_SHARED(Locks::mutator_lock_) { in CreateStringArray() argument
49 for (auto&& entry : entries) { in CreateStringArray()
69 Thread* self, const Container& entries) REQUIRES_SHARED(Locks::mutator_lock_) { in CreateStringArray() argument
70 return CreateStringArray(self, entries.size(), entries); in CreateStringArray()
74 Thread* self, std::initializer_list<const char*> entries) in CreateStringArray() argument
76 return CreateStringArray<std::initializer_list<const char*>>(self, entries); in CreateStringArray()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DAnnotationSetItem.java23 public AnnotationOffItem[] entries; field in AnnotationSetItem
30 entries = new AnnotationOffItem[size]; in read()
32 (entries[i] = new AnnotationOffItem()).read(file); in read()
41 for (AnnotationOffItem annotationOffItem : entries) { in write()
/art/runtime/jit/
Dprofiling_info.cc28 ProfilingInfo::ProfilingInfo(ArtMethod* method, const std::vector<uint32_t>& entries) in ProfilingInfo() argument
31 number_of_inline_caches_(entries.size()), in ProfilingInfo()
35 cache_[i].dex_pc_ = entries[i]; in ProfilingInfo()
48 std::vector<uint32_t> entries; in Create() local
55 entries.push_back(inst.DexPc()); in Create()
68 return code_cache->AddProfilingInfo(self, method, entries); in Create()
Ddebugger_interface.cc499 std::vector<const JITCodeEntry*> entries; in RepackEntries() local
500 entries.reserve(2 * kJitRepackFrequency); in RepackEntries()
509 entries.push_back(it); in RepackEntries()
513 std::sort(entries.begin(), entries.end(), cmp); // Sort by address. in RepackEntries()
516 for (auto group_it = entries.begin(); group_it != entries.end();) { in RepackEntries()
522 auto end = std::find_if(begin, entries.end(), [=](auto* e) { return e->addr_ >= group_end; }); in RepackEntries()
533 bool compress = compress_entries && end != entries.end(); in RepackEntries()
Dprofiling_info.h123 ProfilingInfo(ArtMethod* method, const std::vector<uint32_t>& entries);
Djit_code_cache.h320 const std::vector<uint32_t>& entries)
427 const std::vector<uint32_t>& entries)
Djit_code_cache.cc1490 const std::vector<uint32_t>& entries) { in AddProfilingInfo() argument
1495 info = AddProfilingInfoInternal(self, method, entries); in AddProfilingInfo()
1501 info = AddProfilingInfoInternal(self, method, entries); in AddProfilingInfo()
1508 const std::vector<uint32_t>& entries) { in AddProfilingInfoInternal() argument
1517 sizeof(ProfilingInfo) + sizeof(InlineCache) * entries.size(), in AddProfilingInfoInternal()
1525 ProfilingInfo* info = new (writable_data) ProfilingInfo(method, entries); in AddProfilingInfoInternal()
/art/odrefresh/
Dodr_compilation_log_test.cc55 const OdrCompilationLogEntry entries[] = { in TEST() local
70 for (const auto& entry : entries) { in TEST()
203 std::vector<OdrCompilationLogEntry> entries = { in TEST_F() local
213 for (size_t i = 0; i < entries.size(); ++i) { in TEST_F()
214 OdrCompilationLogEntry& e = entries[i]; in TEST_F()
229 const OdrCompilationLogEntry& expected = entries[i + 1 - ocl.NumberOfEntries() + j]; in TEST_F()
236 std::vector<OdrCompilationLogEntry> entries = { in TEST_F() local
249 for (size_t i = 0; i < entries.size(); ++i) { in TEST_F()
252 OdrCompilationLogEntry& e = entries[i]; in TEST_F()
271 const OdrCompilationLogEntry& expected = entries[i + 1 - ocl.NumberOfEntries() + j]; in TEST_F()
Dodrefresh.cc1479 std::vector<std::filesystem::directory_entry> entries; in CleanupArtifactDirectory() local
1484 entries.push_back(entry); in CleanupArtifactDirectory()
1492 for (const std::filesystem::directory_entry& entry : entries) { in CleanupArtifactDirectory()
1522 std::vector<std::filesystem::directory_entry> entries; in RefreshExistingArtifacts() local
1527 entries.push_back(entry); in RefreshExistingArtifacts()
1533 for (const std::filesystem::directory_entry& entry : entries) { in RefreshExistingArtifacts()
/art/tools/create_minidebuginfo/
Dcreate_minidebuginfo.cc99 std::deque<std::pair<const FDE*, const CIE*>> entries; in WriteMinidebugInfo() local
111 entries.emplace_back(std::make_pair(fde, cie)); in WriteMinidebugInfo()
114 std::stable_sort(entries.begin(), entries.end(), [](const auto& lhs, const auto& rhs) { in WriteMinidebugInfo()
121 for (const auto& entry : entries) { in WriteMinidebugInfo()
/art/test/666-dex-cache-itf/
Dinfo.txt1 We used to put wrong entries in the dex cache, which would
/art/test/2036-structural-subclass-shadow/
Dinfo.txt4 failing to invalidate some dex-cache entries causing incorrect field/method
/art/libelffile/dwarf/
Dheaders.h92 const DebugInfoEntryWriter<Vector>& entries, in WriteDebugInfoCU() argument
101 writer.PushUint8(entries.Is64bit() ? 8 : 4); in WriteDebugInfoCU()
104 writer.PushData(entries.data()); in WriteDebugInfoCU()
/art/runtime/
Dreference_table.cc125 void ReferenceTable::Dump(std::ostream& os, Table& entries) { in Dump() argument
158 if (entries.empty()) { in Dump()
165 size_t count = entries.size(); in Dump()
173 ObjPtr<mirror::Object> ref = entries[idx].Read(); in Dump()
263 for (GcRoot<mirror::Object>& root : entries) { in Dump()
Dreference_table.h63 static void Dump(std::ostream& os, Table& entries)
Dindirect_reference_table.cc358 ReferenceTable::Table entries; in Dump() local
363 entries.push_back(GcRoot<mirror::Object>(obj)); in Dump()
366 ReferenceTable::Dump(os, entries); in Dump()
/art/tools/dexfuzz/src/dexfuzz/
DOptions.java278 String[] entries = line.split(" "); in setupMutationLikelihoodTable() local
279 String name = entries[0].toLowerCase(); in setupMutationLikelihoodTable()
280 int likelihood = Integer.parseInt(entries[1]); in setupMutationLikelihoodTable()
/art/runtime/interpreter/mterp/
Dnterp.cc664 const int32_t* entries = reinterpret_cast<const int32_t*>(switchData); in NterpDoPackedSwitch() local
665 return entries[index]; in NterpDoPackedSwitch()
680 const int32_t* entries; in NterpDoSparseSwitch() local
705 entries = keys + size; in NterpDoSparseSwitch()
722 return entries[mid]; in NterpDoSparseSwitch()
/art/libnativeloader/
Dpublic_libraries.cpp492 std::map<std::string, std::string> entries; in ParseApexLibrariesConfig() local
506 entries[config_line->apex_namespace] = config_line->library_list; in ParseApexLibrariesConfig()
508 return entries; in ParseApexLibrariesConfig()
/art/runtime/jni/
Dlocal_reference_table.cc681 ReferenceTable::Table entries; in Dump() local
683 entries.push_back(*root); in Dump()
685 ReferenceTable::Dump(os, entries); in Dump()
/art/runtime/interpreter/
Dinterpreter_common.h730 const int32_t* entries = keys + size; in DoSparseSwitch() local
731 DCHECK_ALIGNED(entries, 4); in DoSparseSwitch()
742 return entries[mid]; in DoSparseSwitch()
/art/tools/ahat/
DREADME.txt133 Fix page loading performance by showing a limited number of entries by default.
/art/imgdiag/
Dimgdiag.cc1045 void DiffDirtyEntries(const std::set<T*>& entries, in DiffDirtyEntries() argument
1052 for (T* entry : entries) { in DiffDirtyEntries()

12