/ndk/sources/cxx-stl/gabi++/include/ |
D | cxxabi.h | 96 void* __cxa_allocate_exception(size_t thrown_size) _GABIXX_NOEXCEPT; 151 void* __cxa_vec_new(size_t element_count, 152 size_t element_size, 153 size_t padding_size, 157 void* __cxa_vec_new2(size_t element_count, 158 size_t element_size, 159 size_t padding_size, 162 void* (*alloc)(size_t), 165 void* __cxa_vec_new3(size_t element_count, 166 size_t element_size, [all …]
|
/ndk/sources/cxx-stl/gabi++/src/ |
D | cxxabi_vec.cc | 33 using std::size_t; 42 typedef void* (*alloc_func)(size_t); 44 typedef void (*dealloc2_func)(void*, size_t); 50 scoped_block(void* ptr, size_t size, dealloc2_func dealloc) in scoped_block() 64 size_t size_; 72 scoped_cleanup(void* array, size_t& index, size_t element_size, in scoped_cleanup() 90 size_t& index_; 91 size_t element_size_; 119 void* __cxa_vec_new(size_t element_count, in __cxa_vec_new() 120 size_t element_size, in __cxa_vec_new() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include/ |
D | cxxabi.h | 38 extern void * __cxa_allocate_exception(size_t thrown_size) throw(); 85 extern void* __cxa_vec_new(size_t element_count, 86 size_t element_size, 87 size_t padding_size, 91 extern void* __cxa_vec_new2(size_t element_count, 92 size_t element_size, 93 size_t padding_size, 96 void* (*alloc)(size_t), 99 extern void* __cxa_vec_new3(size_t element_count, 100 size_t element_size, [all …]
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/ |
D | cxa_vector.cpp | 23 inline static size_t __get_element_count ( void *p ) { in __get_element_count() 24 return static_cast <size_t *> (p)[-1]; in __get_element_count() 27 inline static void __set_element_count ( void *p, size_t element_count ) { in __set_element_count() 28 static_cast <size_t *> (p)[-1] = element_count; in __set_element_count() 59 typedef void (*dealloc_f)(void *, size_t); 61 st_heap_block3 ( dealloc_f dealloc, void *ptr, size_t size ) in st_heap_block3() 69 size_t size_; 77 st_cxa_cleanup ( void *ptr, size_t &idx, size_t element_size, destruct_f destructor ) in st_cxa_cleanup() 89 size_t &idx_; 90 size_t element_size_; [all …]
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _hash_fun.h | 44 inline size_t __stl_hash_string(const char* __s) { in __stl_hash_string() 50 return size_t(__h); in __stl_hash_string() 57 size_t operator()(const char* __s) const { 65 size_t operator()(const char* __s) const { 72 size_t operator()(char __x) const { return __x; } 75 size_t operator()(unsigned char __x) const { return __x; } 79 size_t operator()(unsigned char __x) const { return __x; } 83 size_t operator()(short __x) const { return __x; } 86 size_t operator()(unsigned short __x) const { return __x; } 89 size_t operator()(int __x) const { return __x; } [all …]
|
D | _bitset.h | 74 static size_t _S_count(const unsigned char *__beg, const unsigned char *__end) in _S_count() 77 size_t __result = 0; in _S_count() 79 for (size_t i = 0; i < (sizeof(unsigned char) * 8); ++i) { in _S_count() 106 template<size_t _Nw> 119 static size_t _STLP_CALL _S_whichword( size_t __pos ) { in _S_whichword() 122 static size_t _STLP_CALL _S_whichbyte( size_t __pos ) { in _S_whichbyte() 125 static size_t _STLP_CALL _S_whichbit( size_t __pos ) { in _S_whichbit() 128 static _WordT _STLP_CALL _S_maskbit( size_t __pos ) { in _S_maskbit() 132 _WordT& _M_getword(size_t __pos) { return _M_w[_S_whichword(__pos)]; } in _M_getword() 133 _WordT _M_getword(size_t __pos) const { return _M_w[_S_whichword(__pos)]; } in _M_getword() [all …]
|
D | _bitset.c | 34 template<size_t _Nw> 35 void _Base_bitset<_Nw>::_M_do_left_shift(size_t __shift) { in _M_do_left_shift() 37 const size_t __wshift = __shift / __BITS_PER_WORD; in _M_do_left_shift() 38 const size_t __offset = __shift % __BITS_PER_WORD; in _M_do_left_shift() 41 for (size_t __n = _Nw - 1; __n >= __wshift; --__n) in _M_do_left_shift() 45 const size_t __sub_offset = __BITS_PER_WORD - __offset; in _M_do_left_shift() 46 for (size_t __n = _Nw - 1; __n > __wshift; --__n) in _M_do_left_shift() 56 template<size_t _Nw> 57 void _Base_bitset<_Nw>::_M_do_right_shift(size_t __shift) { in _M_do_right_shift() 59 const size_t __wshift = __shift / __BITS_PER_WORD; in _M_do_right_shift() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/support/win32/ |
D | support.cpp | 40 size_t buffer_size = static_cast<size_t>(count) + 1; in vasprintf() 63 size_t mbsnrtowcs( wchar_t *__restrict dst, const char **__restrict src, in mbsnrtowcs() 64 size_t src_size_bytes, size_t max_dest_chars, mbstate_t *__restrict ps ) in mbsnrtowcs() 66 const size_t terminated_sequence = static_cast<size_t>(0); in mbsnrtowcs() 68 const size_t incomplete_sequence = static_cast< size_t>(-2); in mbsnrtowcs() 70 size_t dest_converted = 0; in mbsnrtowcs() 71 size_t source_converted = 0; in mbsnrtowcs() 72 size_t source_remaining = src_size_bytes; in mbsnrtowcs() 73 size_t result = 0; in mbsnrtowcs() 83 …size_t char_size = mbrtowc( dst ? dst + dest_converted : NULL, *src + source_converted, source_rem… in mbsnrtowcs() [all …]
|
/ndk/sources/android/support/include/ |
D | wchar.h | 101 wchar_t *wcsncpy (wchar_t *__restrict__, const wchar_t *__restrict__, size_t); 104 wchar_t *wcsncat (wchar_t *__restrict__, const wchar_t *__restrict__, size_t); 107 int wcsncmp (const wchar_t *, const wchar_t *, size_t); 110 size_t wcsxfrm (wchar_t *__restrict__, const wchar_t *__restrict__, size_t n); 115 size_t wcscspn (const wchar_t *, const wchar_t *); 116 size_t wcsspn (const wchar_t *, const wchar_t *); 121 size_t wcslen (const wchar_t *); 126 wchar_t *wmemchr (const wchar_t *, wchar_t, size_t); 127 int wmemcmp (const wchar_t *, const wchar_t *, size_t); 128 wchar_t *wmemcpy (wchar_t *__restrict__, const wchar_t *__restrict__, size_t); [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | innerprod_test.cpp | 27 static size_t add(size_t a_, size_t b_) { in add() 31 static size_t mult(size_t a_, size_t b_) { in mult() 52 vector<size_t> v1(3); in inprod1() 53 vector<size_t> v2(v1.size()); in inprod1() 54 for (size_t i = 0; i < v1.size(); ++i) { in inprod1() 58 size_t result = inner_product(v1.begin(), v1.end(), v2.begin(), (size_t)0); in inprod1() 63 vector<size_t> v1(3); in inprod2() 64 vector<size_t> v2(v1.size()); in inprod2() 65 for(size_t i = 0; i < v1.size(); ++i) { in inprod2() 69 size_t result=inner_product(v1.begin(), v1.end(), v2.begin(), (size_t)1, mult, add); in inprod2()
|
/ndk/tests/device/test-stlport/unit/ |
D | innerprod_test.cpp | 27 static size_t add(size_t a_, size_t b_) { in add() 31 static size_t mult(size_t a_, size_t b_) { in mult() 52 vector<size_t> v1(3); in inprod1() 53 vector<size_t> v2(v1.size()); in inprod1() 54 for (size_t i = 0; i < v1.size(); ++i) { in inprod1() 58 size_t result = inner_product(v1.begin(), v1.end(), v2.begin(), (size_t)0); in inprod1() 63 vector<size_t> v1(3); in inprod2() 64 vector<size_t> v2(v1.size()); in inprod2() 65 for(size_t i = 0; i < v1.size(); ++i) { in inprod2() 69 size_t result=inner_product(v1.begin(), v1.end(), v2.begin(), (size_t)1, mult, add); in inprod2()
|
/ndk/sources/android/support/src/ |
D | wchar_support.c | 17 size_t n = 0; in wcpcpy() 28 wchar_t *wcpncpy(wchar_t *dst, const wchar_t *src, size_t n) { in wcpncpy() 29 size_t i; in wcpncpy() 44 size_t n = 0; in wcscasecmp() 57 size_t n = 0; in wcscat() 61 size_t i = 0; in wcscat() 72 size_t wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) { in wcslcat() 78 size_t n = 0; in wcslcat() 86 size_t i; in wcslcat() 100 size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) { in wcslcpy() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | valarray.cpp | 16 template valarray<size_t>::valarray(size_t); 17 template valarray<size_t>::~valarray(); 18 template void valarray<size_t>::resize(size_t, size_t); 21 gslice::__init(size_t __start) in __init() 23 valarray<size_t> __indices(__size_.size()); in __init() 24 size_t __k = __size_.size() != 0; in __init() 25 for (size_t __i = 0; __i < __size_.size(); ++__i) in __init() 34 size_t __i = __indices.size() - 1; in __init() 41 for (size_t __j = __i + 1; __j != __indices.size(); ++__j) in __init()
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
D | arraynew.cpp | 11 void* operator new[](size_t s) throw (std::bad_alloc) in operator new[]() 39 size_t x; in check_cookie() 46 if (x < sizeof (size_t)) in check_cookie() 47 x = sizeof (size_t); in check_cookie() 53 size_t *sp = ((size_t *) a) - 1; in check_cookie() 58 sp = ((size_t *) a) - 2; in check_cookie() 69 size_t x; in check_placement_cookie() 76 if (x < sizeof (size_t)) in check_placement_cookie() 77 x = sizeof (size_t); in check_placement_cookie() 83 size_t *sp = ((size_t *) a) - 1; in check_placement_cookie() [all …]
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
D | arraynew.cpp | 11 void* operator new[](size_t s) throw (std::bad_alloc) in operator new[]() 39 size_t x; in check_cookie() 46 if (x < sizeof (size_t)) in check_cookie() 47 x = sizeof (size_t); in check_cookie() 53 size_t *sp = ((size_t *) a) - 1; in check_cookie() 58 sp = ((size_t *) a) - 2; in check_cookie() 69 size_t x; in check_placement_cookie() 76 if (x < sizeof (size_t)) in check_placement_cookie() 77 x = sizeof (size_t); in check_placement_cookie() 83 size_t *sp = ((size_t *) a) - 1; in check_placement_cookie() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
D | dynamic_cast_stress.pass.cpp | 14 template <std::size_t Indx, std::size_t Depth> 22 template <std::size_t Indx> 28 template <std::size_t Indx, std::size_t Depth> 35 template <class Indx, std::size_t Depth> 38 template <std::size_t ...Indx, std::size_t Depth> 44 template <std::size_t Width, std::size_t Depth> 52 const std::size_t Width = 10; in test() 53 const std::size_t Depth = 5; in test()
|
D | backtrace_test.pass.cpp | 15 (*reinterpret_cast<size_t*>(ntraced))++; in trace_function() 17 assert(*reinterpret_cast<size_t*>(ntraced) < 20); in trace_function() 21 void call3_throw(size_t* ntraced) { in call3_throw() 29 void call3_nothrow(size_t* ntraced) { in call3_nothrow() 33 void call2(size_t* ntraced, bool do_throw) { in call2() 41 void call1(size_t* ntraced, bool do_throw) { in call1() 46 size_t throw_ntraced = 0; in main() 47 size_t nothrow_ntraced = 0; in main()
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
D | aligned_storage.hpp | 34 std::size_t 42 std::size_t size_ 43 , std::size_t alignment_ 52 alignment_ == std::size_t(-1) 60 template< std::size_t alignment_ > 70 std::size_t size_ 71 , std::size_t alignment_ = std::size_t(-1) 87 std::size_t 91 std::size_t 93 alignment_ == std::size_t(-1) [all …]
|
/ndk/sources/cxx-stl/stlport/src/ |
D | c_locale.h | 243 size_t _WLocale_mbtowc(struct _Locale_codecvt *, 245 const char * /* from */, size_t /* n */, 257 size_t _WLocale_wctomb(struct _Locale_codecvt *, 258 char *, size_t, 270 size_t _WLocale_unshift(struct _Locale_codecvt *, 272 char *, size_t, char **); 287 const char * /* s1 */, size_t /* n1 */, 288 const char * /* s2 */, size_t /* n2 */); 291 const wchar_t * /* s1 */, size_t /* n1 */, 292 const wchar_t * /* s2 */, size_t /* n2 */); [all …]
|
D | allocators.cpp | 60 inline char* __stlp_new_chunk(size_t __bytes) { in __stlp_new_chunk() 68 inline char* __stlp_new_chunk(size_t __bytes) { in __stlp_new_chunk() 78 inline char* __stlp_new_chunk(size_t __bytes) in __stlp_new_chunk() 120 #define _S_FREELIST_INDEX(__bytes) ((__bytes - size_t(1)) >> (int)_ALIGN_SHIFT) 131 void* _STLP_CALL __malloc_alloc::allocate(size_t __n) in allocate() 247 static inline size_t _STLP_CALL _S_round_up(size_t __bytes) in _S_round_up() 248 { return (((__bytes) + (size_t)_ALIGN-1) & ~((size_t)_ALIGN - 1)); } in _S_round_up() 268 static _Obj* _S_refill(size_t __n); 271 static char* _S_chunk_alloc(size_t __p_size, int& __nobjs); 278 static size_t _S_heap_size; [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ext/ |
D | __hash | 25 : public unary_function<const char*, size_t> 28 size_t operator()(const char *__c) const _NOEXCEPT 35 : public unary_function<char*, size_t> 38 size_t operator()(char *__c) const _NOEXCEPT 45 : public unary_function<char, size_t> 48 size_t operator()(char __c) const _NOEXCEPT 55 : public unary_function<signed char, size_t> 58 size_t operator()(signed char __c) const _NOEXCEPT 65 : public unary_function<unsigned char, size_t> 68 size_t operator()(unsigned char __c) const _NOEXCEPT [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/template.bitset/bitset.members/ |
D | to_ulong.pass.cpp | 18 template <std::size_t N> 21 … const std::size_t M = sizeof(unsigned long) * CHAR_BIT < N ? sizeof(unsigned long) * CHAR_BIT : N; in test_to_ulong() 22 …const std::size_t X = M == 0 ? sizeof(unsigned long) * CHAR_BIT - 1 : sizeof(unsigned long) * CHAR… in test_to_ulong() 23 … const std::size_t max = M == 0 ? 0 : std::size_t(std::numeric_limits<unsigned long>::max()) >> X; in test_to_ulong() 24 std::size_t tests[] = {0, in test_to_ulong() 25 std::min<std::size_t>(1, max), in test_to_ulong() 26 std::min<std::size_t>(2, max), in test_to_ulong() 27 std::min<std::size_t>(3, max), in test_to_ulong() 32 for (std::size_t i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) in test_to_ulong() 34 std::size_t j = tests[i]; in test_to_ulong()
|
/ndk/sources/cxx-stl/gabi++/tests/ |
D | dynamic_cast_stress.cpp | 15 template <std::size_t Indx, std::size_t Depth> 23 template <std::size_t Indx> 29 template <std::size_t Indx, std::size_t Depth> 36 template <class Indx, std::size_t Depth> 39 template <std::size_t ...Indx, std::size_t Depth> 45 template <std::size_t Width, std::size_t Depth> 55 const std::size_t Width = 10; in test() 56 const std::size_t Depth = 5; in test()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/solaris/ |
D | xlocale.h | 35 size_t __mb_cur_max(locale_t l); 45 size_t wcrtomb_l(char *__s, wchar_t __wc, mbstate_t *__ps, locale_t __l); 47 size_t mbrtowc_l(wchar_t *__pwc, const char *__s, size_t __n, 50 int mbtowc_l(wchar_t *__pwc, const char *__pmb, size_t __max, locale_t __l); 52 size_t mbrlen_l(const char *__s, size_t __n, mbstate_t *__ps, locale_t __l); 56 size_t mbsrtowcs_l(wchar_t *__dest, const char **__src, size_t __len, 61 int snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...); 103 size_t strftime_l(char *__s, size_t __size, const char *__fmt, const struct tm 106 size_t strxfrm_l(char *__s1, const char *__s2, size_t __n, locale_t __l); 108 size_t wcsxfrm_l(wchar_t *__ws1, const wchar_t *__ws2, size_t __n, [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | bitset | 22 template <size_t N> 58 bitset& operator<<=(size_t pos) noexcept; 59 bitset& operator>>=(size_t pos) noexcept; 61 bitset& set(size_t pos, bool val = true); 63 bitset& reset(size_t pos); 66 bitset& flip(size_t pos); 69 constexpr bool operator[](size_t pos) const; // for b[i]; 70 reference operator[](size_t pos); // for b[i]; 80 size_t count() const noexcept; 81 constexpr size_t size() const noexcept; [all …]
|