Searched refs:ifs (Results 1 – 8 of 8) sorted by relevance
55 std::ifstream ifs(file_path); in TEST_F() local56 ifs >> actual; in TEST_F()57 ASSERT_TRUE(ifs.eof()); in TEST_F()76 std::ifstream ifs(file_path); in TEST_F() local78 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() local89 ifs.close(); in TEST_F()92 ifs >> record; in TEST_F()[all …]
99 std::ifstream ifs(log_path_); in Read() local100 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()
106 std::ifstream ifs(metrics_file); in ReadValues() local107 if (!ifs) { in ReadValues()113 ifs >> *record; in ReadValues()114 if (!ifs) { in ReadValues()
211 std::ifstream ifs(GetMetricsFilePath()); in TEST_F() local212 EXPECT_TRUE(ifs); in TEST_F()213 ifs >> on_disk; in TEST_F()214 EXPECT_TRUE(ifs); in TEST_F()
154 HIf* ifs = block->GetLastInstruction()->AsIf(); in RemoveNonNullControlDependences() local165 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()
1217 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local1218 ifs->ReplaceInput(graph_->GetIntConstant(127), 1); in TEST_F()1243 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local1244 ifs->ReplaceInput(graph_->GetIntConstant(128), 1); in TEST_F()1269 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local1270 ifs->ReplaceInput(graph_->GetIntConstant(32767), 1); in TEST_F()1295 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local1296 ifs->ReplaceInput(graph_->GetIntConstant(32768), 1); in TEST_F()1320 HInstruction* ifs = loop_header_[0]->GetLastInstruction()->GetPrevious(); in TEST_F() local1321 ifs->ReplaceInput(graph_->GetIntConstant(65535), 1); in TEST_F()[all …]
124 HIf* ifs = control->AsIf(); in IsGuardedBy() local125 HInstruction* if_expr = ifs->InputAt(0); in IsGuardedBy()127 IfCondition other_cmp = ifs->IfTrueSuccessor() == entry in IsGuardedBy()895 HIf* ifs = control->AsIf(); in VisitControl() local896 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() local1139 HInstruction* cond = ifs->InputAt(0); in RewriteBreakLoop()1140 if (ifs->GetPrevious() != cond || !cond->HasOnlyOneNonEnvironmentUse()) { in RewriteBreakLoop()[all …]
142 std::ifstream ifs(file.GetFilename()); in ReadFlagsCsvFile() local145 for (std::string line; std::getline(ifs, line);) { in ReadFlagsCsvFile()