Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptorPool.cs284 StringBuilder scopeToTry = new StringBuilder(relativeTo.FullName); in LookupSymbol()
290 int dotpos = scopeToTry.ToString().LastIndexOf("."); in LookupSymbol()
298 scopeToTry.Length = dotpos + 1; in LookupSymbol()
301 scopeToTry.Append(firstPart); in LookupSymbol()
302 result = FindSymbol<IDescriptor>(scopeToTry.ToString()); in LookupSymbol()
311 scopeToTry.Length = dotpos + 1; in LookupSymbol()
312 scopeToTry.Append(name); in LookupSymbol()
313 result = FindSymbol<IDescriptor>(scopeToTry.ToString()); in LookupSymbol()
319 scopeToTry.Length = dotpos; in LookupSymbol()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java2336 final StringBuilder scopeToTry = new StringBuilder(relativeTo.getFullName()); in lookupSymbol() local
2340 final int dotpos = scopeToTry.lastIndexOf("."); in lookupSymbol()
2346 scopeToTry.setLength(dotpos + 1); in lookupSymbol()
2349 scopeToTry.append(firstPart); in lookupSymbol()
2350 result = findSymbol(scopeToTry.toString(), DescriptorPool.SearchFilter.AGGREGATES_ONLY); in lookupSymbol()
2357 scopeToTry.setLength(dotpos + 1); in lookupSymbol()
2358 scopeToTry.append(name); in lookupSymbol()
2359 result = findSymbol(scopeToTry.toString(), filter); in lookupSymbol()
2361 fullname = scopeToTry.toString(); in lookupSymbol()
2366 scopeToTry.setLength(dotpos); in lookupSymbol()