/external/clang/test/SemaCXX/ |
H A D | PR12778.cpp | 4 void* allocate(int __n) { argument 5 return ::operator new(__n);
|
/external/stlport/stlport/stl/ |
H A D | _alloc.c | 38 void * _STLP_CALL __debug_alloc<_Alloc>::allocate(size_t __n) { argument 40 size_t __real_n = __n + __total_extra; 41 if (__real_n < __n) { 42 //It means that we rolled on size_t, __n must be very large: 49 __result->_M_size = (_STLP_UINT32_T)__n; 55 __debug_alloc<_Alloc>::deallocate(void *__p, size_t __n) { argument 61 _STLP_VERBOSE_ASSERT(__real_p->_M_size == __n, _StlMsg_DBA_SIZE_MISMATCH) 68 size_t __real_n = __n + __extra_before_chunk() + __extra_after_chunk(); 70 for (__tmp= ((unsigned char*)__p) + __n * sizeof(value_type); 77 memset((char*)__p, __shred_byte, __n * sizeo [all...] |
H A D | _new.h | 131 inline void* _STLP_CALL __stl_new(size_t __n) { _STLP_CHECK_NULL_ALLOC(::operator new(__n, __FILE__, __LINE__)); } argument 134 inline void* _STLP_CALL __stl_new(size_t __n) { _STLP_CHECK_NULL_ALLOC(::operator new(__n)); }
|
H A D | _cwchar.h | 309 inline wchar_t* _STLP_wmemcpy(wchar_t* __wdst, const wchar_t* __wsrc, size_t __n) argument 310 { return __STATIC_CAST(wchar_t*, _STLP_VENDOR_CSTD::wmemcpy(__wdst, __wsrc, __n)); } 311 inline wchar_t* _STLP_wmemset(wchar_t* __wdst, wchar_t __wc, size_t __n) argument 312 { return __STATIC_CAST(wchar_t*, _STLP_VENDOR_CSTD::memset(__wdst, __wc, __n)); } 315 inline wchar_t* wmemcpy(wchar_t* __wdst, const wchar_t* __wsrc, size_t __n) argument 316 { return _STLP_wmemcpy(__wdst, __wsrc, __n); } 317 inline wchar_t* wmemset(wchar_t* __wdst, wchar_t __wc, size_t __n) argument 318 { return _STLP_wmemset(__wdst, __wc, __n); } 320 inline wchar_t* wmemcpy(wchar_t* __RESTRICT __wdst, const wchar_t* __RESTRICT __wsrc, size_t __n) 321 { return __STATIC_CAST(wchar_t*, memcpy(__wdst, __wsrc, __n * sizeo [all...] |
H A D | _numeric.c | 74 _Tp __power(_Tp __x, _Integer __n, _MonoidOperation __opr) { argument 76 if (__n == 0) 79 while ((__n & 1) == 0) { 80 __n >>= 1; 85 __n >>= 1; local 86 while (__n != 0) { 88 if ((__n & 1) != 0) 90 __n >>= 1;
|
H A D | _string_operators.h | 51 const size_t __n = _Traits::length(__s); local 53 _Str __result = _Str(_Reserve_t(), __n + __y.size(), __y.get_allocator()); 55 _Str __result(_Reserve_t(), __n + __y.size(), __y.get_allocator()); 57 __result.append(__s, __s + __n); 85 const size_t __n = _Traits::length(__s); local 87 _Str __result = _Str(_Reserve_t(), __x.size() + __n, __x.get_allocator()); 89 _Str __result(_Reserve_t(), __x.size() + __n, __x.get_allocator()); 92 __result.append(__s, __s + __n); 171 const size_t __n = _Traits::length(__s); 175 __root_type __root(_STLP_PRIV __cstr_wrapper<_CharT>(__s, __n), _STLP_PRI 314 size_t __n = _Traits::length(__s); local 323 size_t __n = _Traits::length(__s); local 333 size_t __n = _Traits::length(__s); local 342 size_t __n = _Traits::length(__s); local 380 size_t __n = _Traits::length(__s); local 390 size_t __n = _Traits::length(__s); local 401 size_t __n = _Traits::length(__s); local 411 size_t __n = _Traits::length(__s); local [all...] |
H A D | _iostream_string.h | 63 _CharT* allocate(size_type __n, const void* __ptr = 0) { argument 64 if (__n > _BUF_SIZE) { 65 return _Base::allocate(__n, __ptr); 69 void deallocate(pointer __p, size_type __n) { argument 70 if (__p != _M_static_buf) _Base::deallocate(__p, __n);
|
H A D | _numeric.h | 140 _Tp __power(_Tp __x, _Integer __n, _MonoidOperation __opr); 146 // Returns __x ** __n, where __n >= 0. _Note that "multiplication" 152 inline _Tp __power(_Tp __x, _Integer __n) { argument 153 return __power(__x, __n, multiplies<_Tp>()); 161 inline _Tp power(_Tp __x, _Integer __n, _MonoidOperation __opr) { argument 162 return _STLP_PRIV __power(__x, __n, __opr); 166 inline _Tp power(_Tp __x, _Integer __n) { argument 167 return _STLP_PRIV __power(__x, __n, multiplies<_Tp>());
|
H A D | _string_sum_methods.h | 30 size_type __pos, size_type __n = npos, 32 : _STLP_STRING_SUM_BASE(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : 0, __a) { 37 _M_append_sum_pos(__s, __pos, (min) (__n, __size - __pos)); 59 _CharT* _M_append_fast_pos(_STLP_PRIV __char_wrapper<_CharT> __c, _CharT *__buf, size_type /*__pos*/, size_type __n) { argument 60 if (__n == 0) 66 size_type __pos, size_type __n) 67 { return uninitialized_copy(__s + __pos, __s + __pos + (min)(__n, __s_size - __pos), __buf); } 69 size_type __pos, size_type __n) 70 { return _M_append_fast_pos(__s.c_str(), __s.size(), __buf, __pos, __n); } 72 size_type __pos, size_type __n) 65 _M_append_fast_pos(_CharT const* __s, size_type __s_size, _CharT *__buf, size_type __pos, size_type __n) argument 68 _M_append_fast_pos(_STLP_PRIV __cstr_wrapper<_CharT> const& __s, _CharT *__buf, size_type __pos, size_type __n) argument 71 _M_append_fast_pos(_STLP_PRIV __bstr_wrapper<_CharT, _Traits, _Alloc> __s, _CharT *__buf, size_type __pos, size_type __n) argument 74 _M_append_fast_pos(_Self const& __s, _CharT *__buf, size_type __pos, size_type __n) argument 82 _M_append_fast_pos(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, _CharT *__buf, size_type __pos, size_type __n) argument 124 _M_append_sum_pos(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, size_type __pos, size_type __n) argument 148 _M_append_sum_no_overflow(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, size_type __pos, size_type __n) argument [all...] |
H A D | _iomanip.h | 110 inline _STLP_PRIV _Ios_Setf_Manip _STLP_CALL setbase(int __n) { argument 111 ios_base::fmtflags __base = __n == 8 ? ios_base::oct : 112 __n == 10 ? ios_base::dec : 113 __n == 16 ? ios_base::hex : 119 setprecision(int __n) { argument 121 return _STLP_PRIV _Ios_Manip_1<streamsize>(__f, __n); 125 setw(int __n) { argument 127 return _STLP_PRIV _Ios_Manip_1<streamsize>(__f, __n);
|
H A D | _iterator_old.h | 203 _Self operator+(_Distance __n) const { 204 return _Self(__current - __n); 206 _Self& operator+=(_Distance __n) { argument 207 __current -= __n; 210 _Self operator-(_Distance __n) const { 211 return _Self(__current + __n); 213 _Self& operator-=(_Distance __n) { argument 214 __current += __n; 217 _Reference operator[](_Distance __n) const { return *(*this + __n); } 318 operator +(_Distance __n, const reverse_iterator<_RandomAccessIterator, _Tp, Reference__, _Distance>& __x) argument [all...] |
H A D | _list.c | 124 void list<_Tp, _Alloc>::_M_fill_assign(size_type __n, const _Tp& __val) { argument 126 for ( ; __i != end() && __n > 0; ++__i, --__n) 128 if (__n > 0) 129 insert(end(), __n, __val); local
|
H A D | _slist.c | 91 void slist<_Tp, _Alloc>::_M_fill_assign(size_type __n, const _Tp& __val) { argument 94 for ( ; __node != 0 && __n > 0 ; --__n) { 99 if (__n > 0) 100 _M_insert_after_fill(__prev, __n, __val);
|
H A D | _streambuf.c | 54 basic_streambuf<_CharT, _Traits>::xsgetn(_CharT* __s, streamsize __n) { argument 58 while (__result < __n) { 61 __STATIC_CAST(size_t,__n - __result)); 84 basic_streambuf<_CharT, _Traits>::xsputn(const _CharT* __s, streamsize __n) argument 89 while (__result < __n) { 92 __STATIC_CAST(size_t,__n - __result)); 112 basic_streambuf<_CharT, _Traits>::_M_xsputnc(_CharT __c, streamsize __n) argument 117 while (__result < __n) { 120 __STATIC_CAST(size_t,__n - __result));
|
H A D | _string_base.h | 92 // Precondition: 0 < __n <= max_size(). 93 void _M_allocate_block(size_t __n = _DEFAULT_SIZE); 118 _String_base(const allocator_type& __a, size_t __n) argument 124 _M_allocate_block(__n);
|
H A D | _string_io.c | 18 streamsize __n) { 20 for (streamsize __i = 0; __i < __n; ++__i) { 43 size_type __n = __s.size(); local 48 const bool __need_pad = (((sizeof(streamsize) > sizeof(size_t)) && (__STATIC_CAST(streamsize, __n) < __w)) || 49 ((sizeof(streamsize) <= sizeof(size_t)) && (__n < __STATIC_CAST(size_t, __w)))); 50 streamsize __pad_len = __need_pad ? __w - __n : 0; 55 __ok = __ok && (__buf->sputn(__s.data(), streamsize(__n)) == streamsize(__n)); 87 size_type __n; local 89 __n 16 __stlp_string_fill(basic_ostream<_CharT, _Traits>& __os, basic_streambuf<_CharT, _Traits>* __buf, streamsize __n) argument [all...] |
H A D | _uninitialized.h | 86 for (_Distance __n = __last - __first; __n > 0; --__n) { 249 for (_Distance __n = __last - __first; __n > 0; --__n, ++__cur) 285 inline _ForwardIter __ufill_n(_ForwardIter __first, _Size __n, const _Tp& __x) { argument 288 for ( ; __n > 0; --__n, ++__cur) 296 inline _ForwardIter __ufill_n(_ForwardIter __first, _Size __n, cons argument 302 __ufill_n(_ForwardIter __first, _Size __n, const _Tp& __x, const forward_iterator_tag &) argument 307 __ufill_n(_ForwardIter __first, _Size __n, const _Tp& __x, const bidirectional_iterator_tag &) argument 313 __uninitialized_fill_n(_ForwardIter __first, _Size __n, const _Tp& __x) argument 320 __ufill_n(_ForwardIter __first, _Size __n, const _Tp& __x, const random_access_iterator_tag &) argument 329 __uinit_aux_aux(_ForwardIter __first, _Size __n, const _Tp& __val, const __false_type& ) argument 334 __uinit_aux_aux(_ForwardIter __first, _Size __n, const _Tp& , const __true_type& ) argument 341 __uinit_aux(_ForwardIter __first, _Size __n, const _Tp&, const __true_type& ) argument 346 __uinit_aux(_ForwardIter __first, _Size __n, const _Tp& __val, const __false_type& ) argument 351 __uninitialized_init(_ForwardIter __first, _Size __n, const _Tp& __val) argument 358 uninitialized_fill_n(_ForwardIter __first, _Size __n, const _Tp& __x) argument [all...] |
H A D | _vector.c | 62 void vector<_Tp, _Alloc>::reserve(size_type __n) { argument 63 if (capacity() < __n) { 64 if (max_size() < __n) { 71 __tmp = _M_allocate_and_copy(__n, this->_M_start, this->_M_finish); 74 __tmp = this->_M_end_of_storage.allocate(__n, __n); 76 _M_set(__tmp, __tmp + __old_size, __tmp + __n); 122 void vector<_Tp, _Alloc>::_M_fill_insert_aux(iterator __pos, size_type __n, argument 126 _M_fill_insert_aux(__pos, __n, __x_copy, __true_type()); 130 iterator __dst = __src + __n; 140 _M_fill_insert_aux(iterator __pos, size_type __n, const _Tp& __x, const __false_type& ) argument 166 _M_fill_insert(iterator __pos, size_type __n, const _Tp& __x) argument 210 _M_fill_assign(size_t __n, const _Tp& __val) argument 224 size_type __n = __pos - begin(); local [all...] |
/external/stlport/stlport/stl/debug/ |
H A D | _string_sum_methods.h | 30 size_type __pos, size_type __n = npos, 32 : _M_non_dbg_impl(_Reserve_t(), (__pos <= __s.size()) ? ((min) (__n, __s.size() - __pos)) : 0, __a), 39 _M_append_sum_pos(__s, __pos, (min) (__n, __size - __pos), _M_non_dbg_impl); 59 _Base& _M_append_fast_pos(_STLP_PRIV __char_wrapper<_CharT> __c, _Base &__str, size_type /*__pos*/, size_type __n) { argument 60 if (__n == 0) 65 size_type __pos, size_type __n) 66 { return __str.append(__s + __pos, __s + __pos + (min)(__n, __s_size - __pos)); } 68 size_type __pos, size_type __n) 69 { return _M_append_fast_pos(__s.c_str(), __s.size(), __str, __pos, __n); } 71 size_type __pos, size_type __n) 64 _M_append_fast_pos(_CharT const* __s, size_type __s_size, _Base &__str, size_type __pos, size_type __n) argument 67 _M_append_fast_pos(_STLP_PRIV __cstr_wrapper<_CharT> const& __s, _Base &__str, size_type __pos, size_type __n) argument 70 _M_append_fast_pos(_STLP_PRIV __bstr_wrapper<_CharT, _Traits, _Alloc> __s, _Base &__str, size_type __pos, size_type __n) argument 73 _M_append_fast_pos(_Self const& __s, _Base &__str, size_type __pos, size_type __n) argument 80 _M_append_fast_pos(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, _Base &__str, size_type __pos, size_type __n) argument 106 _M_append_sum_pos(_STLP_PRIV __bstr_sum<_CharT, _Traits, _Alloc, _Left, _Right, _StorageDir> const& __s, size_type __pos, size_type __n, _Base &__impl) argument [all...] |
H A D | _deque.h | 99 reference operator[](size_type __n) { argument 100 _STLP_VERBOSE_ASSERT(__n < size(), _StlMsg_OUT_OF_BOUNDS) 101 return _M_non_dbg_impl[__n]; 103 const_reference operator[](size_type __n) const { 104 _STLP_VERBOSE_ASSERT(__n < size(), _StlMsg_OUT_OF_BOUNDS) 105 return _M_non_dbg_impl[__n]; 108 reference at(size_type __n) { return _M_non_dbg_impl.at(__n); } 109 const_reference at(size_type __n) const { return _M_non_dbg_impl.at(__n); } [all...] |
/external/elfutils/0.153/host-darwin-fixup/ |
H A D | AndroidFixup.h | 49 static inline void *mempcpy (void * __dest, const void * __src, size_t __n) argument 51 memcpy(__dest, __src, __n); 52 return ((char *)__dest) + __n;
|
/external/libcxx/src/ |
H A D | thread.cpp | 145 T* allocate(size_t __n) argument 146 {return static_cast<T*>(::operator new(__n * sizeof(T)));}
|
H A D | strstream.cpp | 34 strstreambuf::__init(char* __gnext, streamsize __n, char* __pbeg) argument 36 if (__n == 0) 37 __n = static_cast<streamsize>(strlen(__gnext)); 38 else if (__n < 0) 39 __n = INT_MAX; 41 setg(__gnext, __gnext, __gnext + __n); 45 setp(__pbeg, __pbeg + __n); 49 strstreambuf::strstreambuf(char* __gnext, streamsize __n, char* __pbeg) argument 55 __init(__gnext, __n, __pbeg); 58 strstreambuf::strstreambuf(const char* __gnext, streamsize __n) argument 64 __init(const_cast<char *>(__gnext), __n, nullptr); local 67 strstreambuf(signed char* __gnext, streamsize __n, signed char* __pbeg) argument 76 strstreambuf(const signed char* __gnext, streamsize __n) argument 85 strstreambuf(unsigned char* __gnext, streamsize __n, unsigned char* __pbeg) argument 94 strstreambuf(const unsigned char* __gnext, streamsize __n) argument [all...] |
/external/libcxx/src/support/solaris/ |
H A D | xlocale.c | 50 size_t mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n, argument 54 __pwc, __s, __n, __ps); 63 size_t mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l) { argument 66 __n, __ps); 93 size_t strxfrm_l(char *__s1, const char *__s2, size_t __n, locale_t __l) { argument 96 __s1, __s2, __n); 105 size_t wcsxfrm_l(wchar_t *__ws1, const wchar_t *__ws2, size_t __n, argument 109 __ws1, __ws2, __n); 161 #define vsnprintf_l(__s, __n, __l, __format, __va) \ 162 vsnprintf(__s, __n, __forma 172 snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) argument [all...] |
/external/pixman/pixman/ |
H A D | loongson-mmintrin.h | 247 _mm_shuffle_pi16 (__m64 __m, int64_t __n) argument 252 : "f" (__m), "f" (*(__m64 *)&__n)
|