Home
last modified time | relevance | path

Searched refs:n_elements (Results 1 – 18 of 18) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/wince/
DMemoryManager.cpp116 void *fastCalloc(size_t n_elements, size_t element_size) { return calloc(n_elements, element_size);… in fastCalloc() argument
123 void *fastCalloc(size_t n_elements, size_t element_size) { return MemoryManager::m_calloc(n_element… in fastCalloc() argument
154 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size) in tryFastCalloc() argument
157 return fastCalloc(n_elements, element_size); in tryFastCalloc()
DFastMallocWinCE.h34 void* fastCalloc(size_t n_elements, size_t element_size);
41 void* tryFastCalloc(size_t n_elements, size_t element_size);
53 #define calloc(n_elements, element_size) fastCalloc(n_elements, element_size) argument
/external/valgrind/main/coregrind/
Dm_hashtable.c45 UInt n_elements; member
76 table->n_elements = 0; in VG_()
85 return table->n_elements; in VG_()
119 (UWord)table->n_elements ); in resize()
148 table->n_elements++; in VG_()
149 if ( (1 * (ULong)table->n_elements) > (1 * (ULong)table->n_chains) ) { in VG_()
184 table->n_elements--; in VG_()
203 *n_elems = table->n_elements; in VG_()
/external/dbus/dbus/
Ddbus-marshal-basic.c875 int n_elements, in marshal_1_octets_array() argument
882 _dbus_string_init_const_len (&value_str, value, n_elements); in marshal_1_octets_array()
886 if (!_dbus_string_copy_len (&value_str, 0, n_elements, in marshal_1_octets_array()
890 pos += n_elements; in marshal_1_octets_array()
907 int n_elements, in _dbus_swap_array() argument
919 end = d + (n_elements * alignment); in _dbus_swap_array()
956 int n_elements, in swap_array() argument
968 n_elements, alignment); in swap_array()
976 int n_elements, in marshal_fixed_multi() argument
986 _dbus_assert (n_elements <= DBUS_MAXIMUM_ARRAY_LENGTH / alignment); in marshal_fixed_multi()
[all …]
Ddbus-message.c836 int n_elements; in _dbus_message_iter_get_args_valist() local
848 n_elements = 0; in _dbus_message_iter_get_args_valist()
851 ++n_elements; in _dbus_message_iter_get_args_valist()
855 str_array = dbus_new0 (char*, n_elements + 1); in _dbus_message_iter_get_args_valist()
866 while (i < n_elements) in _dbus_message_iter_get_args_valist()
883 _dbus_assert (i == n_elements); in _dbus_message_iter_get_args_valist()
887 _dbus_assert (i == n_elements); in _dbus_message_iter_get_args_valist()
891 *n_elements_p = n_elements; in _dbus_message_iter_get_args_valist()
1719 int n_elements; in dbus_message_append_args_valist() local
1722 n_elements = va_arg (var_args, int); in dbus_message_append_args_valist()
[all …]
Ddbus-marshal-basic.h225 int n_elements,
238 int n_elements,
270 int n_elements,
Ddbus-marshal-recursive.h116 int *n_elements);
167 int n_elements);
Ddbus-marshal-recursive-util.c1297 int n_elements; in run_test_delete_values() local
1301 n_elements = 0; in run_test_delete_values()
1304 n_elements += 1; in run_test_delete_values()
1318 _dbus_assert (n_elements > 0); in run_test_delete_values()
1321 if (elem == 3 || elem >= n_elements) /* end of array */ in run_test_delete_values()
1322 elem = n_elements - 1; in run_test_delete_values()
1325 elem, n_elements, _dbus_type_to_string (elem_type), in run_test_delete_values()
1337 n_elements -= 1; in run_test_delete_values()
2167 int n_elements; in int16_read_multi() local
2174 &n_elements); in int16_read_multi()
[all …]
Ddbus-message.h239 int *n_elements);
253 int n_elements);
Ddbus-marshal-recursive.c913 int *n_elements) in _dbus_type_reader_read_fixed_multi() argument
953 *n_elements = remaining_len / alignment; in _dbus_type_reader_read_fixed_multi()
2347 int n_elements) in _dbus_type_writer_write_fixed_multi() argument
2352 _dbus_assert (n_elements >= 0); in _dbus_type_writer_write_fixed_multi()
2356 writer, writer->type_pos, writer->value_pos, n_elements); in _dbus_type_writer_write_fixed_multi()
2368 n_elements, in _dbus_type_writer_write_fixed_multi()
2376 writer, writer->type_pos, writer->value_pos, n_elements); in _dbus_type_writer_write_fixed_multi()
/external/eigen/unsupported/test/mpreal/
Ddlmalloc.h497 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
509 void** mspace_independent_calloc(mspace msp, size_t n_elements,
516 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
Ddlmalloc.c1202 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1214 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1221 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
4462 size_t n_elements, in ialloc() argument
4490 if (n_elements == 0) in ialloc()
4497 if (n_elements == 0) in ialloc()
4500 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
4506 contents_size = n_elements * element_size; in ialloc()
4511 for (i = 0; i != n_elements; ++i) in ialloc()
4553 if (i != n_elements-1) { in ialloc()
[all …]
/external/compiler-rt/lib/asan/tests/
Dasan_benchmarks_test.cc20 static void ManyAccessFunc(T *x, size_t n_elements, size_t n_iter) { in ManyAccessFunc() argument
24 for (size_t i = 0; i <= n_elements - 16; i += 16) { in ManyAccessFunc()
/external/libffi/src/
Ddlmalloc.c1065 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1077 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1084 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
3931 size_t n_elements, in ialloc() argument
3958 if (n_elements == 0) in ialloc()
3965 if (n_elements == 0) in ialloc()
3968 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
3974 contents_size = n_elements * element_size; in ialloc()
3979 for (i = 0; i != n_elements; ++i) in ialloc()
4021 if (i != n_elements-1) { in ialloc()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_malloc.c1109 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1121 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1128 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
3941 size_t n_elements, in ialloc() argument
3968 if (n_elements == 0) in ialloc()
3975 if (n_elements == 0) in ialloc()
3978 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
3984 contents_size = n_elements * element_size; in ialloc()
3989 for (i = 0; i != n_elements; ++i) in ialloc()
4031 if (i != n_elements-1) { in ialloc()
[all …]
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc33 void* (*calloc)(uptr n_elements, uptr elem_size);
/external/webkit/Source/JavaScriptCore/wtf/
DFastMalloc.h73 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size);
DFastMalloc.cpp264 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size) in tryFastCalloc() argument
269 size_t totalBytes = n_elements * element_size; in tryFastCalloc()
270 …if (n_elements > 1 && element_size && (totalBytes / element_size) != n_elements || (std::numeric_l… in tryFastCalloc()
283 return calloc(n_elements, element_size); in tryFastCalloc()
287 void* fastCalloc(size_t n_elements, size_t element_size) in fastCalloc() argument
292 TryMallocReturnValue returnValue = tryFastCalloc(n_elements, element_size); in fastCalloc()
297 void* result = calloc(n_elements, element_size); in fastCalloc()
304 if (!n_elements || !element_size) in fastCalloc()