Searched refs:peek (Results 1 – 8 of 8) sorted by relevance
/cts/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 287 peek(); in expect() 289 throw new IllegalStateException("Expected " + expected + " but was " + peek()); in expect() 298 peek(); in hasNext() 305 public JsonToken peek() throws IOException { in peek() method in JsonReader 342 peek(); in advance() 359 peek(); in nextName() 361 throw new IllegalStateException("Expected a name but was " + peek()); in nextName() 377 peek(); in nextString() 379 throw new IllegalStateException("Expected a string but was " + peek()); in nextString() 395 peek(); in nextBoolean() [all …]
|
D | JsonWriter.java | 226 JsonScope context = peek(); in close() 242 private JsonScope peek() { in peek() method in JsonWriter 348 if (peek() != JsonScope.NONEMPTY_DOCUMENT) { in close() 421 JsonScope context = peek(); in beforeName() 440 switch (peek()) { in beforeValue()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | JsonReaderTest.java | 38 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadArray() 46 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyArray() 58 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadObject() 66 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyObject() 78 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testSkipObject() 105 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testSkipAfterEndOfDocument() 127 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testHelloWorld() 199 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testCharacterUnescaping() 243 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testDoubles() 275 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testLenientDoubles() [all …]
|
/cts/tools/dasm/src/java_cup/runtime/ |
D | lr_parser.java | 509 act = get_action(((symbol)stack.peek()).parse_state, cur_token.sym); in parse() 540 act = get_reduce(((symbol)stack.peek()).parse_state, lhs_sym_num); in parse() 673 act = get_action(((symbol)stack.peek()).parse_state, cur_token.sym); in debug_parse() 708 act = get_reduce(((symbol)stack.peek()).parse_state, lhs_sym_num); in debug_parse() 819 return get_action(((symbol)stack.peek()).parse_state, error_sym()) > 0; in shift_under_error() 844 ((symbol)stack.peek()).parse_state); in find_recovery_config() 857 act = get_action(((symbol)stack.peek()).parse_state, error_sym()); in find_recovery_config() 861 ((symbol)stack.peek()).parse_state + ")"); in find_recovery_config() 1043 ((symbol)stack.peek()).parse_state); in parse_lookahead() 1053 get_action(((symbol)stack.peek()).parse_state, cur_err_token().sym); in parse_lookahead() [all …]
|
D | virtual_parse_stack.java | 115 return ((Integer)vstack.peek()).intValue(); in top()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | richards.js | 530 var peek, next = queue; 531 while ((peek = next.link) != null) 532 next = peek;
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletToSigConverter.java | 382 genericDeclaration = currentMethod.peek(); in convertTypeReference() 385 genericDeclaration = currentConstructor.peek(); in convertTypeReference() 466 genericDeclaration = currentMethod.peek(); in convertExecutableMember() 468 genericDeclaration = currentConstructor.peek(); in convertExecutableMember()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 23087 protected abstract int peek( 40657 public abstract java.lang.Object peek() 46415 public java.lang.Object peek() 46996 public java.lang.Object peek() 48042 public java.lang.Object peek() 49910 public java.lang.Object peek() 50683 public java.lang.Object peek() 51490 public volatile java.lang.Object peek() 51492 public java.util.concurrent.Delayed peek() 52374 public java.lang.Object peek() [all …]
|