Home
last modified time | relevance | path

Searched refs:peek (Results 1 – 10 of 10) sorted by relevance

/cts/libs/json/src/com/android/json/stream/
DJsonReader.java287 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 …]
DJsonWriter.java226 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/
DJsonReaderTest.java38 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/
Dlr_parser.java509 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 …]
Dvirtual_parse_stack.java115 return ((Integer)vstack.peek()).intValue(); in top()
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DWindowManagerState.java293 final String line = dump.peek().trim(); in create()
369 final String line = dump.peek().trim(); in create()
430 final String line = dump.peek().trim(); in doneExtracting()
530 final String line = dump.peek().trim(); in create()
635 final String line = dump.peek().trim(); in create()
DActivityManagerState.java281 final String line = dump.peek().trim(); in create()
384 final String line = dump.peek().trim(); in create()
495 final String line = dump.peek().trim(); in create()
623 final String line = dump.peek().trim(); in doneExtracting()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java435 Integer imgBufSize = mInflightImageSizes.peek(); in run()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex23087 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 …]
Dclasses.out.dex100356 android.view.View peek(