/external/tensorflow/tensorflow/core/lib/gtl/ |
D | top_n_test.cc | 45 void TestIntTopNHelper(size_t limit, size_t n_elements, const Cmp &cmp, in TestIntTopNHelper() argument 48 LOG(INFO) << "Testing limit=" << limit << ", n_elements=" << n_elements in TestIntTopNHelper() 52 std::vector<int> shadow(n_elements); in TestIntTopNHelper() 53 for (int i = 0; i != n_elements; ++i) shadow[i] = random->Uniform(limit); in TestIntTopNHelper() 56 size_t top_size = std::min(limit, n_elements); in TestIntTopNHelper() 76 void TestIntTopN(size_t limit, size_t n_elements, const Cmp &cmp, in TestIntTopN() argument 79 TestIntTopNHelper(limit, n_elements, cmp, random, true, false); in TestIntTopN() 81 TestIntTopNHelper(limit, n_elements, cmp, random, false, false); in TestIntTopN() 83 TestIntTopNHelper(limit, n_elements, cmp, random, true, true); in TestIntTopN() 85 TestIntTopNHelper(limit, n_elements, cmp, random, false, true); in TestIntTopN()
|
/external/deqp/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 …]
|
D | gl4cGPUShaderFP64Tests.hpp | 682 glw::GLuint n_elements, const glw::GLchar* type_name) in uniformDetails() 686 , m_n_elements(n_elements) in uniformDetails()
|
D | gl4cShaderImageLoadStoreTests.cpp | 7273 TextureShapeDefinition(GLuint edge, GLuint n_elements, GLenum type) in TextureShapeDefinition() 7274 : m_edge(edge), m_n_elements(n_elements), m_type(type) in TextureShapeDefinition() 7640 …GLenum CreateRGBA8DestinationTexture(GLuint edge, GLuint n_elements, GLenum target, GLuint& out_te… in CreateRGBA8DestinationTexture() argument 7645 const GLuint n_layers = GetTotalNumberOfLayers(n_elements, target); in CreateRGBA8DestinationTexture() 7671 …GLenum CreateRGBA8SourceTexture(GLuint edge, GLuint n_elements, GLenum target, GLuint& out_texture… in CreateRGBA8SourceTexture() argument 7676 const GLuint n_layers = GetTotalNumberOfLayers(n_elements, target); in CreateRGBA8SourceTexture() 7870 GLuint GetTotalNumberOfLayers(GLuint n_elements, GLenum target) in GetTotalNumberOfLayers() argument 7872 return GetLayersPerElement(target) * n_elements; in GetTotalNumberOfLayers() 9704 static const GLuint n_elements = sizeof(GLint) / sizeof(T); /* 1, 2, 4 */ in verifyFloat() local 9712 for (GLuint i = 0; i < n_elements; ++i) in verifyFloat() [all …]
|
D | gl4cGPUShaderFP64Tests.cpp | 4142 const glw::GLuint n_elements = n_columns * n_rows; in prepareUniforms() local 4165 for (glw::GLuint element = 0; element < n_elements; ++element, ++element_ordinal) in prepareUniforms() 4225 const glw::GLuint n_elements = n_columns * n_rows; in prepareUniformVerification() local 4248 for (glw::GLuint element = 0; element < n_elements; ++element, ++element_ordinal) in prepareUniformVerification() 4250 stream << "i * (" << n_elements << ") + " << element + 1; in prepareUniformVerification() 4252 if (n_elements != element + 1) in prepareUniformVerification() 5192 const glw::GLuint n_elements = it_uniform_details->m_n_elements; in prepareUniformBuffer() local 5193 const glw::GLuint column_length = n_elements / n_columns; in prepareUniformBuffer() 5197 for (glw::GLuint element = 0; element < n_elements; ++element) in prepareUniformBuffer()
|
D | gl4cEnhancedLayoutsTests.cpp | 244 const GLuint n_elements = m_n_columns * m_n_rows; in GenerateDataPacked() local 245 const GLuint size = basic_size * n_elements; in GenerateDataPacked() 258 for (GLuint i = 0; i < n_elements; ++i) in GenerateDataPacked() 268 for (GLuint i = 0; i < n_elements; ++i) in GenerateDataPacked() 278 for (GLuint i = 0; i < n_elements; ++i) in GenerateDataPacked() 288 for (GLuint i = 0; i < n_elements; ++i) in GenerateDataPacked() 536 const GLuint n_elements = m_n_columns * m_n_rows; in GetSize() local 543 return basic_type_size * n_elements; in GetSize() 5393 const GLuint n_elements = (0 == member.m_n_array_elements) ? 1 : member.m_n_array_elements; in generateData() local 5395 for (GLuint element = 0; element < n_elements; ++element) in generateData() [all …]
|
/external/dlmalloc/ |
D | malloc.h | 450 size_t dlbulk_free(void**, size_t n_elements); 595 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size); 599 void** mspace_independent_calloc(mspace msp, size_t n_elements, 601 void** mspace_independent_comalloc(mspace msp, size_t n_elements, 603 size_t mspace_bulk_free(mspace msp, void**, size_t n_elements);
|
D | malloc.c | 1193 DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements); 1351 DLMALLOC_EXPORT void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size); 1363 DLMALLOC_EXPORT void** mspace_independent_calloc(mspace msp, size_t n_elements, 1370 DLMALLOC_EXPORT void** mspace_independent_comalloc(mspace msp, size_t n_elements, 4815 void* dlcalloc(size_t n_elements, size_t elem_size) { in dlcalloc() argument 4818 if (n_elements != 0) { in dlcalloc() 4819 req = n_elements * elem_size; in dlcalloc() 4820 if (((n_elements | elem_size) & ~(size_t)0xffff) && in dlcalloc() 4821 (req / n_elements != elem_size)) in dlcalloc() 5001 size_t n_elements, in ialloc() argument [all …]
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_benchmarks_test.cc | 19 static void ManyAccessFunc(T *x, size_t n_elements, size_t n_iter) { in ManyAccessFunc() argument 23 for (size_t i = 0; i <= n_elements - 16; i += 16) { in ManyAccessFunc()
|
/external/python/cpython2/Modules/_ctypes/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 …]
|
/external/libffi/src/ |
D | dlmalloc.c | 1076 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size); 1088 void** mspace_independent_calloc(mspace msp, size_t n_elements, 1095 void** mspace_independent_comalloc(mspace msp, size_t n_elements, 3993 size_t n_elements, in ialloc() argument 4020 if (n_elements == 0) in ialloc() 4027 if (n_elements == 0) in ialloc() 4030 array_size = request2size(n_elements * (sizeof(void*))); in ialloc() 4036 contents_size = n_elements * element_size; in ialloc() 4041 for (i = 0; i != n_elements; ++i) in ialloc() 4083 if (i != n_elements-1) { in ialloc() [all …]
|
/external/deqp/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()
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cc | 156 void *(*calloc)(uptr n_elements, uptr elem_size); 163 void *(*calloc)(uptr n_elements, uptr elem_size);
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderRendering.cpp | 664 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()
|
/external/u-boot/tools/ |
D | asn1_compiler.c | 690 uint8_t n_elements; member
|