Home
last modified time | relevance | path

Searched refs:__shift (Results 1 – 3 of 3) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_bitset.c35 void _Base_bitset<_Nw>::_M_do_left_shift(size_t __shift) { in _M_do_left_shift() argument
36 if (__shift != 0) { in _M_do_left_shift()
37 const size_t __wshift = __shift / __BITS_PER_WORD; in _M_do_left_shift()
38 const size_t __offset = __shift % __BITS_PER_WORD; in _M_do_left_shift()
57 void _Base_bitset<_Nw>::_M_do_right_shift(size_t __shift) { in _M_do_right_shift() argument
58 if (__shift != 0) { in _M_do_right_shift()
59 const size_t __wshift = __shift / __BITS_PER_WORD; in _M_do_right_shift()
60 const size_t __offset = __shift % __BITS_PER_WORD; in _M_do_right_shift()
D_bitset.h156 void _M_do_left_shift(size_t __shift);
158 void _M_do_right_shift(size_t __shift);
241 void _M_do_left_shift(size_t __shift) { _M_w <<= __shift; }
242 void _M_do_right_shift(size_t __shift) { _M_w >>= __shift; }
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dmemory3135 static _Size __rotate(_Size __val, int __shift) {
3136 return __shift == 0 ? __val : ((__val >> __shift) | (__val << (64 - __shift)));
3139 static _Size __rotate_by_at_least_1(_Size __val, int __shift) {
3140 return (__val >> __shift) | (__val << (64 - __shift));