Home
last modified time | relevance | path

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

1234

/art/runtime/
Dreference_table_test.cc39 EXPECT_NE(oss.str().find("(empty)"), std::string::npos) << oss.str(); in TEST_F()
57 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
58 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F()
68 EXPECT_NE(oss.str().find(StringPrintf("Last %zd entries (of %zd):", in TEST_F()
72 EXPECT_NE(oss.str().find("1 of java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
74 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F()
76 EXPECT_NE(oss.str().find(StringPrintf("%zd of short[] (1 unique instances)", i + 1)), in TEST_F()
87 EXPECT_EQ(oss.str().find("java.lang.String"), std::string::npos) << oss.str(); in TEST_F()
97 EXPECT_EQ(oss.str().find("short[]"), std::string::npos) << oss.str(); in TEST_F()
99 EXPECT_NE(oss.str().find("1 of short[]"), std::string::npos) << oss.str(); in TEST_F()
[all …]
Dsafe_map.h73 iterator find(const K& k) { return map_.find(k); } in find() function
74 const_iterator find(const K& k) const { return map_.find(k); } in find() function
83 const_iterator it = map_.find(k); in Get()
Dtransaction.cc185 auto old_root_it = object_logs_.find(old_root); in VisitObjectLogs()
187 CHECK(object_logs_.find(new_root) == object_logs_.end()); in VisitObjectLogs()
212 auto old_root_it = array_logs_.find(old_root); in VisitArrayLogs()
214 CHECK(array_logs_.find(new_root) == array_logs_.end()); in VisitArrayLogs()
227 auto it = field_values_.find(offset.Uint32Value()); in Log32BitsValue()
238 auto it = field_values_.find(offset.Uint32Value()); in Log64BitsValue()
249 auto it = field_values_.find(offset.Uint32Value()); in LogReferenceValue()
371 auto it = array_values_.find(index); in LogValue()
Ddex_file_verifier_test.cc218 ASSERT_NE(error_msg.find("inter_method_id_item class_idx"), std::string::npos) << error_msg; in TEST_F()
227 ASSERT_NE(error_msg.find("inter_method_id_item proto_idx"), std::string::npos) << error_msg; in TEST_F()
236 ASSERT_NE(error_msg.find("inter_method_id_item name_idx"), std::string::npos) << error_msg; in TEST_F()
/art/compiler/sea_ir/ir/
Dregions_test.cc33 EXPECT_TRUE(std::find(regions->begin(), regions->end(), root) != regions->end()); in TEST_F()
34 EXPECT_TRUE(std::find(regions->begin(), regions->end(), then_region) != regions->end()); in TEST_F()
35 EXPECT_TRUE(std::find(regions->begin(), regions->end(), else_region) != regions->end()); in TEST_F()
48 EXPECT_TRUE(std::find(succs->begin(), succs->end(), then_region) != succs->end()); in TEST_F()
49 EXPECT_TRUE(std::find(succs->begin(), succs->end(), else_region) != succs->end()); in TEST_F()
Dsea.cc98 if (processedNodes.end() != processedNodes.find((*pred_it))) { in ComputeIDominators()
211 if (target_regions.end() == target_regions.find(&code[i + offset])) { in BuildMethodSeaGraph()
216 && (target_regions.end() == target_regions.find(&code[i + inst->SizeInCodeUnits()]))) { in BuildMethodSeaGraph()
245 std::map<const uint16_t*, Region*>::iterator it = target_regions.find(&code[i + offset]); in BuildMethodSeaGraph()
249 std::map<const uint16_t*, Region*>::iterator it = target_regions.find(&code[i]); in BuildMethodSeaGraph()
305 if (var_kill.find(used_reg) == var_kill.end()) { in ConvertToSSA()
315 std::set<Region*>* reg_def_blocks = &(blocks.find(reg_def)->second); in ConvertToSSA()
325 std::set<Region*> worklist((*(blocks.find(global))).second); in ConvertToSSA()
333 if (worklist.find(*df_it) == worklist.end()) { in ConvertToSSA()
484 std::map<int, InstructionNode*>::iterator res = de_defs_.find(reg_no); in ComputeDownExposedDefs()
[all …]
/art/compiler/dex/
Dverification_results.cc65 auto it = verified_methods_.find(ref); in ProcessVerifiedMethod()
77 DCHECK(verified_methods_.find(ref) != verified_methods_.end()); in ProcessVerifiedMethod()
83 auto it = verified_methods_.find(ref); in GetVerifiedMethod()
97 return (rejected_classes_.find(ref) != rejected_classes_.end()); in IsClassRejected()
105 method_ref.dex_method_index, *(method_ref.dex_file)).find("fibonacci")); in IsCandidateForCompilation()
/art/runtime/gc/accounting/
Dheap_bitmap.cc28 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), in ReplaceBitmap()
37 auto it = std::find(large_object_bitmaps_.begin(), large_object_bitmaps_.end(), old_bitmap); in ReplaceLargeObjectBitmap()
57 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), bitmap); in RemoveContinuousSpaceBitmap()
69 auto it = std::find(large_object_bitmaps_.begin(), large_object_bitmaps_.end(), bitmap); in RemoveLargeObjectBitmap()
/art/test/etc/
Ddefault-build21 ${JAVAC} -d classes `find src -name '*.java'`
24 ${JAVAC} -d classes `find src2 -name '*.java'`
34 ${JAVAC} -d classes-ex -cp classes `find src-ex -name '*.java'`
/art/test/003-omnibus-opcodes/
Dbuild21 ${JAVAC} -d classes `find src -name '*.java'`
23 ${JAVAC} -d classes `find src2 -name '*.java'`
/art/test/113-multidex/
Dbuild23 ${JAVAC} -d classes `find src -name '*.java'`
28 ${JAVAC} -d classes `find src -name '*.java'`
/art/runtime/gc/allocator/
Drosalloc.cc345 DCHECK(free_page_runs_.find(fpr) == free_page_runs_.end()); in FreePages()
440 DCHECK(free_page_runs_.find(fpr) == free_page_runs_.end()); in FreePages()
445 DCHECK(free_page_runs_.find(fpr) != free_page_runs_.end()); in FreePages()
600 DCHECK(non_full_runs_[idx].find(current_run) == non_full_runs_[idx].end()); in AllocFromCurrentRunUnlocked()
601 DCHECK(full_runs_[idx].find(current_run) != full_runs_[idx].end()); in AllocFromCurrentRunUnlocked()
610 DCHECK(non_full_runs_[idx].find(current_run) == non_full_runs_[idx].end()); in AllocFromCurrentRunUnlocked()
611 DCHECK(full_runs_[idx].find(current_run) == full_runs_[idx].end()); in AllocFromCurrentRunUnlocked()
660 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromRun()
661 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in AllocFromRun()
697 DCHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromRun()
[all …]
/art/runtime/jdwp/
Dobject_registry.cc135 auto it = id_to_entry_.find(id); in InternalGet()
149 auto it = id_to_entry_.find(id); in GetJObject()
158 auto it = id_to_entry_.find(id); in DisableCollection()
166 auto it = id_to_entry_.find(id); in EnableCollection()
196 auto it = id_to_entry_.find(id); in IsCollected()
210 auto it = id_to_entry_.find(id); in DisposeObject()
/art/runtime/base/
Dstringpiece.cc34 StringPiece::size_type StringPiece::find(const StringPiece& s, size_type pos) const { in find() function in art::StringPiece
53 StringPiece::size_type StringPiece::find(char c, size_type pos) const { in find() function in art::StringPiece
57 const char* result = std::find(ptr_ + pos, ptr_ + length_, c); in find()
Dlogging.cc145 if (msg.find('\n') == std::string::npos) { in ~LogMessage()
151 size_t nl = msg.find('\n', i); in ~LogMessage()
/art/compiler/utils/
Dassembler_test.h62 size_t reg_index = base.find("{reg}"); in RepeatR()
88 size_t reg1_index = base.find("{reg1}"); in RepeatRR()
96 size_t reg2_index = base.find("{reg2}"); in RepeatRR()
126 size_t reg_index = base.find("{reg}"); in RepeatRI()
134 size_t imm_index = base.find("{imm}"); in RepeatRI()
162 size_t imm_index = base.find("{imm}"); in RepeatI()
440 if (line.find(".text") != line.npos) { in Objdump()
612 size_t space_index = file.find(' ', last_slash); in FileExists()
/art/test/089-many-methods/
Dbuild47 ${JAVAC} -d classes `find src -name '*.java'`
/art/runtime/verifier/
Dregister_line.h296 auto it = reg_to_lock_depths_.find(src); in CopyRegToLockDepth()
303 auto it = reg_to_lock_depths_.find(reg); in IsSetLockDepth()
314 auto it = reg_to_lock_depths_.find(reg); in SetRegToLockDepth()
325 auto it = reg_to_lock_depths_.find(reg); in ClearRegToLockDepth()
/art/test/005-annotations/
Dbuild23 ${JAVAC} -d classes `find src -name '*.java'`
/art/test/085-old-style-inner-class/
Dbuild23 ${JAVAC} -source 1.4 -target 1.4 -d classes `find src -name '*.java'`
/art/test/111-unresolvable-exception/
Dbuild21 ${JAVAC} -d classes `find src -name '*.java'`
/art/tools/
Dcpplint.py938 if lines[lineix].strip().find('*/', 2) < 0:
986 commentpos = line.find('//')
1326 ix = line.find(single_thread_function)
1644 if line.find('{') != -1:
1646 line = line[line.find('{') + 1:]
2250 if prevbrace != -1 and prev_line[prevbrace:].find('}') == -1:
2294 and next_line.find('} else ') == -1):
2304 commentpos = line.find('//')
2615 pos = line.find('else if')
2616 pos = line.find('(', pos)
[all …]
/art/compiler/sea_ir/types/
Dtypes.h39 art::SafeMap<int, const Type*>::const_iterator result_it = type_map_.find(instruction_id); in FindTypeOf()
/art/compiler/optimizing/
Doptimizing_compiler.cc100 bool shouldCompile = dex_compilation_unit.GetSymbol().find("00024opt_00024") != std::string::npos; in TryCompile()
102 dex_compilation_unit.GetSymbol().find("00024reg_00024") != std::string::npos; in TryCompile()
/art/test/086-null-super/
Dinfo.txt2 ClassNotFound, if it can't find the given Class, and not return null.

1234