Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/compiler/
Dimporter.cc336 const std::string& old_prefix, in ApplyMapping() argument
338 if (old_prefix.empty()) { in ApplyMapping()
352 } else if (HasPrefixString(filename, old_prefix)) { in ApplyMapping()
354 if (filename.size() == old_prefix.size()) { in ApplyMapping()
363 if (filename[old_prefix.size()] == '/') { in ApplyMapping()
364 after_prefix_start = old_prefix.size() + 1; in ApplyMapping()
365 } else if (filename[old_prefix.size() - 1] == '/') { in ApplyMapping()
368 after_prefix_start = old_prefix.size(); in ApplyMapping()