Home
last modified time | relevance | path

Searched refs:disk_file (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.cc395 DiskSourceTree::DiskFileToVirtualFile(const std::string& disk_file, in DiskFileToVirtualFile() argument
399 std::string canonical_disk_file = CanonicalizePath(disk_file); in DiskFileToVirtualFile()
431 std::unique_ptr<io::ZeroCopyInputStream> stream(OpenDiskFile(disk_file)); in DiskFileToVirtualFile()
440 std::string* disk_file) { in VirtualFileToDiskFile() argument
442 OpenVirtualFile(virtual_file, disk_file)); in VirtualFileToDiskFile()
455 const std::string& virtual_file, std::string* disk_file) { in OpenVirtualFile() argument
473 if (disk_file != NULL) { in OpenVirtualFile()
474 *disk_file = temp_disk_file; in OpenVirtualFile()
Dimporter.h293 const std::string& disk_file, std::string* virtual_file,
300 std::string* disk_file);
322 std::string* disk_file);
Dimporter_unittest.cc525 std::string disk_file; in TEST_F() local
526 EXPECT_TRUE(source_tree_.VirtualFileToDiskFile("bar/foo", &disk_file)); in TEST_F()
527 EXPECT_EQ(dirnames_[0] + "/foo", disk_file); in TEST_F()
528 EXPECT_TRUE(source_tree_.VirtualFileToDiskFile("bar/quux", &disk_file)); in TEST_F()
529 EXPECT_EQ(dirnames_[1] + "/quux", disk_file); in TEST_F()
Dcommand_line_interface.cc1252 std::string disk_file; in MakeProtoProtoPathRelative() local
1253 if (source_tree->VirtualFileToDiskFile(*proto, &disk_file) || in MakeProtoProtoPathRelative()
1289 std::string disk_file; in MakeProtoProtoPathRelative() local
1290 if (source_tree->VirtualFileToDiskFile(*proto, &disk_file) || in MakeProtoProtoPathRelative()
2153 std::string disk_file; in GenerateDependencyManifestFile() local
2155 source_tree->VirtualFileToDiskFile(virtual_file, &disk_file)) { in GenerateDependencyManifestFile()
2156 printer.Print(" $disk_file$", "disk_file", disk_file); in GenerateDependencyManifestFile()