Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/pulsecore/
Dshmasyncq.c57 return value & (unsigned) (l->n_elements - 1); in reduce()
61 pa_assert(i < l->data->n_elements); in get_cell()
70 pa_shmasyncq *pa_shmasyncq_new(unsigned n_elements, size_t element_size, void *data, int fd[2]) {
73 pa_assert(n_elements > 0);
74 pa_assert(is_power_of_two(n_elements));
82 memset(data, 0, PA_SHMASYNCQ_SIZE(n_elements, element_size));
84 l->data->n_elements = n_elements;
Dshmasyncq.h30 unsigned n_elements; member
38 #define PA_SHMASYNCQ_SIZE(n_elements, element_size) (PA_ALIGN(sizeof(pa_shmasyncq_data)) + (((n_ele… argument
43 pa_shmasyncq *pa_shmasyncq_new(unsigned n_elements, size_t element_size, void *data, int fd[2]);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp1608 const GLint n_elements = configuration.m_n_elements[i]; in calculateAttributeLocation() local
1610 const GLint n_columns = n_elements / n_rows; in calculateAttributeLocation()
1619 const GLint n_elements = configuration.m_n_elements[n_type]; in calculateAttributeLocation() local
1621 const GLint n_columns = n_elements / n_rows; in calculateAttributeLocation()
1662 const GLint n_elements = configuration.m_n_elements[n_type]; in configureAttribute() local
1664 const GLint n_columns = n_elements / n_rows; in configureAttribute()
1701 const GLint attribute_offset = group_offset + i * n_elements; in configureAttribute()
1887 const GLint n_elements = configuration.m_n_elements[n_type]; in getProgramDetails() local
1936 if (1 == n_elements) in getProgramDetails()
1963 for (GLint element = 0; element < n_elements; ++element) in getProgramDetails()
[all …]
Dgl4cGPUShaderFP64Tests.hpp682 glw::GLuint n_elements, const glw::GLchar* type_name) in uniformDetails()
686 , m_n_elements(n_elements) in uniformDetails()
Dgl4cShaderImageLoadStoreTests.cpp7272 TextureShapeDefinition(GLuint edge, GLuint n_elements, GLenum type) in TextureShapeDefinition()
7273 : m_edge(edge), m_n_elements(n_elements), m_type(type) in TextureShapeDefinition()
7639 …GLenum CreateRGBA8DestinationTexture(GLuint edge, GLuint n_elements, GLenum target, GLuint& out_te… in CreateRGBA8DestinationTexture() argument
7644 const GLuint n_layers = GetTotalNumberOfLayers(n_elements, target); in CreateRGBA8DestinationTexture()
7670 …GLenum CreateRGBA8SourceTexture(GLuint edge, GLuint n_elements, GLenum target, GLuint& out_texture… in CreateRGBA8SourceTexture() argument
7675 const GLuint n_layers = GetTotalNumberOfLayers(n_elements, target); in CreateRGBA8SourceTexture()
7866 GLuint GetTotalNumberOfLayers(GLuint n_elements, GLenum target) in GetTotalNumberOfLayers() argument
7868 return GetLayersPerElement(target) * n_elements; in GetTotalNumberOfLayers()
9700 static const GLuint n_elements = sizeof(GLint) / sizeof(T); /* 1, 2, 4 */ in verifyFloat() local
9708 for (GLuint i = 0; i < n_elements; ++i) in verifyFloat()
[all …]
Dgl4cGPUShaderFP64Tests.cpp4130 const glw::GLuint n_elements = n_columns * n_rows; in prepareUniforms() local
4153 for (glw::GLuint element = 0; element < n_elements; ++element, ++element_ordinal) in prepareUniforms()
4213 const glw::GLuint n_elements = n_columns * n_rows; in prepareUniformVerification() local
4236 for (glw::GLuint element = 0; element < n_elements; ++element, ++element_ordinal) in prepareUniformVerification()
4238 stream << "i * (" << n_elements << ") + " << element + 1; in prepareUniformVerification()
4240 if (n_elements != element + 1) in prepareUniformVerification()
5180 const glw::GLuint n_elements = it_uniform_details->m_n_elements; in prepareUniformBuffer() local
5181 const glw::GLuint column_length = n_elements / n_columns; in prepareUniformBuffer()
5185 for (glw::GLuint element = 0; element < n_elements; ++element) in prepareUniformBuffer()
Dgl4cEnhancedLayoutsTests.cpp246 const GLuint n_elements = m_n_columns * m_n_rows; in GenerateDataPacked() local
247 const GLuint size = basic_size * n_elements; in GenerateDataPacked()
260 for (GLuint i = 0; i < n_elements; ++i) in GenerateDataPacked()
270 for (GLuint i = 0; i < n_elements; ++i) in GenerateDataPacked()
280 for (GLuint i = 0; i < n_elements; ++i) in GenerateDataPacked()
290 for (GLuint i = 0; i < n_elements; ++i) in GenerateDataPacked()
538 const GLuint n_elements = m_n_columns * m_n_rows; in GetSize() local
545 return basic_type_size * n_elements; in GetSize()
5387 const GLuint n_elements = (0 == member.m_n_array_elements) ? 1 : member.m_n_array_elements; in generateData() local
5389 for (GLuint element = 0; element < n_elements; ++element) in generateData()
[all …]
/third_party/gstreamer/gstreamer/tests/benchmarks/
Dcomplexity.c32 guint complexity_order, n_elements, i, j, max_this_level; in main() local
43 n_elements = atoi (argv[2]); in main()
59 for (i = 0, j = 0; i < n_elements; i++, j++) { in main()
75 if (i + max_this_level < n_elements) { in main()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Damf.c783 guint32 n_elements, n_read; in parse_ecma_array() local
785 if (sizeof n_elements > parser->size - parser->offset) { in parse_ecma_array()
790 n_elements = parse_u32 (parser); in parse_ecma_array()
794 if (n_elements == 0) { in parse_ecma_array()
796 n_elements = 1; in parse_ecma_array()
801 if (n_read != n_elements) { in parse_ecma_array()
803 " but read %" G_GUINT32_FORMAT, n_elements, n_read); in parse_ecma_array()
811 guint32 n_elements, i; in parse_strict_array() local
813 if (sizeof n_elements > parser->size - parser->offset) { in parse_strict_array()
818 n_elements = parse_u32 (parser); in parse_strict_array()
[all …]
/third_party/libffi/src/
Ddlmalloc.c1081 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1093 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1100 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
3998 size_t n_elements, in ialloc() argument
4025 if (n_elements == 0) in ialloc()
4032 if (n_elements == 0) in ialloc()
4035 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
4041 contents_size = n_elements * element_size; in ialloc()
4046 for (i = 0; i != n_elements; ++i) in ialloc()
4088 if (i != n_elements-1) { in ialloc()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_malloc.c1138 void *mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1150 void **mspace_independent_calloc(mspace msp, size_t n_elements,
1157 void **mspace_independent_comalloc(mspace msp, size_t n_elements,
4045 ialloc(mstate m, size_t n_elements, size_t * sizes, int opts, void *chunks[]) in ialloc() argument
4070 if (n_elements == 0) in ialloc()
4076 if (n_elements == 0) in ialloc()
4079 array_size = request2size(n_elements * (sizeof(void *))); in ialloc()
4085 contents_size = n_elements * element_size; in ialloc()
4089 for (i = 0; i != n_elements; ++i) in ialloc()
4132 if (i != n_elements - 1) { in ialloc()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp364 glw::GLint n_elements, glw::GLint n_mipmap_levels, glw::GLfloat* out_data) in getColorFloatComponents() argument
370 out_data[2] = ((glw::GLfloat)(element_index + 1)) / ((glw::GLfloat)n_elements); in getColorFloatComponents()
405 glw::GLint n_elements, glw::GLint n_mipmap_levels, glw::GLubyte* out_data) in getCompressedColorUByteComponents() argument
411 const glw::GLuint n_faces_per_level = n_elements * n_faces; in getCompressedColorUByteComponents()
461 …ent(glw::GLint cube_face, glw::GLint element_index, glw::GLint mipmap_level, glw::GLint n_elements, in getDepthComponent() argument
467 ((glw::GLfloat)(n_mipmap_levels + n_faces + n_elements)); in getDepthComponent()
645 …ent(glw::GLint cube_face, glw::GLint element_index, glw::GLint mipmap_level, glw::GLint n_elements, in getStencilComponent() argument
651 (n_mipmap_levels + n_faces + n_elements)); in getStencilComponent()
907 glw::GLint mipmap_level, glw::GLint n_elements, glw::GLint n_mipmap_levels, in prepareDataForColorFloatTexture() argument
913 …getColorFloatComponents(cube_face, element_index, mipmap_level, n_elements, n_mipmap_levels, compo… in prepareDataForColorFloatTexture()
[all …]
DesextcTextureCubeMapArraySubImage3D.cpp437 glw::GLuint n_elements = width * height * depth * m_n_components; in checkResults() local
438 DataBufferVec result_data_buffer(n_elements, 0); in checkResults()
455 …return memcmp(&result_data_buffer[0], &m_expected_data_buffer[0], n_elements * sizeof(glw::GLuint)… in checkResults()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgltestsrc.c99 guint n_elements; member
143 gl->VertexAttribPointer (attr->location, attr->n_elements, in _bind_buffer()
492 src->base.attributes[0].n_elements = 4; in _src_smpte_init()
499 src->base.attributes[1].n_elements = 3; in _src_smpte_init()
751 src->base.attributes[0].n_elements = 4; in _src_checkers_init()
853 src->attributes[0].n_elements = 4; in _src_snow_init()
992 src->attributes[0].n_elements = 4; in _src_mandelbrot_init()
1120 src->attributes[0].n_elements = 4; in _src_circular_init()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderRendering.cpp664 unsigned int n_elements = getAmountOfElementsPerInstance(); in executeTest() local
803 gl.drawElements(mode, n_elements, index_type, NULL); in executeTest()
810 gl.drawElementsInstanced(mode, n_elements, index_type, NULL, n_instances); in executeTest()
817 gl.drawRangeElements(mode, min_elements_index, max_elements_index, n_elements, index_type, NULL); in executeTest()
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest13-pr18894.so.abi1667 …<parameter type-id='type-id-23' name='n_elements' filepath='/tmp/legendre/spack-stage/spack-stage-…
1685 …<parameter type-id='type-id-2' name='n_elements' filepath='/tmp/legendre/spack-stage/spack-stage-h…
Dtest21-pr19092.so.abi2861 …<var-decl name='n_elements' type-id='type-id-4' visibility='default' filepath='../.././gcc/../incl…
Dtest14-pr18893.so.abi12592 …<var-decl name='n_elements' type-id='type-id-277' visibility='default' filepath='libnurbs/nurbtess…
/third_party/libabigail/tests/data/test-annotate/
Dtest13-pr18894.so.abi2781 …<parameter type-id='type-id-23' name='n_elements' filepath='/tmp/legendre/spack-stage/spack-stage-…
2814 …<parameter type-id='type-id-2' name='n_elements' filepath='/tmp/legendre/spack-stage/spack-stage-h…
Dtest21-pr19092.so.abi4322 <!-- size_t htab::n_elements -->
4323 …<var-decl name='n_elements' type-id='type-id-4' visibility='default' filepath='../.././gcc/../incl…
Dtest14-pr18893.so.abi19703 <!-- Int rectBlockArray::n_elements -->
19704 …<var-decl name='n_elements' type-id='type-id-277' visibility='default' filepath='libnurbs/nurbtess…
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h50112 u32 n_elements; member