Searched refs:virtual_file (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/ |
D | importer_unittest.cc | 400 string virtual_file; in TEST_F() local 405 "/foo", &virtual_file, &shadowing_disk_file)); in TEST_F() 409 dirnames_[1] + "/foo", &virtual_file, &shadowing_disk_file)); in TEST_F() 410 EXPECT_EQ("bar/foo", virtual_file); in TEST_F() 415 dirnames_[1] + "/baz", &virtual_file, &shadowing_disk_file)); in TEST_F() 416 EXPECT_EQ("bar/baz", virtual_file); in TEST_F() 420 dirnames_[0] + "/foo", &virtual_file, &shadowing_disk_file)); in TEST_F() 421 EXPECT_EQ("bar/foo", virtual_file); in TEST_F() 434 string virtual_file; in TEST_F() local 440 "../../baz", &virtual_file, &shadowing_disk_file)); in TEST_F() [all …]
|
D | importer.cc | 384 string* virtual_file, in DiskFileToVirtualFile() argument 392 mappings_[i].virtual_path, virtual_file)) { in DiskFileToVirtualFile() 406 if (ApplyMapping(*virtual_file, mappings_[i].virtual_path, in DiskFileToVirtualFile() 427 bool DiskSourceTree::VirtualFileToDiskFile(const string& virtual_file, in VirtualFileToDiskFile() argument 430 OpenVirtualFile(virtual_file, disk_file)); in VirtualFileToDiskFile() 443 const string& virtual_file, in OpenVirtualFile() argument 445 if (virtual_file != CanonicalizePath(virtual_file) || in OpenVirtualFile() 446 ContainsParentReference(virtual_file)) { in OpenVirtualFile() 457 if (ApplyMapping(virtual_file, mappings_[i].virtual_path, in OpenVirtualFile()
|
D | importer.h | 286 string* virtual_file, 292 bool VirtualFileToDiskFile(const string& virtual_file, string* disk_file); 313 io::ZeroCopyInputStream* OpenVirtualFile(const string& virtual_file,
|
D | command_line_interface.cc | 912 string virtual_file, shadowing_disk_file; in MakeInputsBeProtoPathRelative() local 914 input_files_[i], &virtual_file, &shadowing_disk_file)) { in MakeInputsBeProtoPathRelative() 916 input_files_[i] = virtual_file; in MakeInputsBeProtoPathRelative() 1522 const string& virtual_file = file.name(); in GenerateDependencyManifestFile() local 1525 source_tree->VirtualFileToDiskFile(virtual_file, &disk_file)) { in GenerateDependencyManifestFile() 1529 std::cerr << "Unable to identify path for file " << virtual_file in GenerateDependencyManifestFile()
|