Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc477 string virtual_file; in TEST_F() local
482 "/foo", &virtual_file, &shadowing_disk_file)); in TEST_F()
486 dirnames_[1] + "/foo", &virtual_file, &shadowing_disk_file)); in TEST_F()
487 EXPECT_EQ("bar/foo", virtual_file); in TEST_F()
492 dirnames_[1] + "/baz", &virtual_file, &shadowing_disk_file)); in TEST_F()
493 EXPECT_EQ("bar/baz", virtual_file); in TEST_F()
497 dirnames_[0] + "/foo", &virtual_file, &shadowing_disk_file)); in TEST_F()
498 EXPECT_EQ("bar/foo", virtual_file); in TEST_F()
511 string virtual_file; in TEST_F() local
517 "../../baz", &virtual_file, &shadowing_disk_file)); in TEST_F()
[all …]
Dimporter.cc348 string* virtual_file, in DiskFileToVirtualFile() argument
356 mappings_[i].virtual_path, virtual_file)) { in DiskFileToVirtualFile()
370 if (ApplyMapping(*virtual_file, mappings_[i].virtual_path, in DiskFileToVirtualFile()
391 bool DiskSourceTree::VirtualFileToDiskFile(const string& virtual_file, in VirtualFileToDiskFile() argument
393 scoped_ptr<io::ZeroCopyInputStream> stream(OpenVirtualFile(virtual_file, in VirtualFileToDiskFile()
403 const string& virtual_file, in OpenVirtualFile() argument
405 if (virtual_file != CanonicalizePath(virtual_file) || in OpenVirtualFile()
406 ContainsParentReference(virtual_file)) { in OpenVirtualFile()
415 if (ApplyMapping(virtual_file, mappings_[i].virtual_path, in OpenVirtualFile()
Dimporter.h267 string* virtual_file,
273 bool VirtualFileToDiskFile(const string& virtual_file, string* disk_file);
290 io::ZeroCopyInputStream* OpenVirtualFile(const string& virtual_file,
Dcommand_line_interface.cc704 string virtual_file, shadowing_disk_file; in MakeInputsBeProtoPathRelative() local
706 input_files_[i], &virtual_file, &shadowing_disk_file)) { in MakeInputsBeProtoPathRelative()
708 input_files_[i] = virtual_file; in MakeInputsBeProtoPathRelative()