Home
last modified time | relevance | path

Searched refs:front (Results 1 – 25 of 621) sorted by relevance

12345678910>>...25

/external/icu/icu4c/source/layoutex/
DLXUtilities.cpp77 le_int32 front, back; in reverse() local
79 for (front = 0, back = length - 1; front < back; front += 1, back -= 1) { in reverse()
80 le_int32 swap = array[front]; in reverse()
82 array[front] = array[back]; in reverse()
89 le_int32 front, back; in reverse() local
91 for (front = 0, back = length - 1; front < back; front += 1, back -= 1) { in reverse()
92 float swap = array[front]; in reverse()
94 array[front] = array[back]; in reverse()
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Demplace.pass.cpp68 assert(c.front().geti() == 2); in main()
69 assert(c.front().getd() == 3.5); in main()
74 assert(c.front().geti() == 2); in main()
75 assert(c.front().getd() == 3.5); in main()
82 assert(c.front().geti() == 2); in main()
83 assert(c.front().getd() == 3.5); in main()
95 assert(c.front().geti() == 2); in main()
96 assert(c.front().getd() == 3.5); in main()
101 assert(c.front().geti() == 2); in main()
102 assert(c.front().getd() == 3.5); in main()
[all …]
Demplace_back.pass.cpp63 assert(c.front().geti() == 2); in main()
64 assert(c.front().getd() == 3.5); in main()
68 assert(c.front().geti() == 2); in main()
69 assert(c.front().getd() == 3.5); in main()
78 assert(c.front().geti() == 2); in main()
79 assert(c.front().getd() == 3.5); in main()
83 assert(c.front().geti() == 2); in main()
84 assert(c.front().getd() == 3.5); in main()
94 assert(c.front().geti() == 2); in main()
95 assert(c.front().getd() == 3.5); in main()
[all …]
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.access/
Dfront.pass.cpp28 assert(c.front() == 0); in main()
29 c.front() = 10; in main()
30 assert(c.front() == 10); in main()
38 assert(c.front() == 0); in main()
47 assert(c.front() == 0); in main()
48 c.front() = 10; in main()
49 assert(c.front() == 10); in main()
57 assert(c.front() == 0); in main()
/external/libcxx/test/std/containers/sequences/list/list.modifiers/
Demplace_back.pass.cpp41 assert(c.front().geti() == 2); in main()
42 assert(c.front().getd() == 3.5); in main()
45 assert(c.front().geti() == 2); in main()
46 assert(c.front().getd() == 3.5); in main()
55 assert(c.front().geti() == 2); in main()
56 assert(c.front().getd() == 3.5); in main()
59 assert(c.front().geti() == 2); in main()
60 assert(c.front().getd() == 3.5); in main()
Demplace_front.pass.cpp41 assert(c.front().geti() == 2); in main()
42 assert(c.front().getd() == 3.5); in main()
45 assert(c.front().geti() == 3); in main()
46 assert(c.front().getd() == 4.5); in main()
55 assert(c.front().geti() == 2); in main()
56 assert(c.front().getd() == 3.5); in main()
59 assert(c.front().geti() == 3); in main()
60 assert(c.front().getd() == 4.5); in main()
Demplace.pass.cpp45 assert(c.front().geti() == 2); in main()
46 assert(c.front().getd() == 3.5); in main()
49 assert(c.front().geti() == 2); in main()
50 assert(c.front().getd() == 3.5); in main()
69 assert(c.front().geti() == 2); in main()
70 assert(c.front().getd() == 3.5); in main()
73 assert(c.front().geti() == 2); in main()
74 assert(c.front().getd() == 3.5); in main()
Dpush_back_rvalue.pass.cpp27 assert(l1.front() == MoveOnly(1)); in main()
30 assert(l1.front() == MoveOnly(1)); in main()
38 assert(l1.front() == MoveOnly(1)); in main()
41 assert(l1.front() == MoveOnly(1)); in main()
Dpush_front_rvalue.pass.cpp27 assert(l1.front() == MoveOnly(1)); in main()
30 assert(l1.front() == MoveOnly(2)); in main()
38 assert(l1.front() == MoveOnly(1)); in main()
41 assert(l1.front() == MoveOnly(2)); in main()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_list_test.cc37 CHECK_EQ(l->front(), i1); in CheckList()
41 CHECK_EQ(l->front(), i2); in CheckList()
45 CHECK_EQ(l->front(), i3); in CheckList()
49 CHECK_EQ(l->front(), i4); in CheckList()
53 CHECK_EQ(l->front(), i5); in CheckList()
57 CHECK_EQ(l->front(), i6); in CheckList()
81 CHECK_EQ(l.front(), x); in TEST()
89 CHECK_EQ(l.front(), x); in TEST()
98 CHECK_EQ(l.front(), z); in TEST()
104 CHECK_EQ(l.front(), y); in TEST()
[all …]
/external/libvncserver/libvncserver/
Drfbregion.c24 sraSpan front; member
101 curr = l->front._next; in sraSpanListPrint()
120 item->front._next = &(item->back); in sraSpanListCreate()
121 item->front._prev = NULL; in sraSpanListCreate()
122 item->back._prev = &(item->front); in sraSpanListCreate()
134 curr = src->front._next; in sraSpanListDup()
147 while (list->front._next != &(list->back)) { in sraSpanListDestroy()
148 curr = list->front._next; in sraSpanListDestroy()
160 while (list->front._next != &(list->back)) { in sraSpanListMakeEmpty()
161 curr = list->front._next; in sraSpanListMakeEmpty()
[all …]
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/
Dinsert_after_const.pass.cpp28 assert(c.front() == 0); in main()
29 assert(c.front() == 0); in main()
34 assert(c.front() == 0); in main()
40 assert(c.front() == 0); in main()
47 assert(c.front() == 0); in main()
61 assert(c.front() == 0); in main()
62 assert(c.front() == 0); in main()
67 assert(c.front() == 0); in main()
73 assert(c.front() == 0); in main()
80 assert(c.front() == 0); in main()
Dinsert_after_rv.pass.cpp30 assert(c.front() == 0); in main()
31 assert(c.front() == 0); in main()
36 assert(c.front() == 0); in main()
42 assert(c.front() == 0); in main()
49 assert(c.front() == 0); in main()
63 assert(c.front() == 0); in main()
64 assert(c.front() == 0); in main()
69 assert(c.front() == 0); in main()
75 assert(c.front() == 0); in main()
82 assert(c.front() == 0); in main()
Demplace_after.pass.cpp31 assert(c.front() == Emplaceable()); in main()
36 assert(c.front() == Emplaceable()); in main()
42 assert(c.front() == Emplaceable()); in main()
49 assert(c.front() == Emplaceable()); in main()
63 assert(c.front() == Emplaceable()); in main()
68 assert(c.front() == Emplaceable()); in main()
74 assert(c.front() == Emplaceable()); in main()
81 assert(c.front() == Emplaceable()); in main()
/external/libcxx/test/std/containers/sequences/vector.bool/
Demplace_back.pass.cpp28 assert(c.front() == false); in main()
31 assert(c.front() == false); in main()
35 assert(c.front() == false); in main()
45 assert(c.front() == false); in main()
48 assert(c.front() == false); in main()
52 assert(c.front() == false); in main()
Demplace.pass.cpp29 assert(c.front() == false); in main()
34 assert(c.front() == false); in main()
40 assert(c.front() == false); in main()
51 assert(c.front() == false); in main()
56 assert(c.front() == false); in main()
63 assert(c.front() == false); in main()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassProto.java383 int front;
384 for (front = 0; front<fieldCount; front++) {
385 if (fieldTypes[front] != REFERENCE) {
386 while (back > front) {
388 swap(fieldTypes, fields, front, back--);
395 if (fieldTypes[front] != REFERENCE) {
421 if (front < fieldCount && (front % 2) != fieldIndexMod) {
422 if (fieldTypes[front] == WIDE) {
425 while (back > front) {
427 swap(fieldTypes, fields, front++, back);
[all …]
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_st.c229 unsigned front = ST_ATTACHMENT_FRONT_LEFT, back = ST_ATTACHMENT_BACK_LEFT; in stw_st_swap_framebuffer_locked() local
234 ptex = stwfb->textures[front]; in stw_st_swap_framebuffer_locked()
235 stwfb->textures[front] = stwfb->textures[back]; in stw_st_swap_framebuffer_locked()
239 front = 1 << front; in stw_st_swap_framebuffer_locked()
243 mask = stwfb->texture_mask & ~(front | back); in stw_st_swap_framebuffer_locked()
244 if (stwfb->texture_mask & front) in stw_st_swap_framebuffer_locked()
247 mask |= front; in stw_st_swap_framebuffer_locked()
250 front = ST_ATTACHMENT_FRONT_LEFT; in stw_st_swap_framebuffer_locked()
251 return stw_st_framebuffer_present_locked(hdc, &stwfb->base, front); in stw_st_swap_framebuffer_locked()
/external/libcxx/test/std/strings/basic.string/string.access/
Dfront.pass.cpp29 assert(&cs.front() == &cs[0]); in test()
30 assert(&s.front() == &s[0]); in test()
31 s.front() = typename S::value_type('z'); in test()
32 assert(s.front() == typename S::value_type('z')); in test()
52 char c = s.front(); in main()
Ddb_front.pass.cpp31 assert(s.front() == 0); in main()
33 assert(s.front() == 0); in main()
40 assert(s.front() == 0); in main()
42 assert(s.front() == 0); in main()
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp42 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST()
47 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST()
72 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST()
77 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
102 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem); in TEST()
107 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST()
132 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem); in TEST()
137 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp); in TEST()
163 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST()
168 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr); in TEST()
[all …]
/external/eigen/test/
Dstddeque.cpp24 v.front() = x; in check_stddeque_matrix()
25 w.front() = w.back(); in check_stddeque_matrix()
26 VERIFY_IS_APPROX(w.front(), w.back()); in check_stddeque_matrix()
53 v.front() = x; in check_stddeque_transform()
54 w.front() = w.back(); in check_stddeque_transform()
55 VERIFY_IS_APPROX(w.front(), w.back()); in check_stddeque_transform()
82 v.front() = x; in check_stddeque_quaternion()
83 w.front() = w.back(); in check_stddeque_quaternion()
84 VERIFY_IS_APPROX(w.front(), w.back()); in check_stddeque_quaternion()
Dstdlist.cpp24 v.front() = x; in check_stdlist_matrix()
25 w.front() = w.back(); in check_stdlist_matrix()
26 VERIFY_IS_APPROX(w.front(), w.back()); in check_stdlist_matrix()
53 v.front() = x; in check_stdlist_transform()
54 w.front() = w.back(); in check_stdlist_transform()
55 VERIFY_IS_APPROX(w.front(), w.back()); in check_stdlist_transform()
82 v.front() = x; in check_stdlist_quaternion()
83 w.front() = w.back(); in check_stdlist_quaternion()
84 VERIFY_IS_APPROX(w.front(), w.back()); in check_stdlist_quaternion()
/external/libcxx/test/std/containers/sequences/list/
Ddb_front.pass.cpp32 assert(c.front() == 0); in main()
34 assert(c.front() == 0); in main()
42 assert(c.front() == 0); in main()
44 assert(c.front() == 0); in main()
/external/libcxx/test/std/containers/sequences/vector/
Ddb_front.pass.cpp32 assert(c.front() == 0); in main()
34 assert(c.front() == 0); in main()
42 assert(c.front() == 0); in main()
44 assert(c.front() == 0); in main()

12345678910>>...25