Searched defs:peek (Results 1 - 25 of 37) sorted by relevance

12

/external/guava/src/com/google/common/collect/
H A DPeekingIterator.java35 * <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()}
H A DForwardingQueue.java51 public E peek() { method in class:ForwardingQueue
52 return delegate().peek();
H A DAbstractIterator.java97 * {@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
H A DIterators.java976 public E peek() { method in class:Iterators.PeekingImpl
988 * <p>Calls to the {@code peek} method with no intervening calls to {@code
995 * String a1 = peekingIterator.peek(); // returns "a"
996 * String a2 = peekingIterator.peek(); // also returns "a"
1020 * additional {@link PeekingIterator#peek()} method, this iterator behaves
/external/webkit/Source/WebKit/chromium/scripts/
H A Djsmin.py107 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() == '/':
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DIntStack.java120 public final int peek() method in class:IntStack
138 public int peek(int n) method in class:IntStack
H A DObjectStack.java123 public Object peek() method in class:ObjectStack
141 public Object peek(int n) method in class:ObjectStack
H A DBoolStack.java142 public final boolean peek() method in class:BoolStack
H A DStringVector.java219 public final String peek() method in class:StringVector
/external/icu4c/common/
H A Duvector.h321 void* peek(void) const;
402 inline void* UStack::peek(void) const { function in class:UStack
/external/webkit/Source/JavaScriptCore/heap/
H A DLocal.h111 ExternalType peek() const function in class:JSC::LocalStack
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DDatagramSocketImplTest.java111 protected int peek(InetAddress sender) throws IOException { method in class:MockDatagramSocketImpl
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DAbstractQueueTest.java97 public E peek() { method in class:AbstractQueueTest.MockAbstractQueue
220 assertNull(queue.peek());
231 assertNull(queue.peek());
/external/javassist/src/main/javassist/bytecode/analysis/
H A DFrame.java116 public Type peek() { method in class:Frame
/external/openssl/ssl/
H A Ds2_pkt.c127 static int ssl2_read_internal(SSL *s, void *buf, int len, int peek) argument
159 if (!peek)
H A Ds3_lib.c3273 static int ssl3_read_internal(SSL *s, void *buf, int len, int peek) argument
3293 ret=s->method->ssl_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek);
3302 ret=s->method->ssl_read_bytes(s,SSL3_RT_APPLICATION_DATA,buf,len,peek);
H A Ds3_pkt.c936 int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek) argument
948 (peek && (type != SSL3_RT_APPLICATION_DATA)))
961 /* peek == 0 */
1016 * (even in 'peek' mode) */
1045 if (!peek)
/external/skia/include/core/
H A DSkReader32.h45 const void* peek() const { return fCurr; } function in class:SkReader32
H A DSkStream.h191 size_t peek() const { return fOffset; } function in class:SkMemoryStream
/external/apache-xml/src/main/java/org/apache/xml/serializer/
H A DNamespaceMappings.java143 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/qemu/
H A Djson-parser.c272 QObject *key, *token = NULL, *value, *peek; local
275 peek = qlist_peek(working);
278 parse_error(ctxt, peek, "key is not a string in object");
314 QObject *token, *peek; local
326 peek = qlist_peek(working);
327 if (!token_is_operator(peek, '}')) {
370 QObject *token, *peek; local
382 peek = qlist_peek(working);
383 if (!token_is_operator(peek, ']')) {
/external/webkit/Source/JavaScriptCore/assembler/
H A DMacroAssembler.h86 void peek(RegisterID dest, int index = 0) function in class:JSC::MacroAssembler
/external/stlport/src/details/
H A Dfstream_win32io.cpp416 else { // last char is CR, peek for LF
417 char peek = ' '; local
419 ReadFile(_M_file_id, (LPVOID)&peek, 1, &NumberOfBytesPeeked, 0);
421 if (peek != _STLP_LF) { //not a <CR><LF> combination
423 if ((to < buf + n) && (peek != _STLP_CR))
424 //We have enough place to store peek and it is no a special
426 *to++ = peek;
437 * - put peek back in the file but this would then generate an infinite loop
/external/v8/src/
H A Dpreparser.h227 i::Token::Value peek() { function in class:v8::preparser::PreParser
229 return scanner_->peek();
237 // Further calls to peek/Next will return illegal token.
239 // have been seen using peek.
257 i::Token::Value next = peek();
/external/webkit/Source/JavaScriptCore/yarr/
H A DYarrParser.h265 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...]

Completed in 486 milliseconds

12