Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs122 int dotpos = fullName.LastIndexOf('.'); in AddPackage()
124 if (dotpos != -1) in AddPackage()
126 AddPackage(fullName.Substring(0, dotpos), file); in AddPackage()
127 name = fullName.Substring(dotpos + 1); in AddPackage()
290 int dotpos = scopeToTry.ToString().LastIndexOf("."); in LookupSymbol()
291 if (dotpos == -1) in LookupSymbol()
298 scopeToTry.Length = dotpos + 1; in LookupSymbol()
311 scopeToTry.Length = dotpos + 1; in LookupSymbol()
319 scopeToTry.Length = dotpos; in LookupSymbol()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java2396 final int dotpos = scopeToTry.lastIndexOf("."); in lookupSymbol() local
2397 if (dotpos == -1) { in lookupSymbol()
2402 scopeToTry.setLength(dotpos + 1); in lookupSymbol()
2413 scopeToTry.setLength(dotpos + 1); in lookupSymbol()
2422 scopeToTry.setLength(dotpos); in lookupSymbol()
2466 final int dotpos = fullName.lastIndexOf('.'); in addSymbol() local
2467 if (dotpos == -1) { in addSymbol()
2474 + fullName.substring(dotpos + 1) in addSymbol()
2476 + fullName.substring(0, dotpos) in addSymbol()
2535 final int dotpos = fullName.lastIndexOf('.'); in addPackage() local
[all …]
/third_party/protobuf/src/google/protobuf/
Ddescriptor.cc3914 std::string::size_type dotpos = placeholder_full_name->find_last_of('.'); in NewPlaceholderWithMutexHeld() local
3915 if (dotpos != std::string::npos) { in NewPlaceholderWithMutexHeld()
3917 tables_->AllocateString(placeholder_full_name->substr(0, dotpos)); in NewPlaceholderWithMutexHeld()
3919 tables_->AllocateString(placeholder_full_name->substr(dotpos + 1)); in NewPlaceholderWithMutexHeld()