Home
last modified time | relevance | path

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

/external/dlmalloc/
Dmalloc.h450 size_t dlbulk_free(void**, size_t n_elements);
595 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
599 void** mspace_independent_calloc(mspace msp, size_t n_elements,
601 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
603 size_t mspace_bulk_free(mspace msp, void**, size_t n_elements);
Dmalloc.c1193 DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements);
1351 DLMALLOC_EXPORT void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1363 DLMALLOC_EXPORT void** mspace_independent_calloc(mspace msp, size_t n_elements,
1370 DLMALLOC_EXPORT void** mspace_independent_comalloc(mspace msp, size_t n_elements,
4815 void* dlcalloc(size_t n_elements, size_t elem_size) { in dlcalloc() argument
4818 if (n_elements != 0) { in dlcalloc()
4819 req = n_elements * elem_size; in dlcalloc()
4820 if (((n_elements | elem_size) & ~(size_t)0xffff) && in dlcalloc()
4821 (req / n_elements != elem_size)) in dlcalloc()
5001 size_t n_elements, in ialloc() argument
[all …]
/external/valgrind/coregrind/
Dm_hashtable.c47 UInt n_elements; member
78 table->n_elements = 0; in VG_()
87 return table->n_elements; in VG_()
121 (UWord)table->n_elements ); in resize()
150 table->n_elements++; in VG_()
151 if ( (1 * (ULong)table->n_elements) > (1 * (ULong)table->n_chains) ) { in VG_()
203 table->n_elements--; in VG_()
227 table->n_elements--; in VG_()
337 *n_elems = table->n_elements; in VG_()
/external/dbus/dbus/
Ddbus-marshal-basic.c918 int n_elements, in marshal_1_octets_array() argument
925 _dbus_string_init_const_len (&value_str, value, n_elements); in marshal_1_octets_array()
929 if (!_dbus_string_copy_len (&value_str, 0, n_elements, in marshal_1_octets_array()
933 pos += n_elements; in marshal_1_octets_array()
950 int n_elements, in _dbus_swap_array() argument
962 end = d + (n_elements * alignment); in _dbus_swap_array()
999 int n_elements, in swap_array() argument
1011 n_elements, alignment); in swap_array()
1019 int n_elements, in marshal_fixed_multi() argument
1029 _dbus_assert (n_elements <= DBUS_MAXIMUM_ARRAY_LENGTH / alignment); in marshal_fixed_multi()
[all …]
Ddbus-marshal-basic.h191 int n_elements,
204 int n_elements,
234 int n_elements,
Ddbus-message.c897 int n_elements; in _dbus_message_iter_get_args_valist() local
909 n_elements = 0; in _dbus_message_iter_get_args_valist()
912 ++n_elements; in _dbus_message_iter_get_args_valist()
916 str_array = dbus_new0 (char*, n_elements + 1); in _dbus_message_iter_get_args_valist()
927 while (i < n_elements) in _dbus_message_iter_get_args_valist()
944 _dbus_assert (i == n_elements); in _dbus_message_iter_get_args_valist()
948 _dbus_assert (i == n_elements); in _dbus_message_iter_get_args_valist()
952 *n_elements_p = n_elements; in _dbus_message_iter_get_args_valist()
1791 int n_elements; in dbus_message_append_args_valist() local
1794 n_elements = va_arg (var_args, int); in dbus_message_append_args_valist()
[all …]
Ddbus-marshal-recursive.h116 int *n_elements);
165 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()
2182 int n_elements; in int16_read_multi() local
2189 &n_elements); in int16_read_multi()
[all …]
Ddbus-message.h239 int *n_elements);
253 int n_elements);
Ddbus-marshal-recursive.c925 int *n_elements) in _dbus_type_reader_read_fixed_multi() argument
965 *n_elements = remaining_len / alignment; in _dbus_type_reader_read_fixed_multi()
2359 int n_elements) in _dbus_type_writer_write_fixed_multi() argument
2364 _dbus_assert (n_elements >= 0); in _dbus_type_writer_write_fixed_multi()
2368 writer, writer->type_pos, writer->value_pos, n_elements); in _dbus_type_writer_write_fixed_multi()
2380 n_elements, in _dbus_type_writer_write_fixed_multi()
2388 writer, writer->type_pos, writer->value_pos, n_elements); in _dbus_type_writer_write_fixed_multi()
/external/compiler-rt/lib/asan/tests/
Dasan_benchmarks_test.cc19 static void ManyAccessFunc(T *x, size_t n_elements, size_t n_iter) { in ManyAccessFunc() argument
23 for (size_t i = 0; i <= n_elements - 16; i += 16) { in ManyAccessFunc()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc150 void *(*calloc)(uptr n_elements, uptr elem_size);
157 void *(*calloc)(uptr n_elements, uptr elem_size);