Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/
Dimporter.cc285 const string& old_prefix, in ApplyMapping() argument
288 if (old_prefix.empty()) { in ApplyMapping()
303 } else if (HasPrefixString(filename, old_prefix)) { in ApplyMapping()
305 if (filename.size() == old_prefix.size()) { in ApplyMapping()
314 if (filename[old_prefix.size()] == '/') { in ApplyMapping()
315 after_prefix_start = old_prefix.size() + 1; in ApplyMapping()
316 } else if (filename[old_prefix.size() - 1] == '/') { in ApplyMapping()
319 after_prefix_start = old_prefix.size(); in ApplyMapping()