Searched refs:TextFormatParseLocation (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | TextFormatParseLocationTest.java | 41 TextFormatParseLocation location = TextFormatParseLocation.create(-1, -1); in testCreateEmpty() 42 assertEquals(TextFormatParseLocation.EMPTY, location); in testCreateEmpty() 46 TextFormatParseLocation location = TextFormatParseLocation.create(2, 1); in testCreate() 53 TextFormatParseLocation.create(-1, 0); in testCreateThrowsIllegalArgumentExceptionForInvalidIndex() 59 TextFormatParseLocation.create(0, -1); in testCreateThrowsIllegalArgumentExceptionForInvalidIndex() 67 TextFormatParseLocation loc0 = TextFormatParseLocation.create(2, 1); in testHashCode() 68 TextFormatParseLocation loc1 = TextFormatParseLocation.create(2, 1); in testHashCode() 72 TextFormatParseLocation.EMPTY.hashCode(), TextFormatParseLocation.EMPTY.hashCode()); in testHashCode() 76 TextFormatParseLocation loc0 = TextFormatParseLocation.create(2, 1); in testEquals() 77 TextFormatParseLocation loc1 = TextFormatParseLocation.create(1, 2); in testEquals() [all …]
|
D | TextFormatParseInfoTreeTest.java | 58 private static final TextFormatParseLocation LOC0 = TextFormatParseLocation.create(1, 2); 59 private static final TextFormatParseLocation LOC1 = TextFormatParseLocation.create(2, 3);
|
D | TextFormatTest.java | 1116 List<TextFormatParseLocation> locs = tree.getLocations(descriptor.findFieldByName(fieldName)); in assertLocation() 1118 TextFormatParseLocation location = locs.get(index); in assertLocation() 1119 TextFormatParseLocation expected = TextFormatParseLocation.create(line, column); in assertLocation()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | TextFormatParseLocation.java | 40 public final class TextFormatParseLocation { class 45 public static final TextFormatParseLocation EMPTY = new TextFormatParseLocation(-1, -1); 54 static TextFormatParseLocation create(int line, int column) { in create() 62 return new TextFormatParseLocation(line, column); in create() 68 private TextFormatParseLocation(int line, int column) { in TextFormatParseLocation() method in TextFormatParseLocation 91 if (!(o instanceof TextFormatParseLocation)) { in equals() 94 TextFormatParseLocation that = (TextFormatParseLocation) o; in equals()
|
D | TextFormatParseInfoTree.java | 56 private Map<FieldDescriptor, List<TextFormatParseLocation>> locationsFromField; 69 Map<FieldDescriptor, List<TextFormatParseLocation>> locationsFromField, in TextFormatParseInfoTree() 73 Map<FieldDescriptor, List<TextFormatParseLocation>> locs = in TextFormatParseInfoTree() 74 new HashMap<FieldDescriptor, List<TextFormatParseLocation>>(); in TextFormatParseInfoTree() 75 for (Entry<FieldDescriptor, List<TextFormatParseLocation>> kv : locationsFromField.entrySet()) { in TextFormatParseInfoTree() 99 public List<TextFormatParseLocation> getLocations(final FieldDescriptor fieldDescriptor) { in getLocations() 100 List<TextFormatParseLocation> result = locationsFromField.get(fieldDescriptor); in getLocations() 101 return (result == null) ? Collections.<TextFormatParseLocation>emptyList() : result; in getLocations() 115 public TextFormatParseLocation getLocation(final FieldDescriptor fieldDescriptor, int index) { in getLocation() 165 private Map<FieldDescriptor, List<TextFormatParseLocation>> locationsFromField; [all …]
|
D | TextFormat.java | 1553 field, TextFormatParseLocation.create(startLine, startColumn)); in mergeField()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ |
D | Makefile.am | 259 java/core/src/main/java/com/google/protobuf/TextFormatParseLocation.java \
|