/external/clang/test/SemaObjC/ |
builtin_objc_assign_ivar.m | 4 typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; 5 extern id objc_assign_ivar(id value, id dest, ptrdiff_t offset);
|
/external/clang/test/CodeGenObjC/ |
optimized-setter.m | 5 // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); 9 // void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset); 13 // void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); 17 // void objc_setProperty_atomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
|
/external/stlport/stlport/stl/ |
_tempbuf.c | 36 pair<_Tp*, ptrdiff_t> _STLP_CALL 37 __get_temporary_buffer(ptrdiff_t __len, _Tp*) 39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) 45 return pair<_Tp*, ptrdiff_t>(__tmp, __len); 49 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
|
_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) { 65 inline pair<_Tp*, ptrdiff_t> _STLP_CALL 66 get_temporary_buffer(ptrdiff_t __len, _Tp*) { 81 ptrdiff_t _M_original_len; 82 ptrdiff_t _M_len; 89 if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) 106 ptrdiff_t size() const { return _M_len; [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_tempbuf.c | 36 pair<_Tp*, ptrdiff_t> _STLP_CALL 37 __get_temporary_buffer(ptrdiff_t __len, _Tp*) 39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) 45 return pair<_Tp*, ptrdiff_t>(__tmp, __len); 49 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
|
_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) { 65 inline pair<_Tp*, ptrdiff_t> _STLP_CALL 66 get_temporary_buffer(ptrdiff_t __len, _Tp*) { 81 ptrdiff_t _M_original_len; 82 ptrdiff_t _M_len; 89 if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) 106 ptrdiff_t size() const { return _M_len; [all...] |
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_tempbuf.c | 36 pair<_Tp*, ptrdiff_t> _STLP_CALL 37 __get_temporary_buffer(ptrdiff_t __len, _Tp*) 39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) 45 return pair<_Tp*, ptrdiff_t>(__tmp, __len); 49 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
|
_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) { 65 inline pair<_Tp*, ptrdiff_t> _STLP_CALL 66 get_temporary_buffer(ptrdiff_t __len, _Tp*) { 81 ptrdiff_t _M_original_len; 82 ptrdiff_t _M_len; 89 if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) 106 ptrdiff_t size() const { return _M_len; [all...] |
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_tempbuf.c | 36 pair<_Tp*, ptrdiff_t> _STLP_CALL 37 __get_temporary_buffer(ptrdiff_t __len, _Tp*) 39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) 45 return pair<_Tp*, ptrdiff_t>(__tmp, __len); 49 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
|
_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) { 65 inline pair<_Tp*, ptrdiff_t> _STLP_CALL 66 get_temporary_buffer(ptrdiff_t __len, _Tp*) { 81 ptrdiff_t _M_original_len; 82 ptrdiff_t _M_len; 89 if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) 106 ptrdiff_t size() const { return _M_len; [all...] |
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_tempbuf.c | 36 pair<_Tp*, ptrdiff_t> _STLP_CALL 37 __get_temporary_buffer(ptrdiff_t __len, _Tp*) 39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) 45 return pair<_Tp*, ptrdiff_t>(__tmp, __len); 49 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
|
_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) { 65 inline pair<_Tp*, ptrdiff_t> _STLP_CALL 66 get_temporary_buffer(ptrdiff_t __len, _Tp*) { 81 ptrdiff_t _M_original_len; 82 ptrdiff_t _M_len; 89 if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) 106 ptrdiff_t size() const { return _M_len; [all...] |
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_tempbuf.c | 36 pair<_Tp*, ptrdiff_t> _STLP_CALL 37 __get_temporary_buffer(ptrdiff_t __len, _Tp*) 39 if (__len > ptrdiff_t(INT_MAX / sizeof(_Tp))) 45 return pair<_Tp*, ptrdiff_t>(__tmp, __len); 49 return pair<_Tp*, ptrdiff_t>((_Tp*)0, 0);
|
_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) { 65 inline pair<_Tp*, ptrdiff_t> _STLP_CALL 66 get_temporary_buffer(ptrdiff_t __len, _Tp*) { 81 ptrdiff_t _M_original_len; 82 ptrdiff_t _M_len; 89 if (_M_len > (ptrdiff_t)(INT_MAX / sizeof(_Tp))) 106 ptrdiff_t size() const { return _M_len; [all...] |
/external/clang/test/SemaCXX/ |
member-pointer-size.cpp | 12 typedef int assert1[sizeof(dataMember) == sizeof(ptrdiff_t) ? 1 : -1]; 13 typedef int assert2[sizeof(memberFunction) == sizeof(ptrdiff_t) * 2 ? 1 : -1];
|
/external/webkit/Source/JavaScriptCore/wtf/ |
NonCopyingSort.h | 35 inline void siftDown(RandomAccessIterator array, ptrdiff_t start, ptrdiff_t end, Predicate compareLess) 37 ptrdiff_t root = start; 40 ptrdiff_t child = root * 2 + 1; 53 inline void heapify(RandomAccessIterator array, ptrdiff_t count, Predicate compareLess) 55 ptrdiff_t start = (count - 2) / 2; 66 ptrdiff_t count = end - start; 69 ptrdiff_t endIndex = count - 1;
|
/external/clang/test/Sema/ |
format-strings-int-typedefs.c | 10 printf("%td", 42.0); // expected-warning {{format specifies type 'ptrdiff_t' (aka 'int')}} 19 scanf("%td", 0); // expected-warning {{format specifies type 'ptrdiff_t *' (aka 'int *')}} 30 typedef void *ptrdiff_t; typedef 36 printf("%td", (ptrdiff_t)42); // expected-warning {{format specifies type 'ptrdiff_t' (aka 'int') but the argument has type 'ptrdiff_t' (aka 'void *')}}
|
format-strings-size_t.c | 13 // ptrdiff_t 14 printf("%td", (double)42); // expected-warning {{format specifies type 'ptrdiff_t' (aka 'long') but the argument has type 'double'}} 27 printf("%tn", (int*)0); // expected-warning{{format specifies type 'ptrdiff_t *' (aka 'long *') but the argument has type 'int *'}}
|
/external/clang/test/CXX/over/over.over/ |
p2-resolve-single-template-id.cpp | 3 typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; typedef 90 { ptrdiff_t x = reinterpret_cast<ptrdiff_t>(oneT<int>); } 92 { (void) reinterpret_cast<ptrdiff_t>(one); } 95 { ptrdiff_t x = reinterpret_cast<ptrdiff_t>(twoT<int>); } 109 { ptrdiff_t x = (ptrdiff_t) &twoT<int>; 110 x = (ptrdiff_t) &twoT<int>; } 112 { ptrdiff_t x = (ptrdiff_t) twoT<int> [all...] |
/system/extras/tests/bionic/libstdc++/ |
test_cstddef.cpp | 61 // ptrdiff_t should be defined in both namespaces 62 volatile ::ptrdiff_t ptrdiff_t_in_top_ns = 0; 63 volatile ::std::ptrdiff_t ptrdiff_t_in_std_ns = 0; 65 if (sizeof(::ptrdiff_t) != sizeof(::std::ptrdiff_t))
|
/external/stlport/stlport/stl/debug/ |
_iterator.h | 49 void _Advance(_Iterator&, ptrdiff_t, const forward_iterator_tag &) 53 void _Advance(_Iterator& __it, ptrdiff_t, const bidirectional_iterator_tag &) 57 void _Advance(_Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) 61 ptrdiff_t _DBG_distance(const _Iterator& __x, const _Iterator& __y, const random_access_iterator_tag &) 65 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const forward_iterator_tag &) { 71 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const bidirectional_iterator_tag &) { 97 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const forward_iterator_tag &) 101 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const bidirectional_iterator_tag &) { 109 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) { 113 ptrdiff_t __new_pos = (__it._M_iterator - __c->begin()) + __n [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/ |
_iterator.h | 49 void _Advance(_Iterator&, ptrdiff_t, const forward_iterator_tag &) 53 void _Advance(_Iterator& __it, ptrdiff_t, const bidirectional_iterator_tag &) 57 void _Advance(_Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) 61 ptrdiff_t _DBG_distance(const _Iterator& __x, const _Iterator& __y, const random_access_iterator_tag &) 65 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const forward_iterator_tag &) { 71 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const bidirectional_iterator_tag &) { 97 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const forward_iterator_tag &) 101 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const bidirectional_iterator_tag &) { 109 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) { 113 ptrdiff_t __new_pos = (__it._M_iterator - __c->begin()) + __n [all...] |
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/debug/ |
_iterator.h | 49 void _Advance(_Iterator&, ptrdiff_t, const forward_iterator_tag &) 53 void _Advance(_Iterator& __it, ptrdiff_t, const bidirectional_iterator_tag &) 57 void _Advance(_Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) 61 ptrdiff_t _DBG_distance(const _Iterator& __x, const _Iterator& __y, const random_access_iterator_tag &) 65 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const forward_iterator_tag &) { 71 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const bidirectional_iterator_tag &) { 97 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const forward_iterator_tag &) 101 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const bidirectional_iterator_tag &) { 109 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) { 113 ptrdiff_t __new_pos = (__it._M_iterator - __c->begin()) + __n [all...] |
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/debug/ |
_iterator.h | 49 void _Advance(_Iterator&, ptrdiff_t, const forward_iterator_tag &) 53 void _Advance(_Iterator& __it, ptrdiff_t, const bidirectional_iterator_tag &) 57 void _Advance(_Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) 61 ptrdiff_t _DBG_distance(const _Iterator& __x, const _Iterator& __y, const random_access_iterator_tag &) 65 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const forward_iterator_tag &) { 71 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const bidirectional_iterator_tag &) { 97 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const forward_iterator_tag &) 101 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const bidirectional_iterator_tag &) { 109 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) { 113 ptrdiff_t __new_pos = (__it._M_iterator - __c->begin()) + __n [all...] |
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/debug/ |
_iterator.h | 49 void _Advance(_Iterator&, ptrdiff_t, const forward_iterator_tag &) 53 void _Advance(_Iterator& __it, ptrdiff_t, const bidirectional_iterator_tag &) 57 void _Advance(_Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) 61 ptrdiff_t _DBG_distance(const _Iterator& __x, const _Iterator& __y, const random_access_iterator_tag &) 65 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const forward_iterator_tag &) { 71 ptrdiff_t _DBG_distance(const _Iterator&, const _Iterator&, const bidirectional_iterator_tag &) { 97 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const forward_iterator_tag &) 101 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const bidirectional_iterator_tag &) { 109 bool _Incrementable(const _Iterator& __it, ptrdiff_t __n, const random_access_iterator_tag &) { 113 ptrdiff_t __new_pos = (__it._M_iterator - __c->begin()) + __n [all...] |