Home
last modified time | relevance | path

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

/external/webkit/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/dbus/dbus/
Ddbus-marshal-basic.c855 int n_elements, in marshal_1_octets_array() argument
862 _dbus_string_init_const_len (&value_str, value, n_elements); in marshal_1_octets_array()
866 if (!_dbus_string_copy_len (&value_str, 0, n_elements, in marshal_1_octets_array()
870 pos += n_elements; in marshal_1_octets_array()
887 int n_elements, in _dbus_swap_array() argument
899 end = d + (n_elements * alignment); in _dbus_swap_array()
936 int n_elements, in swap_array() argument
948 n_elements, alignment); in swap_array()
956 int n_elements, in marshal_fixed_multi() argument
966 _dbus_assert (n_elements <= DBUS_MAXIMUM_ARRAY_LENGTH / alignment); in marshal_fixed_multi()
[all …]
Ddbus-message.c724 int n_elements; in _dbus_message_iter_get_args_valist() local
736 n_elements = 0; in _dbus_message_iter_get_args_valist()
739 ++n_elements; in _dbus_message_iter_get_args_valist()
743 str_array = dbus_new0 (char*, n_elements + 1); in _dbus_message_iter_get_args_valist()
754 while (i < n_elements) in _dbus_message_iter_get_args_valist()
771 _dbus_assert (i == n_elements); in _dbus_message_iter_get_args_valist()
775 _dbus_assert (i == n_elements); in _dbus_message_iter_get_args_valist()
779 *n_elements_p = n_elements; in _dbus_message_iter_get_args_valist()
1558 int n_elements; in dbus_message_append_args_valist() local
1561 n_elements = va_arg (var_args, int); in dbus_message_append_args_valist()
[all …]
Ddbus-marshal-basic.h213 int n_elements,
226 int n_elements,
258 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-marshal-recursive.h121 int *n_elements);
172 int n_elements);
Ddbus-message.h180 int *n_elements);
191 int n_elements);
Ddbus-marshal-recursive.c910 int *n_elements) in _dbus_type_reader_read_fixed_multi() argument
950 *n_elements = remaining_len / alignment; in _dbus_type_reader_read_fixed_multi()
2327 int n_elements) in _dbus_type_writer_write_fixed_multi() argument
2332 _dbus_assert (n_elements >= 0); in _dbus_type_writer_write_fixed_multi()
2336 writer, writer->type_pos, writer->value_pos, n_elements); in _dbus_type_writer_write_fixed_multi()
2348 n_elements, in _dbus_type_writer_write_fixed_multi()
2356 writer, writer->type_pos, writer->value_pos, n_elements); in _dbus_type_writer_write_fixed_multi()
/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.12/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/bluetooth/bluez/src/
Ddbus-common.h34 void *val, int n_elements);
Ddbus-common.c252 void *val, int n_elements) in dict_append_array() argument
/external/webkit/JavaScriptCore/wtf/
DFastMalloc.h72 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size);
DFastMalloc.cpp255 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size) in tryFastCalloc() argument
260 size_t totalBytes = n_elements * element_size; in tryFastCalloc()
261 …if (n_elements > 1 && element_size && (totalBytes / element_size) != n_elements || (std::numeric_l… in tryFastCalloc()
274 return calloc(n_elements, element_size); in tryFastCalloc()
278 void* fastCalloc(size_t n_elements, size_t element_size) in fastCalloc() argument
283 TryMallocReturnValue returnValue = tryFastCalloc(n_elements, element_size); in fastCalloc()
287 void* result = calloc(n_elements, element_size); in fastCalloc()
294 if (!n_elements || !element_size) in fastCalloc()