Home
last modified time | relevance | path

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

12345678910>>...37

/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/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/libcxx/test/std/containers/sequences/list/list.modifiers/
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_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.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()
/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/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_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()
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()
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/webrtc/webrtc/modules/video_coding/
Dsession_info.cc49 return packets_.front().seqNum; in LowSequenceNumber()
63 if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp8) { in PictureId()
64 return packets_.front().codecSpecificHeader.codecHeader.VP8.pictureId; in PictureId()
65 } else if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp9) { in PictureId()
66 return packets_.front().codecSpecificHeader.codecHeader.VP9.picture_id; in PictureId()
75 if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp8) { in TemporalId()
76 return packets_.front().codecSpecificHeader.codecHeader.VP8.temporalIdx; in TemporalId()
77 } else if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp9) { in TemporalId()
78 return packets_.front().codecSpecificHeader.codecHeader.VP9.temporal_idx; in TemporalId()
87 if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp8) { in LayerSync()
[all …]
/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/libchrome/base/memory/
Dref_counted_memory_unittest.cc30 EXPECT_EQ(45U, mem->front()[0]); in TEST()
31 EXPECT_EQ(99U, mem->front()[1]); in TEST()
39 EXPECT_EQ(12U, mem2->front()[0]); in TEST()
40 EXPECT_EQ(11U, mem2->front()[1]); in TEST()
41 EXPECT_EQ(99U, mem2->front()[2]); in TEST()
51 EXPECT_EQ('d', mem->front()[0]); in TEST()
52 EXPECT_EQ('e', mem->front()[1]); in TEST()
Dref_counted_memory.cc15 (memcmp(front(), other->front(), size()) == 0); in Equals()
22 const unsigned char* RefCountedStaticMemory::front() const { in front() function in base::RefCountedStaticMemory
48 const unsigned char* RefCountedBytes::front() const { in front() function in base::RefCountedBytes
51 return size() ? &data_.front() : NULL; in front()
72 const unsigned char* RefCountedString::front() const { in front() function in base::RefCountedString
/external/libchrome/crypto/
Drsa_private_key_unittest.cc105 ASSERT_TRUE(0 == memcmp(&privkey1.front(), &privkey3.front(), in TEST()
107 ASSERT_TRUE(0 == memcmp(&privkey2.front(), &privkey4.front(), in TEST()
198 memcmp(expected_public_key_info, &output.front(), output.size()) == 0); in TEST()
332 memcpy(&input1.front(), short_integer_with_high_bit, in TEST()
334 memcpy(&input2.front(), short_integer_without_high_bit, in TEST()
351 ASSERT_TRUE(0 == memcmp(&output1.front(), &input1.front(), in TEST()
353 ASSERT_TRUE(0 == memcmp(&output2.front(), &input2.front(), in TEST()
/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()
/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/
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()
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()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpacket_buffer.cc113 Packet* packet = packet_list->front(); in InsertPacketList()
154 *next_timestamp = buffer_.front()->header.timestamp; in NextTimestamp()
181 return const_cast<const RTPHeader*>(&(buffer_.front()->header)); in NextRtpHeader()
190 Packet* packet = buffer_.front(); in GetNextPacket()
200 buffer_.front()->header.timestamp == packet->header.timestamp) { in GetNextPacket()
220 assert(buffer_.front()); in DiscardNextPacket()
221 assert(buffer_.front()->payload); in DiscardNextPacket()
228 while (!Empty() && timestamp_limit != buffer_.front()->header.timestamp && in DiscardOldPackets()
229 IsObsoleteTimestamp(buffer_.front()->header.timestamp, in DiscardOldPackets()
282 Packet* first_packet = packet_list->front(); in DeleteFirstPacket()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/
DVoronoiDiagram.java123 VoronoiDiagramTask front = queue.pop(); in generate() local
124 int x = front.m_x; in generate()
125 int y = front.m_y; in generate()
126 int i = front.m_i; in generate()
127 Generator g = front.m_generator; in generate()
143 taskPool.push(front); in generate()
171 VoronoiDiagramTask front = queue.pop(); in generate() local
172 int x = front.m_x; in generate()
173 int y = front.m_y; in generate()
174 int i = front.m_i; in generate()
[all …]

12345678910>>...37