Home
last modified time | relevance | path

Searched refs:element_count (Results 1 – 6 of 6) sorted by relevance

/ndk/sources/cxx-stl/gabi++/src/
Dcxxabi_vec.cc119 void* __cxa_vec_new(size_t element_count, in __cxa_vec_new() argument
124 return __cxa_vec_new2(element_count, element_size, padding_size, in __cxa_vec_new()
129 void* __cxa_vec_new2(size_t element_count, in __cxa_vec_new2() argument
140 return __cxa_vec_new3(element_count, element_size, padding_size, in __cxa_vec_new2()
145 void* __cxa_vec_new3(size_t element_count, in __cxa_vec_new3() argument
156 if (element_size > 0 && element_count > size_t(-1) / element_size) in __cxa_vec_new3()
159 size = element_count * element_size; in __cxa_vec_new3()
176 reinterpret_cast<size_t*>(base)[-1] = element_count; in __cxa_vec_new3()
183 __cxa_vec_ctor(base, element_count, element_size, in __cxa_vec_new3()
201 size_t element_count, in __cxa_vec_ctor() argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_vector.cpp27 inline static void __set_element_count ( void *p, size_t element_count ) { in __set_element_count() argument
28 static_cast <size_t *> (p)[-1] = element_count; in __set_element_count()
114 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new() argument
117 return __cxa_vec_new2 ( element_count, element_size, padding_size, in __cxa_vec_new()
140 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new2() argument
144 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new2()
154 __set_element_count ( vec_base, element_count ); in __cxa_vec_new2()
158 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new2()
169 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new3() argument
173 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new3()
[all …]
/ndk/sources/cxx-stl/gabi++/include/
Dcxxabi.h151 void* __cxa_vec_new(size_t element_count,
157 void* __cxa_vec_new2(size_t element_count,
165 void* __cxa_vec_new3(size_t element_count,
175 size_t element_count,
181 size_t element_count,
186 size_t element_count,
210 size_t element_count,
238 size_t element_count);
243 size_t element_count);
249 size_t element_count,
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include/
Dcxxabi.h85 extern void* __cxa_vec_new(size_t element_count,
91 extern void* __cxa_vec_new2(size_t element_count,
99 extern void* __cxa_vec_new3(size_t element_count,
108 size_t element_count,
114 size_t element_count,
119 size_t element_count,
142 size_t element_count,
/ndk/tests/device/test-stlport_static-exception/jni/
Dloop1.cpp9 static void foo(unsigned long element_count, char *ptr) in foo() argument
13 for (i = 0; i != element_count; i++, ptr += 8) in foo()
/ndk/tests/device/test-stlport_shared-exception/jni/
Dloop1.cpp9 static void foo(unsigned long element_count, char *ptr) in foo() argument
13 for (i = 0; i != element_count; i++, ptr += 8) in foo()