HomeSort by relevance Sort by last modified time
    Searched full:peek (Results 51 - 75 of 470) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
AbstractQueueTest.java 97 public E peek() { method in class:AbstractQueueTest
220 assertNull(queue.peek());
231 assertNull(queue.peek());
LinkedListTest.java 328 * @tests {@link java.util.LinkedList#peek()}
333 assertNull("Should return null if this list is empty", list.peek());
335 assertEquals("Returned incorrect first element", ll.peek(),objArray[0]);
336 assertEquals("Peek remove the head (first element) of this list", ll.getFirst(), objArray[0]);
696 assertEquals(testObjOne, testList.peek());
699 assertEquals(testObjOne, testList.peek());
702 assertEquals(testObjTwo, testList.peek());
714 assertEquals(testObjOne, testList.peek());
717 assertEquals(testObjOne, testList.peek());
720 assertEquals(testObjOne, testList.peek());
    [all...]
  /external/guava/javadoc/com/google/common/collect/
PeekingIterator.html 136 <TD><CODE><B><A HREF="../../../../com/google/common/collect/PeekingIterator.html#peek()">peek</A></B>()</CODE>
172 <A NAME="peek()"><!-- --></A><H3>
173 peek</H3>
175 <A HREF="../../../../com/google/common/collect/PeekingIterator.html" title="type parameter in PeekingIterator">E</A> <B>peek</B>()</PRE>
179 <p>Calls to <code>peek()</code> should not change the state of the iteration,
202 <p>The objects returned by consecutive calls to <A HREF="../../../../com/google/common/collect/PeekingIterator.html#peek()"><CODE>peek()</CODE></A> then <A HREF="../../../../com/google/common/collect/PeekingIterator.html#next()"><CODE>next()</CODE></A> are guaranteed to be equal to each other.
220 <p>Implementations may or may not support removal when a call to <A HREF="../../../../com/google/common/collect/PeekingIterator.html#peek()"><CODE>peek()</CODE></A> has occurred since the most recent call to <A HREF="../../../../com/google/common/col (…)
    [all...]
AbstractIterator.html 208 <TD><CODE><B><A HREF="../../../../com/google/common/collect/AbstractIterator.html#peek()">peek</A></B>()</CODE>
212 according to the contract of <A HREF="../../../../com/google/common/collect/PeekingIterator.html#peek()"><CODE>PeekingIterator.peek()</CODE></A>.</TD>
281 <code>next</code>, or <A HREF="../../../../com/google/common/collect/AbstractIterator.html#peek()"><CODE>peek()</CODE></A> methods on this instance; if it does, an
291 <code>peek()</code> invocation that invoked this method. Any further
336 <A NAME="peek()"><!-- --></A><H3>
337 peek</H3>
339 public final <A HREF="../../../../com/google/common/collect/AbstractIterator.html" title="type parameter in AbstractIterator">T</A> <B>peek</B>()</PRE
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
AbstractQueueTest.java 99 public E peek() { method in class:AbstractQueueTest
236 assertNull(queue.peek());
247 assertNull(queue.peek());
  /external/llvm/test/CodeGen/XCore/
resources.ll 28 declare i32 @llvm.xcore.peek.p1i8(i8 addrspace(1)* %r)
215 define i32 @peek(i8 addrspace(1)* %r) {
216 ; CHECK: peek:
217 ; CHECK: peek r0, res[r0]
218 %result = call i32 @llvm.xcore.peek.p1i8(i8 addrspace(1)* %r)
  /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
  /bionic/libc/regex/
regcomp.c 113 #define PEEK() (*p->next)
117 #define SEE(c) (MORE() && PEEK() == (c))
118 #define SEETWO(a, b) (MORE() && MORE2() && PEEK() == (a) && PEEK2() == (b))
127 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
129 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
260 while (MORE() && (c = PEEK()) != '|' && c != stop)
368 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
377 c = PEEK();
409 if (isdigit((uch)PEEK())) {
418 while (MORE() && PEEK() != '}'
    [all...]
  /external/llvm/lib/Support/
regcomp.c 114 #define PEEK() (*p->next)
118 #define SEE(c) (MORE() && PEEK() == (c))
119 #define SEETWO(a, b) (MORE() && MORE2() && PEEK() == (a) && PEEK2() == (b))
128 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
130 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
268 while (MORE() && (c = PEEK()) != '|' && c != stop)
376 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
385 c = PEEK();
417 if (isdigit((uch)PEEK())) {
426 while (MORE() && PEEK() != '}'
    [all...]
  /ndk/sources/host-tools/ndk-stack/regex/
regcomp.c 113 #define PEEK() (*p->next)
117 #define SEE(c) (MORE() && PEEK() == (c))
118 #define SEETWO(a, b) (MORE() && MORE2() && PEEK() == (a) && PEEK2() == (b))
127 #define MUSTSEE(c, e) (REQUIRE(MORE() && PEEK() == (c), e))
129 #define MUSTNOTSEE(c, e) (REQUIRE(!MORE() || PEEK() != (c), e))
260 while (MORE() && (c = PEEK()) != '|' && c != stop)
368 REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
377 c = PEEK();
409 if (isdigit((uch)PEEK())) {
418 while (MORE() && PEEK() != '}'
    [all...]
  /external/antlr/src/org/antlr/runtime/debug/
Profiler.java 222 String g = (String) currentGrammarFileName.peek();
228 descriptor.fileName = (String)currentGrammarFileName.peek();
229 descriptor.ruleName = (String)currentRuleName.peek();
230 descriptor.line = (Integer)currentLine.peek();
231 descriptor.pos = (Integer)currentPos.peek();
373 return decisionStack.peek();
725 currentGrammarFileName.peek(),
726 currentRuleName.peek(),
727 currentLine.peek(),
728 currentPos.peek());
    [all...]
  /libcore/luni/src/main/java/java/util/
Deque.java 105 * <td>{@link java.util.Queue#peek peek()}</td>
106 * <td>{@link #peek peekFirst()}</td>
131 * <td>{@link #peek peek()}</td>
136 * <p>Note that the {@link #peek peek} method works equally well when
427 * This method differs from {@link #peek peek} only in that it throws an
447 E peek(); method in interface:Deque
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
TextUtilities.java 388 char peek = text.charAt(i + 1); local
389 if (peek == '!' || peek == '-' || peek == '/' || Character.isLetter(peek)) {
598 char peek = text.charAt(i + 1); local
599 if (peek == '!' || peek == '-' || peek == '/' || Character.isLetter(peek)) {
    [all...]
  /external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
parse-js.js 270 function peek() { return S.text.charAt(S.pos); };
287 return !S.peek();
323 while (HOP(WHITESPACE_CHARS, peek()))
328 var ret = "", ch = peek(), i = 0;
331 ch = peek();
468 if (!peek()) return op;
469 var bigger = op + peek();
483 switch (peek()) {
498 return is_digit(peek())
528 var ch = peek();
    [all...]
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockWebServer.java 222 MockResponse peek = responseQueue.peek();
223 if (peek != null && peek.getSocketPolicy() == DISCONNECT_AT_START) {
293 MockResponse connect = responseQueue.peek();
413 return responseQueue.peek();
  /libcore/support/src/test/java/tests/http/
MockWebServer.java 221 MockResponse peek = responseQueue.peek();
222 if (peek != null && peek.getSocketPolicy() == DISCONNECT_AT_START) {
292 MockResponse connect = responseQueue.peek();
412 return responseQueue.peek();
  /external/apache-xml/src/main/java/org/apache/xalan/transformer/
MsgMgr.java 171 // ((Locator)m_stylesheetLocatorStack.peek());
255 // ((Locator)m_stylesheetLocatorStack.peek());
306 // ((Locator)m_stylesheetLocatorStack.peek());
  /external/webkit/Source/WebCore/html/parser/
HTMLTokenizer.h 189 // The only way we can fail to peek is if there are no more
191 ALWAYS_INLINE bool peek(SegmentedString& source, int& lineNumber) function in class:WebCore::HTMLTokenizer::InputStreamPreprocessor
241 return peek(source, lineNumber);
  /external/chromium/base/
sync_socket.h 61 size_t Peek();
  /external/chromium/third_party/libjingle/source/talk/base/
messagequeue.cc 155 bool MessageQueue::Peek(Message *pmsg, int cmsWait) {
168 // Return and clear peek if present
169 // Always return the peek if it exists so there is Peek/Get symmetry
  /external/chromium/third_party/libjingle/source/talk/xmllite/
xmlbuilder.h 67 // Peek at the built element without taking ownership
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
toplevel.ml 10 match Stream.peek stream with
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
toplevel.ml 10 match Stream.peek stream with
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
toplevel.ml 10 match Stream.peek stream with
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
toplevel.ml 10 match Stream.peek stream with

Completed in 4568 milliseconds

1 23 4 5 6 7 8 91011>>