/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _tempbuf.h | 48 pair<_Tp*, ptrdiff_t> _STLP_CALL 49 __get_temporary_buffer(ptrdiff_t __len, _Tp*); 54 inline pair<_Tp*, ptrdiff_t> _STLP_CALL get_temporary_buffer(ptrdiff_t __len) { in get_temporary_buffer() 65 inline pair<_Tp*, ptrdiff_t> _STLP_CALL 66 get_temporary_buffer(ptrdiff_t __len, _Tp*) { in get_temporary_buffer() 81 ptrdiff_t _M_original_len; 82 ptrdiff_t _M_len; 89 if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) in _M_allocate_buffer() 106 ptrdiff_t size() const { return _M_len; } in size() 107 ptrdiff_t requested_size() const { return _M_original_len; } in requested_size()
|
D | _tempbuf.c | 36 pair<_Tp*, ptrdiff_t> _STLP_CALL 37 __get_temporary_buffer(ptrdiff_t __len, _Tp*) in __get_temporary_buffer() 39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) in __get_temporary_buffer() 45 return pair<_Tp*, ptrdiff_t>(__tmp, __len); in __get_temporary_buffer() 49 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0); in __get_temporary_buffer()
|
D | _stream_iterator.h | 69 class _Dist = ptrdiff_t> 77 class istream_iterator : public iterator<input_iterator_tag, _Tp , ptrdiff_t, 82 template <class _Tp, _STLP_DFL_TYPE_PARAM(_Dist, ptrdiff_t)> 92 typedef ptrdiff_t _Dist; 235 inline ptrdiff_t* _STLP_CALL 236 distance_type(const istream_iterator< __ISI_TMPL_ARGUMENTS >&) { return (ptrdiff_t*)0; } in distance_type()
|
D | _sstream.c | 150 ptrdiff_t __offset = this->gptr() - this->eback(); in overflow() 178 ptrdiff_t __avail = _S_finish(_M_str) - this->pptr(); in xsputn() 194 ptrdiff_t __get_offset = this->gptr() - this->eback(); in xsputn() 195 _M_str.append(__s, __s + __STATIC_CAST(ptrdiff_t, __n)); in xsputn() 199 _M_str.append(__s, __s + __STATIC_CAST(ptrdiff_t, __n)); in xsputn() 221 ptrdiff_t __avail = _S_finish(_M_str) - this->pptr(); in _M_xsputnc() 239 ptrdiff_t __get_offset = this->gptr() - this->eback(); in _M_xsputnc() 266 ptrdiff_t __offg = 0; in setbuf() 267 ptrdiff_t __offp = 0; in setbuf() 335 ptrdiff_t __n = this->egptr() - this->eback(); in seekoff() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.types/ |
D | ptrdiff_t.pass.cpp | 21 static_assert(sizeof(std::ptrdiff_t) == sizeof(void*), in main() 23 static_assert(std::is_signed<std::ptrdiff_t>::value, in main() 25 static_assert(std::is_integral<std::ptrdiff_t>::value, in main()
|
D | nullptr_t.pass.cpp | 57 std::ptrdiff_t i = reinterpret_cast<std::ptrdiff_t>(nullptr); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
D | stddef_h.pass.cpp | 31 static_assert(sizeof(ptrdiff_t) == sizeof(void*), in main() 33 static_assert(std::is_signed<ptrdiff_t>::value, in main() 35 static_assert(std::is_integral<ptrdiff_t>::value, in main()
|
/ndk/sources/cxx-stl/gabi++/src/ |
D | dynamic_cast.cc | 45 adjust_pointer(const void* p, std::ptrdiff_t off) in adjust_pointer() 71 inline std::ptrdiff_t 76 adjust_pointer(type_info_ptr_address, -sizeof(std::ptrdiff_t)); in get_offset_to_top() 77 return *reinterpret_cast<const std::ptrdiff_t*>(offset_to_top_address); in get_offset_to_top() 87 std::ptrdiff_t offset_to_top = get_offset_to_top(vtable); in get_most_derived_object() 105 const std::ptrdiff_t* virtual_base_offset_address = in get_subobject() 106 static_cast<const std::ptrdiff_t*> (adjust_pointer(vtable, offset)); in get_subobject() 185 std::ptrdiff_t src2dst_offset; 191 const abi::__class_type_info *dst, std::ptrdiff_t offset) in cast_context() 292 std::ptrdiff_t src2dst_offset) in __dynamic_cast()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/ |
D | _iterator.h | 49 void _Advance(_Iterator&, ptrdiff_t, const forward_iterator_tag &) in _Advance() argument 53 void _Advance(_Iterator& __it, ptrdiff_t, const bidirectional_iterator_tag &) in _Advance() argument 57 void _Advance(_Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) in _Advance() 61 ptrdiff_t _DBG_distance(const _Iterator& __x, const _Iterator& __y, const random_access_iterator_ta… in _DBG_distance() 65 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const forward_iterator_tag &) { in _DBG_distance() 71 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const bidirectional_iterator_tag &) { in _DBG_distance() 97 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const forward_iterator_tag &) in _Incrementable() 101 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const bidirectional_iterator_tag &) { in _Incrementable() 109 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) { in _Incrementable() 113 ptrdiff_t __new_pos = (__it._M_iterator - __c->begin()) + __n; in _Incrementable() [all …]
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
D | vtable2.cpp | 145 #define CMP_VPTR(A, B) (*(A) == (ptrdiff_t)(B)) 153 ptrdiff_t **vptr; in main() 154 ptrdiff_t *vtbl; in main() 157 vptr = (ptrdiff_t **) &s4; in main()
|
D | check.h | 16 if ((((ptrdiff_t) i) & (align - 1)) != 0) in check_int() 29 if ((((ptrdiff_t) p) & (align - 1)) != 0) in check()
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
D | vtable2.cpp | 145 #define CMP_VPTR(A, B) (*(A) == (ptrdiff_t)(B)) 153 ptrdiff_t **vptr; in main() 154 ptrdiff_t *vtbl; in main() 157 vptr = (ptrdiff_t **) &s4; in main()
|
D | check.h | 16 if ((((ptrdiff_t) i) & (align - 1)) != 0) in check_int() 29 if ((((ptrdiff_t) p) & (align - 1)) != 0) in check()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/detail/ |
D | workaround.hpp | 36 std::ptrdiff_t distance( T const& x_, T const& y_ ) in distance() 38 std::ptrdiff_t res = 0; in distance()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/pointer.traits/pointer.traits.types/ |
D | difference_type.pass.cpp | 45 … static_assert((std::is_same<std::pointer_traits<B>::difference_type, std::ptrdiff_t>::value), ""); in main() 46 …static_assert((std::is_same<std::pointer_traits<C<double> >::difference_type, std::ptrdiff_t>::val… in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | __debug | 80 virtual bool __addable(const void*, ptrdiff_t) const = 0; 81 virtual bool __subscriptable(const void*, ptrdiff_t) const = 0; 96 virtual bool __addable(const void*, ptrdiff_t) const; 97 virtual bool __subscriptable(const void*, ptrdiff_t) const; 122 _C_node<_Cont>::__addable(const void* __i, ptrdiff_t __n) const 132 _C_node<_Cont>::__subscriptable(const void* __i, ptrdiff_t __n) const 197 bool __addable(const void* __i, ptrdiff_t __n) const; 198 bool __subscriptable(const void* __i, ptrdiff_t __n) const;
|
D | sstream | 264 ptrdiff_t __binp = -1; 265 ptrdiff_t __ninp = -1; 266 ptrdiff_t __einp = -1; 273 ptrdiff_t __bout = -1; 274 ptrdiff_t __nout = -1; 275 ptrdiff_t __eout = -1; 282 ptrdiff_t __hm = __rhs.__hm_ == nullptr ? -1 : __rhs.__hm_ - __p; 305 ptrdiff_t __binp = -1; 306 ptrdiff_t __ninp = -1; 307 ptrdiff_t __einp = -1; [all …]
|
/ndk/sources/cxx-stl/stlport/src/details/ |
D | fstream_win32io.cpp | 389 ptrdiff_t _Filebuf_base::_M_read(char* buf, ptrdiff_t n) { in _M_read() 390 ptrdiff_t readen = 0; in _M_read() 464 bool _Filebuf_base::_M_write(char* buf, ptrdiff_t n) { in _M_write() 466 ptrdiff_t written; in _M_write() 497 ptrdiff_t nextblocksize = (min) (n, (ptrdiff_t)_TEXTBUF_SIZE); in _M_write() 502 ptrdiff_t linelength = nextlf - nextblock; in _M_write() 508 nextblocksize = (min) (ptrdiff_t(endblock - nextblock), in _M_write() 509 (max) (ptrdiff_t(0), ptrdiff_t(endtextbuf - ptrtextbuf))); in _M_write()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
D | iterator.hpp | 25 class Distance = std::ptrdiff_t, 53 template <class Category, class T, class Distance = std::ptrdiff_t,
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/istream.iterator/ |
D | types.pass.cpp | 30 std::iterator<std::input_iterator_tag, double, std::ptrdiff_t, in main() 37 std::iterator<std::input_iterator_tag, unsigned, std::ptrdiff_t, in main()
|
/ndk/sources/cxx-stl/stlport/src/ |
D | strstream.cpp | 122 ptrdiff_t old_size = epptr() - pbase(); in overflow() 123 ptrdiff_t new_size = (max)(2 * old_size, ptrdiff_t(1)); in overflow() 131 ptrdiff_t old_get_offset; in overflow() 234 if (seeklow + __STATIC_CAST(ptrdiff_t, off) < pbase()) { in seekoff() 245 setg(seeklow, seeklow + __STATIC_CAST(ptrdiff_t, off), egptr()); in seekoff() 247 setg(seeklow, seeklow + __STATIC_CAST(ptrdiff_t, off), pptr()); in seekoff() 249 setg(seeklow, seeklow + __STATIC_CAST(ptrdiff_t, off), epptr()); in seekoff()
|
/ndk/tests/device/test-stlport/unit/ |
D | istmit_test.cpp | 45 typedef istream_iterator<char, ptrdiff_t> istream_char_ite; 46 typedef istream_iterator<int, ptrdiff_t> istream_int_ite; 47 typedef istream_iterator<string, ptrdiff_t> istream_string_ite;
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | istmit_test.cpp | 45 typedef istream_iterator<char, ptrdiff_t> istream_char_ite; 46 typedef istream_iterator<int, ptrdiff_t> istream_int_ite; 47 typedef istream_iterator<string, ptrdiff_t> istream_string_ite;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/pointer.traits/ |
D | difference_type.pass.cpp | 24 …static_assert((std::is_same<std::pointer_traits<double*>::difference_type, std::ptrdiff_t>::value)… in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/ |
D | types.pass.cpp | 36 static_assert((std::is_same<SM::difference_type, std::ptrdiff_t>::value), ""); in main() 49 static_assert((std::is_same<SM::difference_type, std::ptrdiff_t>::value), ""); in main()
|