Home
last modified time | relevance | path

Searched refs:arraySize (Results 1 – 25 of 252) sorted by relevance

1234567891011

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarCache.java22 makeArrays(arraySize); in CalendarCache()
32 arraySize = newSize; in makeArrays()
33 threshold = (int)(arraySize * 0.75); in makeArrays()
68 index = (index + delta) % arraySize; in findIndex()
75 int oldSize = arraySize; in rehash()
80 arraySize = primes[++pIndex]; in rehash()
82 arraySize = arraySize * 2 + 1; in rehash()
86 makeArrays(arraySize); in rehash()
102 int h = (int)((key * 15821 + 1) % arraySize); in hash()
104 h += arraySize; in hash()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java20 makeArrays(arraySize); in CalendarCache()
30 arraySize = newSize; in makeArrays()
31 threshold = (int)(arraySize * 0.75); in makeArrays()
66 index = (index + delta) % arraySize; in findIndex()
73 int oldSize = arraySize; in rehash()
78 arraySize = primes[++pIndex]; in rehash()
80 arraySize = arraySize * 2 + 1; in rehash()
84 makeArrays(arraySize); in rehash()
100 int h = (int)((key * 15821 + 1) % arraySize); in hash()
102 h += arraySize; in hash()
[all …]
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_2D_array.cpp32 region[ 2 ] = imageInfo->arraySize; in test_fill_image_2D_array()
46 …gion[ 2 ] = ( imageInfo->arraySize > 8 ) ? (size_t)random_in_range( 8, (int)imageInfo->arraySize -… in test_fill_image_2D_array()
51 …origin[ 2 ] = ( imageInfo->arraySize > region[ 2 ] ) ? (size_t)random_in_range( 0, (int)( imageInf… in test_fill_image_2D_array()
110 for ( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_fill_image_set_2D_array()
113 …( " at size %d,%d,%d\n", (int)imageInfo.width, (int)imageInfo.height, (int)imageInfo.arraySize ); in test_fill_image_set_2D_array()
132 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_fill_image_set_2D_array()
148 cl_ulong size = (cl_ulong)imageInfo.slicePitch * (cl_ulong)imageInfo.arraySize * 4 * 4; in test_fill_image_set_2D_array()
151 if (imageInfo.arraySize == 1) { in test_fill_image_set_2D_array()
155 imageInfo.arraySize--; in test_fill_image_set_2D_array()
156 size = (cl_ulong)imageInfo.slicePitch * (cl_ulong)imageInfo.arraySize * 4 * 4; in test_fill_image_set_2D_array()
[all …]
Dtest_fill_1D_array.cpp31 region[ 1 ] = imageInfo->arraySize; in test_fill_image_size_1D_array()
45 …gion[ 1 ] = ( imageInfo->arraySize > 8 ) ? (size_t)random_in_range( 8, (int)imageInfo->arraySize -… in test_fill_image_size_1D_array()
49 …origin[ 1 ] = ( imageInfo->arraySize > region[ 1 ] ) ? (size_t)random_in_range( 0, (int)( imageInf… in test_fill_image_size_1D_array()
104 for ( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_fill_image_set_1D_array()
107 … log_info( " at size %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize ); in test_fill_image_set_1D_array()
126 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_fill_image_set_1D_array()
156 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_fill_image_set_1D_array()
171 size = (size_t)imageInfo.rowPitch * (size_t)imageInfo.arraySize * 4; in test_fill_image_set_1D_array()
175 …%d (row pitch %d) out of %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize, (int)imageInfo.… in test_fill_image_set_1D_array()
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_3D_2D_array.cpp22 …escriptor *imageInfo, size_t width, size_t height, size_t depth, size_t arraySize, size_t rowPaddi… in set_image_dimensions() argument
29 imageInfo->arraySize = arraySize; in set_image_dimensions()
42 if (arraySize == 0) in set_image_dimensions()
56 if( srcImageInfo->arraySize == 0 ) in test_copy_image_size_3D_2D_array()
88 depth_lod = ( depth_lod > twoImage->arraySize ) ? twoImage->arraySize : depth_lod; in test_copy_image_size_3D_2D_array()
101 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array()
105 …destPos[ 2 ] = ( twoImage->arraySize > depth_lod ) ? (size_t)random_in_range( 0, twoImage->arraySi… in test_copy_image_size_3D_2D_array()
116 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array()
121 …sourcePos[ 2 ] = ( twoImage->arraySize > depth_lod ) ? (size_t)random_in_range( 0, twoImage->array… in test_copy_image_size_3D_2D_array()
153 depth_lod = ( twoImage->arraySize > depth_lod ) ? depth_lod : twoImage->arraySize; in test_copy_image_size_3D_2D_array()
[all …]
Dtest_copy_2D_2D_array.cpp22 …sions( image_descriptor *imageInfo, size_t width, size_t height, size_t arraySize, size_t rowPaddi… in set_image_dimensions() argument
28 imageInfo->arraySize = arraySize; in set_image_dimensions()
39 if (arraySize == 0) in set_image_dimensions()
59 if( srcImageInfo->arraySize > 0 ) in test_copy_image_size_2D_2D_array()
102 if( srcImageInfo->arraySize == 0 ) in test_copy_image_size_2D_2D_array()
105 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array()
117 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array()
160 …sourcePos[ 2 ] = ( srcImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( srcImageInfo… in test_copy_image_size_2D_2D_array()
163 if( srcImageInfo->arraySize > 0 ) in test_copy_image_size_2D_2D_array()
179 …destPos[ 2 ] = ( dstImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( dstImageInfo-> in test_copy_image_size_2D_2D_array()
[all …]
Dtest_copy_1D_array.cpp47 regionSize[ 1 ] = imageInfo->arraySize; in test_copy_image_size_1D_array()
79 …Size[ 1 ] = ( imageInfo->arraySize > 8 ) ? (size_t)random_in_range( 8, (int)imageInfo->arraySize -… in test_copy_image_size_1D_array()
83 …sourcePos[ 1 ] = ( imageInfo->arraySize > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( i… in test_copy_image_size_1D_array()
87 …destPos[ 1 ] = ( imageInfo->arraySize > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( ima… in test_copy_image_size_1D_array()
143 for( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_copy_image_set_1D_array()
146 … log_info( " at size %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize ); in test_copy_image_set_1D_array()
167 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_copy_image_set_1D_array()
200 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_copy_image_set_1D_array()
225 size = (size_t)imageInfo.rowPitch * (size_t)imageInfo.arraySize * 4; in test_copy_image_set_1D_array()
230 …%d (row pitch %d) out of %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize, (int)imageInfo.… in test_copy_image_set_1D_array()
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_read_1D_array.cpp32 …ze %d by %d...\n", gTestMipmaps?"mipmapped":"", (int)imageInfo->width, (int)imageInfo->arraySize ); in test_read_image_1D_array()
41 imageInfo->width, imageInfo->arraySize, 0, in test_read_image_1D_array()
45 …age array of size %d x %d (%s)", (int)imageInfo->width, (int)imageInfo->arraySize, IGetErrorString… in test_read_image_1D_array()
54 image_desc.image_array_size = imageInfo->arraySize; in test_read_image_1D_array()
61 …,(int)imageInfo->num_mip_levels, (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_1D_array()
77 fullImageSize = imageInfo->arraySize * imageInfo->slicePitch; in test_read_image_1D_array()
95 region[1] = imageInfo->arraySize; in test_read_image_1D_array()
104 …o write to 1D image array of width %d and size %d\n", (int)width_lod, (int)imageInfo->arraySize ); in test_read_image_1D_array()
114 size_t imageSize = scanlineSize * imageInfo->arraySize; in test_read_image_1D_array()
127 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in test_read_image_1D_array()
[all …]
Dtest_read_2D_array.cpp32 …Mipmaps?"mipmapped":"", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize ); in test_read_image_2D_array()
42 imageInfo->arraySize, 0, 0, NULL, &error); in test_read_image_2D_array()
45 …d (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, IGetErrorString… in test_read_image_2D_array()
55 image_desc.image_array_size = imageInfo->arraySize; in test_read_image_2D_array()
79 fullImageSize = imageInfo->arraySize * imageInfo->slicePitch; in test_read_image_2D_array()
96 region[2] = imageInfo->arraySize; in test_read_image_2D_array()
106 … image array of size %d x %d x %d\n", (int)width_lod, (int)height_lod, (int)imageInfo->arraySize ); in test_read_image_2D_array()
117 size_t imageSize = pageSize * imageInfo->arraySize; in test_read_image_2D_array()
130 for( size_t z = 0; z < imageInfo->arraySize; z++ ) in test_read_image_2D_array()
136 …%d\n", (int)y, (int)z, (int)width_lod, (int)height_lod, (int)imageInfo->arraySize, (int)row_pitch_… in test_read_image_2D_array()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DTypes.h190 int arraySize, const TLayoutQualifier &layoutQualifier) in POOL_ALLOCATOR_NEW_DELETE()
193 mArraySize(arraySize), in POOL_ALLOCATOR_NEW_DELETE()
211 int arraySize() const in arraySize() function
246 …primarySize(s0), secondarySize(s1), array(false), arraySize(0), maxArraySize(0), arrayInformationT… in POOL_ALLOCATOR_NEW_DELETE()
253 …primarySize(s0), secondarySize(s1), array(a), arraySize(0), maxArraySize(0), arrayInformationType(… in type()
260 …primarySize(1), secondarySize(1), array(false), arraySize(0), maxArraySize(0), arrayInformationTyp… in type()
268 …primarySize(1), secondarySize(1), array(arraySizeIn > 0), arraySize(arraySizeIn), maxArraySize(0),… in TType()
402 return arraySize * samplerRegisterCount(); in totalSamplerRegisterCount()
414 return arraySize * elementRegisterCount(); in totalRegisterCount()
432 bool isUnsizedArray() const { return array && arraySize == 0; } in isUnsizedArray()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_1D_array.cpp22 cl_int arraySize; member
70 …fo( " - Creating 1D image array %d by %d...\n", (int)imageInfo->width, (int)imageInfo->arraySize ); in test_get_1Dimage_array_info_single()
73 imageInfo->width, imageInfo->arraySize, 0, 0, in test_get_1Dimage_array_info_single()
77 …age array of size %d x %d (%s)", (int)imageInfo->width, (int)imageInfo->arraySize, IGetErrorString… in test_get_1Dimage_array_info_single()
134 if( outKernelData.arraySize != (cl_int)imageInfo->arraySize ) in test_get_1Dimage_array_info_single()
136 …d not validate (expected %d, got %d)\n", (int)imageInfo->arraySize, (int)outKernelData.arraySize ); in test_get_1Dimage_array_info_single()
192 for( imageInfo.arraySize = 1; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_get_image_info_1D_array()
195 … log_info( " at size %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize ); in test_get_image_info_1D_array()
215 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_get_image_info_1D_array()
237 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_1D_array()
[all …]
Dtest_2D_array.cpp23 cl_int arraySize; member
73 …y %d by %d by %d...\n", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize ); in test_get_2Dimage_array_info_single()
77 imageInfo->arraySize, 0, 0, NULL, &error); in test_get_2Dimage_array_info_single()
80 …d (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, IGetErrorString… in test_get_2Dimage_array_info_single()
145 if( outKernelData.arraySize != (cl_int)imageInfo->arraySize ) in test_get_2Dimage_array_info_single()
147 …d not validate (expected %d, got %d)\n", (int)imageInfo->arraySize, (int)outKernelData.arraySize ); in test_get_2Dimage_array_info_single()
206 for( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_get_image_info_2D_array()
209 …( " at size %d,%d,%d\n", (int)imageInfo.width, (int)imageInfo.height, (int)imageInfo.arraySize ); in test_get_image_info_2D_array()
230 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_get_image_info_2D_array()
256 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_2D_array()
[all …]
/external/deqp/external/openglcts/modules/gles31/
Des31cSeparateShaderObjsTests.cpp1260 …void progUniformi(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, int* v… in progUniformi() argument
1271 gl.programUniform1iv(prog, location[4], arraySize, value); in progUniformi()
1272 value += 1 * arraySize; in progUniformi()
1273 gl.programUniform2iv(prog, location[6], arraySize, value); in progUniformi()
1274 value += 2 * arraySize; in progUniformi()
1275 gl.programUniform3iv(prog, location[8], arraySize, value); in progUniformi()
1276 value += 3 * arraySize; in progUniformi()
1277 gl.programUniform4iv(prog, location[10], arraySize, value); in progUniformi()
1281 …void progUniformui(const glw::Functions& gl, glw::GLuint prog, int arraySize, int* location, unsig… in progUniformui() argument
1292 gl.programUniform1uiv(prog, location[4], arraySize, value); in progUniformui()
[all …]
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_read_1D_array.cpp70 … log_info( " - Creating image %d by %d...\n", (int)imageInfo->width, (int)imageInfo->arraySize ); in test_read_image_1D_array()
80 image_desc.image_array_size = imageInfo->arraySize; in test_read_image_1D_array()
88 …f size %d x %d pitch %d (%s)\n", (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_1D_array()
102 …f size %d x %d pitch %d (%s)\n", (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_1D_array()
114 …cl_mem results = clCreateBuffer( context, 0, imageInfo->width * imageInfo->arraySize * sizeof(cl_i… in test_read_image_1D_array()
117 size_t resultValuesSize = imageInfo->width * imageInfo->arraySize * sizeof(cl_int); in test_read_image_1D_array()
138 threads[1] = (size_t)imageInfo->arraySize; in test_read_image_1D_array()
144 … results, %ld kbytes\n", (unsigned long)( imageInfo->width * imageInfo->arraySize * sizeof(cl_int)… in test_read_image_1D_array()
154 for ( ic = 0; ic < imageInfo->width * imageInfo->arraySize; ++ic ) in test_read_image_1D_array()
266 for ( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_read_image_set_1D_array()
[all …]
Dtest_read_2D_array.cpp69 image_desc.image_array_size = imageInfo->arraySize; in test_read_image_2D_array()
77 …) (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_2D_array()
91 …) (%s)", (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->arraySize, (int)imageInfo-… in test_read_image_2D_array()
101 …teBuffer( context, 0, imageInfo->width * imageInfo->height * imageInfo->arraySize * sizeof(cl_int)… in test_read_image_2D_array()
104 …size_t resultValuesSize = imageInfo->width * imageInfo->height * imageInfo->arraySize * sizeof(cl_… in test_read_image_2D_array()
126 threads[2] = (size_t)imageInfo->arraySize; in test_read_image_2D_array()
140 for ( size_t ic = 0; ic < imageInfo->width * imageInfo->height * imageInfo->arraySize; ++ic ) in test_read_image_2D_array()
261 for ( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_read_image_set_2D_array()
264 …( " at size %d,%d,%d\n", (int)imageInfo.width, (int)imageInfo.height, (int)imageInfo.arraySize ); in test_read_image_set_2D_array()
284 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_read_image_set_2D_array()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp116 const int arraySize = getArraySize(imageViewType); in getImageSamplingInstanceParams() local
141 …return ImageSamplingInstanceParams(renderSize, imageViewType, imageFormat, imageSize, arraySize, c… in getImageSamplingInstanceParams()
363 const deUint32 arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests() local
387 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
388 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
394 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 1u, arraySize - 1u } }, in createSubresourceRangeTests()
415 …ning_levels", 0.0f, { imageAspectFlags, 1u, VK_REMAINING_MIP_LEVELS, 0u, arraySize } }, in createSubresourceRangeTests()
430 { "lod_base_mip_level", 0.0f, { imageAspectFlags, 2u, numLevels - 2u, 0u, arraySize } }, in createSubresourceRangeTests()
431 { "lod_mip_levels", 4.0f, { imageAspectFlags, 0u, 3u, 0u, arraySize } }, in createSubresourceRangeTests()
437 { "base_array_layer", 0.0f, { imageAspectFlags, 0u, numLevels, 6u, arraySize - 6u } }, in createSubresourceRangeTests()
[all …]
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_1D_2D_array.cpp55 for( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_get_image_info_1D_array()
60 …d,%d (flags[%u] 0x%x pitch %d)\n", (int)imageInfo.width, (int)imageInfo.arraySize, j, (unsigned in… in test_get_image_info_1D_array()
83 imageInfo.arraySize = sizes [ idx] [ 2 ]; in test_get_image_info_1D_array()
91 …d,%d (flags[%u] 0x%x pitch %d)\n", (int)imageInfo.width, (int)imageInfo.arraySize, j, (unsigned in… in test_get_image_info_1D_array()
111 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_1D_array()
120 size = (cl_ulong)imageInfo.slicePitch * (cl_ulong)imageInfo.arraySize * 4 * 4; in test_get_image_info_1D_array()
126 …u] 0x%x pitch %d) out of %d,%d\n", (int)imageInfo.width, (int)imageInfo.arraySize, j, (unsigned in… in test_get_image_info_1D_array()
182 for( imageInfo.arraySize = 2; imageInfo.arraySize < 9; imageInfo.arraySize++ ) in test_get_image_info_2D_array()
187 …tch %d)\n", (int)imageInfo.width, (int)imageInfo.height, (int)imageInfo.arraySize, j, (unsigned in… in test_get_image_info_2D_array()
211 imageInfo.arraySize = sizes[ idx ][ 2 ]; in test_get_image_info_2D_array()
[all …]
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_read_1D_array.cpp75 ….0f, xAddressOffset, yAddressOffset, 0.0f, imageInfo->width, imageInfo->arraySize, 0, imageSampler… in determine_validation_error_1D_arr()
84 …eously clamping coordinates for image size %ld x %ld!\n", imageInfo->width, imageInfo->arraySize ); in determine_validation_error_1D_arr()
110 …usly returning border color for image size %ld x %ld!\n", imageInfo->width, imageInfo->arraySize ); in determine_validation_error_1D_arr()
142 …log_error( "img size %ld,%ld (pitch %ld)", imageInfo->width, imageInfo->arraySize, imageInfo->rowP… in determine_validation_error_1D_arr()
168 … for( int yOff = (int)imageInfo->arraySize - 2; yOff <= (int)imageInfo->arraySize + 1; yOff++ ) in determine_validation_error_1D_arr()
211 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in InitFloatCoords()
222 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in InitFloatCoords()
235 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in InitFloatCoords()
240 … yOffsets[ i ] = (float) CLAMP( (double) yOffsets[ i ], 0.0, (double)imageInfo->arraySize - 1.0); in InitFloatCoords()
248 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in InitFloatCoords()
[all …]
Dtest_write_1D_array.cpp115 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in test_write_image_1D_array()
153 for( size_t y = 0; y < imageInfo->arraySize; y++ ) in test_write_image_1D_array()
209 imageInfo->width, imageInfo->arraySize, 0, 0, in test_write_image_1D_array()
212 … mem_flag_types[mem_flag_index], imageInfo->format, imageInfo->width, 1, 1, imageInfo->arraySize ); in test_write_image_1D_array()
216 …ate 1D image array of size %ld x %ld pitch %ld (%s, %s)\n", imageInfo->width, imageInfo->arraySize, in test_write_image_1D_array()
237 image_desc.image_array_size = imageInfo->arraySize; in test_write_image_1D_array()
243 …y of size %ld x %ld (%s, %s)\n", imageInfo->num_mip_levels, imageInfo->width, imageInfo->arraySize, in test_write_image_1D_array()
251 imageInfo->width, imageInfo->arraySize, 0, 0, in test_write_image_1D_array()
255 …ate 1D image array of size %ld x %ld pitch %ld (%s, %s)\n", imageInfo->width, imageInfo->arraySize, in test_write_image_1D_array()
268 size_t region[ 3 ] = { imageInfo->width, imageInfo->arraySize, 1 }; in test_write_image_1D_array()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dvulkan.vert27 layout(constant_id=222) const int arraySize = 4;
31 int a1[arraySize];
32 int a2[arraySize] = a1; // ERROR, can't use in initializer
49 float AofA0[2][arraySize];
50 float AofA1[arraySize][arraySize];
51 float AofA2[arraySize][2 + arraySize];
52 float AofA3[arraySize][2];
56 } bai1[2][arraySize];
60 } bai2[arraySize][2];
/external/deqp-deps/glslang/Test/
Dvulkan.vert27 layout(constant_id=222) const int arraySize = 4;
31 int a1[arraySize];
32 int a2[arraySize] = a1; // ERROR, can't use in initializer
49 float AofA0[2][arraySize];
50 float AofA1[arraySize][arraySize];
51 float AofA2[arraySize][2 + arraySize];
52 float AofA3[arraySize][2];
56 } bai1[2][arraySize];
60 } bai2[arraySize][2];
/external/skia/src/sksl/ir/
DSkSLInterfaceBlock.h34 int arraySize, std::shared_ptr<SymbolTable> typeOwner) in InterfaceBlock() argument
39 , fArraySize(arraySize) in InterfaceBlock()
62 int arraySize() const { in arraySize() function
68 this->instanceName(), this->arraySize(), in clone()
84 if (this->arraySize() > 0) { in description()
85 result.appendf("[%d]", this->arraySize()); in description()
86 } else if (this->arraySize() == Type::kUnsizedArray){ in description()
/external/deqp/modules/glshared/
DglsAttributeLocationTests.cpp641 string generateTestName (const AttribType& type, int arraySize) in generateTestName() argument
643 …return type.getName() + (arraySize != Attribute::NOT_ARRAY ? "_array_" + de::toString(arraySize) :… in generateTestName()
671 …onst AttribType& type, const string& name, deInt32 layoutLocation, const Cond& cond, int arraySize) in Attribute() argument
676 , m_arraySize (arraySize) in Attribute()
807 int arraySize) in BindAttributeTest() argument
808 …: TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize)… in BindAttributeTest()
811 , m_arraySize (arraySize) in BindAttributeTest()
832 int arraySize) in BindMaxAttributesTest() argument
833 …: TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize in BindMaxAttributesTest()
836 , m_arraySize (arraySize) in BindMaxAttributesTest()
[all …]
DglsAttributeLocationTests.hpp100 int arraySize = NOT_ARRAY);
140 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
159 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
178 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
197 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
215 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
233 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
305 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
323 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
341 int arraySize = AttributeLocationTestUtil::Attribute::NOT_ARRAY);
[all …]
/external/angle/src/tests/gl_tests/
DUniformBufferTest.cpp2030 const GLuint arraySize = getArraySize(); in TEST_P() local
2031 const GLuint floatCount = arraySize * kVectorPerMat * kFloatPerVector; in TEST_P()
2034 setArrayValues(floatData, 0, arraySize, 16, 0, 4, 4, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
2039 setArrayValues(floatData, 0, arraySize, 16, 0, 4, 4, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
2044 setArrayValues(floatData, arraySize / 4, arraySize / 2, 16, 0, 4, 4, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
2082 const GLuint arraySize = getArraySize(); in TEST_P() local
2083 const GLuint floatCount = arraySize * kVectorPerMat * kFloatPerVector; in TEST_P()
2086 setArrayValues(floatData, 0, arraySize, 16, 0, 4, 4, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
2091 setArrayValues(floatData, 0, arraySize, 16, 0, 4, 4, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
2096 setArrayValues(floatData, arraySize / 4, arraySize / 2, 16, 0, 4, 4, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
[all …]

1234567891011