Searched refs:pos1 (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/automotive/evs/aidl/impl/default/src/ |
D | EvsCamera.cpp | 367 void EvsCamera::swapBufferFrames_unsafe(const std::size_t pos1, const std::size_t pos2) { in swapBufferFrames_unsafe() argument 368 if (pos1 == pos2) { in swapBufferFrames_unsafe() 371 if (pos1 >= mBuffers.size() || pos2 >= mBuffers.size()) { in swapBufferFrames_unsafe() 372 LOG(ERROR) << __func__ << ": Index out-of-bound. pos1: " << pos1 << ", pos2: " << pos2 in swapBufferFrames_unsafe() 376 const std::size_t id1 = mBufferPosToId[pos1]; in swapBufferFrames_unsafe() 378 std::swap(mBufferPosToId[pos1], mBufferPosToId[pos2]); in swapBufferFrames_unsafe() 380 std::swap(mBuffers[pos1], mBuffers[pos2]); in swapBufferFrames_unsafe()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | list.h | 283 #define list_pair_for_each_entry(type, pos1, pos2, head1, head2, member) \ argument 284 for (type *pos1 = list_entry((head1)->next, type, member), \ 286 &pos1->member != (head1) && &pos2->member != (head2); \ 287 pos1 = list_entry(pos1->member.next, type, member), \
|
/hardware/interfaces/automotive/evs/aidl/impl/default/include/ |
D | EvsCamera.h | 99 void swapBufferFrames_unsafe(const std::size_t pos1, const std::size_t pos2);
|