Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 993) sorted by relevance

12345678910>>...40

/ndk/sources/cxx-stl/gabi++/include/
Dcxxabi.h96 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/
Dcxxabi_vec.cc33 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/
Dcxxabi.h44 extern void * __cxa_allocate_exception(size_t thrown_size) throw();
90 extern void* __cxa_vec_new(size_t element_count,
91 size_t element_size,
92 size_t padding_size,
96 extern void* __cxa_vec_new2(size_t element_count,
97 size_t element_size,
98 size_t padding_size,
101 void* (*alloc)(size_t),
104 extern void* __cxa_vec_new3(size_t element_count,
105 size_t element_size,
[all …]
/ndk/sources/host-tools/sed-4.2.1/lib/
Dxalloc.h55 void *xmalloc (size_t s) ATTRIBUTE_MALLOC;
56 void *xzalloc (size_t s) ATTRIBUTE_MALLOC;
57 void *xcalloc (size_t n, size_t s) ATTRIBUTE_MALLOC;
58 void *xrealloc (void *p, size_t s);
59 void *x2realloc (void *p, size_t *pn);
60 void *xmemdup (void const *p, size_t s) ATTRIBUTE_MALLOC;
76 ((size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / (s) < (n))
108 void *xnmalloc (size_t n, size_t s) ATTRIBUTE_MALLOC;
109 void *xnrealloc (void *p, size_t n, size_t s);
110 void *x2nrealloc (void *p, size_t *pn, size_t s);
[all …]
Dquotearg.h233 size_t quotearg_buffer (char *buffer, size_t buffersize,
234 char const *arg, size_t argsize,
240 char *quotearg_alloc (char const *arg, size_t argsize,
249 char *quotearg_alloc_mem (char const *arg, size_t argsize,
250 size_t *size, struct quoting_options const *o);
267 char *quotearg_n_mem (int n, char const *arg, size_t argsize);
270 char *quotearg_mem (char const *arg, size_t argsize);
281 char const *arg, size_t argsize);
288 char const *arg, size_t argsize);
294 char *quotearg_char_mem (char const *arg, size_t argsize, char ch);
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_vector.cpp23 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.h44 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.h74 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.c34 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/
Dsupport.cpp40 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()
83size_t char_size = mbrtowc( dst ? dst + dest_converted : NULL, *src + source_converted, source_rem… in mbsnrtowcs()
[all …]
/ndk/sources/android/support/include/
Dwchar.h104 wchar_t *wcsncpy (wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
107 wchar_t *wcsncat (wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
110 int wcsncmp (const wchar_t *, const wchar_t *, size_t);
113 size_t wcsxfrm (wchar_t *__restrict__, const wchar_t *__restrict__, size_t n);
118 size_t wcscspn (const wchar_t *, const wchar_t *);
119 size_t wcsspn (const wchar_t *, const wchar_t *);
124 size_t wcslen (const wchar_t *);
129 wchar_t *wmemchr (const wchar_t *, wchar_t, size_t);
130 int wmemcmp (const wchar_t *, const wchar_t *, size_t);
131 wchar_t *wmemcpy (wchar_t *__restrict__, const wchar_t *__restrict__, size_t);
[all …]
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_elf_relocations.h53 void CopyAndRelocate(size_t src_addr,
54 size_t dst_addr,
55 size_t map_addr,
56 size_t size);
75 size_t relocs_count,
80 size_t relocs_count,
86 size_t dst_delta,
87 size_t map_delta);
88 void RelocateRela(size_t src_addr,
89 size_t dst_addr,
[all …]
Dcrazy_linker_shared_library.h36 size_t load_address() const { return view_.load_address(); } in load_address()
37 size_t load_size() const { return view_.load_size(); } in load_size()
38 size_t load_bias() const { return view_.load_bias(); } in load_bias()
40 size_t phdr_count() const { return view_.phdr_count(); } in phdr_count()
54 size_t load_address,
55 size_t file_offset,
65 void GetInfo(size_t* load_address, in GetInfo()
66 size_t* load_size, in GetInfo()
67 size_t* relro_start, in GetInfo()
68 size_t* relro_size) { in GetInfo()
[all …]
Dcrazy_linker_elf_relro.h28 size_t start() const { return start_; } in start()
29 size_t end() const { return start_ + size_; } in end()
30 size_t size() const { return size_; } in size()
40 bool Allocate(size_t relro_size, const char* library_name, Error* error);
47 bool CopyFrom(size_t relro_start, size_t relro_size, Error* error);
55 size_t load_address,
56 size_t relro_start,
57 size_t relro_size,
70 bool InitFrom(size_t relro_start,
71 size_t relro_size,
[all …]
/ndk/tests/device/test-stlport/unit/
Dinnerprod_test.cpp27 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-gnustl-full/unit/
Dinnerprod_test.cpp27 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/
Dwchar_support.c17 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/tests/device/test-stlport_shared-exception/jni/
Darraynew.cpp11 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_static-exception/jni/
Darraynew.cpp11 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++/libcxx/src/
Dvalarray.cpp16 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/sources/cxx-stl/stlport/src/
Dc_locale.h243 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 …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Daligned_storage.hpp34 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/llvm-libc++/libcxx/include/ext/
D__hash25 : 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/host-tools/sed-4.2.1/sed/
Dutils.h27 void ck_fwrite P_((const VOID *ptr, size_t size, size_t nmemb, FILE *stream));
28 size_t ck_fread P_((VOID *ptr, size_t size, size_t nmemb, FILE *stream));
32 size_t ck_getline P_((char **text, size_t *buflen, FILE *stream));
36 VOID *ck_malloc P_((size_t size));
37 VOID *xmalloc P_((size_t size));
38 VOID *ck_realloc P_((VOID *ptr, size_t size));
40 VOID *ck_memdup P_((const VOID *buf, size_t len));
45 size_t size_buffer P_((struct buffer *b));
46 char *add_buffer P_((struct buffer *b, const char *p, size_t n));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/template.bitset/bitset.members/
Dto_ulong.pass.cpp18 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()

12345678910>>...40