Searched defs:disk_path (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dimporter.h233 // disk_path may be an absolute path or relative to the current directory,
235 void MapPath(const string& virtual_path, const string& disk_path);
246 // file. The first mapping created with MapPath() whose disk_path contains
281 string disk_path; member in struct:google::protobuf::compiler::DiskSourceTree::Mapping
285 : virtual_path(virtual_path_param), disk_path(disk_path_param) {}
H A Dimporter.cc346 const string& disk_path) {
347 mappings_.push_back(Mapping(virtual_path, CanonicalizePath(disk_path)));
360 if (ApplyMapping(canonical_disk_file, mappings_[i].disk_path,
376 mappings_[i].disk_path, shadowing_disk_file)) {
421 mappings_[i].disk_path, &temp_disk_file)) {
345 MapPath(const string& virtual_path, const string& disk_path) argument
H A Dcommand_line_interface.cc927 string disk_path; local
932 disk_path = parts[i];
935 disk_path = parts[i].substr(equals_pos + 1);
938 if (disk_path.empty()) {
945 if (access(disk_path.c_str(), F_OK) < 0) {
946 cerr << disk_path << ": warning: directory does not exist." << endl;
952 proto_path_.push_back(pair<string, string>(virtual_path, disk_path));
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.h233 // disk_path may be an absolute path or relative to the current directory,
235 void MapPath(const string& virtual_path, const string& disk_path);
246 // file. The first mapping created with MapPath() whose disk_path contains
281 string disk_path; member in struct:google::protobuf::compiler::DiskSourceTree::Mapping
283 inline Mapping(const string& virtual_path, const string& disk_path) argument
284 : virtual_path(virtual_path), disk_path(disk_path) {}
H A Dimporter.cc341 const string& disk_path) {
342 mappings_.push_back(Mapping(virtual_path, CanonicalizePath(disk_path)));
355 if (ApplyMapping(canonical_disk_file, mappings_[i].disk_path,
371 mappings_[i].disk_path, shadowing_disk_file)) {
416 mappings_[i].disk_path, &temp_disk_file)) {
340 MapPath(const string& virtual_path, const string& disk_path) argument
H A Dcommand_line_interface.cc873 string disk_path; local
878 disk_path = parts[i];
881 disk_path = parts[i].substr(equals_pos + 1);
884 if (disk_path.empty()) {
891 if (access(disk_path.c_str(), F_OK) < 0) {
892 cerr << disk_path << ": warning: directory does not exist." << endl;
895 proto_path_.push_back(make_pair(virtual_path, disk_path));

Completed in 157 milliseconds