Home
last modified time | relevance | path

Searched refs:OpenForWrite (Results 1 – 16 of 16) sorted by relevance

/third_party/ninja/src/
Ddeps_log_test.cc44 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, &err)); in TEST_F()
96 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, &err)); in TEST_F()
131 EXPECT_TRUE(log.OpenForWrite(kTestFilename, &err)); in TEST_F()
153 EXPECT_TRUE(log.OpenForWrite(kTestFilename, &err)); in TEST_F()
185 ASSERT_TRUE(log.OpenForWrite(kTestFilename, &err)); in TEST_F()
215 ASSERT_TRUE(log.OpenForWrite(kTestFilename, &err)); in TEST_F()
358 EXPECT_TRUE(log.OpenForWrite(kTestFilename, &err)); in TEST_F()
417 EXPECT_TRUE(log.OpenForWrite(kTestFilename, &err)); in TEST_F()
453 EXPECT_TRUE(log.OpenForWrite(kTestFilename, &err)); in TEST_F()
Dbuild_log_test.cc52 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
80 EXPECT_TRUE(log.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
91 EXPECT_TRUE(log.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
128 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
144 EXPECT_TRUE(log2.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
327 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
344 EXPECT_TRUE(log2.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
Ddeps_log.h74 bool OpenForWrite(const string& path, string* err);
Dbuild_log.h50 bool OpenForWrite(const string& path, const BuildLogUser& user, string* err);
Ddeps_log.cc46 bool DepsLog::OpenForWrite(const string& path, string* err) { in OpenForWrite() function in DepsLog
307 if (!new_log.OpenForWrite(temp_path, err)) in Recompact()
Dbuild_log_perftest.cc39 if (!log.OpenForWrite(kTestFilename, no_dead_paths, err)) in WriteTestData()
Dbuild_test.cc552 ASSERT_TRUE(build_log.OpenForWrite(log_path, *this, &err)); in RebuildTarget()
560 ASSERT_TRUE(deps_log.OpenForWrite(deps_path, &err)); in RebuildTarget()
1887 ASSERT_TRUE(log_.OpenForWrite("ninja_deps", &err)); in SetUp()
2119 ASSERT_TRUE(deps_log.OpenForWrite("ninja_deps", &err)); in TEST_F()
2150 ASSERT_TRUE(deps_log.OpenForWrite("ninja_deps", &err)); in TEST_F()
2190 ASSERT_TRUE(deps_log.OpenForWrite("ninja_deps", &err)); in TEST_F()
2220 ASSERT_TRUE(deps_log.OpenForWrite("ninja_deps", &err)); in TEST_F()
2313 ASSERT_TRUE(deps_log.OpenForWrite("ninja_deps", &err)); in TEST_F()
2340 ASSERT_TRUE(deps_log.OpenForWrite("ninja_deps", &err)); in TEST_F()
2372 ASSERT_TRUE(deps_log.OpenForWrite("ninja_deps", &err)); in TEST_F()
[all …]
Dninja.cc910 if (!build_log_.OpenForWrite(log_path, *this, &err)) { in ToolRestat()
1120 if (!build_log_.OpenForWrite(log_path, *this, &err)) { in OpenBuildLog()
1159 if (!deps_log_.OpenForWrite(path, &err)) { in OpenDepsLog()
Dbuild_log.cc129 bool BuildLog::OpenForWrite(const string& path, const BuildLogUser& user, in OpenForWrite() function in BuildLog
Dclean_test.cc496 EXPECT_TRUE(log1.OpenForWrite(kTestFilename, *this, &err)); in TEST_F()
/third_party/gptfdisk/
Ddiskio.cc78 int DiskIO::OpenForWrite(const string & filename) { in OpenForWrite() function in DiskIO
86 retval = OpenForWrite(); in OpenForWrite()
Ddiskio.h65 int OpenForWrite(const std::string & filename);
66 int OpenForWrite(void);
Ddiskio-windows.cc85 int DiskIO::OpenForWrite(void) { in OpenForWrite() function in DiskIO
178 OpenForWrite(); in DiskSync()
275 OpenForWrite(); in Write()
Ddiskio-unix.cc116 int DiskIO::OpenForWrite(void) { in OpenForWrite() function in DiskIO
386 OpenForWrite(); in Write()
Dbasicmbr.cc363 if (myDisk->OpenForWrite() != 0) { in WriteMBRData()
464 allOK = theDisk->OpenForWrite(); in WriteMBRData()
613 if ((myDisk != NULL) && (myDisk->OpenForWrite())) { in BlankGPTData()
620 if ((myDisk != NULL) && (myDisk->OpenForWrite())) { in BlankGPTData()
628 if ((myDisk != NULL) && (myDisk->OpenForWrite())) { in BlankGPTData()
Dgpt.cc839 err = myDisk.OpenForWrite(deviceFilename); in LoadPartitions()
1263 if (myDisk.OpenForWrite()) { in SaveGPTData()
1325 if (backupFile.OpenForWrite(filename)) { in SaveGPTBackup()
1337 backupFile.OpenForWrite(); in SaveGPTBackup()
1483 if (myDisk.OpenForWrite()) { in DestroyGPT()
1543 allOK = myDisk.OpenForWrite() && myDisk.Seek(0) && (myDisk.Write(blankSector, 512) == 512); in DestroyMBR()