/external/webrtc/src/modules/audio_processing/utility/ |
D | ring_buffer.c | 29 size_t element_size; member 54 *data_ptr_1 = buf->data + buf->read_pos * buf->element_size; in GetBufferReadRegions() 55 *data_ptr_bytes_1 = margin * buf->element_size; in GetBufferReadRegions() 57 *data_ptr_bytes_2 = (read_elements - margin) * buf->element_size; in GetBufferReadRegions() 59 *data_ptr_1 = buf->data + buf->read_pos * buf->element_size; in GetBufferReadRegions() 60 *data_ptr_bytes_1 = read_elements * buf->element_size; in GetBufferReadRegions() 70 size_t element_size) { in WebRtc_CreateBuffer() argument 83 self->data = malloc(element_count * element_size); in WebRtc_CreateBuffer() 91 self->element_size = element_size; in WebRtc_CreateBuffer() 108 memset(self->data, 0, self->element_count * self->element_size); in WebRtc_InitBuffer() [all …]
|
D | ring_buffer.h | 21 size_t element_size);
|
/external/webkit/Source/JavaScriptCore/wtf/wince/ |
D | MemoryManager.cpp | 116 void *fastCalloc(size_t n_elements, size_t element_size) { return calloc(n_elements, element_size);… in fastCalloc() argument 123 …id *fastCalloc(size_t n_elements, size_t element_size) { return MemoryManager::m_calloc(n_elements… 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()
|
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) argument
|
/external/libvpx/libwebm/ |
D | mkvparser.hpp | 358 long long element_size); 387 long long element_size); 394 long long element_size, 420 long long element_size); 426 long long element_size, 459 long long element_size); 478 long long element_size, 501 long long element_size); 539 long long element_size); 555 long long element_size; member [all …]
|
D | mkvparser.cpp | 940 const long long element_size = size + pos - element_start; in ParseHeaders() local 962 element_size); in ParseHeaders() 981 element_size); in ParseHeaders() 1000 element_size); in ParseHeaders() 1015 element_size); in ParseHeaders() 1182 const long long element_size = (pos - idpos) + size; in DoLoadCluster() local 1188 element_size); in DoLoadCluster() 1281 const long long element_size = pCluster->GetElementSize(); in DoLoadCluster() local 1283 if (element_size <= 0) in DoLoadCluster() 1286 pos = pCluster->m_element_start + element_size; in DoLoadCluster() [all …]
|
/external/webkit/Tools/android/flex-2.5.4a/ |
D | misc.c | 81 void *allocate_array( size, element_size ) in allocate_array() argument 83 size_t element_size; 86 size_t num_bytes = element_size * size; 755 void *reallocate_array( array, size, element_size ) in reallocate_array() argument 758 size_t element_size; 761 size_t num_bytes = element_size * size;
|
/external/webkit/Tools/android/flex-2.5.4a/MISC/Borland.old/ |
D | Borland-2.4 | 45 void *allocate_array( size, element_size ) 47 int size, element_size; 49 +size_t size, element_size; 64 void *reallocate_array( array, size, element_size ) 67 int size, element_size; 69 +size_t size, element_size; 75 if ( size * element_size <= 0 )
|
/external/v8/src/ |
D | d8.cc | 324 size_t element_size) { in CreateExternalArray() argument 326 bool is_array_buffer_construct = element_size == 0; in CreateExternalArray() 329 element_size = 1; in CreateExternalArray() 331 ASSERT(element_size == 1 || element_size == 2 || element_size == 4 || in CreateExternalArray() 332 element_size == 8); in CreateExternalArray() 385 if (offset % element_size != 0) { in CreateExternalArray() 404 if (length % element_size != 0) { in CreateExternalArray() 409 length /= element_size; in CreateExternalArray() 414 if (offset + (length * element_size) > array_buffer_length) { in CreateExternalArray() 432 data = calloc(length, element_size); in CreateExternalArray() [all …]
|
D | d8.h | 388 size_t element_size);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 369 size_t element_size, i; in wpas_dbus_simple_array_property_getter() local 397 element_size = 1; in wpas_dbus_simple_array_property_getter() 401 element_size = sizeof(uint16_t); in wpas_dbus_simple_array_property_getter() 405 element_size = sizeof(uint32_t); in wpas_dbus_simple_array_property_getter() 409 element_size = sizeof(uint64_t); in wpas_dbus_simple_array_property_getter() 412 element_size = sizeof(double); in wpas_dbus_simple_array_property_getter() 416 element_size = sizeof(char *); in wpas_dbus_simple_array_property_getter() 426 array + i * element_size); in wpas_dbus_simple_array_property_getter()
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | FastMalloc.h | 73 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size);
|
D | FastMalloc.cpp | 264 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()
|
/external/protobuf/python/google/protobuf/internal/ |
D | encoder.py | 188 element_size = value_size + tag_size 190 return len(value) * element_size
|
/external/libffi/src/ |
D | dlmalloc.c | 3944 size_t element_size; /* chunksize of each element, if all same */ in ialloc() local 3973 element_size = request2size(*sizes); in ialloc() 3974 contents_size = n_elements * element_size; in ialloc() 3977 element_size = 0; in ialloc() 4022 if (element_size != 0) in ialloc() 4023 size = element_size; in ialloc() 4039 if (element_size != 0) { in ialloc() 4040 assert(remainder_size == element_size); in ialloc()
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
D | SDL_malloc.c | 3954 size_t element_size; /* chunksize of each element, if all same */ in ialloc() local 3983 element_size = request2size(*sizes); in ialloc() 3984 contents_size = n_elements * element_size; in ialloc() 3987 element_size = 0; in ialloc() 4032 if (element_size != 0) in ialloc() 4033 size = element_size; in ialloc() 4049 if (element_size != 0) { in ialloc() 4050 assert(remainder_size == element_size); in ialloc()
|
/external/eigen/unsupported/test/mpreal/ |
D | dlmalloc.c | 4475 size_t element_size; /* chunksize of each element, if all same */ in ialloc() local 4505 element_size = request2size(*sizes); in ialloc() 4506 contents_size = n_elements * element_size; in ialloc() 4509 element_size = 0; in ialloc() 4554 if (element_size != 0) in ialloc() 4555 size = element_size; in ialloc() 4571 if (element_size != 0) { in ialloc() 4572 assert(remainder_size == element_size); in ialloc()
|
/external/opencv/cv/src/ |
D | cvmorph.cpp | 732 int element_size = sizeof(*element) + size*sizeof(element->values[0]); in cvCreateStructuringElementEx() local 746 CV_CALL( element = (IplConvKernel *)cvAlloc(element_size + 32)); in cvCreateStructuringElementEx()
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.h | 547 ScaleFactor element_size,
|
D | macro-assembler-ia32.cc | 1199 ScaleFactor element_size, in AllocateInNewSpace() argument 1230 lea(result_end, Operand(element_count, element_size, header_size)); in AllocateInNewSpace()
|
/external/v8/src/x64/ |
D | macro-assembler-x64.h | 1023 ScaleFactor element_size,
|
D | macro-assembler-x64.cc | 3656 ScaleFactor element_size, in AllocateInNewSpace() argument 3687 lea(result_end, Operand(element_count, element_size, header_size)); in AllocateInNewSpace()
|
/external/v8/test/cctest/ |
D | test-api.cc | 12974 int element_size = ExternalArrayElementSize(array_type); in ExternalArrayTestHelper() local 12976 static_cast<ElementType*>(malloc(kElementCount * element_size)); in ExternalArrayTestHelper() 13300 static_cast<ElementType*>(malloc(kLargeElementCount * element_size)); in ExternalArrayTestHelper() 13545 int element_size = ExternalArrayElementSize(array_type); in ExternalArrayInfoTestHelper() local 13546 void* external_data = malloc(size * element_size); in ExternalArrayInfoTestHelper()
|