Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 260) sorted by relevance

1234567891011

/art/test/626-const-class-linking/
Dexpected-stdout.txt2 first: Helper1 class loader: DelegatingLoader
4 first: Helper1 class loader: DelegatingLoader
7 first: Helper1 class loader: DelegatingLoader
9 first: Helper2 class loader: DelegatingLoader
12 first: Helper1 class loader: RacyLoader
14 first: Helper1 class loader: RacyLoader
16 first: Helper1 class loader: RacyLoader
18 first: Helper1 class loader: RacyLoader
24 first: Helper1 class loader: RacyLoader
26 first: Helper1 class loader: RacyLoader
[all …]
/art/test/626-const-class-linking/src/
DClassPair.java18 public Class<?> first; field in ClassPair
21 public ClassPair(Class<?> first, Class<?> second) { in ClassPair() argument
22 this.first = first; in ClassPair()
27 String first_loader_name = first.getClassLoader().getClass().getName(); in print()
28 System.out.println("first: " + first.getName() + " class loader: " + first_loader_name); in print()
/art/libartbase/base/
Dbit_vector_test.cc176 BitVector first(2, true, Allocator::GetCallocAllocator()); in TEST() local
182 bool changed = first.UnionIfNotIn(&second, &third); in TEST()
183 EXPECT_EQ(0u, first.NumSetBits()); in TEST()
188 BitVector first(2, true, Allocator::GetCallocAllocator()); in TEST() local
193 bool changed = first.UnionIfNotIn(&second, &third); in TEST()
194 EXPECT_EQ(1u, first.NumSetBits()); in TEST()
196 EXPECT_TRUE(first.IsBitSet(64)); in TEST()
202 BitVector first(2, true, Allocator::GetCallocAllocator()); in TEST() local
205 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
207 EXPECT_TRUE(first.IsSubsetOf(&second)); in TEST()
[all …]
Dmalloc_arena_pool.cc134 void MallocArenaPool::FreeArenaChain(Arena* first) { in FreeArenaChain() argument
136 for (Arena* arena = first; arena != nullptr; arena = arena->next_) { in FreeArenaChain()
143 while (first != nullptr) { in FreeArenaChain()
144 Arena* next = first->next_; in FreeArenaChain()
145 delete first; in FreeArenaChain()
146 first = next; in FreeArenaChain()
151 if (first != nullptr) { in FreeArenaChain()
152 Arena* last = first; in FreeArenaChain()
158 free_arenas_ = first; in FreeArenaChain()
Dhash_map.h36 return hash_fn_(pair.first); in operator()
49 return pred_fn_(a.first, b.first); in operator()
54 return pred_fn_(a.first, element); in operator()
68 return item.first == Key(); in IsEmpty()
99 auto res = Base::insert({ k, v }).first; in Overwrite()
Dsafe_map.h79 iterator erase(iterator first, iterator last) { return map_.erase(first, last); } in erase() argument
117 return result.first; in Put()
122 return result.first; in Put()
128 DCHECK(pos == map_.end() || map_.key_comp()(k, pos->first)); in PutBefore()
129 DCHECK(pos == map_.begin() || map_.key_comp()((--const_iterator(pos))->first, k)); in PutBefore()
134 DCHECK(pos == map_.end() || map_.key_comp()(k, pos->first)); in PutBefore()
135 DCHECK(pos == map_.begin() || map_.key_comp()((--const_iterator(pos))->first, k)); in PutBefore()
146 result.first->second = v; in Overwrite()
148 return result.first; in Overwrite()
156 if (lb != end() && !key_comp()(k, lb->first)) { in GetOrCreate()
Dintrusive_forward_list.h154 IntrusiveForwardList(InputIterator first, InputIterator last) : IntrusiveForwardList() { in IntrusiveForwardList() argument
155 insert_after(before_begin(), first, last); in IntrusiveForwardList()
189 void assign(InputIterator first, InputIterator last) { in assign() argument
190 IntrusiveForwardList tmp(first, last); in assign()
207 iterator insert_after(const_iterator position, InputIterator first, InputIterator last) { in insert_after() argument
208 while (first != last) { in insert_after()
209 position = insert_after(position, *first++); in insert_after()
258 const_iterator first, in splice_after() argument
261 DCHECK(first != last); in splice_after()
262 if (++const_iterator(first) == last) { in splice_after()
[all …]
Ddchecked_vector.h69 dchecked_vector(InputIterator first,
72 : Base(first, last, alloc) { } in Base() argument
159 iterator insert(const_iterator position, InputIterator first, InputIterator last) { in insert() argument
161 return Base::insert(position, first, last); in insert()
177 iterator erase(const_iterator first, const_iterator last) { in erase() argument
178 DCHECK(cbegin() <= first && first <= cend()); in erase()
179 DCHECK(first <= last && last <= cend()); in erase()
180 return Base::erase(first, last); in erase()
/art/compiler/debug/
Delf_symtab_writer.h59 const MethodDebugInfo* first = methods.front(); in GetDedupedName() local
60 auto is_same_class = [&first](const MethodDebugInfo* mi) { in GetDedupedName()
62 return mi->dex_file == first->dex_file && mi->class_def_index == first->class_def_index; in GetDedupedName()
64 auto is_same_method_name = [&first](const MethodDebugInfo* mi) { in GetDedupedName()
66 first->dex_file->GetMethodName(first->dex_method_index)) == 0; in GetDedupedName()
74 auto& dex_class_def = first->dex_file->GetClassDef(first->class_def_index); in GetDedupedName()
75 AppendPrettyDescriptor(first->dex_file->GetClassDescriptor(dex_class_def), &*out); in GetDedupedName()
81 *out += first->dex_file->GetMethodName(first->dex_method_index); in GetDedupedName()
164 uint64_t dex_address = dex->GetAddress() + it.first /* offset within the section */; in WriteDebugSymbols()
/art/test/1906-suspend-list-me-first/
DAndroid.bp3 // Build rules for ART run-test `1906-suspend-list-me-first`.
16 name: "art-run-test-1906-suspend-list-me-first",
21 ":art-run-test-1906-suspend-list-me-first-expected-stdout",
22 ":art-run-test-1906-suspend-list-me-first-expected-stderr",
28 name: "art-run-test-1906-suspend-list-me-first-expected-stdout",
29 out: ["art-run-test-1906-suspend-list-me-first-expected-stdout.txt"],
36 name: "art-run-test-1906-suspend-list-me-first-expected-stderr",
37 out: ["art-run-test-1906-suspend-list-me-first-expected-stderr.txt"],
/art/test/676-proxy-jit-at-first-use/
DAndroid.bp3 // Build rules for ART run-test `676-proxy-jit-at-first-use`.
16 name: "art-run-test-676-proxy-jit-at-first-use",
21 ":art-run-test-676-proxy-jit-at-first-use-expected-stdout",
22 ":art-run-test-676-proxy-jit-at-first-use-expected-stderr",
28 name: "art-run-test-676-proxy-jit-at-first-use-expected-stdout",
29 out: ["art-run-test-676-proxy-jit-at-first-use-expected-stdout.txt"],
36 name: "art-run-test-676-proxy-jit-at-first-use-expected-stderr",
37 out: ["art-run-test-676-proxy-jit-at-first-use-expected-stderr.txt"],
/art/runtime/base/
Dmem_map_arena_pool.cc149 void MemMapArenaPool::FreeArenaChain(Arena* first) { in FreeArenaChain() argument
151 for (Arena* arena = first; arena != nullptr; arena = arena->next_) { in FreeArenaChain()
158 while (first != nullptr) { in FreeArenaChain()
159 Arena* next = first->next_; in FreeArenaChain()
160 delete first; in FreeArenaChain()
161 first = next; in FreeArenaChain()
166 if (first != nullptr) { in FreeArenaChain()
167 Arena* last = first; in FreeArenaChain()
173 free_arenas_ = first; in FreeArenaChain()
Dgc_visited_arena_pool.cc179 arena = *insert_result.first; in AllocSingleObjArena()
229 return *insert_result.first; in AllocArena()
254 return *insert_result.first; in AllocArena()
273 return *insert_result.first; in AllocArena()
339 void GcVisitedArenaPool::FreeArenaChain(Arena* first) { in FreeArenaChain() argument
341 for (Arena* arena = first; arena != nullptr; arena = arena->Next()) { in FreeArenaChain()
355 while (first != nullptr) { in FreeArenaChain()
356 TrackedArena* temp = down_cast<TrackedArena*>(first); in FreeArenaChain()
358 first = first->Next(); in FreeArenaChain()
/art/compiler/optimizing/
Dpretty_printer.h47 bool first = true; in PrintPostInstruction() local
49 if (first) { in PrintPostInstruction()
50 first = false; in PrintPostInstruction()
60 bool first = true; in PrintPostInstruction() local
62 if (first) { in PrintPostInstruction()
63 first = false; in PrintPostInstruction()
Ddead_code_elimination.cc359 HInstruction* first = block->GetFirstInstruction(); in SimplifyIfs() local
360 bool has_only_phi_and_if = (last == first) && (last->InputAt(0) == block->GetFirstPhi()); in SimplifyIfs()
363 first->IsCondition() && in SimplifyIfs()
364 HasInput(first->AsCondition(), block->GetFirstPhi()) && in SimplifyIfs()
365 (first->GetNext() == last) && in SimplifyIfs()
366 (last->InputAt(0) == first) && in SimplifyIfs()
367 first->HasOnlyOneNonEnvironmentUse(); in SimplifyIfs()
371 bool phi_input_is_left = (first->InputAt(0) == phi); in SimplifyIfs()
386 value_to_check = Evaluate(first->AsCondition(), input, first->InputAt(1)); in SimplifyIfs()
388 value_to_check = Evaluate(first->AsCondition(), first->InputAt(0), input); in SimplifyIfs()
[all …]
/art/test/170-interface-init/src/
DMain.java28 final CountDownLatch first = new CountDownLatch(1); in main() local
35 first.countDown(); in main()
44 first.await(); in main()
/art/tools/create_minidebuginfo/
Dcreate_minidebuginfo.cc85 std::string_view name = entry.first; in WriteMinidebugInfo()
108 new_cie_offset[cie] = it.first->second; in WriteMinidebugInfo()
115 lhs.first->data() + opcode_offset, lhs.first->data() + lhs.first->size(), in WriteMinidebugInfo()
116 rhs.first->data() + opcode_offset, rhs.first->data() + rhs.first->size()); in WriteMinidebugInfo()
120 const FDE* fde = entry.first; in WriteMinidebugInfo()
/art/libdexfile/dex/
Dtest_dex_file_builder.h74 auto it = protos_.emplace(proto_key, IdxAndDataOffset()).first; in AddMethod()
75 const ProtoKey* proto = &it->first; // Valid as long as the element remains in protos_. in AddMethod()
108 data_section_size += entry.first.length() + 1u /* length */ + 1u /* null-terminator */;
127 size_t num_args = entry.first.args.size();
168 CHECK_LT(entry.first.size(), 128u);
170 dex_file_data[raw_offset] = static_cast<uint8_t>(entry.first.size());
171 std::memcpy(&dex_file_data[raw_offset + 1], entry.first.c_str(), entry.first.size() + 1);
180 GetStringIdx(entry.first));
185 size_t num_args = entry.first.args.size();
189 Write32(dex_file_data, raw_offset + 0u, GetStringIdx(entry.first.shorty));
[all …]
/art/runtime/
Dcha_test.cc49 ASSERT_EQ(dependents[0].first, METHOD2); in TEST_F()
57 ASSERT_EQ(dependents[0].first, METHOD2); in TEST_F()
59 ASSERT_EQ(dependents[1].first, METHOD3); in TEST_F()
69 ASSERT_EQ(dependents[0].first, METHOD3); in TEST_F()
85 ASSERT_EQ(dependents[0].first, METHOD1); in TEST_F()
/art/tools/dexfuzz/src/dexfuzz/
DMutationStats.java62 boolean first = true; in getStatsString()
64 if (!first) { in getStatsString()
67 first = false; in getStatsString()
/art/tools/jvmti-agents/chain-agents/
Dchainagents.cc57 std::string first(source.substr(0, source.find(delim))); in Split() local
59 return std::pair(first, ""); in Split()
61 return std::pair(first, source.substr(source.find(delim) + 1)); in Split()
70 void* handle = dlopen(lib_and_args.first.c_str(), RTLD_LAZY); in Load()
108 PLOG(WARNING) << "Failed to load library " << lib_and_args.first in AgentStart()
/art/test/092-locale/
Dexpected-stdout.txt2 USA: first=1, name=Sunday
4 France: first=2, name=lundi
/art/libelffile/dwarf/
Ddebug_abbrev_writer.h70 uint32_t abbrev_code = it.first->second; in EndAbbrev()
72 const Vector& abbrev = it.first->first; in EndAbbrev()
/art/tools/veridex/
Dhidden_api_finder.cc185 const auto& name = pair.first; in Dump()
189 hiddenapi::ApiList api_list = hidden_api_.GetApiList(pair.first); in Dump()
191 os << "#" << ++stats->count << ": Linking " << api_list << " " << pair.first << " use(s):"; in Dump()
201 const auto& name = pair.first; in Dump()
205 hiddenapi::ApiList api_list = hidden_api_.GetApiList(pair.first); in Dump()
209 os << "#" << ++stats->count << ": Linking " << api_list << " " << pair.first << " use(s):"; in Dump()
254 os << kPrefix << pair.first; in DumpReferences()
/art/profman/
Dboot_image_profile.cc237 profile_methods.Put(BootImageRepresentation(it.first), metadata); in GenerateBootImageProfile()
242 const TypeReference& type_ref = it.first; in GenerateBootImageProfile()
248 profile_classes.Put(BootImageRepresentation(it.first), it.second); in GenerateBootImageProfile()
250 std::string preloaded_class_representation = PreloadedClassesRepresentation(it.first); in GenerateBootImageProfile()
264 profile_content += ClassToProfileFormat(it.first, it.second, options.append_package_use_list) in GenerateBootImageProfile()
268 profile_content += MethodToProfileFormat(it.first, it.second, options.append_package_use_list) in GenerateBootImageProfile()
275 ClassToProfileFormat(it.first, it.second, options.append_package_use_list) + "\n"; in GenerateBootImageProfile()

1234567891011