Home
last modified time | relevance | path

Searched refs:ptrdiff_t (Results 1 – 25 of 36) sorted by relevance

12

/haiku/headers/cpp/
H A Dstl_tempbuf.h38 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()
[all …]
H A Ddefalloc.h42 inline T* allocate(ptrdiff_t size, T*) { in allocate()
71 typedef ptrdiff_t difference_type;
H A Dcstddef10 using ::ptrdiff_t;
H A Dstl_rope.h860 : public random_access_iterator<_CharT, ptrdiff_t> {
975 _Rope_const_iterator& operator+=(ptrdiff_t __n) {
987 _Rope_const_iterator& operator-=(ptrdiff_t __n) {
1010 ptrdiff_t __n);
1013 ptrdiff_t __n);
1015 (ptrdiff_t __n,
1026 friend ptrdiff_t operator- __STL_NULL_TMPL_ARGS
1127 reference operator[](ptrdiff_t __n) {
1137 friend ptrdiff_t operator- __STL_NULL_TMPL_ARGS
1142 ptrdiff_t __n);
[all …]
H A Dstl_iterator.h89 template <class _Category, class _Tp, class _Distance = ptrdiff_t,
115 typedef ptrdiff_t difference_type;
124 typedef ptrdiff_t difference_type;
250 inline ptrdiff_t* distance_type(const _Tp*) { return (ptrdiff_t*)(0); }
471 class _Distance = ptrdiff_t>
678 class _Distance = ptrdiff_t>
810 template <class _Tp, class _Dist = ptrdiff_t>
H A Dstl_algobase.h270 const ptrdiff_t _Num = __last - __first;
488 const ptrdiff_t __len1 = __last1 - __first1;
489 const ptrdiff_t __len2 = __last2 - __first2;
H A Dstl_alloc.h737 typedef ptrdiff_t difference_type;
777 typedef ptrdiff_t difference_type;
812 typedef ptrdiff_t difference_type;
855 typedef ptrdiff_t difference_type;
H A Dstl_bvector.h75 struct _Bit_iterator : public random_access_iterator<bool, ptrdiff_t> {
156 : public random_access_iterator<bool, ptrdiff_t>
382 typedef ptrdiff_t difference_type;
H A Dstl_list.h61 typedef ptrdiff_t difference_type;
114 inline ptrdiff_t*
260 typedef ptrdiff_t difference_type;
H A Dstl_slist.h106 typedef ptrdiff_t difference_type;
158 inline ptrdiff_t* distance_type(const _Slist_iterator_base&) { in distance_type()
311 typedef ptrdiff_t difference_type;
H A Dpthread_alloc372 typedef ptrdiff_t difference_type;
414 typedef ptrdiff_t difference_type;
H A Dstl_hashtable.h83 typedef ptrdiff_t difference_type;
122 typedef ptrdiff_t difference_type;
195 typedef ptrdiff_t difference_type;
H A Dstl_deque.h118 typedef ptrdiff_t difference_type;
236 inline ptrdiff_t*
255 inline ptrdiff_t*
489 typedef ptrdiff_t difference_type;
/haiku/src/tests/kits/media/
H A DAreaTest.cpp31 ptrdiff_t offset; in TestAreas()
37 offset = (ptrdiff_t)ptr - (ptrdiff_t)adr; in TestAreas()
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsupport.h42 #define p2n(p) ((ptrdiff_t)((ptrdiff_t*)(p)))
H A Dattrib.c2832 ptrdiff_t offs;
2833 ptrdiff_t space;
2870 || (((space < (ptrdiff_t)offsetof(ATTR_RECORD,
2872 || (space < (ptrdiff_t)le32_to_cpu(a->length)))
3074 ptrdiff_t offs;
3075 ptrdiff_t space;
3329 if ((space < (ptrdiff_t)offsetof(ATTR_RECORD, resident_end))
3330 || (space < (ptrdiff_t)le32_to_cpu(a->length)))
3855 for (ad = vol->attrdef; ((ptrdiff_t)((u8*)ad - (u8*)vol->attrdef
/haiku/headers/os/interface/
H A DBitmap.h59 BBitmap(area_id area, ptrdiff_t areaOffset,
143 ptrdiff_t areaOffset = 0);
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf-parse.h335 assert (sizeof (ptrdiff_t) <= sizeof (long long int)); in parse_one_spec()
337 spec->info.is_long_double = (sizeof (ptrdiff_t) > sizeof (long int)); in parse_one_spec()
339 spec->info.is_long = sizeof (ptrdiff_t) > sizeof (int); in parse_one_spec()
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_cidr_pton.c99 ptrdiff_t n, tmp; in inet_cidr_pton_ipv4()
240 const ptrdiff_t n = tp - colonp; in inet_cidr_pton_ipv6()
H A Dinet_net_pton.c78 ptrdiff_t n, tmp; in __weak_alias()
365 const ptrdiff_t n = tp - colonp; in inet_net_pton_ipv6()
/haiku/headers/build/gcc-2.95.3/
H A Dstddef.h118 typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef
/haiku/headers/libs/zydis/Zycore/
H A DTypes.h225 typedef ptrdiff_t ZyanISize;
/haiku/src/kits/interface/
H A DBitmap.cpp311 BBitmap::BBitmap(area_id area, ptrdiff_t areaOffset, BRect bounds, in BBitmap()
1046 int32 bytesPerRow, screen_id screenID, area_id area, ptrdiff_t areaOffset) in _InitObject()
/haiku/src/system/libroot/posix/glibc/extensions/
H A Dobstack.h140 # define PTR_INT_TYPE ptrdiff_t
/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc662 ptrdiff_t delta = end->ptr(buffer) - start->ptr(buffer); in length()

12