Home
last modified time | relevance | path

Searched refs:ifs (Results 1 – 8 of 8) sorted by relevance

/art/odrefresh/
Dodr_metrics_record_test.cc55 std::ifstream ifs(file_path); in TEST_F() local
56 ifs >> actual; in TEST_F()
57 ASSERT_TRUE(ifs.eof()); in TEST_F()
76 std::ifstream ifs(file_path); in TEST_F() local
78 ifs >> record; in TEST_F()
80 ASSERT_TRUE(ifs.fail()); in TEST_F()
81 ASSERT_TRUE(!ifs); in TEST_F()
88 std::ifstream ifs(file_path); in TEST_F() local
89 ifs.close(); in TEST_F()
92 ifs >> record; in TEST_F()
[all …]
Dodr_compilation_log.cc99 std::ifstream ifs(log_path_); in Read() local
100 if (!ifs.good()) { in Read()
105 ifs >> log_version >> std::ws; in Read()
110 while (!ifs.eof()) { in Read()
112 ifs >> entry; in Read()
113 if (ifs.fail()) { in Read()
Dodr_statslog_android.cc106 std::ifstream ifs(metrics_file); in ReadValues() local
107 if (!ifs) { in ReadValues()
113 ifs >> *record; in ReadValues()
114 if (!ifs) { in ReadValues()
Dodr_metrics_test.cc211 std::ifstream ifs(GetMetricsFilePath()); in TEST_F() local
212 EXPECT_TRUE(ifs); in TEST_F()
213 ifs >> on_disk; in TEST_F()
214 EXPECT_TRUE(ifs); in TEST_F()
/art/compiler/optimizing/
Ddead_code_elimination.cc154 HIf* ifs = block->GetLastInstruction()->AsIf(); in RemoveNonNullControlDependences() local
165 HInstruction* cond = ifs->InputAt(0); in RemoveNonNullControlDependences()
167 if (throws == ifs->IfTrueSuccessor() && cond->IsEqual()) { in RemoveNonNullControlDependences()
168 not_throws = ifs->IfFalseSuccessor(); in RemoveNonNullControlDependences()
169 } else if (throws == ifs->IfFalseSuccessor() && cond->IsNotEqual()) { in RemoveNonNullControlDependences()
170 not_throws = ifs->IfTrueSuccessor(); in RemoveNonNullControlDependences()
Dinduction_var_analysis_test.cc1217 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local
1218 ifs->ReplaceInput(graph_->GetIntConstant(127), 1); in TEST_F()
1243 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local
1244 ifs->ReplaceInput(graph_->GetIntConstant(128), 1); in TEST_F()
1269 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local
1270 ifs->ReplaceInput(graph_->GetIntConstant(32767), 1); in TEST_F()
1295 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local
1296 ifs->ReplaceInput(graph_->GetIntConstant(32768), 1); in TEST_F()
1320 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local
1321 ifs->ReplaceInput(graph_->GetIntConstant(65535), 1); in TEST_F()
[all …]
Dinduction_var_analysis.cc124 HIf* ifs = control->AsIf(); in IsGuardedBy() local
125 HInstruction* if_expr = ifs->InputAt(0); in IsGuardedBy()
127 IfCondition other_cmp = ifs->IfTrueSuccessor() == entry in IsGuardedBy()
895 HIf* ifs = control->AsIf(); in VisitControl() local
896 HBasicBlock* if_true = ifs->IfTrueSuccessor(); in VisitControl()
897 HBasicBlock* if_false = ifs->IfFalseSuccessor(); in VisitControl()
898 HInstruction* if_expr = ifs->InputAt(0); in VisitControl()
1138 HIf* ifs = loop->GetHeader()->GetLastInstruction()->AsIf(); in RewriteBreakLoop() local
1139 HInstruction* cond = ifs->InputAt(0); in RewriteBreakLoop()
1140 if (ifs->GetPrevious() != cond || !cond->HasOnlyOneNonEnvironmentUse()) { in RewriteBreakLoop()
[all …]
/art/tools/hiddenapi/
Dhiddenapi_test.cc142 std::ifstream ifs(file.GetFilename()); in ReadFlagsCsvFile() local
145 for (std::string line; std::getline(ifs, line);) { in ReadFlagsCsvFile()