HomeSort by relevance Sort by last modified time
    Searched refs:peek (Results 1 - 25 of 402) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/arduino/hardware/arduino/cores/arduino/
Stream.h 31 virtual int peek() = 0;
  /libcore/luni/src/main/java/java/util/
Queue.java 45 * <td>{@link #peek peek()}</td>
78 * <p>The {@link #element()} and {@link #peek()} methods return, but do
173 * differs from {@link #peek peek} only in that it throws an exception
187 E peek(); method in interface:Queue
AbstractQueue.java 19 * #poll poll}, and {@link #peek peek}, respectively, but throw
26 * Queue#peek}, {@link Queue#poll}, {@link Collection#size}, and
93 * differs from {@link #peek peek} only in that it throws an exception if
96 * <p>This implementation returns the result of <tt>peek</tt>
103 E x = peek();
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
QueueDispatcher.java 40 if (failFastResponse != null && responseQueue.peek() == null) {
49 MockResponse peek = responseQueue.peek(); local
50 if (peek == null) {
55 return peek.getSocketPolicy();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string.io/
stream_extract.pass.cpp 31 assert(in.peek() == ' ');
35 assert(in.peek() == ' ');
40 assert(in.peek() == 'g');
53 assert(in.peek() == L' ');
57 assert(in.peek() == L' ');
62 assert(in.peek() == L'g');
77 assert(in.peek() == ' ');
81 assert(in.peek() == ' ');
86 assert(in.peek() == 'g');
100 assert(in.peek() == L' ')
    [all...]
  /external/guava/guava/src/com/google/common/collect/
PeekingIterator.java 35 * <p>Calls to {@code peek()} should not change the state of the iteration,
42 E peek(); method in interface:PeekingIterator
47 * <p>The objects returned by consecutive calls to {@link #peek()} then {@link
57 * #peek()} has occurred since the most recent call to {@link #next()}.
59 * @throws IllegalStateException if there has been a call to {@link #peek()}
ForwardingQueue.java 70 public E peek() { method in class:ForwardingQueue
71 return delegate().peek();
95 * A sensible definition of {@link #peek} in terms of {@link #element}. If you
96 * override {@link #element}, you may wish to override {@link #peek} to
  /frameworks/base/core/jni/android/graphics/
NinePatchPeeker.h 43 virtual bool peek(const char tag[], const void* data, size_t length);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.unformatted/
peek.pass.cpp 12 // int_type peek();
46 assert(is.peek() == ' ');
51 assert(is.peek() == '1');
59 assert(is.peek() == L' ');
64 assert(is.peek() == L'1');
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/istream.iterator/istream.iterator.cons/
istream.pass.cpp 25 assert(inf.peek() == ' ');
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
Message.java 106 if (!c.isInstance(stack.peek())) {
109 + stack.peek().getClass().getName() + "'");
122 ((Entity) stack.peek()).setBody(m);
147 ((Header) stack.peek()).addField(Field.parse(fieldData));
157 ((Entity) stack.peek()).setHeader(h);
166 Entity e = (Entity) stack.peek();
192 ((Entity) stack.peek()).setBody(body);
209 ((Multipart) stack.peek()).addBodyPart(bodyPart);
231 ((Multipart) stack.peek()).setEpilogue(sb.toString());
244 ((Multipart) stack.peek()).setPreamble(sb.toString());
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
group-file-lexer.rb 368 look_1_0 = @input.peek( 1 )
377 if @input.peek( 1 ).between?( 0x30, 0x39 ) || @input.peek( 1 ).between?( 0x41, 0x5a ) || @input.peek( 1 ) == 0x5f || @input.peek( 1 ).between?( 0x61, 0x7a )
414 if @input.peek( 1 ) == 0x5f || @input.peek( 1 ).between?( 0x61, 0x7a )
426 look_2_0 = @input.peek( 1 )
435 if @input.peek( 1 ).between?( 0x30, 0x39 ) || @input.peek( 1 ).between?( 0x41, 0x5a ) || @input.peek( 1 ) == 0x5f || @input.peek( 1 ).between?( 0x61, 0x7a
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractIteratorTest.java 100 assertEquals(0, (int) iter.peek());
101 assertEquals(0, (int) iter.peek());
103 assertEquals(0, (int) iter.peek());
106 assertEquals(1, (int) iter.peek());
110 iter.peek();
111 fail("peek() should throw NoSuchElementException at end");
116 iter.peek();
117 fail("peek() should continue to throw NoSuchElementException at end");
128 iter.peek();
129 fail("peek() should still throw NoSuchElementException after next()")
    [all...]
PeekingIteratorTest.java 115 peekingIterator.peek();
116 fail("Should throw NoSuchElementException if nothing to peek()");
126 assertEquals("Should be able to peek() at first element",
127 "A", peekingIterator.peek());
128 assertEquals("Should be able to peek() first element multiple times",
129 "A", peekingIterator.peek());
133 assertEquals("Should be able to peek() at middle element",
134 "B", peekingIterator.peek());
135 assertEquals("Should be able to peek() middle element multiple times",
136 "B", peekingIterator.peek());
    [all...]
  /cts/libs/json/src/com/android/json/stream/
JsonReader.java 58 * <p>If a value may be null, you should first check using {@link #peek()}.
115 * } else if (name.equals("geo") && reader.peek() != JsonToken.NULL) {
197 * The type of the next token to be returned by {@link #peek} and {@link
198 * #advance}. If null, peek() will assign a value.
287 peek(); method
289 throw new IllegalStateException("Expected " + expected + " but was " + peek());
298 peek(); method
305 public JsonToken peek() throws IOException { method in class:JsonReader
342 peek(); method
359 peek(); method
377 peek(); method
395 peek(); method
413 peek(); method
429 peek(); method
450 peek(); method
481 peek(); method
725 char peek = buffer[pos]; local
    [all...]
  /ndk/sources/host-tools/nawk-20071023/
lex.c 94 int peek(void) function
214 if (peek() == '\n') {
216 } else if (peek() == '\r') {
224 if (peek() == '&') {
229 if (peek() == '|') {
234 if (peek() == '=') {
236 } else if (peek() == '~') {
244 if (peek() == '=') {
250 if (peek() == '=') {
256 if (peek() == '=')
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
IntStack.java 120 public final int peek() method in class:IntStack
138 public int peek(int n) method in class:IntStack
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
ParseTreeBuilder.java 74 ParseTree parentRuleNode = (ParseTree)callStack.peek();
82 ParseTree ruleNode = (ParseTree)callStack.peek();
91 ParseTree ruleNode = (ParseTree)callStack.peek();
105 ParseTree ruleNode = (ParseTree)callStack.peek();
  /external/chromium_org/third_party/WebKit/Source/core/platform/
SharedBufferChunkReader.h 57 size_t peek(Vector<char>&, size_t);
  /external/qemu-pc-bios/vgabios/tests/
testbios.c 263 biosarea->nbcols=peek(0x40,0x4a);
264 biosarea->regen=peek(0x40,0x4c);
265 biosarea->start=peek(0x40,0x4e);
266 biosarea->curpos[0]=peek(0x40,0x50);
267 biosarea->curpos[1]=peek(0x40,0x52);
268 biosarea->curpos[2]=peek(0x40,0x54);
269 biosarea->curpos[3]=peek(0x40,0x56);
270 biosarea->curpos[4]=peek(0x40,0x58);
271 biosarea->curpos[5]=peek(0x40,0x5a);
272 biosarea->curpos[6]=peek(0x40,0x5c);
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
Stack.java 63 public T peek() { method in class:Stack
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
QueuePeekTester.java 28 * A generic JUnit test which tests {@code peek()} operations on a queue.
39 assertNull("emptyQueue.peek() should return null", getQueue().peek());
45 assertEquals("size1Queue.peek() should return first element",
46 samples.e0, getQueue().peek());
53 assertEquals("sizeManyQueue.peek() should return first element",
54 samples.e0, getQueue().peek());
  /frameworks/base/core/java/android/util/
JsonReader.java 60 * <p>If a value may be null, you should first check using {@link #peek()}.
121 * } else if (name.equals("geo") && reader.peek() != JsonToken.NULL) {
211 * The type of the next token to be returned by {@link #peek} and {@link
212 * #advance}. If null, peek() will assign a value.
308 peek(); method
310 throw new IllegalStateException("Expected " + expected + " but was " + peek());
319 peek(); method
326 public JsonToken peek() throws IOException { method in class:JsonReader
371 peek(); method
388 peek(); method
406 peek(); method
424 peek(); method
442 peek(); method
458 peek(); method
479 peek(); method
510 peek(); method
794 char peek = buffer[pos]; local
    [all...]
  /external/skia/tests/
Reader32Test.cpp 17 REPORTER_ASSERT(reporter, (const char*)reader.peek() ==
26 REPORTER_ASSERT(reporter, reader.peek() == reader.base());
42 REPORTER_ASSERT(reporter, NULL == reader.peek());
57 REPORTER_ASSERT(reporter, (const void*)&data[i] == reader.peek());
71 REPORTER_ASSERT(reporter, (const void*)&data2[i] == reader.peek());
83 REPORTER_ASSERT(reporter, NULL == reader.peek());
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
FrameQueue.java 83 public Frame peek(); method in interface:FrameQueue.QueueImpl
111 public Frame peek() { method in class:FrameQueue.SingleFrameQueueImpl
166 public Frame peek() { method in class:FrameQueue
167 return mQueueImpl.peek();

Completed in 673 milliseconds

1 2 3 4 5 6 7 8 91011>>