• Home
  • Raw
  • Download

Lines Matching refs:dest_dir

214     for (const auto dir : { &dest_dir, &conf_dir }) {  in TearDown()
263 std::string dest_dir; member in PerfProfdTest
275 dest_dir = temp_dir1->path; in create_dirs()
392 static std::string encoded_file_path(const std::string& dest_dir, in encoded_file_path() argument
395 dest_dir.c_str(), seq); in encoded_file_path()
398 static void readEncodedProfile(const std::string& dest_dir, in readEncodedProfile() argument
403 int perf_data_stat_result = stat(encoded_file_path(dest_dir, 0).c_str(), &statb); in readEncodedProfile()
409 FILE *ifp = fopen(encoded_file_path(dest_dir, 0).c_str(), "r"); in readEncodedProfile()
526 std::string ddparam("destination_directory="); ddparam += dest_dir; in TEST_F()
561 std::string ddparam("destination_directory="); ddparam += dest_dir; in TEST_F()
597 std::string ddparam("destination_directory="); ddparam += dest_dir; in TEST_F()
1012 encode_to_proto(input_perf_data, encoded_file_path(dest_dir, 0).c_str(), config, 0, nullptr); in TEST_F()
1017 readEncodedProfile(dest_dir, false, encodedProfile); in TEST_F()
1047 encode_to_proto(input_perf_data, encoded_file_path(dest_dir, 0).c_str(), config, 0, nullptr); in TEST_F()
1052 readEncodedProfile(dest_dir, true, encodedProfile); in TEST_F()
1098 encoded_file_path(dest_dir, 0).c_str(), in Run()
1110 readEncodedProfile(dest_dir, false, encodedProfile); in Run()
1213 encode_to_proto(input_perf_data, encoded_file_path(dest_dir, 0).c_str(), config, 0, nullptr); in TEST_F()
1218 readEncodedProfile(dest_dir, false, encodedProfile); in TEST_F()
1303 std::string ddparam("destination_directory="); ddparam += dest_dir; in TEST_F()
1329 readEncodedProfile(dest_dir, false, encodedProfile); in TEST_F()
1368 std::string ddparam("destination_directory="); ddparam += dest_dir; in SetupAndInvoke()
1404 readEncodedProfile(dest_dir, false, encodedProfile); in SetupAndInvoke()
1516 std::string ddparam("destination_directory="); ddparam += dest_dir; in TEST_F()
1543 readEncodedProfile(dest_dir, false, encodedProfile); in TEST_F()
1550 EXPECT_EQ(0, access(encoded_file_path(dest_dir, 0).c_str(), F_OK)); in TEST_F()
1551 EXPECT_NE(0, access(encoded_file_path(dest_dir, 1).c_str(), F_OK)); in TEST_F()
1552 EXPECT_EQ(0, access(encoded_file_path(dest_dir, 2).c_str(), F_OK)); in TEST_F()
1592 std::string ddparam("destination_directory="); ddparam += dest_dir; in TEST_F()
1619 readEncodedProfile(dest_dir, false, encodedProfile); in TEST_F()