| /external/deqp/android/cts/main/vk-main-2024-03-01/ |
| D | texture.txt | 47 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_linear_mipmap_linear_clamp 48 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_linear_mipmap_linear_repeat 49 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_linear_mipmap_nearest_clamp 50 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_linear_mipmap_nearest_repeat 51 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_nearest_mipmap_linear_clamp 52 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_nearest_mipmap_linear_repeat 53 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_nearest_mipmap_nearest_clamp 54 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_linear_nearest_mipmap_nearest_repeat 55 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_nearest_linear_mipmap_linear_clamp 56 dEQP-VK.texture.explicit_lod.2d.sizes.128x128_nearest_linear_mipmap_linear_repeat [all …]
|
| /external/deqp-deps/glslang/glslang/Include/ |
| D | arrays.h | 72 // TSmallArrayVector is used as the container for the set of sizes in TArraySizes. 79 // Almost all arrays could be handled by two sizes each fitting 81 // are more than 3 sizes or a size needing more than 16 bits. 85 TSmallArrayVector() : sizes(nullptr) { } in TSmallArrayVector() 91 if (from.sizes == nullptr) 92 sizes = nullptr; 95 *sizes = *from.sizes; 103 if (sizes == nullptr) in size() 105 return (int)sizes->size(); in size() 110 assert(sizes != nullptr && sizes->size() > 0); in frontSize() [all …]
|
| /external/angle/third_party/glslang/src/glslang/Include/ |
| D | arrays.h | 72 // TSmallArrayVector is used as the container for the set of sizes in TArraySizes. 79 // Almost all arrays could be handled by two sizes each fitting 81 // are more than 3 sizes or a size needing more than 16 bits. 85 TSmallArrayVector() : sizes(nullptr) { } in TSmallArrayVector() 91 if (from.sizes == nullptr) 92 sizes = nullptr; 95 *sizes = *from.sizes; 103 if (sizes == nullptr) in size() 105 return (int)sizes->size(); in size() 110 assert(sizes != nullptr && sizes->size() > 0); in frontSize() [all …]
|
| /external/zxing/core/src/test/java/com/google/zxing/datamatrix/encoder/ |
| D | HighLevelEncodeTestCase.java | 385 int[] sizes = new int[2]; in testSizes() local 386 encodeHighLevel("A", sizes); in testSizes() 387 assertEquals(3, sizes[0]); in testSizes() 388 assertEquals(3, sizes[1]); in testSizes() 390 encodeHighLevel("AB", sizes); in testSizes() 391 assertEquals(3, sizes[0]); in testSizes() 392 assertEquals(3, sizes[1]); in testSizes() 394 encodeHighLevel("ABC", sizes); in testSizes() 395 assertEquals(3, sizes[0]); in testSizes() 396 assertEquals(3, sizes[1]); in testSizes() [all …]
|
| /external/fonttools/Lib/fontTools/ |
| D | tfmLib.py | 182 sizes = SimpleNamespace() 183 unpack2(SIZES_FORMAT, data, sizes) 190 if sizes.lf < 0: 193 if len(data) < sizes.lf * 4: 196 for name, length in vars(sizes).items(): 200 if sizes.lh < 2: 201 raise TFMException(f"The header length is only {sizes.lh}!") 203 if sizes.bc > sizes.ec + 1 or sizes.ec > 255: 205 f"The character code range {sizes.bc}..{sizes.ec} is illegal!" 208 if sizes.nw == 0 or sizes.nh == 0 or sizes.nd == 0 or sizes.ni == 0: [all …]
|
| /external/OpenCL-CTS/test_conformance/gl/ |
| D | test_images_2D.cpp | 32 void calc_2D_test_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_2D_test_size_descriptors() argument 44 // Generate some random sizes (within reasonable ranges) in calc_2D_test_size_descriptors() 47 sizes[i].width = random_in_range(2, min(size, 1 << (i + 4)), seed); in calc_2D_test_size_descriptors() 48 sizes[i].height = random_in_range(2, min(size, 1 << (i + 4)), seed); in calc_2D_test_size_descriptors() 49 sizes[i].depth = 1; in calc_2D_test_size_descriptors() 53 void calc_cube_test_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_cube_test_size_descriptors() argument 62 // Generate some random sizes (within reasonable ranges) in calc_cube_test_size_descriptors() 65 sizes[i].width = sizes[i].height = in calc_cube_test_size_descriptors() 67 sizes[i].depth = 1; in calc_cube_test_size_descriptors() 80 sizevec_t sizes[nsizes]; in test_images_read_2D() local [all …]
|
| D | test_images_1D.cpp | 29 void calc_test_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_test_size_descriptors() argument 40 // Generate some random sizes (within reasonable ranges) in calc_test_size_descriptors() 43 sizes[i].width = random_in_range(2, min(size, 1 << (i + 4)), seed); in calc_test_size_descriptors() 44 sizes[i].height = 1; in calc_test_size_descriptors() 45 sizes[i].depth = 1; in calc_test_size_descriptors() 58 sizevec_t sizes[nsizes]; in test_images_read_1D() local 59 calc_test_size_descriptors(sizes, nsizes); in test_images_read_1D() 62 nformats, targets, ntargets, sizes, nsizes); in test_images_read_1D() 73 sizevec_t sizes[nsizes]; in test_images_write_1D() local 74 calc_test_size_descriptors(sizes, nsizes); in test_images_write_1D() [all …]
|
| D | test_images_depth.cpp | 33 void calc_depth_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_depth_size_descriptors() argument 44 // Generate some random sizes (within reasonable ranges) in calc_depth_size_descriptors() 47 sizes[i].width = random_in_range(2, min(size, 1 << (i + 4)), seed); in calc_depth_size_descriptors() 48 sizes[i].height = random_in_range(2, min(size, 1 << (i + 4)), seed); in calc_depth_size_descriptors() 49 sizes[i].depth = 1; in calc_depth_size_descriptors() 53 void calc_depth_array_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_depth_array_size_descriptors() argument 66 // Generate some random sizes (within reasonable ranges) in calc_depth_array_size_descriptors() 69 sizes[i].width = random_in_range(2, min(size, 1 << (i + 4)), seed); in calc_depth_array_size_descriptors() 70 sizes[i].height = random_in_range(2, min(size, 1 << (i + 4)), seed); in calc_depth_array_size_descriptors() 71 sizes[i].depth = in calc_depth_array_size_descriptors() [all …]
|
| D | test_images_multisample.cpp | 30 void calc_2D_multisample_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_2D_multisample_size_descriptors() argument 38 // Generate some random sizes (within reasonable ranges) in calc_2D_multisample_size_descriptors() 41 sizes[i].width = in calc_2D_multisample_size_descriptors() 43 sizes[i].height = in calc_2D_multisample_size_descriptors() 45 sizes[i].depth = 1; in calc_2D_multisample_size_descriptors() 49 void calc_2D_array_multisample_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_2D_array_multisample_size_descriptors() argument 58 // Generate some random sizes (within reasonable ranges) in calc_2D_array_multisample_size_descriptors() 61 sizes[i].width = in calc_2D_array_multisample_size_descriptors() 63 sizes[i].height = in calc_2D_array_multisample_size_descriptors() 65 sizes[i].depth = in calc_2D_array_multisample_size_descriptors() [all …]
|
| D | test_images_1Darray.cpp | 28 void calc_1D_array_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_1D_array_size_descriptors() argument 37 // Generate some random sizes (within reasonable ranges) in calc_1D_array_size_descriptors() 40 sizes[i].width = in calc_1D_array_size_descriptors() 42 sizes[i].height = in calc_1D_array_size_descriptors() 44 sizes[i].depth = 1; in calc_1D_array_size_descriptors() 57 sizevec_t sizes[nsizes]; in test_images_read_1Darray() local 58 calc_1D_array_size_descriptors(sizes, nsizes); in test_images_read_1Darray() 61 nformats, targets, ntargets, sizes, nsizes); in test_images_read_1Darray() 72 sizevec_t sizes[nsizes]; in test_images_write_1Darray() local 73 calc_1D_array_size_descriptors(sizes, nsizes); in test_images_write_1Darray() [all …]
|
| D | test_images_2Darray.cpp | 29 void calc_2D_array_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_2D_array_size_descriptors() argument 38 // Generate some random sizes (within reasonable ranges) in calc_2D_array_size_descriptors() 41 sizes[i].width = in calc_2D_array_size_descriptors() 43 sizes[i].height = in calc_2D_array_size_descriptors() 45 sizes[i].depth = in calc_2D_array_size_descriptors() 59 sizevec_t sizes[nsizes]; in test_images_read_2Darray() local 60 calc_2D_array_size_descriptors(sizes, nsizes); in test_images_read_2Darray() 63 nformats, targets, ntargets, sizes, nsizes); in test_images_read_2Darray() 76 sizevec_t sizes[nsizes]; in test_images_write_2Darray() local 77 calc_2D_array_size_descriptors(sizes, nsizes); in test_images_write_2Darray() [all …]
|
| D | test_images_3D.cpp | 32 void calc_3D_size_descriptors(sizevec_t* sizes, size_t nsizes) in calc_3D_size_descriptors() argument 40 // Generate some random sizes (within reasonable ranges) in calc_3D_size_descriptors() 43 sizes[i].width = in calc_3D_size_descriptors() 45 sizes[i].height = in calc_3D_size_descriptors() 47 sizes[i].depth = in calc_3D_size_descriptors() 61 sizevec_t sizes[nsizes]; in test_images_read_3D() local 62 calc_3D_size_descriptors(sizes, nsizes); in test_images_read_3D() 65 nformats, targets, ntargets, sizes, nsizes); in test_images_read_3D() 90 sizevec_t sizes[nsizes]; in test_images_write_3D() local 91 calc_3D_size_descriptors(sizes, nsizes); in test_images_write_3D() [all …]
|
| /external/skia/src/core/ |
| D | SkVertices.cpp | 41 struct SkVertices::Sizes { struct in SkVertices 42 Sizes(const Desc& desc) { in Sizes() argument 111 Sizes sizes(desc); in init() local 112 if (!sizes.isValid()) { in init() 117 void* storage = ::operator new (sizes.fTotal); in init() 118 if (sizes.fBuilderTriFanISize) { in init() 119 fIntermediateFanIndices.reset(new uint8_t[sizes.fBuilderTriFanISize]); in init() 134 fVertices->fPositions = (SkPoint*) advance(sizes.fVSize); in init() 135 fVertices->fTexs = (SkPoint*) advance(sizes.fTSize); in init() 136 fVertices->fColors = (SkColor*) advance(sizes.fCSize); in init() [all …]
|
| /external/tensorflow/tensorflow/python/kernel_tests/proto/ |
| D | proto_op_test_base.py | 55 test_case.sizes.append(0) 60 test_case.sizes.append(0) 65 test_case.sizes.append(0) 70 test_case.sizes.append(0) 75 test_case.sizes.append(0) 80 test_case.sizes.append(0) 85 test_case.sizes.append(0) 90 test_case.sizes.append(0) 95 test_case.sizes.append(0) 100 test_case.sizes.append(0) [all …]
|
| /external/python/cpython2/Lib/test/ |
| D | test_imgfile.py | 26 sizes = imgfile.getsizes(name) 37 sizes = imgfile.getsizes(name) 39 print 'Opening test image: %s, sizes: %s' % (name, str(sizes)) 54 imgfile.write (outputfile, image, sizes[0], sizes[1], sizes[2]) 58 print 'Opening scaled test image: %s, sizes: %s' % (name, str(sizes)) 60 # is scaled to the given x and y sizes. If the filter and blur 73 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'impulse', 2.0) 85 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'triangle', 3.0) 91 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'quadratic') 93 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'gaussian', 1.0) [all …]
|
| /external/linux-kselftest/tools/testing/selftests/arm64/mte/ |
| D | check_mmap_options.c | 28 static int sizes[] = { variable 64 int item = sizeof(sizes)/sizeof(int); in check_anonymous_memory_mapping() 66 item = sizeof(sizes)/sizeof(int); in check_anonymous_memory_mapping() 69 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping() 75 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[run]); in check_anonymous_memory_mapping() 77 ptr = mte_insert_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping() 83 result = check_mte_memory(ptr, sizes[run], mode, tag_check); in check_anonymous_memory_mapping() 84 mte_clear_tags((void *)ptr, sizes[run]); in check_anonymous_memory_mapping() 96 int total = sizeof(sizes)/sizeof(int); in check_file_memory_mapping() 105 map_size = sizes[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping() [all …]
|
| D | check_buffer_fill.c | 16 static int sizes[] = { variable 35 item = sizeof(sizes)/sizeof(int); in check_buffer_by_byte() 38 ptr = (char *)mte_allocate_memory(sizes[i], mem_type, 0, true); in check_buffer_by_byte() 39 if (check_allocated_memory(ptr, sizes[i], mem_type, true) != KSFT_PASS) in check_buffer_by_byte() 41 mte_initialize_current_context(mode, (uintptr_t)ptr, sizes[i]); in check_buffer_by_byte() 43 for (j = 0; j < sizes[i]; j++) in check_buffer_by_byte() 48 for (j = 0; j < sizes[i] && !err; j++) { in check_buffer_by_byte() 52 mte_free_memory((void *)ptr, sizes[i], mem_type, true); in check_buffer_by_byte() 72 item = sizeof(sizes)/sizeof(int); in check_buffer_underflow_by_byte() 74 ptr = (char *)mte_allocate_memory_tag_range(sizes[i], mem_type, 0, in check_buffer_underflow_by_byte() [all …]
|
| /external/tensorflow/tensorflow/python/ops/ |
| D | nn_xent_test.py | 43 def _Inputs(self, x=None, y=None, dtype=dtypes.float64, sizes=None): argument 47 sizes = sizes if sizes else [len(x)] 48 logits = constant_op.constant(x, shape=sizes, dtype=dtype, name="logits") 49 targets = constant_op.constant(y, shape=sizes, dtype=dtype, name="targets") 50 losses = np.array(self._SigmoidCrossEntropyWithLogits(x, y)).reshape(*sizes) 76 logits, targets, losses = self._Inputs(dtype=dtype, sizes=[2, 2, 2]) 85 sizes = [4, 2] 87 logits, targets, _ = self._Inputs(sizes=sizes) 90 err = gradient_checker.compute_gradient_error(logits, sizes, loss, sizes) 122 def _Inputs(self, x=None, y=None, q=3.0, dtype=dtypes.float64, sizes=None): argument [all …]
|
| /external/libdrm/radeon/ |
| D | radeon_cs_space.c | 42 static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct rad_sizes *sizes) in radeon_cs_setup_bo() argument 71 sizes->op_vram_write += bo->size; in radeon_cs_setup_bo() 73 sizes->op_gart_write += bo->size; in radeon_cs_setup_bo() 76 sizes->op_read += bo->size; in radeon_cs_setup_bo() 89 sizes->op_read -= bo->size; in radeon_cs_setup_bo() 90 sizes->op_vram_write += bo->size; in radeon_cs_setup_bo() 92 sizes->op_read -= bo->size; in radeon_cs_setup_bo() 93 sizes->op_gart_write += bo->size; in radeon_cs_setup_bo() 114 struct rad_sizes sizes; in radeon_cs_do_space_check() local 122 memset(&sizes, 0, sizeof(struct rad_sizes)); in radeon_cs_do_space_check() [all …]
|
| /external/tensorflow/tensorflow/core/framework/ |
| D | tracking_allocator_test.cc | 78 std::tuple<size_t, size_t, size_t> sizes = ta->GetSizes(); in TEST() local 80 EXPECT_EQ(16, std::get<0>(sizes)); in TEST() 81 EXPECT_EQ(0, std::get<1>(sizes)); in TEST() 82 EXPECT_EQ(0, std::get<2>(sizes)); in TEST() 102 sizes = ta->GetSizes(); in TEST() 104 EXPECT_LE(16, std::get<0>(sizes)); in TEST() 105 EXPECT_LE(12, std::get<1>(sizes)); in TEST() 106 EXPECT_LE(12, std::get<2>(sizes)); in TEST() 127 std::tuple<size_t, size_t, size_t> sizes = ta->GetSizes(); in TEST() local 129 EXPECT_EQ(16, std::get<0>(sizes)); in TEST() [all …]
|
| /external/eigen/bench/ |
| D | dense_solvers.cpp | 12 std::vector<Array2i> sizes; variable 104 sizes.push_back(Array2i(small,small)); in main() 105 sizes.push_back(Array2i(100,100)); in main() 106 sizes.push_back(Array2i(1000,1000)); in main() 107 sizes.push_back(Array2i(4000,4000)); in main() 108 sizes.push_back(Array2i(10000,small)); in main() 109 sizes.push_back(Array2i(10000,100)); in main() 110 sizes.push_back(Array2i(10000,1000)); in main() 111 sizes.push_back(Array2i(10000,4000)); in main() 115 for(int k=0; k<sizes.size(); ++k) in main() [all …]
|
| /external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
| D | TensorDimensions.h | 23 * The Sizes class encodes as part of the type the number of dimensions and the 24 * sizes corresponding to each dimension. It uses no storage space since it is 27 * at compile time but the sizes are set during execution. 93 struct Sizes { 107 EIGEN_DEVICE_FUNC Sizes() { } 109 explicit EIGEN_DEVICE_FUNC Sizes(const array<DenseIndex, Base::count>& /*indices*/) { 113 template <typename... DenseIndex> EIGEN_DEVICE_FUNC Sizes(DenseIndex...) { } 114 explicit EIGEN_DEVICE_FUNC Sizes(std::initializer_list<std::ptrdiff_t> /*l*/) { 119 template <typename T> Sizes& operator = (const T& /*other*/) { 140 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t array_prod(const Sizes<Indices...>&) { [all …]
|
| /external/igt-gpu-tools/tests/i915/ |
| D | gem_read_read_speed.c | 179 const int sizes[] = {1, 128, 256, 512, 1024, 2048, 4096, 8192, 0}; variable 205 for (i = 0; sizes[i] != 0; i++) { 206 igt_subtest_f("read-read-%dx%d", sizes[i], sizes[i]) 207 run(bufmgr, sizes[i], sizes[i], false, false); 208 igt_subtest_f("read-write-%dx%d", sizes[i], sizes[i]) 209 run(bufmgr, sizes[i], sizes[i], false, true); 210 igt_subtest_f("write-read-%dx%d", sizes[i], sizes[i]) 211 run(bufmgr, sizes[i], sizes[i], true, false); 212 igt_subtest_f("write-write-%dx%d", sizes[i], sizes[i]) 213 run(bufmgr, sizes[i], sizes[i], true, true);
|
| /external/cronet/build/lacros/ |
| D | lacros_resource_sizes.py | 73 """A group of build artifacts whose file sizes are summed and tracked. 83 track_stripped: Whether to also track summed stripped ELF sizes. 84 track_compressed: Whether to also track summed compressed sizes. 138 paths: A list of filenames or directory names to specify files whose sizes 199 """Measures |filename| sizes under various transforms. 201 Returns: A Counter (keyed by _Key_* constants) that stores measured sizes. 203 sizes = collections.Counter() 204 sizes[_KEY_RAW] = _get_filesize(filename) 205 sizes[_KEY_GZIPPED] = _get_gzipped_filesize(filename) 208 sizes[_KEY_STRIPPED] = sizes[_KEY_RAW] [all …]
|
| /external/angle/build/lacros/ |
| D | lacros_resource_sizes.py | 73 """A group of build artifacts whose file sizes are summed and tracked. 83 track_stripped: Whether to also track summed stripped ELF sizes. 84 track_compressed: Whether to also track summed compressed sizes. 138 paths: A list of filenames or directory names to specify files whose sizes 199 """Measures |filename| sizes under various transforms. 201 Returns: A Counter (keyed by _Key_* constants) that stores measured sizes. 203 sizes = collections.Counter() 204 sizes[_KEY_RAW] = _get_filesize(filename) 205 sizes[_KEY_GZIPPED] = _get_gzipped_filesize(filename) 208 sizes[_KEY_STRIPPED] = sizes[_KEY_RAW] [all …]
|