Home
last modified time | relevance | path

Searched refs:element_count (Results 1 – 25 of 27) sorted by relevance

12

/external/webrtc/webrtc/common_audio/
Dring_buffer.c28 size_t element_count; member
40 size_t element_count, in GetBufferReadRegions() argument
47 const size_t read_elements = (readable_elements < element_count ? in GetBufferReadRegions()
48 readable_elements : element_count); in GetBufferReadRegions()
49 const size_t margin = buf->element_count - buf->read_pos; in GetBufferReadRegions()
68 RingBuffer* WebRtc_CreateBuffer(size_t element_count, size_t element_size) { in WebRtc_CreateBuffer() argument
70 if (element_count == 0 || element_size == 0) { in WebRtc_CreateBuffer()
79 self->data = malloc(element_count * element_size); in WebRtc_CreateBuffer()
86 self->element_count = element_count; in WebRtc_CreateBuffer()
99 memset(self->data, 0, self->element_count * self->element_size); in WebRtc_InitBuffer()
[all …]
Dring_buffer.h26 RingBuffer* WebRtc_CreateBuffer(size_t element_count, size_t element_size);
43 size_t element_count);
47 size_t element_count);
54 int WebRtc_MoveReadPtr(RingBuffer* handle, int element_count);
/external/libcxxabi/src/
Dcxa_vector.cpp29 inline static void __set_element_count ( void *p, size_t element_count ) { in __set_element_count() argument
30 static_cast <size_t *> (p)[-1] = element_count; in __set_element_count()
118 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new() argument
121 return __cxa_vec_new2 ( element_count, element_size, padding_size, in __cxa_vec_new()
144 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new2() argument
148 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new2()
158 __set_element_count ( vec_base, element_count ); in __cxa_vec_new2()
162 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new2()
173 size_t element_count, size_t element_size, size_t padding_size, in __cxa_vec_new3() argument
177 const size_t heap_size = element_count * element_size + padding_size; in __cxa_vec_new3()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/
Dgim_radixsort.h148 GIM_RSORT_TOKEN * sorted, GUINT element_count) in gim_radix_sort_rtokens() argument
160 for (i = 0; i < element_count; ++i) in gim_radix_sort_rtokens()
183 for (i = 0; i < element_count; ++i) in gim_radix_sort_rtokens()
191 for (i = 0; i < element_count; ++i) in gim_radix_sort_rtokens()
199 for (i = 0; i < element_count; ++i) in gim_radix_sort_rtokens()
223 GUINT element_count,GETKEY_CLASS uintkey_macro) in gim_radix_sort_array_tokens() argument
225 GIM_RSORT_TOKEN * _unsorted = (GIM_RSORT_TOKEN *) gim_alloc(sizeof(GIM_RSORT_TOKEN)*element_count); in gim_radix_sort_array_tokens()
226 for (GUINT _i=0;_i<element_count;++_i) in gim_radix_sort_array_tokens()
231 gim_radix_sort_rtokens(_unsorted,sorted_tokens,element_count); in gim_radix_sort_array_tokens()
246 T * array, GUINT element_count, in gim_radix_sort() argument
[all …]
Dgim_memory.h56 #define GIM_COPY_ARRAYS(dest_array,source_array,element_count)\ argument
58 for (GUINT _i_=0;_i_<element_count ;++_i_)\
64 #define GIM_COPY_ARRAYS_1(dest_array,source_array,element_count,copy_macro)\ argument
66 for (GUINT _i_=0;_i_<element_count ;++_i_)\
73 #define GIM_ZERO_ARRAY(array,element_count)\ argument
75 for (GUINT _i_=0;_i_<element_count ;++_i_)\
81 #define GIM_CONSTANT_ARRAY(array,element_count,constant)\ argument
83 for (GUINT _i_=0;_i_<element_count ;++_i_)\
DbtGenericPoolAllocator.cpp84 void btGenericMemoryPool::init_pool(size_t element_size, size_t element_count) in init_pool() argument
90 m_max_element_count = element_count; in init_pool()
123 size_t element_count = size_bytes/m_element_size; in allocate() local
124 if(module>0) element_count++; in allocate()
126 size_t alloc_pos = allocate_from_free_nodes(element_count); in allocate()
133 alloc_pos = allocate_from_pool(element_count); in allocate()
DbtGenericPoolAllocator.h51 void init_pool(size_t element_size, size_t element_count);
56 btGenericMemoryPool(size_t element_size, size_t element_count) in btGenericMemoryPool() argument
58 init_pool(element_size, element_count); in btGenericMemoryPool()
/external/libcxxabi/include/
Dcxxabi.h85 extern void* __cxa_vec_new(size_t element_count,
91 extern void* __cxa_vec_new2(size_t element_count,
99 extern void* __cxa_vec_new3(size_t element_count,
108 size_t element_count,
114 size_t element_count,
119 size_t element_count,
142 size_t element_count,
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtGenericMemoryPool.java106 public void init_pool(long element_size, long element_count) { in init_pool() argument
107 CollisionJNI.btGenericMemoryPool_init_pool(swigCPtr, this, element_size, element_count); in init_pool()
114 public btGenericMemoryPool(long element_size, long element_count) { in btGenericMemoryPool() argument
115 this(CollisionJNI.new_btGenericMemoryPool(element_size, element_count), true); in btGenericMemoryPool()
/external/dbus/dbus/
Ddbus-marshal-validate.c63 int element_count; in _dbus_validate_signature_with_reason() local
192 element_count = in _dbus_validate_signature_with_reason()
195 if (element_count != 2) in _dbus_validate_signature_with_reason()
197 if (element_count == 0) in _dbus_validate_signature_with_reason()
199 else if (element_count == 1) in _dbus_validate_signature_with_reason()
219 element_count = in _dbus_validate_signature_with_reason()
222 ++element_count; in _dbus_validate_signature_with_reason()
225 _DBUS_INT_TO_POINTER (element_count))) in _dbus_validate_signature_with_reason()
/external/clang/bindings/python/tests/cindex/
Dtest_type.py288 assert i.type.element_count == 5
291 j.type.element_count
/external/aac/libAACdec/src/
Daacdecoder.cpp1213 …int element_count = 0; /* Element counter for elements found in the bitstream */ in CAacDecoder_DecodeFrame() local
1223 type = self->elements[element_count]; in CAacDecoder_DecodeFrame()
1459 if ( element_count != 0 ) { in CAacDecoder_DecodeFrame()
1567 element_count++; in CAacDecoder_DecodeFrame()
/external/lldb/include/lldb/Symbol/
DClangASTContext.h385 size_t element_count,
/external/lldb/source/Symbol/
DClangASTContext.cpp2009 size_t element_count, in CreateArrayType() argument
2019 … ClangASTType (ast, ast->getExtVectorType(element_type.GetQualType(), element_count).getAsOpaquePt… in CreateArrayType()
2024 llvm::APInt ap_element_count (64, element_count); in CreateArrayType()
2025 if (element_count == 0) in CreateArrayType()
DClangASTType.cpp5686 const uint64_t element_count = array->getSize().getLimitedValue(); in DumpValue() local
5698 …data.Dump(s, data_byte_offset, lldb::eFormatChar, element_byte_size, element_count, UINT32_MAX, LL… in DumpValue()
5707 for (element_idx = 0; element_idx < element_count; ++element_idx) in DumpValue()
/external/v8/src/x87/
Dmacro-assembler-x87.h625 Register element_count, RegisterValueType element_count_type,
791 void Drop(int element_count);
Dmacro-assembler-x87.cc1539 Register element_count, in Allocate() argument
1600 lea(result_end, Operand(element_count, element_size, header_size)); in Allocate()
/external/v8/src/ia32/
Dmacro-assembler-ia32.h636 Register element_count, RegisterValueType element_count_type,
802 void Drop(int element_count);
Dmacro-assembler-ia32.cc1597 Register element_count, in Allocate() argument
1659 lea(result_end, Operand(element_count, element_size, header_size)); in Allocate()
/external/v8/src/regexp/
Djsregexp.cc2812 int element_count = elements()->length(); in FilterOneByte() local
2813 for (int i = 0; i < element_count; i++) { in FilterOneByte()
3251 int element_count = elements()->length(); in TextEmitPass() local
3253 for (int i = preloaded ? 0 : element_count - 1; i >= 0; i--) { in TextEmitPass()
3440 int element_count = elements()->length(); in MakeCaseIndependent() local
3441 for (int i = 0; i < element_count; i++) { in MakeCaseIndependent()
6315 int element_count = elements()->length(); in CalculateOffsets() local
6319 for (int i = 0; i < element_count; i++) { in CalculateOffsets()
/external/v8/src/profiler/
Dheap-snapshot-generator.cc693 intptr_t element_count = info->GetElementCount(); in GenerateId() local
694 if (element_count != -1) in GenerateId()
695 id ^= ComputeIntegerHash(static_cast<uint32_t>(element_count), in GenerateId()
/external/v8/src/
Dbuiltins.cc816 int element_count = 0; in EstimateElementCount() local
829 if (!elements->get(i)->IsTheHole(isolate)) element_count++; in EstimateElementCount()
845 if (!elements->is_the_hole(i)) element_count++; in EstimateElementCount()
857 element_count++; in EstimateElementCount()
879 return element_count; in EstimateElementCount()
/external/v8/src/x64/
Dmacro-assembler-x64.h1297 Register element_count,
/external/v8/test/cctest/
Dtest-heap-profiler.cc1410 intptr_t element_count = -1, in TestRetainedObjectInfo() argument
1416 element_count_(element_count), in TestRetainedObjectInfo()
/external/clang/bindings/python/clang/
Dcindex.py1788 def element_count(self): member in Type

12