Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc231 size_t prefix_index, value_index; in TryRemovePrefix() local
232 for (prefix_index = 0, value_index = 0; in TryRemovePrefix()
233 prefix_index < prefix_to_match.size() && value_index < value.size(); in TryRemovePrefix()
234 value_index++) { in TryRemovePrefix()
236 if (value[value_index] == '_') { in TryRemovePrefix()
239 if (ascii_tolower(value[value_index]) != prefix_to_match[prefix_index++]) { in TryRemovePrefix()
251 while (value_index < value.size() && value[value_index] == '_') { in TryRemovePrefix()
252 value_index++; in TryRemovePrefix()
256 if (value_index == value.size()) { in TryRemovePrefix()
260 return value.substr(value_index); in TryRemovePrefix()