/third_party/pulseaudio/src/pulsecore/ |
D | shmasyncq.c | 57 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;
|
D | shmasyncq.h | 30 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/ |
D | gl4cVertexAttrib64BitTest.cpp | 1608 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 …]
|
/third_party/boost/libs/container/src/ |
D | dlmalloc.cpp | 30 (size_t n_elements, size_t elem_size, size_t contiguous_elements, boost_cont_memchain *pchain) in dlmalloc_multialloc_nodes() argument 31 { return boost_cont_multialloc_nodes(n_elements, elem_size, contiguous_elements, pchain); } in dlmalloc_multialloc_nodes() 34 …(size_t n_elements, const size_t *sizes, size_t sizeof_element, size_t contiguous_elements, boost_… in dlmalloc_multialloc_arrays() argument 35 { return boost_cont_multialloc_arrays(n_elements, sizes, sizeof_element, contiguous_elements, pcha… in dlmalloc_multialloc_arrays()
|
D | dlmalloc_ext_2_8_6.c | 782 (mstate m, size_t n_elements, size_t element_size, size_t contiguous_elements, boost_cont_memchain … in internal_node_multialloc() argument 794 …((contiguous_elements + 1) > (BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CONTIGUOUS + 1) && n_elements … in internal_node_multialloc() 810 elements_per_segment = n_elements; in internal_node_multialloc() 827 for (i = 0; i != n_elements; i = next_i) in internal_node_multialloc() 830 size_t n_elements_left = n_elements - i; in internal_node_multialloc() 989 …(mstate m, size_t n_elements, const size_t* sizes, size_t element_size, size_t contiguous_elements… in internal_multialloc_arrays() argument 1032 for(i = 0, next_i = 0; i != n_elements; i = next_i) in internal_multialloc_arrays() 1036 for(accum_size = 0; next_i != n_elements; ++next_i){ in internal_multialloc_arrays() 1099 …(size_t n_elements, const size_t *sizes, size_t element_size, size_t contiguous_elements, boost_co… in boost_cont_multialloc_arrays() argument 1108 …ret = internal_multialloc_arrays(ms, n_elements, sizes, element_size, contiguous_elements, pchain); in boost_cont_multialloc_arrays() [all …]
|
D | dlmalloc_2_8_6.c | 1193 DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements); 1349 DLMALLOC_EXPORT void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size); 1361 DLMALLOC_EXPORT void** mspace_independent_calloc(mspace msp, size_t n_elements, 1368 DLMALLOC_EXPORT void** mspace_independent_comalloc(mspace msp, size_t n_elements, 4786 void* dlcalloc(size_t n_elements, size_t elem_size) { in dlcalloc() argument 4789 if (n_elements != 0) { in dlcalloc() 4790 req = n_elements * elem_size; in dlcalloc() 4791 if (((n_elements | elem_size) & ~(size_t)0xffff) && in dlcalloc() 4792 (req / n_elements != elem_size)) in dlcalloc() 4967 size_t n_elements, in ialloc() argument [all …]
|
/third_party/gstreamer/gstreamer/tests/benchmarks/ |
D | complexity.c | 32 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/weston/tests/ |
D | weston-test-runner.c | 155 printf("Fixture setups: %d\n", fsa->n_elements); in list_tests() 159 if (t->n_elements > 1) in list_tests() 160 printf(" with array of %d cases\n", t->n_elements); in list_tests() 190 elem_end = t->n_elements; in for_each_test_case() 394 if (harness->fixt_ind < -1 || harness->fixt_ind >= fsa->n_elements) { in weston_test_harness_create() 413 harness->case_ind >= t->n_elements) { in weston_test_harness_create() 536 .n_elements = 1, in fixture_setup_array_get_() 585 fi_end = fsa->n_elements; in main()
|
D | weston-test-runner.h | 57 int n_elements; member 159 int n_elements; member 235 .n_elements = ARRAY_LENGTH(array_) \
|
/third_party/boost/boost/interprocess/detail/ |
D | managed_memory_impl.hpp | 312 void allocate_many(size_type elem_bytes, size_type n_elements, multiallocation_chain &chain) in allocate_many() argument 313 { mp_header->allocate_many(elem_bytes, n_elements, chain); } in allocate_many() 317 …void allocate_many(const size_type *element_lengths, size_type n_elements, size_type sizeof_elemen… in allocate_many() argument 318 { mp_header->allocate_many(element_lengths, n_elements, sizeof_element, chain); } in allocate_many() 322 …void allocate_many(const std::nothrow_t &tag, size_type elem_bytes, size_type n_elements, multiall… in allocate_many() argument 323 { mp_header->allocate_many(tag, elem_bytes, n_elements, chain); } in allocate_many() 328 …void allocate_many(const std::nothrow_t &tag, const size_type *elem_sizes, size_type n_elements, s… in allocate_many() argument 329 { mp_header->allocate_many(tag, elem_sizes, n_elements, sizeof_element, chain); } in allocate_many()
|
/third_party/boost/boost/interprocess/mem_algo/detail/ |
D | mem_algo_common.hpp | 122 …(MemoryAlgorithm *memory_algo, size_type elem_bytes, size_type n_elements, multiallocation_chain &… in allocate_many() argument 124 return this_type::priv_allocate_many(memory_algo, &elem_bytes, n_elements, 0, chain); in allocate_many() 230 , size_type n_elements in allocate_many() argument 234 this_type::priv_allocate_many(memory_algo, elem_sizes, n_elements, sizeof_element, chain); in allocate_many() 460 , size_type n_elements in priv_allocate_many() argument 474 total_request_units = n_elements*elem_units; in priv_allocate_many() 477 for(size_type i = 0; i < n_elements; ++i){ in priv_allocate_many() 494 while(low_idx < n_elements){ in priv_allocate_many() 527 if((low_idx + 1) == n_elements || in priv_allocate_many() 576 if(low_idx != n_elements){ in priv_allocate_many()
|
/third_party/boost/boost/container/ |
D | adaptive_pool.hpp | 249 void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) in allocate_many() argument 262 …(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CONTIGUOUS, reinterpret_ca… in allocate_many() 269 …void allocate_many(const size_type *elem_sizes, size_type n_elements, multiallocation_chain &chain) in allocate_many() argument 282 …(n_elements, elem_sizes, sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CONTIGUOUS, reinterpret_… in allocate_many() 535 void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) in allocate_many() argument 539 …(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CONTIGUOUS, reinterpret_ca… in allocate_many() 546 …void allocate_many(const size_type *elem_sizes, size_type n_elements, multiallocation_chain &chain) in allocate_many() argument 550 …(n_elements, elem_sizes, sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAULT_CONTIGUOUS, reinterpret_… in allocate_many()
|
D | allocator.hpp | 285 void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) in allocate_many() argument 290 …if(!dlmalloc_multialloc_nodes(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAU… in allocate_many() 306 …void allocate_many(const size_type *elem_sizes, size_type n_elements, multiallocation_chain &chain) in allocate_many() argument 311 …if(!dlmalloc_multialloc_arrays(n_elements, elem_sizes, sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DE… in allocate_many()
|
D | node_allocator.hpp | 256 void allocate_many(size_type elem_size, std::size_t n_elements, multiallocation_chain &chain) in allocate_many() argument 261 …if(BOOST_UNLIKELY(!dlmalloc_multialloc_nodes(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_M… in allocate_many() 272 …void allocate_many(const size_type *elem_sizes, size_type n_elements, multiallocation_chain &chain) in allocate_many() argument 276 …dlmalloc_multialloc_arrays(n_elements, elem_sizes, sizeof(T), BOOST_CONTAINER_DL_MULTIALLOC_DEFAUL… in allocate_many()
|
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/ |
D | amf.c | 783 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/boost/boost/container/detail/ |
D | dlmalloc.hpp | 44 (size_t n_elements, size_t elem_size, size_t contiguous_elements, boost_cont_memchain *pchain); 47 …(size_t n_elements, const size_t *sizes, size_t sizeof_element, size_t contiguous_elements, boost_…
|
D | alloc_lib.h | 250 (size_t n_elements, size_t elem_size, size_t contiguous_elements, boost_cont_memchain *pchain); 253 …(size_t n_elements, const size_t *sizes, size_t sizeof_element, size_t contiguous_elements, boost_…
|
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/ |
D | SDL_malloc.c | 1138 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/libffi/src/ |
D | dlmalloc.c | 1081 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/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySampling.cpp | 364 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 …]
|
D | esextcTextureCubeMapArraySubImage3D.cpp | 437 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/ |
D | gltestsrc.c | 99 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/boost/boost/interprocess/ |
D | segment_manager.hpp | 135 void allocate_many(size_type elem_bytes, size_type n_elements, multiallocation_chain &chain) in allocate_many() argument 138 MemoryAlgorithm::allocate_many(elem_bytes, n_elements, chain); in allocate_many() 146 …void allocate_many(const size_type *element_lengths, size_type n_elements, size_type sizeof_elemen… in allocate_many() argument 149 MemoryAlgorithm::allocate_many(element_lengths, n_elements, sizeof_element, chain); in allocate_many() 157 …void allocate_many(const std::nothrow_t &, size_type elem_bytes, size_type n_elements, multialloca… in allocate_many() argument 158 { MemoryAlgorithm::allocate_many(elem_bytes, n_elements, chain); } in allocate_many() 163 …void allocate_many(const std::nothrow_t &, const size_type *elem_sizes, size_type n_elements, size… in allocate_many() argument 164 { MemoryAlgorithm::allocate_many(elem_sizes, n_elements, sizeof_element, chain); } in allocate_many()
|
/third_party/boost/boost/interprocess/allocators/ |
D | allocator.hpp | 205 …void allocate_many(const size_type *elem_sizes, size_type n_elements, multiallocation_chain &chain) in allocate_many() argument 207 mp_mngr->allocate_many(elem_sizes, n_elements, sizeof(T), chain); in allocate_many()
|
/third_party/glib/gio/ |
D | gdbusdaemon.c | 125 int n_elements; member 442 match->n_elements = elements->len; in match_new() 460 for (i = 0; i < match->n_elements; i++) in match_free() 475 if (a->n_elements != b->n_elements) in match_equal() 477 for (i = 0; i < a->n_elements; i++) in match_equal() 536 for (i = 0; i < match->n_elements; i++) in match_matches()
|