/external/clang/test/SemaCXX/ |
PR12778.cpp | 4 void* allocate(int __n) { 5 return ::operator new(__n);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/bits/ |
socket2.h | 24 extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen, 26 extern ssize_t __REDIRECT (__recv_alias, (int __fd, void *__buf, size_t __n, 29 (int __fd, void *__buf, size_t __n, size_t __buflen, 35 recv (int __fd, void *__buf, size_t __n, int __flags) 39 if (!__builtin_constant_p (__n)) 40 return __recv_chk (__fd, __buf, __n, __bos0 (__buf), __flags); 42 if (__n > __bos0 (__buf)) 43 return __recv_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags); 45 return __recv_alias (__fd, __buf, __n, __flags); 48 extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n, [all...] |
wchar2.h | 26 __const wchar_t *__restrict __s2, size_t __n, 30 __const wchar_t *__restrict __s2, size_t __n), 34 __const wchar_t *__restrict __s2, size_t __n, 41 size_t __n)) 45 if (!__builtin_constant_p (__n)) 46 return __wmemcpy_chk (__s1, __s2, __n, 49 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 50 return __wmemcpy_chk_warn (__s1, __s2, __n, 53 return __wmemcpy_alias (__s1, __s2, __n); 58 size_t __n, size_t __ns1) __THROW [all...] |
stdio2.h | 53 extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, 56 extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, 62 __NTH (snprintf (char *__restrict __s, size_t __n, 65 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 75 __NTH (vsnprintf (char *__restrict __s, size_t __n, 78 return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 233 extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, 236 (char *__restrict __s, int __n, 239 (char *__restrict __s, size_t __size, int __n, 245 fgets (char *__restrict __s, int __n, FILE *__restrict __stream [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
socket2.h | 24 extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen, 26 extern ssize_t __REDIRECT (__recv_alias, (int __fd, void *__buf, size_t __n, 29 (int __fd, void *__buf, size_t __n, size_t __buflen, 35 recv (int __fd, void *__buf, size_t __n, int __flags) 39 if (!__builtin_constant_p (__n)) 40 return __recv_chk (__fd, __buf, __n, __bos0 (__buf), __flags); 42 if (__n > __bos0 (__buf)) 43 return __recv_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags); 45 return __recv_alias (__fd, __buf, __n, __flags); 48 extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n, [all...] |
wchar2.h | 26 __const wchar_t *__restrict __s2, size_t __n, 30 __const wchar_t *__restrict __s2, size_t __n), 34 __const wchar_t *__restrict __s2, size_t __n, 41 size_t __n)) 45 if (!__builtin_constant_p (__n)) 46 return __wmemcpy_chk (__s1, __s2, __n, 49 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 50 return __wmemcpy_chk_warn (__s1, __s2, __n, 53 return __wmemcpy_alias (__s1, __s2, __n); 58 size_t __n, size_t __ns1) __THROW [all...] |
stdio2.h | 53 extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, 56 extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, 62 __NTH (snprintf (char *__restrict __s, size_t __n, 65 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 75 __NTH (vsnprintf (char *__restrict __s, size_t __n, 78 return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 233 extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, 236 (char *__restrict __s, int __n, 239 (char *__restrict __s, size_t __size, int __n, 245 fgets (char *__restrict __s, int __n, FILE *__restrict __stream [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
socket2.h | 24 extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen, 26 extern ssize_t __REDIRECT (__recv_alias, (int __fd, void *__buf, size_t __n, 29 (int __fd, void *__buf, size_t __n, size_t __buflen, 35 recv (int __fd, void *__buf, size_t __n, int __flags) 39 if (!__builtin_constant_p (__n)) 40 return __recv_chk (__fd, __buf, __n, __bos0 (__buf), __flags); 42 if (__n > __bos0 (__buf)) 43 return __recv_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags); 45 return __recv_alias (__fd, __buf, __n, __flags); 48 extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n, [all...] |
wchar2.h | 26 __const wchar_t *__restrict __s2, size_t __n, 30 __const wchar_t *__restrict __s2, size_t __n), 34 __const wchar_t *__restrict __s2, size_t __n, 41 size_t __n)) 45 if (!__builtin_constant_p (__n)) 46 return __wmemcpy_chk (__s1, __s2, __n, 49 if (__n > __bos0 (__s1) / sizeof (wchar_t)) 50 return __wmemcpy_chk_warn (__s1, __s2, __n, 53 return __wmemcpy_alias (__s1, __s2, __n); 58 size_t __n, size_t __ns1) __THROW [all...] |
stdio2.h | 53 extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, 56 extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, 62 __NTH (snprintf (char *__restrict __s, size_t __n, 65 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 75 __NTH (vsnprintf (char *__restrict __s, size_t __n, 78 return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 233 extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, 236 (char *__restrict __s, int __n, 239 (char *__restrict __s, size_t __size, int __n, 245 fgets (char *__restrict __s, int __n, FILE *__restrict __stream [all...] |
/external/libcxx/test/support/ |
constexpr_char_traits.hpp | 36 static _LIBCPP_CONSTEXPR_AFTER_CXX11 int compare(const char_type* __s1, const char_type* __s2, size_t __n); 38 static _LIBCPP_CONSTEXPR_AFTER_CXX11 const char_type* find(const char_type* __s, size_t __n, const char_type& __a); 39 static _LIBCPP_CONSTEXPR_AFTER_CXX11 char_type* move(char_type* __s1, const char_type* __s2, size_t __n); 40 static _LIBCPP_CONSTEXPR_AFTER_CXX11 char_type* copy(char_type* __s1, const char_type* __s2, size_t __n); 41 static _LIBCPP_CONSTEXPR_AFTER_CXX11 char_type* assign(char_type* __s, size_t __n, char_type __a); 62 constexpr_char_traits<_CharT>::compare(const char_type* __s1, const char_type* __s2, size_t __n) 64 for (; __n; --__n, ++__s1, ++__s2) 86 constexpr_char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a) 88 for (; __n; --__n [all...] |
/bionic/libc/include/android/ |
legacy_stdlib_inlines.h | 42 static __inline int abs(int __n) { return (__n < 0) ? -__n : __n; } 44 static __inline long labs(long __n) { return (__n < 0L) ? -__n : __n; } 46 static __inline long long llabs(long long __n) { 47 return (__n < 0LL) ? -__n : __n [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
valarray_array.h | 52 __valarray_get_memory(size_t __n) 53 { return operator new(__n); } 57 __valarray_get_storage(size_t __n) 60 (std::__valarray_get_memory(__n * sizeof(_Tp))); 166 // copy-construct raw array [__o, *) from strided array __a[<__n : __s>] 169 __valarray_copy_construct (const _Tp* __restrict__ __a, size_t __n, 173 while (__n--) 179 while (__n--) 186 // copy-construct raw array [__o, *) from indexed array __a[__i[<__n>]] 191 _Tp* __restrict__ __o, size_t __n) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
valarray_array.h | 52 __valarray_get_memory(size_t __n) 53 { return operator new(__n); } 57 __valarray_get_storage(size_t __n) 60 (std::__valarray_get_memory(__n * sizeof(_Tp))); 166 // copy-construct raw array [__o, *) from strided array __a[<__n : __s>] 169 __valarray_copy_construct (const _Tp* __restrict__ __a, size_t __n, 173 while (__n--) 179 while (__n--) 186 // copy-construct raw array [__o, *) from indexed array __a[__i[<__n>]] 191 _Tp* __restrict__ __o, size_t __n) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
valarray_array.h | 52 __valarray_get_memory(size_t __n) 53 { return operator new(__n); } 57 __valarray_get_storage(size_t __n) 60 (std::__valarray_get_memory(__n * sizeof(_Tp))); 166 // copy-construct raw array [__o, *) from strided array __a[<__n : __s>] 169 __valarray_copy_construct (const _Tp* __restrict__ __a, size_t __n, 173 while (__n--) 179 while (__n--) 186 // copy-construct raw array [__o, *) from indexed array __a[__i[<__n>]] 191 _Tp* __restrict__ __o, size_t __n) [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
valarray_array.h | 52 __valarray_get_memory(size_t __n) 53 { return operator new(__n); } 57 __valarray_get_storage(size_t __n) 60 (std::__valarray_get_memory(__n * sizeof(_Tp))); 166 // copy-construct raw array [__o, *) from strided array __a[<__n : __s>] 169 __valarray_copy_construct (const _Tp* __restrict__ __a, size_t __n, 173 while (__n--) 179 while (__n--) 186 // copy-construct raw array [__o, *) from indexed array __a[__i[<__n>]] 191 _Tp* __restrict__ __o, size_t __n) [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/experimental/ |
string_view.tcc | 52 find(const _CharT* __str, size_type __pos, size_type __n) const noexcept 54 __glibcxx_requires_string_len(__str, __n); 56 if (__n == 0) 59 if (__n <= this->_M_len) 61 for (; __pos <= this->_M_len - __n; ++__pos) 64 __str + 1, __n - 1) == 0) 78 const size_type __n = this->_M_len - __pos; 79 const _CharT* __p = traits_type::find(this->_M_str + __pos, __n, __c); 89 rfind(const _CharT* __str, size_type __pos, size_type __n) const noexcept 91 __glibcxx_requires_string_len(__str, __n); [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_string_workaround.h | 51 basic_string(_Reserve_t __r, size_t __n, 53 : _STLP_NO_MEM_T_STRING_BASE(__r, __n, __a) {} 58 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, 60 : _STLP_NO_MEM_T_STRING_BASE(__s, __pos, __n, __a) {} 62 basic_string(const _CharT* __s, size_type __n, 64 : _STLP_NO_MEM_T_STRING_BASE(__s, __n, __a) {} 70 basic_string(size_type __n, _CharT __c, 72 : _STLP_NO_MEM_T_STRING_BASE(__n, __c, __a) {} 124 difference_type __n = _STLP_STD::distance(__f, __l); local 125 this->_M_allocate_block(__n + 1) 219 const size_type __n = __STATIC_CAST(size_type, _STLP_STD::distance(__first, __last)); local 400 size_type __n = __STATIC_CAST(size_type, _STLP_STD::distance(__first, __last)); local [all...] |
_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) { 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) [all...] |
_vector.c | 62 void vector<_Tp, _Alloc>::reserve(size_type __n) { 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, 126 _M_fill_insert_aux(__pos, __n, __x_copy, __true_type()); 130 iterator __dst = __src + __n; 224 size_type __n = __pos - begin(); local [all...] |
_string.c | 162 size_type __n = (max)(__res_arg, size()) + 1; local 163 if (__n < this->_M_capacity()) 166 _M_reserve(__n); 170 void basic_string<_CharT,_Traits,_Alloc>::_M_reserve(size_type __n) { 171 pointer __new_start = this->_M_start_of_storage.allocate(__n, __n); 175 this->_M_reset(__new_start, __new_finish, __new_start + __n); 180 basic_string<_CharT,_Traits,_Alloc>::append(size_type __n, _CharT __c) { 181 if (__n > 0) { 182 if (__n > max_size() - size() 198 size_type __n = __STATIC_CAST(size_type, __last - __first); local 243 ptrdiff_t __n = __l - __f; local 319 const size_t __n = __last - __first; local 392 const ptrdiff_t __n = __l - __f; local [all...] |
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/ |
_string_workaround.h | 51 basic_string(_Reserve_t __r, size_t __n, 53 : _STLP_NO_MEM_T_STRING_BASE(__r, __n, __a) {} 58 basic_string(const _Self& __s, size_type __pos, size_type __n = npos, 60 : _STLP_NO_MEM_T_STRING_BASE(__s, __pos, __n, __a) {} 62 basic_string(const _CharT* __s, size_type __n, 64 : _STLP_NO_MEM_T_STRING_BASE(__s, __n, __a) {} 70 basic_string(size_type __n, _CharT __c, 72 : _STLP_NO_MEM_T_STRING_BASE(__n, __c, __a) {} 124 difference_type __n = _STLP_STD::distance(__f, __l); local 125 this->_M_allocate_block(__n + 1) 219 const size_type __n = __STATIC_CAST(size_type, _STLP_STD::distance(__first, __last)); local 400 size_type __n = __STATIC_CAST(size_type, _STLP_STD::distance(__first, __last)); local [all...] |
_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) { 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) [all...] |
_vector.c | 62 void vector<_Tp, _Alloc>::reserve(size_type __n) { 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, 126 _M_fill_insert_aux(__pos, __n, __x_copy, __true_type()); 130 iterator __dst = __src + __n; 224 size_type __n = __pos - begin(); local [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/tr2/ |
dynamic_bitset.tcc | 52 for (size_t __n = this->_M_w.size() - 1; __n >= __wshift; --__n) 53 this->_M_w[__n] = this->_M_w[__n - __wshift]; 57 for (size_t __n = _M_w.size() - 1; __n > __wshift; --__n) 58 this->_M_w[__n] = ((this->_M_w[__n - __wshift] << __offset [all...] |