Lines Matching refs:ptrdiff_t
38 pair<_Tp*, ptrdiff_t>
39 __get_temporary_buffer(ptrdiff_t __len, _Tp*) in __get_temporary_buffer()
41 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) in __get_temporary_buffer()
47 return pair<_Tp*, ptrdiff_t>(__tmp, __len); in __get_temporary_buffer()
51 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0); in __get_temporary_buffer()
57 inline pair<_Tp*, ptrdiff_t> get_temporary_buffer(ptrdiff_t __len) { in get_temporary_buffer()
69 inline pair<_Tp*, ptrdiff_t> 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()