Home
last modified time | relevance | path

Searched refs:top (Results 1 – 25 of 81) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/priority.queue/priqueue.members/
Dpop.pass.cpp23 assert(q.top() == 1); in main()
25 assert(q.top() == 3); in main()
27 assert(q.top() == 3); in main()
29 assert(q.top() == 2); in main()
31 assert(q.top() == 1); in main()
Dpush.pass.cpp23 assert(q.top() == 1); in main()
25 assert(q.top() == 3); in main()
27 assert(q.top() == 3); in main()
Dtop.pass.cpp23 assert(q.top() == 1); in main()
25 assert(q.top() == 3); in main()
27 assert(q.top() == 3); in main()
Dpush_rvalue.pass.cpp26 assert(q.top() == 1); in main()
28 assert(q.top() == 3); in main()
30 assert(q.top() == 3); in main()
Demplace.pass.cpp26 assert(q.top() == Emplaceable(1, 2.5)); in main()
28 assert(q.top() == Emplaceable(3, 4.5)); in main()
30 assert(q.top() == Emplaceable(3, 4.5)); in main()
/ndk/tests/device/test-stlport/unit/
Dstack_test.cpp39 CPPUNIT_ASSERT(s.top()==69); in stack1()
41 CPPUNIT_ASSERT(s.top()==101); in stack1()
43 CPPUNIT_ASSERT(s.top()==42); in stack1()
53 CPPUNIT_ASSERT(s.top()==69); in stack2()
55 CPPUNIT_ASSERT(s.top()==101); in stack2()
57 CPPUNIT_ASSERT(s.top()==42); in stack2()
Dqueue_test.cpp40 CPPUNIT_ASSERT( q.top()==101 ); in pqueue1()
42 CPPUNIT_ASSERT( q.top()==69 ); in pqueue1()
44 CPPUNIT_ASSERT( q.top()==42 ); in pqueue1()
/ndk/tests/device/test-gnustl-full/unit/
Dstack_test.cpp39 CPPUNIT_ASSERT(s.top()==69); in stack1()
41 CPPUNIT_ASSERT(s.top()==101); in stack1()
43 CPPUNIT_ASSERT(s.top()==42); in stack1()
53 CPPUNIT_ASSERT(s.top()==69); in stack2()
55 CPPUNIT_ASSERT(s.top()==101); in stack2()
57 CPPUNIT_ASSERT(s.top()==42); in stack2()
Dqueue_test.cpp40 CPPUNIT_ASSERT( q.top()==101 ); in pqueue1()
42 CPPUNIT_ASSERT( q.top()==69 ); in pqueue1()
44 CPPUNIT_ASSERT( q.top()==42 ); in pqueue1()
/ndk/sources/cxx-stl/llvm-libc++/www/
Dcontent.css11 h1 { padding-top:0px; margin-top:0px;}
12 h2 { color:#333333; padding-top:0.5em; }
13 h3 { padding-top: 0.5em; margin-bottom: -0.25em; color:#2d58b7}
27 tr { vertical-align:top }
/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/stack/stack.defn/
Dpush.pass.cpp22 assert(q.top() == 1); in main()
25 assert(q.top() == 2); in main()
28 assert(q.top() == 3); in main()
Dpush_rv.pass.cpp25 assert(q.top() == MoveOnly(1)); in main()
28 assert(q.top() == MoveOnly(2)); in main()
31 assert(q.top() == MoveOnly(3)); in main()
Dpop.pass.cpp25 assert(q.top() == 3); in main()
28 assert(q.top() == 2); in main()
31 assert(q.top() == 1); in main()
Dtop.pass.cpp24 int& ir = q.top(); in main()
Demplace.pass.cpp27 assert(q.top() == Emplaceable(3, 4.5)); in main()
Dtop_const.pass.cpp25 const int& cir = cqr.top(); in main()
/ndk/sources/host-tools/make-3.81/
Dgetopt.c304 int top = optind; in exchange() local
316 if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len) in exchange()
320 char *new_str = malloc (top + 1); in exchange()
327 '\0', top + 1 - nonoption_flags_max_len); in exchange()
328 nonoption_flags_max_len = top + 1; in exchange()
334 while (top > middle && middle > bottom) in exchange()
336 if (top - middle > middle - bottom) in exchange()
346 argv[bottom + i] = argv[top - (middle - bottom) + i]; in exchange()
347 argv[top - (middle - bottom) + i] = tem; in exchange()
348 SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); in exchange()
[all …]
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dbinary.sed19 # P pop stack top
20 # D duplicate stack top
21 # x exchange top two elements
26 # l print stack (stack top is first)
27 # p print stack top
28 # q quit, print stack top if any (cq is quiet quit)
158 # (it looks for -0), \4 is a zero and we leave a lone zero as top of the
Dbinary2.sed19 # P pop stack top
20 # D duplicate stack top
21 # x exchange top two elements
26 # l print stack (stack top is first)
27 # p print stack top
28 # q quit, print stack top if any (cq is quiet quit)
192 # (it looks for -0), \4 is a zero and we leave a lone zero as top of the
Dbinary3.sed19 # P pop stack top
20 # D duplicate stack top
21 # x exchange top two elements
26 # l print stack (stack top is first)
27 # p print stack top
28 # q quit, print stack top if any (cq is quiet quit)
171 # (it looks for -0), \4 is a zero and we leave a lone zero as top of the
/ndk/sources/host-tools/sed-4.2.1/lib/
Dgetopt.c151 int top = d->optind; in exchange() local
163 if (d->__nonoption_flags_len > 0 && top >= d->__nonoption_flags_max_len) in exchange()
167 char *new_str = malloc (top + 1); in exchange()
174 '\0', top + 1 - d->__nonoption_flags_max_len); in exchange()
175 d->__nonoption_flags_max_len = top + 1; in exchange()
181 while (top > middle && middle > bottom) in exchange()
183 if (top - middle > middle - bottom) in exchange()
193 argv[bottom + i] = argv[top - (middle - bottom) + i]; in exchange()
194 argv[top - (middle - bottom) + i] = tem; in exchange()
195 SWAP_FLAGS (bottom + i, top - (middle - bottom) + i); in exchange()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/priority.queue/priqueue.cons/
Dctor_iter_iter.pass.cpp24 assert(q.top() == 8); in main()
Dctor_default.pass.cpp26 assert(q.top() == 2); in main()
Dctor_comp.pass.cpp26 assert(q.top() == 2); in main()
/ndk/sources/cxx-stl/llvm-libc++/test/containers/container.adaptors/stack/stack.cons/
Dctor_default.pass.cpp27 assert(q.top() == 2); in main()

1234