Searched refs:swap (Results 1 – 8 of 8) sorted by relevance
/hardware/ril/mock-ril/src/cpp/ |
D | msgheader.pb.cpp | 406 std::swap(cmd_, other->cmd_); in Swap() 407 std::swap(length_data_, other->length_data_); in Swap() 408 std::swap(status_, other->status_); in Swap() 409 std::swap(token_, other->token_); in Swap() 410 std::swap(_has_bits_[0], other->_has_bits_[0]); in Swap() 412 std::swap(_cached_size_, other->_cached_size_); in Swap()
|
/hardware/ti/omap4xxx/hwc/ |
D | hwc.c | 45 #define swap(a, b) do { typeof(a) __a = (a); (a) = (b); (b) = __a; } while (0) macro 319 swap(w, h); in scaled() 577 swap(orig_w, orig_h); in set_ext_matrix() 609 int c, swap = cfg->rotation & 1; in crop_to_rect() local 612 if (swap) in crop_to_rect() 615 crop.xy[!swap] -= (crop.wh[!swap] = -crop.wh[!swap]); in crop_to_rect() 617 crop.xy[swap] -= (crop.wh[swap] = -crop.wh[swap]); in crop_to_rect() 625 !crop.wh[c ^ swap]) in crop_to_rect() 631 int a = (vis.lt[c] - win.xy[c]) * crop.wh[c ^ swap] / win.wh[c]; in crop_to_rect() 632 crop.xy[c ^ swap] += a; in crop_to_rect() [all …]
|
/hardware/qcom/display/liboverlay/ |
D | overlayMdp.h | 358 utils::swap(mOVInfo.src.width, in swapSrcWH() 363 utils::swap(mOVInfo.src_rect.w, in swapSrcRectWH()
|
D | overlayMdssRot.cpp | 107 utils::swap(mRotInfo.dst_rect.w, mRotInfo.dst_rect.h); in doTransform()
|
D | overlayMdpRot.cpp | 123 utils::swap(mRotImgInfo.dst.width, mRotImgInfo.dst.height); in doTransform()
|
D | overlayUtils.h | 430 template <class T> inline void swap ( T& a, T& b ) in swap() function
|
/hardware/qcom/display/libhwcomposer/ |
D | hwc_utils.cpp | 168 swap(leftCutRatio, rightCutRatio); in calc_cut() 171 swap(topCutRatio, bottomCutRatio); in calc_cut()
|
D | hwc_utils.h | 188 inline void swap(T& a, T& b) { in swap() function
|