/external/bluetooth/bluez/src/ |
H A D | dbus-common.h | 30 void *val, int n_elements);
|
H A D | dbus-common.c | 65 int n_elements) 79 n_elements); 84 for (i = 0; i < n_elements; i++) 116 void *val, int n_elements) 125 append_array_variant(&entry, type, val, n_elements); 64 append_array_variant(DBusMessageIter *iter, int type, void *val, int n_elements) argument 115 dict_append_array(DBusMessageIter *dict, const char *key, int type, void *val, int n_elements) argument
|
H A D | adapter.c | 3282 int n_elements; local 3295 n_elements = va_arg(var_args, int); 3296 if (n_elements > 0) 3298 val, n_elements);
|
/external/webkit/Source/JavaScriptCore/wtf/wince/ |
H A D | MemoryManager.cpp | 116 void *fastCalloc(size_t n_elements, size_t element_size) { return calloc(n_elements, element_size); } argument 123 void *fastCalloc(size_t n_elements, size_t element_size) { return MemoryManager::m_calloc(n_elements, element_size); } argument 154 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size) argument 157 return fastCalloc(n_elements, element_size);
|
H A D | FastMallocWinCE.h | 34 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)
|
/external/valgrind/main/coregrind/ |
H A D | m_hashtable.c | 45 UInt n_elements; member in struct:_VgHashTable 76 table->n_elements = 0; 85 return table->n_elements; 119 (UWord)table->n_elements ); 148 table->n_elements++; 149 if ( (1 * (ULong)table->n_elements) > (1 * (ULong)table->n_chains) ) { 184 table->n_elements--; 203 *n_elems = table->n_elements;
|
/external/dbus/dbus/ |
H A D | dbus-marshal-basic.c | 875 int n_elements, 882 _dbus_string_init_const_len (&value_str, value, n_elements); 886 if (!_dbus_string_copy_len (&value_str, 0, n_elements, 890 pos += n_elements; 902 * @param n_elements number of elements 907 int n_elements, 919 end = d + (n_elements * alignment); 956 int n_elements, 968 n_elements, alignment); 976 int n_elements, 872 marshal_1_octets_array(DBusString *str, int insert_at, const unsigned char *value, int n_elements, int byte_order, int *pos_after) argument 906 _dbus_swap_array(unsigned char *data, int n_elements, int alignment) argument 954 swap_array(DBusString *str, int array_start, int n_elements, int byte_order, int alignment) argument 973 marshal_fixed_multi(DBusString *str, int insert_at, const DBusBasicValue *value, int n_elements, int byte_order, int alignment, int *pos_after) argument 1042 _dbus_marshal_write_fixed_multi(DBusString *str, int insert_at, int element_type, const void *value, int n_elements, int byte_order, int *pos_after) argument 1524 _dbus_marshal_read_fixed_multi(const DBusString *str, int pos, int element_type, void *value, int n_elements, int byte_order, int *new_pos) argument [all...] |
H A D | dbus-marshal-recursive.h | 116 int *n_elements); 167 int n_elements);
|
H A D | dbus-marshal-basic.h | 225 int n_elements, 238 int n_elements, 270 int n_elements,
|
H A D | dbus-message.h | 239 int *n_elements); 253 int n_elements);
|
H A D | dbus-message.c | 836 int n_elements; local 848 n_elements = 0; 851 ++n_elements; 855 str_array = dbus_new0 (char*, n_elements + 1); 866 while (i < n_elements) 883 _dbus_assert (i == n_elements); 887 _dbus_assert (i == n_elements); 891 *n_elements_p = n_elements; 1629 * address_of_array" and "int n_elements" 1719 int n_elements; local 1738 int n_elements; local 2243 dbus_message_iter_get_fixed_array(DBusMessageIter *iter, void *value, int *n_elements) argument 2612 dbus_message_iter_append_fixed_array(DBusMessageIter *iter, int element_type, const void *value, int n_elements) argument [all...] |
H A D | dbus-marshal-recursive-util.c | 1297 int n_elements; local 1301 n_elements = 0; 1304 n_elements += 1; 1318 _dbus_assert (n_elements > 0); 1321 if (elem == 3 || elem >= n_elements) /* end of array */ 1322 elem = n_elements - 1; 1325 elem, n_elements, _dbus_type_to_string (elem_type), 1337 n_elements -= 1; 2167 int n_elements; local 2174 &n_elements); 2304 int n_elements; local [all...] |
H A D | dbus-marshal-recursive.c | 908 * @param n_elements place to return number of array elements 913 int *n_elements) 953 *n_elements = remaining_len / alignment; 2340 * @param n_elements number of elements in the array 2347 int n_elements) 2352 _dbus_assert (n_elements >= 0); 2355 _dbus_verbose (" type writer %p entering fixed multi type_pos = %d value_pos = %d n_elements %d\n", 2356 writer, writer->type_pos, writer->value_pos, n_elements); 2368 n_elements, 2375 _dbus_verbose (" type writer %p fixed multi written new type_pos = %d new value_pos = %d n_elements 911 _dbus_type_reader_read_fixed_multi(const DBusTypeReader *reader, void *value, int *n_elements) argument 2344 _dbus_type_writer_write_fixed_multi(DBusTypeWriter *writer, int element_type, const void *value, int n_elements) argument [all...] |
/external/libffi/src/ |
H A D | dlmalloc.c | 687 calloc(size_t n_elements, size_t element_size); 688 Returns a pointer to n_elements * element_size bytes, with all locations 810 independent_calloc(size_t n_elements, size_t element_size, void* chunks[]); 813 single cleared space, it returns an array of pointers to n_elements 825 n_elements in length. It is filled in with the pointers to the 829 null if the allocation failed. If n_elements is zero and "chunks" 864 independent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]); 866 independent_comalloc allocates, all at once, a set of n_elements 877 must be of at least n_elements in length. It is filled in with the 881 null if the allocation failed. If n_elements i 3930 ialloc(mstate m, size_t n_elements, size_t* sizes, int opts, void* chunks[]) argument 4293 dlcalloc(size_t n_elements, size_t elem_size) argument 4335 dlindependent_calloc(size_t n_elements, size_t elem_size, void* chunks[]) argument 4341 dlindependent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]) argument 4691 mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) argument 4744 mspace_independent_calloc(mspace msp, size_t n_elements, size_t elem_size, void* chunks[]) argument 4755 mspace_independent_comalloc(mspace msp, size_t n_elements, size_t sizes[], void* chunks[]) argument [all...] |
/external/qemu/distrib/sdl-1.2.12/src/stdlib/ |
H A D | SDL_malloc.c | 731 calloc(size_t n_elements, size_t element_size); 732 Returns a pointer to n_elements * element_size bytes, with all locations 854 independent_calloc(size_t n_elements, size_t element_size, void* chunks[]); 857 single cleared space, it returns an array of pointers to n_elements 869 n_elements in length. It is filled in with the pointers to the 873 null if the allocation failed. If n_elements is zero and "chunks" 908 independent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]); 910 independent_comalloc allocates, all at once, a set of n_elements 921 must be of at least n_elements in length. It is filled in with the 925 null if the allocation failed. If n_elements i 3940 ialloc(mstate m, size_t n_elements, size_t* sizes, int opts, void* chunks[]) argument 4303 dlcalloc(size_t n_elements, size_t elem_size) argument 4345 dlindependent_calloc(size_t n_elements, size_t elem_size, void* chunks[]) argument 4351 dlindependent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]) argument 4701 mspace_calloc(mspace msp, size_t n_elements, size_t elem_size) argument 4754 mspace_independent_calloc(mspace msp, size_t n_elements, size_t elem_size, void* chunks[]) argument 4765 mspace_independent_comalloc(mspace msp, size_t n_elements, size_t sizes[], void* chunks[]) argument [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | FastMalloc.h | 73 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size);
|
H A D | FastMalloc.cpp | 264 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size) argument 269 size_t totalBytes = n_elements * element_size; 270 if (n_elements > 1 && element_size && (totalBytes / element_size) != n_elements || (std::numeric_limits<size_t>::max() - sizeof(AllocAlignmentInteger) <= totalBytes)) 283 return calloc(n_elements, element_size); 287 void* fastCalloc(size_t n_elements, size_t element_size) argument 292 TryMallocReturnValue returnValue = tryFastCalloc(n_elements, element_size); 297 void* result = calloc(n_elements, element_size); 302 // If either n_elements or element_size is 0, the behavior of calloc is implementation defined. 304 if (!n_elements || !element_siz [all...] |
/external/v8/test/cctest/ |
H A D | test-heap.cc | 863 int n_elements = (bytes_to_allocate - FixedArray::kHeaderSize) / local 865 CHECK_EQ(bytes_to_allocate, FixedArray::SizeFor(n_elements)); 867 HEAP->AllocateFixedArray(n_elements)->ToObjectChecked()); 869 int index = n_elements - 1;
|