Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java55 private static final TextFormatParseLocation LOC0 = TextFormatParseLocation.create(1, 2); field in TextFormatParseInfoTreeTest
71 rootBuilder.setLocation(OPTIONAL_INT32, LOC0); in testGetLocationReturnsSingleLocation()
73 assertEquals(LOC0, root.getLocation(OPTIONAL_INT32, 0)); in testGetLocationReturnsSingleLocation()
79 rootBuilder.setLocation(OPTIONAL_BOOLEAN, LOC0); in testGetLocationsReturnsNoParseLocationsForUnknownField()
82 assertEquals(LOC0, root.getLocations(OPTIONAL_BOOLEAN).get(0)); in testGetLocationsReturnsNoParseLocationsForUnknownField()
86 rootBuilder.setLocation(REPEATED_INT32, LOC0); in testGetLocationThrowsIllegalArgumentExceptionForUnknownField()
97 TextFormatParseInfoTree root = rootBuilder.setLocation(OPTIONAL_INT32, LOC0).build(); in testGetLocationThrowsIllegalArgumentExceptionForInvalidIndex()
113 rootBuilder.setLocation(REPEATED_INT32, LOC0); in testGetLocationsReturnsMultipleLocations()
116 assertEquals(LOC0, root.getLocation(REPEATED_INT32, 0)); in testGetLocationsReturnsMultipleLocations()
122 rootBuilder.setLocation(REPEATED_INT32, LOC0); in testGetNestedTreeThrowsIllegalArgumentExceptionForUnknownField()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/
Dlocation.hlotxt10 // CHECK: loc([[LOC0:.*]])
17 // CHECK: [[LOC0]] = loc("add0")