/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/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()}
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchPeeker.h | 43 virtual bool peek(const char tag[], const void* data, size_t length);
|
/packages/apps/Email/emailcommon/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...] |
/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...] |
JsonWriter.java | 226 JsonScope context = peek(); 242 private JsonScope peek() { method in class:JsonWriter 348 if (peek() != JsonScope.NONEMPTY_DOCUMENT) { 421 JsonScope context = peek(); 440 switch (peek()) {
|
/external/webkit/Source/WebKit/chromium/scripts/ |
jsmin.py | 107 def peek(self): member in class:JavaScriptMinifier 113 """ get the next character, excluding comments. peek() is used to see 118 peek = self.peek() 119 if peek == '/': 124 elif peek == '*': 129 if self.peek() == '/':
|
/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/v8/src/ |
preparser.cc | 102 while (peek() != end_token) { 135 switch (peek()) { 214 bool done = (peek() == i::Token::RPAREN); 217 done = (peek() == i::Token::RPAREN); 236 while (peek() != i::Token::RBRACE) { 265 if (peek() == i::Token::VAR) { 267 } else if (peek() == i::Token::CONST) { 282 if (peek() == i::Token::ASSIGN) { 286 } while (peek() == i::Token::COMMA); 300 if (peek() == i::Token::COLON && expr == kIdentifierExpression) [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
|
ObjectStack.java | 123 public Object peek() method in class:ObjectStack 141 public Object peek(int n) method in class:ObjectStack
|
/external/antlr/src/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/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/webkit/Source/JavaScriptCore/yarr/ |
YarrParser.h | 265 ASSERT(peek() == '\\'); 273 switch (peek()) { 345 if (peek() >= '8') { 452 ASSERT(peek() == '['); 460 switch (peek()) { 489 ASSERT(peek() == '('); 528 ASSERT(peek() == ')'); 569 switch (peek()) { 720 int peek() function in class:JSC::Yarr::Parser 728 return !atEndOfPattern() && WTF::isASCIIDigit(peek()); [all...] |
/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...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
DelayQueue.java | 110 if (q.peek() == e) { 156 E first = q.peek(); 178 E first = q.peek(); 200 if (leader == null && q.peek() != null) 222 E first = q.peek(); 250 if (leader == null && q.peek() != null) 266 public E peek() { method in class:DelayQueue 270 return q.peek(); 302 E first = q.peek(); 332 E first = q.peek(); [all...] |
/external/skia/tests/ |
Reader32Test.cpp | 24 REPORTER_ASSERT(reporter, (const char*)reader.peek() == 33 REPORTER_ASSERT(reporter, reader.peek() == reader.base()); 49 REPORTER_ASSERT(reporter, NULL == reader.peek()); 64 REPORTER_ASSERT(reporter, (const void*)&data[i] == reader.peek()); 78 REPORTER_ASSERT(reporter, (const void*)&data2[i] == reader.peek()); 90 REPORTER_ASSERT(reporter, NULL == reader.peek());
|
/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 | 103 Runnable peek = mQueue.getFirst(); local 104 if (peek instanceof IdleRunnable) {
|
/external/apache-xml/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
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
StackTest.java | 51 * @tests java.util.Stack#peek() 54 // Test for method java.lang.Object java.util.Stack.peek() 59 assertTrue("Peek did not return top item when it was the only item", s 60 .peek() == item1); 63 assertTrue("Peek did not return top item amoung many other items", s 64 .peek() == item3); 66 assertTrue("Peek did not return top item after a pop", s.pop() == item2); 68 assertNull("Peek did not return top item (wanted: null)", 69 s.peek());
|
/libcore/luni/src/test/java/tests/api/java/util/ |
StackTest.java | 51 * java.util.Stack#peek() 54 // Test for method java.lang.Object java.util.Stack.peek() 59 assertTrue("Peek did not return top item when it was the only item", s 60 .peek() == item1); 63 assertTrue("Peek did not return top item amoung many other items", s 64 .peek() == item3); 66 assertTrue("Peek did not return top item after a pop", s.pop() == item2); 68 assertNull("Peek did not return top item (wanted: null)", 69 s.peek());
|