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

123

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
H A Dinteractive.rb98 def peek( i = 1 ) method in class:ANTLR3.InteractiveStringStream
107 peek( i )
113 peek( i ).chr rescue EOF
/external/guava/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
57 * #peek()} has occurred since the most recent call to {@link #next()}.
59 * @throws IllegalStateException if there has been a call to {@link #peek()}
H A DForwardingQueue.java70 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
H A DAbstractIterator.java103 * {@code next}, or {@link #peek()} methods on this instance; if it does, an
110 * {@code peek()} invocation that invoked this method. Any further
162 * according to the contract of {@link PeekingIterator#peek()}.
167 public final T peek() { method in class:AbstractIterator
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStackExtensions.cs51 public static T peek<T>( this Stack<T> stack ) method in class:Antlr.Runtime.JavaExtensions.StackExtensions
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dhttp_header_util.py61 def peek(state, pos=0): function
92 if c != peek(state, pos):
114 c = peek(state, pos)
141 c = peek(state, pos)
/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/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A Ddebug.rb134 def peek( i = 1 ) method in class:ANTLR3.Debug.TreeNodeStream
/external/icu4c/common/
H A Duvector.h330 void* peek(void) const;
411 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/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dstreams.rb90 === consume / look / peek
95 <tt>stream.peek(k = 1)</tt> is used to quickly retrieve the object of interest
103 look-ahead position specified by <tt>k</tt>. While <tt>peek</tt> provides the
111 <b>Note:</b> in most ANTLR runtime APIs for other languages, <tt>peek</tt> is
115 un-Ruby-like. Thus, I chose <tt>peek</tt> and <tt>look</tt> to represent a
116 quick-look (peek) and a full-fledged look-ahead operation (look). If this causes
176 # :method: peek( k = 1 )
180 abstract :peek
294 Then, all <tt>peek</tt>, <tt>look</tt>, and <tt>consume</tt> operations only
349 #peek metho
497 def peek( k = 1 ) method in class:ANTLR3.that.StringStream
925 def peek( k = 1 ) method in class:ANTLR3.that.CommonTokenStream
[all...]
H A Ddebug.rb353 def peek( steps = 1 ) method in class:ANTLR3.Debug.TokenStream
446 # triggered by both peek and look calls. The debugger will want to know
/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/arduino/hardware/arduino/cores/arduino/
H A DHardwareSerial.cpp237 int HardwareSerial::peek(void) function in class:HardwareSerial
/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)
/external/skia/include/core/
H A DSkReader32.h36 const void* peek() const { return fCurr; } function in class:SkReader32
/external/v8/src/
H A Ddateparser-inl.h128 DateToken peek = scanner.Peek(); local
129 if (!peek.IsEndOfInput() &&
130 !peek.IsWhiteSpace() &&
131 !peek.IsKeywordZ() &&
132 !peek.IsAsciiSign()) return false;
/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/guava/guava-tests/test/com/google/common/collect/
H A DForwardingQueueTest.java97 @Override public T peek() { method in class:ForwardingQueueTest.StandardImplForwardingQueue
191 forward.peek();
192 assertEquals("[peek]", getCalls());

Completed in 487 milliseconds

123