Home
last modified time | relevance | path

Searched refs:find (Results 1 – 25 of 257) sorted by relevance

1234567891011

/art/compiler/optimizing/
Dexecution_subgraph_test.cc53 if (visited.find(cur) != visited.end()) { in CalculateValidity()
154 ASSERT_TRUE(contents.find(blks.Get("left")) == contents.end()); in TEST_F()
156 ASSERT_TRUE(contents.find(blks.Get("right")) != contents.end()); in TEST_F()
157 ASSERT_TRUE(contents.find(blks.Get("entry")) != contents.end()); in TEST_F()
158 ASSERT_TRUE(contents.find(blks.Get("exit")) != contents.end()); in TEST_F()
242 ASSERT_TRUE(contents.find(blks.Get("l1")) == contents.end()); in TEST_F()
243 ASSERT_TRUE(contents.find(blks.Get("l2")) == contents.end()); in TEST_F()
244 ASSERT_TRUE(contents.find(blks.Get("l3")) == contents.end()); in TEST_F()
245 ASSERT_TRUE(contents.find(blks.Get("l1l")) == contents.end()); in TEST_F()
246 ASSERT_TRUE(contents.find(blks.Get("l1r")) == contents.end()); in TEST_F()
[all …]
/art/libartbase/base/
Dhash_set_test.cc74 auto it = hash_set.find(test_string); in TEST_F()
80 it = hash_set.find(test_string); in TEST_F()
92 auto it = hash_set.find(strings[i]); in TEST_F()
99 auto it = hash_set.find(strings[i]); in TEST_F()
106 auto it = hash_set.find(strings[i]); in TEST_F()
110 auto it = hash_set.find(strings[i]); in TEST_F()
184 hash_set.erase(hash_set.find(random_strings[i])); in TEST_F()
196 EXPECT_NE(hash_set.end(), hash_set.find(initial_string)) in TEST_F()
247 ASSERT_EQ(*hash_set.find(s), *std_set.find(s)); in TEST_F()
250 auto it1 = hash_set.find(s); in TEST_F()
[all …]
Dsafe_map.h91 template<typename Kv> iterator find(const Kv& k) { return map_.find(k); } in find() function
92 template<typename Kv> const_iterator find(const Kv& k) const { return map_.find(k); } in find() function
108 const_iterator it = map_.find(k); in Get()
164 iterator it = find(k); in FindOrAdd()
169 iterator it = find(k); in FindOrAdd()
/art/dexdump/
Ddexdump_cfg.cc82 (dex_pc_is_branch_target.find(dex_pc) != dex_pc_is_branch_target.end()) || in DumpMethodCFG()
167 auto it = dex_pc_to_node_id.find(dex_pc); in DumpMethodCFG()
171 uint32_t node_id = dex_pc_to_node_id.find(block_start_dex_pc)->second; in DumpMethodCFG()
173 auto node_id_it = dex_pc_to_incl_id.find(handler_pc); in DumpMethodCFG()
210 auto target_it = dex_pc_to_node_id.find(dex_pc + offset); in DumpMethodCFG()
243 auto target_it = dex_pc_to_node_id.find(abs_offset); in DumpMethodCFG()
277 uint32_t node_id = dex_pc_to_node_id.find(block_start_dex_pc)->second; in DumpMethodCFG()
279 auto node_id_it = dex_pc_to_incl_id.find(handler_pc); in DumpMethodCFG()
295 uint32_t this_node_id = dex_pc_to_incl_id.find(dex_pc)->second; in DumpMethodCFG()
302 auto it = handled_targets.find(handler_pc); in DumpMethodCFG()
[all …]
/art/runtime/
Dreference_table_test.cc95 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F()
113 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
114 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F()
124 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F()
128 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
130 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F()
132 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", i + 1)), in TEST_F()
143 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
153 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F()
155 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F()
[all …]
Dclass_table_test.cc124 EXPECT_TRUE(roots.roots_.find(h_X.Get()) != roots.roots_.end()); in TEST_F()
125 EXPECT_TRUE(roots.roots_.find(h_Y.Get()) != roots.roots_.end()); in TEST_F()
126 EXPECT_TRUE(roots.roots_.find(obj_X.Get()) != roots.roots_.end()); in TEST_F()
134 EXPECT_TRUE(classes.find(h_X.Get()) != classes.end()); in TEST_F()
135 EXPECT_TRUE(classes.find(h_Y.Get()) != classes.end()); in TEST_F()
/art/tools/jvmti-agents/ti-alloc-sample/
Dmkflame.py76 thread_string = thread_type_size[thread_type_size.find(THREAD_STRING) +
78 return thread_string[:thread_string.find("]")]
86 type_string = thread_type_size[thread_type_size.find(TYPE_STRING) + TYPE_STRING_LEN:]
87 return type_string[:type_string.find(" ")]
95 size_string = thread_type_size[thread_type_size.find(SIZE_STRING) + SIZE_STRING_LEN:]
96 size_string = size_string[:size_string.find(",")]
143 comma_pos = line.find(",")
/art/compiler/
Dcfi_test.h87 size_t pos = str.find(substr); in FindEndOf()
100 while ((pos = line.find(" ")) != std::string::npos) { in ReformatAsm()
115 if (line.find("DW_CFA_nop") != std::string::npos) { in ReformatCfi()
117 } else if (line.find("DW_CFA_advance_loc") != std::string::npos) { in ReformatCfi()
120 } else if (line.find("DW_CFA_") != std::string::npos) { in ReformatCfi()
125 if ((pos = new_line.find(bad_reg)) != std::string::npos) { in ReformatCfi()
129 if ((pos = new_line.find(" (")) != std::string::npos) { in ReformatCfi()
/art/
DCleanSpec.mk101 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*…
102 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*…
103 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*…
109 $(call add-clean-step, find $(OUT_DIR)/soong/.intermediates/art -name 'libart*-simulator-container.…
119 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*…
120 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*…
121 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*…
122 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*…
/art/tools/
Dbuild_linux_bionic_tests.sh64 $(find $HOST_OUT/apex/com.android.art.host.zipapex -type f | sed "s:$HOST_OUT:$soong_out:g")
65 $(find $HOST_OUT/lib64 -type f | sed "s:$HOST_OUT:$soong_out:g")
66 $(find $HOST_OUT/nativetest64 -type f | sed "s:$HOST_OUT:$soong_out:g"))
Dpylibdexfile.py106 arg_str = non_ret[non_ret.find("(") + 1:-1]
109 class_and_meth = non_ret[0:non_ret.find("(")]
123 class_and_meth = non_ret[0:non_ret.find("(")]
131 class_and_meth = non_ret[0:non_ret.find("(")]
/art/tools/veridex/
Dhidden_api.cc50 size_t pos = signature.find("->"); in HiddenApi()
54 pos = signature.find('('); in HiddenApi()
59 pos = signature.find(':'); in HiddenApi()
70 auto it = api_list_.find(signature); in AddSignatureToApiList()
Dhidden_api.h47 auto it = api_list_.find(name); in GetApiList()
57 auto it = source_.find(type); in AddSignatureSource()
72 auto it = source_.find(GetApiClassName(signature)); in GetSignatureSource()
98 size_t pos = signature.find("->"); in GetApiClassName()
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc142 auto it = funcs->proxy_vm->map->find(prop); in WrapGetSystemProperty()
202 auto it = funcs->proxy_vm->map->find(prop); in WrapSetSystemProperty()
274 if (line.find('=') == std::string::npos) { in ReadPropMap()
278 std::string prop = substrOf(line, 0, line.find('=')); in ReadPropMap()
279 std::string val = substrOf(line, line.find('=') + 1, std::string::npos); in ReadPropMap()
291 if (options.find(',') == std::string::npos) { in ParseArgs()
295 *prop_file = substrOf(options, 0, options.find(',')); in ParseArgs()
296 *agent_lib = substrOf(options, options.find(',') + 1, options.find('=')); in ParseArgs()
297 if (options.find('=') != std::string::npos) { in ParseArgs()
298 *agent_options = substrOf(options, options.find('=') + 1, std::string::npos); in ParseArgs()
/art/runtime/arch/x86/
Dinstruction_set_features_x86.cc230 if (line.find("flags") != std::string::npos) { in FromCpuInfo()
232 if (line.find("ssse3") != std::string::npos) { in FromCpuInfo()
235 if (line.find("sse4_1") != std::string::npos) { in FromCpuInfo()
238 if (line.find("sse4_2") != std::string::npos) { in FromCpuInfo()
241 if (line.find("avx") != std::string::npos) { in FromCpuInfo()
244 if (line.find("avx2") != std::string::npos) { in FromCpuInfo()
247 if (line.find("popcnt") != std::string::npos) { in FromCpuInfo()
/art/runtime/gc/allocator/
Drosalloc-inl.h70 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in CanAllocFromThreadLocalRun()
71 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in CanAllocFromThreadLocalRun()
90 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromThreadLocalRun()
91 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in AllocFromThreadLocalRun()
Drosalloc.cc366 DCHECK(free_page_runs_.find(fpr) == free_page_runs_.end()); in FreePages()
449 DCHECK(free_page_runs_.find(fpr) == free_page_runs_.end()); in FreePages()
454 DCHECK(free_page_runs_.find(fpr) != free_page_runs_.end()); in FreePages()
612 DCHECK(non_full_runs_[idx].find(current_run) == non_full_runs_[idx].end()); in AllocFromCurrentRunUnlocked()
613 DCHECK(full_runs_[idx].find(current_run) != full_runs_[idx].end()); in AllocFromCurrentRunUnlocked()
622 DCHECK(non_full_runs_[idx].find(current_run) == non_full_runs_[idx].end()); in AllocFromCurrentRunUnlocked()
623 DCHECK(full_runs_[idx].find(current_run) == full_runs_[idx].end()); in AllocFromCurrentRunUnlocked()
670 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromRun()
671 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in AllocFromRun()
703 DCHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromRun()
[all …]
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc181 if (line.find("Features") != std::string::npos) { in FromCpuInfo()
183 if (line.find("idivt") != std::string::npos) { in FromCpuInfo()
186 CHECK_NE(line.find("idiva"), std::string::npos); in FromCpuInfo()
189 if (line.find("lpae") != std::string::npos) { in FromCpuInfo()
193 if (line.find("architecture") != std::string::npos in FromCpuInfo()
194 && line.find(": 8") != std::string::npos) { in FromCpuInfo()
/art/test/utils/python/
Dgenerate_java_main.py286 for iface in root.find("interfaces"):
288 implements = [a.text for a in iface.find("implements")]
289 methods = [a.text for a in iface.find("methods")]
294 for clazz in root.find('classes'):
296 implements = [a.text for a in clazz.find("implements")]
297 methods = [a.text for a in clazz.find("methods")]
/art/test/954-invoke-polymorphic-verifier/
Dexpected-stdout.txt1 …odHandleNotInvoke.<init>(): void MethodHandleNotInvoke.<init>(): couldn't find method java.lang.in…
12 …pareAndExchange(java.lang.invoke.VarHandle, java.lang.Object[]): couldn't find method java.lang.in…
13 …Accessors.compareAndExchangeAcquire(java.lang.invoke.VarHandle): couldn't find method java.lang.in…
14 …Accessors.compareAndExchangeRelease(java.lang.invoke.VarHandle): couldn't find method java.lang.in…
15 …andleUnhappyAccessors.compareAndSet(java.lang.invoke.VarHandle): couldn't find method java.lang.in…
16 …nknownAccessor.<init>(): void VarHandleUnknownAccessor.<init>(): couldn't find method java.lang.in…
/art/runtime/gc/accounting/
Dheap_bitmap.cc40 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), bitmap); in RemoveContinuousSpaceBitmap()
52 auto it = std::find(large_object_bitmaps_.begin(), large_object_bitmaps_.end(), bitmap); in RemoveLargeObjectBitmap()
/art/dex2oat/dex/
Dverification_results.cc48 return rejected_classes_.find(ref) != rejected_classes_.end(); in IsClassRejected()
72 return uncompilable_methods_.find(ref) != uncompilable_methods_.end(); in IsUncompilableMethod()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc291 if (option.empty() || option[0] != 'L' || option.find(';') == std::string::npos) { in ParseSingleBreakpoint()
295 target->class_name = SubstrOf(option, 1, option.find(';')); in ParseSingleBreakpoint()
297 option = SubstrOf(option, option.find(';') + 1, std::string::npos); in ParseSingleBreakpoint()
303 size_t sig_start = option.find('('); in ParseSingleBreakpoint()
304 size_t loc_start = option.find('@'); in ParseSingleBreakpoint()
321 if (op.find(',') == std::string::npos) { in RemoveLastOption()
324 return SubstrOf(op, op.find(',') + 1, std::string::npos); in RemoveLastOption()
336 std::string next = SubstrOf(options, 0, options.find(',')); in ParseArgs()
/art/compiler/utils/
Dassembler_test.h224 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) {
230 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) {
234 size_t imm_index = base.find(IMM_TOKEN);
280 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits()
286 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits()
292 while ((reg3_index = base.find(REG3_TOKEN)) != std::string::npos) { in RepeatTemplatedRegistersImmBits()
296 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedRegistersImmBits()
341 while ((reg1_index = base.find(REG1_TOKEN)) != std::string::npos) { in RepeatTemplatedImmBitsRegisters()
347 while ((reg2_index = base.find(REG2_TOKEN)) != std::string::npos) { in RepeatTemplatedImmBitsRegisters()
351 size_t imm_index = base.find(IMM_TOKEN); in RepeatTemplatedImmBitsRegisters()
[all …]
/art/tools/jvmti-agents/chain-agents/
Dchainagents.cc57 std::string first(source.substr(0, source.find(delim))); in Split()
58 if (source.find(delim) == std::string::npos) { in Split()
61 return std::pair(first, source.substr(source.find(delim) + 1)); in Split()

1234567891011