/libcore/luni/src/main/java/java/util/ |
Queue.java | 79 public E peek(); method in interface:Queue
|
AbstractQueue.java | 22 * {@code element} are based on {@code offer, poll}, and {@code peek} except 110 E o = peek();
|
Stack.java | 54 public synchronized E peek() { method in class:Stack 68 * @see #peek 89 * @see #peek
|
/external/guava/src/com/google/common/collect/ |
ForwardingQueue.java | 51 public E peek() { method in class:ForwardingQueue 52 return delegate().peek();
|
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 56 * #peek()} has occurred since the most recent call to {@link #next()}. 58 * @throws IllegalStateException if there has been a call to {@link #peek()}
|
AbstractIterator.java | 97 * {@code next}, or {@link #peek()} methods on this instance; if it does, an 104 * {@code peek()} invocation that invoked this method. Any further 154 * according to the contract of {@link PeekingIterator#peek()}. 159 public final T peek() { method in class:AbstractIterator
|
/libcore/xml/src/main/java/org/kxml2/io/ |
KXmlParser.java | 97 * A separate peek buffer seems simpler than managing 100 private int[] peek = new int[2]; field in class:KXmlParser 315 // && (stackMismatch > 0 || (peek(0) == -1 && depth > 0))) { 385 if ((peek(0) == 'x' || peek(0) == 'X') 386 && (peek(1) == 'm' || peek(1) == 'M')) { 389 push(peek(0)); 390 push(peek(1)); 395 if ((peek(0) == 'l' || peek(0) == 'L') && peek(1) <= ' ') [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
Message.java | 105 if (!c.isInstance(stack.peek())) {
108 + stack.peek().getClass().getName() + "'");
121 ((Entity) stack.peek()).setBody(m);
146 ((Header) stack.peek()).addField(Field.parse(fieldData));
156 ((Entity) stack.peek()).setHeader(h);
165 Entity e = (Entity) stack.peek();
191 ((Entity) stack.peek()).setBody(body);
208 ((Multipart) stack.peek()).addBodyPart(bodyPart);
230 ((Multipart) stack.peek()).setEpilogue(sb.toString());
243 ((Multipart) stack.peek()).setPreamble(sb.toString()); [all...] |
/external/webkit/JavaScriptCore/wrec/ |
WRECParser.h | 77 if (peek() != EndOfPattern) 123 int peek() function in class:JSC::WREC::Parser 139 return WTF::isASCIIDigit(peek()); 145 return peek() - '0'; 168 if (!WTF::isASCIIHexDigit(peek())) 178 while (n < 32 && WTF::isASCIIOctalDigit(peek()))
|
WRECParser.cpp | 111 switch (peek()) { 140 if (peek() == ',') { 145 if (peek() != '}') { 168 if ((q.type == Quantifier::Greedy) && (peek() == '?')) { 277 if (peek() == '^') { 285 while ((ch = peek()) != ']') { 365 switch (peek()) { 510 switch (peek()) { 606 if (peek() != '|') 614 } while (peek() == '|') [all...] |
/libcore/luni/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
|
ObjectStack.java | 123 public Object peek() method in class:ObjectStack 141 public Object peek(int n) method in class:ObjectStack
|
BoolStack.java | 142 public final boolean peek() method in class:BoolStack
|
/external/webkit/JavaScriptCore/yarr/ |
RegexParser.h | 229 ASSERT(peek() == '\\'); 237 switch (peek()) { 309 if (peek() >= '8') { 416 ASSERT(peek() == '['); 424 switch (peek()) { 453 ASSERT(peek() == '('); 492 ASSERT(peek() == ')'); 533 switch (peek()) { 692 int peek() function in class:JSC::Yarr::Parser 700 return !atEndOfPattern() && WTF::isASCIIDigit(peek()); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
DelayQueue.java | 117 if (q.peek() == e) { 163 E first = q.peek(); 185 E first = q.peek(); 207 if (leader == null && q.peek() != null) 229 E first = q.peek(); 257 if (leader == null && q.peek() != null) 273 public E peek() { method in class:DelayQueue 277 return q.peek(); 309 E first = q.peek(); 339 E first = q.peek(); [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapResponseParser.java | 109 * Peek next one byte. 114 private int peek() throws IOException { method in class:ImapResponseParser 115 final int next = mIn.peek(); 259 final int ch = peek(); 289 if (peek() == ' ') { 295 final int next = peek(); 298 if (peek() == ' ') { // Skip following space 331 final int next = peek(); 366 final int ch = peek(); 406 final int next = peek(); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
DeferredHandler.java | 104 Runnable peek = mQueue.getFirst(); local 105 if (peek instanceof IdleRunnable) {
|
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
NamespaceMappings.java | 143 uri = ((MappingRecord) stack.peek()).m_uri; 154 ((MappingRecord) stack.peek()) : null; 242 MappingRecord mr = (MappingRecord)stack.peek(); 271 MappingRecord map = (MappingRecord) (m_nodeStack.peek()); 284 MappingRecord nm2 = (MappingRecord) prefixStack.peek(); 421 public Object peek() { method in class:NamespaceMappings.Stack 431 public Object peek(int idx) { method in class:NamespaceMappings.Stack
|
/cts/tools/dasm/src/java_cup/runtime/ |
virtual_parse_stack.java | 115 return ((Integer)vstack.peek()).intValue();
|
lr_parser.java | 509 act = get_action(((symbol)stack.peek()).parse_state, cur_token.sym); 540 act = get_reduce(((symbol)stack.peek()).parse_state, lhs_sym_num); 673 act = get_action(((symbol)stack.peek()).parse_state, cur_token.sym); 708 act = get_reduce(((symbol)stack.peek()).parse_state, lhs_sym_num); 819 return get_action(((symbol)stack.peek()).parse_state, error_sym()) > 0; 844 ((symbol)stack.peek()).parse_state); 857 act = get_action(((symbol)stack.peek()).parse_state, error_sym()); 861 ((symbol)stack.peek()).parse_state + ")"); [all...] |
/frameworks/base/core/java/android/webkit/ |
HttpAuthHandler.java | 113 loader = mLoaderQueue.peek(); 173 loader = mLoaderQueue.peek(); 208 assert(mLoaderQueue.peek() == loader); 252 loader = mLoaderQueue.peek();
|
/packages/apps/Email/src/com/android/email/ |
PeekableInputStream.java | 24 * client of this stream can call peek() to see the next available byte in the stream 46 public int peek() throws IOException { method in class:PeekableInputStream
|
/dalvik/dx/src/com/android/dx/cf/code/ |
ExecutionStack.java | 175 * {@code n == 0} means to peek at the top of the stack. Note that 179 * @param n {@code >= 0;} which element to peek at 183 public TypeBearer peek(int n) { method in class:ExecutionStack 199 * for {@code peek(n).getType()}. 201 * @see #peek 204 return peek(n).getType(); 216 TypeBearer result = peek(0);
|
/libcore/luni/src/test/java/tests/api/java/util/ |
StackTest.java | 69 * @tests java.util.Stack#peek() 74 method = "peek", 78 // Test for method java.lang.Object java.util.Stack.peek() 83 assertTrue("Peek did not return top item when it was the only item", s 84 .peek() == item1); 87 assertTrue("Peek did not return top item amoung many other items", s 88 .peek() == item3); 90 assertTrue("Peek did not return top item after a pop", s.pop() == item2); 92 assertNull("Peek did not return top item (wanted: null)", 93 s.peek()); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
INetworkSystem.java | 58 int length, boolean peek, boolean connected) throws IOException; 60 int length, boolean peek, boolean connected) throws IOException;
|