/third_party/python/Modules/_decimal/libmpdec/ |
D | transpose.c | 53 std_trans(mpd_uint_t dest[], mpd_uint_t src[], mpd_size_t rows, mpd_size_t cols) in std_trans() argument 59 isrc = r * cols; in std_trans() 61 for (c = 0; c < cols; c++) { in std_trans() 75 swap_halfrows_pow2(mpd_uint_t *matrix, mpd_size_t rows, mpd_size_t cols, int dir) in swap_halfrows_pow2() argument 88 assert(cols == mul_size_t(2, rows)); in swap_halfrows_pow2() 100 m = cols - 1; in swap_halfrows_pow2() 115 for (offset = 0; offset < cols/2; offset += b) { in swap_halfrows_pow2() 117 stride = (offset + b < cols/2) ? b : cols/2-offset; in swap_halfrows_pow2() 119 hp = matrix + hn*cols/2; in swap_halfrows_pow2() 124 hp = matrix + next*cols/2; in swap_halfrows_pow2() [all …]
|
/third_party/boost/boost/qvm/ |
D | mat_access.hpp | 32 BOOST_STATIC_ASSERT(C<mat_traits<M>::cols); in A() 46 BOOST_STATIC_ASSERT(C<mat_traits<M>::cols); in A() 52 …nst & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 0<mat_traits<M>::cols); return mat_traits… in A00() 53 …nst & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 1<mat_traits<M>::cols); return mat_traits… in A01() 54 …nst & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 2<mat_traits<M>::cols); return mat_traits… in A02() 55 …nst & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 3<mat_traits<M>::cols); return mat_traits… in A03() 56 …nst & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 4<mat_traits<M>::cols); return mat_traits… in A04() 57 …nst & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 5<mat_traits<M>::cols); return mat_traits… in A05() 58 …nst & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 6<mat_traits<M>::cols); return mat_traits… in A06() 59 …nst & a ) { BOOST_STATIC_ASSERT(0<mat_traits<M>::rows && 7<mat_traits<M>::cols); return mat_traits… in A07() [all …]
|
D | map_mat_mat.hpp | 63 static int const cols=mat_traits<OriginalMatrix>::cols; member 74 BOOST_QVM_STATIC_ASSERT(Col<cols); in read_element() 87 BOOST_QVM_STATIC_ASSERT(Col<cols); in write_element() 99 BOOST_QVM_ASSERT(col<cols); in read_element_idx() 111 BOOST_QVM_ASSERT(col<cols); in write_element_idx() 192 static int const cols=mat_traits<OriginalMatrix>::cols-1; member 203 BOOST_QVM_STATIC_ASSERT(Col<cols); in read_element() 216 BOOST_QVM_STATIC_ASSERT(Col<cols); in write_element() 228 BOOST_QVM_ASSERT(col<cols); in read_element_idx() 240 BOOST_QVM_ASSERT(col<cols); in write_element_idx() [all …]
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_bottlenecks.h | 56 uint32 cols, 66 uint32 cols, 76 uint32 cols, 88 uint32 cols, 101 uint32 cols, 114 uint32 cols, 127 uint32 cols, 140 uint32 cols, 153 uint32 cols, 166 uint32 cols, [all …]
|
D | dng_pixel_buffer.cpp | 549 uint32 cols = area.W (); in SetConstant() local 562 cols, in SetConstant() 574 if (rows == 1 && cols == 1 && dPlaneStep == 1 && value == 0) in SetConstant() 587 cols, in SetConstant() 602 if (rows == 1 && cols == 1 && dPlaneStep == 1 && value == 0) in SetConstant() 615 cols, in SetConstant() 630 if (rows == 1 && cols == 1 && dPlaneStep == 1 && value == 0) in SetConstant() 643 cols, in SetConstant() 718 uint32 cols = area.W (); in CopyArea() local 741 cols, in CopyArea() [all …]
|
D | dng_reference.h | 45 uint32 cols, 54 uint32 cols, 63 uint32 cols, 74 uint32 cols, 86 uint32 cols, 98 uint32 cols, 110 uint32 cols, 122 uint32 cols, 134 uint32 cols, 146 uint32 cols, [all …]
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | image_process_test.cc | 35 int cv_w = cv_mat.cols; in CompareMat() 113 …ret = InitFromPixel(rgba_mat.data, LPixelType::RGB, LDataType::UINT8, rgba_mat.cols, rgba_mat.rows… in TEST_F() 127 int width = rgba_mat.cols; in TEST_F() 178 …InitFromPixel(rgba_mat.data, LPixelType::RGBA2BGR, LDataType::UINT8, rgba_mat.cols, rgba_mat.rows,… in TEST_F() 196 imIn.Init(rgb_mat.cols, rgb_mat.rows, rgb_mat.channels(), rgb_mat.data, LDataType::UINT8); in TEST_F() 239 …InitFromPixel(rgba_mat.data, LPixelType::RGBA2GRAY, LDataType::UINT8, rgba_mat.cols, rgba_mat.rows… in TEST_F() 243 int total_size = gray_image.cols * gray_image.rows * gray_image.channels(); in TEST_F() 306 …InitFromPixel(rgba_mat.data, LPixelType::RGBA2BGR, LDataType::UINT8, rgba_mat.cols, rgba_mat.rows,… in TEST_F() 332 …InitFromPixel(rgba_mat.data, LPixelType::RGBA2BGR, LDataType::UINT8, rgba_mat.cols, rgba_mat.rows,… in TEST_F() 354 …InitFromPixel(rgba_mat.data, LPixelType::RGBA2BGR, LDataType::UINT8, rgba_mat.cols, rgba_mat.rows,… in TEST_F() [all …]
|
/third_party/boost/libs/numeric/odeint/test_external/eigen/ |
D | resize.cpp | 41 BOOST_CHECK_EQUAL( a.cols() , 1 ); in BOOST_AUTO_TEST_CASE() 50 BOOST_CHECK_EQUAL( a.cols() , 2 ); in BOOST_AUTO_TEST_CASE() 52 BOOST_CHECK_EQUAL( b.cols() , 0 ); in BOOST_AUTO_TEST_CASE() 58 BOOST_CHECK_EQUAL( a.cols() , 2 ); in BOOST_AUTO_TEST_CASE() 60 BOOST_CHECK_EQUAL( b.cols() , 2 ); in BOOST_AUTO_TEST_CASE() 71 BOOST_CHECK_EQUAL( a.cols() , 2 ); in BOOST_AUTO_TEST_CASE() 73 BOOST_CHECK_EQUAL( b.cols() , 3 ); in BOOST_AUTO_TEST_CASE() 79 BOOST_CHECK_EQUAL( a.cols() , 2 ); in BOOST_AUTO_TEST_CASE() 81 BOOST_CHECK_EQUAL( b.cols() , 2 ); in BOOST_AUTO_TEST_CASE() 98 BOOST_CHECK_EQUAL( a.cols() , 1 ); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/boost/qvm/gen/ |
D | mat_operations2.hpp | 28 mat_traits<A>::cols==2 && mat_traits<B>::cols==2, 34 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==2); in operator +() 67 mat_traits<A>::cols==1 && mat_traits<B>::cols==1, 73 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==1); in operator +() 104 mat_traits<A>::cols==2 && mat_traits<B>::cols==2, 110 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==2); in operator +() 141 mat_traits<A>::cols==2 && mat_traits<B>::cols==2, 147 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==2); in operator -() 180 mat_traits<A>::cols==1 && mat_traits<B>::cols==1, 186 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==1); in operator -() [all …]
|
D | mat_operations3.hpp | 30 mat_traits<A>::cols==3 && mat_traits<B>::cols==3, 36 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==3); in operator +() 74 mat_traits<A>::cols==1 && mat_traits<B>::cols==1, 80 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==1); in operator +() 112 mat_traits<A>::cols==3 && mat_traits<B>::cols==3, 118 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==3); in operator +() 150 mat_traits<A>::cols==3 && mat_traits<B>::cols==3, 156 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==3); in operator -() 194 mat_traits<A>::cols==1 && mat_traits<B>::cols==1, 200 BOOST_QVM_STATIC_ASSERT(mat_traits<R>::cols==1); in operator -() [all …]
|
/third_party/node/deps/npm/node_modules/cli-columns/ |
D | test.js | 7 const cols = columns(['foo', ['bar', 'baz'], ['bar', 'qux']], { constant 18 t.is(cols, expected); 22 const cols = columns(['foo', ['bar', 'baz'], ['bat', 'qux']], { constant 30 t.is(cols, expected); 34 const cols = columns( constant 53 t.is(stripAnsi(cols), expected); 57 const cols = columns( constant 77 t.is(stripAnsi(cols), expected);
|
/third_party/flutter/skia/third_party/externals/sdl/src/render/ |
D | SDL_yuv_mmx.c | 82 int rows, int cols, int mod ) in ColorRGBDitherYV12MMX1X() argument 87 unsigned char* y = lum +cols*rows; /* Pointer to the end */ in ColorRGBDitherYV12MMX1X() 90 row2 = (Uint32 *)out+cols+mod; /* start of second row */ in ColorRGBDitherYV12MMX1X() 91 mod = (mod+cols+mod)*4; /* increment for row1 in byte */ in ColorRGBDitherYV12MMX1X() 235 "r"(row1),"r"(cols),"r"(row2),"m"(x),"m"(y),"m"(mod), in ColorRGBDitherYV12MMX1X() 245 int rows, int cols, int mod ) in Color565DitherYV12MMX1X() argument 250 unsigned char* y = lum +cols*rows; /* Pointer to the end */ in Color565DitherYV12MMX1X() 253 row2 = (Uint16 *)out+cols+mod; /* start of second row */ in Color565DitherYV12MMX1X() 254 mod = (mod+cols+mod)*2; /* increment for row1 in byte */ in Color565DitherYV12MMX1X() 420 "r"(row1),"r"(cols),"r"(row2),"m"(x),"m"(y),"m"(mod), in Color565DitherYV12MMX1X()
|
D | SDL_yuv_sw.c | 97 int rows, int cols, int mod); 101 int rows, int cols, int mod); 108 int rows, int cols, int mod) in Color16DitherYV12Mod1X() argument 117 int cols_2 = cols / 2; in Color16DitherYV12Mod1X() 120 row2 = row1 + cols + mod; in Color16DitherYV12Mod1X() 121 lum2 = lum + cols; in Color16DitherYV12Mod1X() 123 mod += cols + mod; in Color16DitherYV12Mod1X() 167 lum += cols; in Color16DitherYV12Mod1X() 168 lum2 += cols; in Color16DitherYV12Mod1X() 178 int rows, int cols, int mod) in Color24DitherYV12Mod1X() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmCompositeInsertTests.cpp | 49 string getMatrixType (deUint32 cols, deUint32 rows) in getMatrixType() argument 51 return string("%mat") + de::toString(cols) + "v" + de::toString(rows) + "f"; in getMatrixType() 54 string getMatrixDeclarations (deUint32 cols, deUint32 rows, bool skipColDecl = false) in getMatrixDeclarations() argument 58 string matType = getMatrixType(cols, rows); in getMatrixDeclarations() 59 …tring(" ") + matType + " = OpTypeMatrix " + colType + " " + de::toString(cols) + "\n"; in getMatrixDeclarations() 65 string getIdentityVectors (deUint32 cols, deUint32 rows) in getIdentityVectors() argument 69 for (deUint32 c = 0; c < cols; c++) in getIdentityVectors() 100 string getMatrixCompositeInserts (deUint32 cols, deUint32 rows, bool useUndef) in getMatrixCompositeInserts() argument 102 string matType = getMatrixType(cols, rows); in getMatrixCompositeInserts() 110 for (deUint32 c = 0; c < cols; c++) in getMatrixCompositeInserts() [all …]
|
/third_party/boost/boost/qvm/detail/ |
D | mat_assign.hpp | 39 … mat_traits<A>::template write_element<I/mat_traits<A>::cols,I%mat_traits<A>::cols>(a) = in f() 40 … mat_traits<B>::template read_element<I/mat_traits<B>::cols,I%mat_traits<B>::cols>(b); in f() 64 mat_traits<A>::cols==mat_traits<B>::cols && 65 !qvm_detail::assign_mm_defined<mat_traits<A>::rows,mat_traits<A>::cols>::value, 69 qvm_detail::copy_matrix_elements<0,mat_traits<A>::rows*mat_traits<A>::cols>::f(a,b); in assign()
|
/third_party/ffmpeg/libavcodec/ |
D | dynamic_hdr10_plus.c | 86 int rows, cols; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() local 90 cols = get_bits(gb, 5); in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 91 if (((rows < 2) || (rows > 25)) || ((cols < 2) || (cols > 25))) { in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 95 s->num_cols_targeted_system_display_actual_peak_luminance = cols; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 97 if (get_bits_left(gb) < (rows * cols * 4)) in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 101 for (int j = 0; j < cols; j++) { in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 139 int rows, cols; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() local 143 cols = get_bits(gb, 5); in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 144 if (((rows < 2) || (rows > 25)) || ((cols < 2) || (cols > 25))) { in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() 148 s->num_cols_mastering_display_actual_peak_luminance = cols; in ff_parse_itu_t_t35_to_dynamic_hdr10_plus() [all …]
|
D | c93.c | 107 int height, int bpp, uint8_t cols[4], uint8_t grps[4], uint32_t col) in draw_n_color() 112 cols[0] = grps[3 * (y >> 1)]; in draw_n_color() 115 cols[1]= grps[(x >> 1) + 1]; in draw_n_color() 116 out[x + y*stride] = cols[col & ((1 << bpp) - 1)]; in draw_n_color() 159 uint8_t cols[4], grps[4]; in decode_frame() local 194 bytestream2_get_buffer(&gb, cols, 2); in decode_frame() 196 draw_n_color(out + i*stride, stride, 8, 1, 1, cols, in decode_frame() 208 bytestream2_get_buffer(&gb, cols, 2); in decode_frame() 210 1, cols, NULL, bytestream2_get_le16(&gb)); in decode_frame() 212 bytestream2_get_buffer(&gb, cols, 4); in decode_frame() [all …]
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | type_trait.hpp | 47 static length_t const cols = 0; member 108 cols = 2, enumerator 122 cols = 2, enumerator 136 cols = 2, enumerator 150 cols = 3, enumerator 164 cols = 3, enumerator 178 cols = 3, enumerator 192 cols = 4, enumerator 206 cols = 4, enumerator 220 cols = 4, enumerator
|
/third_party/node/deps/npm/node_modules/mute-stream/coverage/lcov-report/ |
D | sorter.js | 3 var cols, 22 cols = [], 33 cols.push(col); 39 return cols; 52 col = cols[i]; 72 var key = cols[index].key, 118 var col = cols[i]; 133 for (i =0 ; i < cols.length; i += 1) { 134 if (cols[i].sortable) { 151 cols = loadColumns(); [all …]
|
/third_party/node/deps/npm/node_modules/unique-filename/coverage/ |
D | sorter.js | 3 var cols, 22 cols = [], 33 cols.push(col); 39 return cols; 52 col = cols[i]; 72 var key = cols[index].key, 118 var col = cols[i]; 133 for (i =0 ; i < cols.length; i += 1) { 134 if (cols[i].sortable) { 149 cols = loadColumns(); [all …]
|
/third_party/libsnd/regtest/ |
D | database.c | 287 int err, ekey = 0, rows, cols ; in get_ekey_from_filename() local 293 err = sqlite3_get_table (db->sql, db->cmdbuf, &result, &rows, &cols, &errmsg) ; in get_ekey_from_filename() 299 if (cols != 1 || rows != 1) in get_ekey_from_filename() 300 { printf ("Bad juju!! rows = %d cols = %d\n", rows, cols) ; in get_ekey_from_filename() 314 int err, rows, cols ; in get_filename_pathname_by_ekey() local 318 err = sqlite3_get_table (db->sql, db->cmdbuf, &result, &rows, &cols, &errmsg) ; in get_filename_pathname_by_ekey() 325 if (cols != 2 || rows != 1) in get_filename_pathname_by_ekey() 326 { printf ("\nError (%s %d) : rows = %d cols = %d\n", __func__, __LINE__, rows, cols) ; in get_filename_pathname_by_ekey() 343 int err, k, rows, cols, checksum ; in check_file_by_ekey() local 365 err = sqlite3_get_table (db->sql, db->cmdbuf, &result, &rows, &cols, &errmsg) ; in check_file_by_ekey() [all …]
|
/third_party/boost/libs/compute/example/ |
D | matrix_transpose.cpp | 197 void generate_matrix(std::vector<float>& in, std::vector<float>& out, uint_ rows, uint_ cols) in generate_matrix() argument 201 for(uint_ j = 0 ; j < cols ; ++j){ in generate_matrix() 202 in[i*cols + j] = i*cols + j; in generate_matrix() 207 for(uint_ j = 0; j < cols ; ++j){ in generate_matrix() 209 out[j*rows + i] = in[i*cols + j]; in generate_matrix() 242 const uint_ cols = vm["cols"].as<uint_>(); in main() local 249 std::cout << "Matrix Size: " << rows << "x" << cols << std::endl; in main() 250 std::cout << "Grid Size: " << rows/TILE_DIM << "x" << cols/TILE_DIM << " blocks" << std::endl; in main() 262 const size_t global_work_size[2] = {rows, cols*BLOCK_ROWS/TILE_DIM}; in main() 266 const uint_ size = rows * cols; in main() [all …]
|
/third_party/boost/libs/yap/example/ |
D | self_evaluation.cpp | 24 matrix(int rows, int cols) : values_(rows * cols), rows_(rows), cols_(cols) in matrix() 27 assert(0 < cols); in matrix() 31 int cols() const { return cols_; } in cols() function 48 for (int j = 0; j < retval.cols(); ++j) { in operator *() 59 assert(lhs.cols() == rhs.cols()); in operator +() 62 for (int j = 0; j < retval.cols(); ++j) { in operator +() 76 assert(x.cols() == y.cols()); in daxpy() 78 for (int j = 0; j < y.cols(); ++j) { in daxpy()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_libopencv.c | 144 static int read_shape_from_file(int *cols, int *rows, int **values, const char *filename, in read_shape_from_file() argument 164 *cols = FFMAX(*cols, w); in read_shape_from_file() 172 if (*rows > (SIZE_MAX / sizeof(int) / *cols)) { in read_shape_from_file() 174 *rows, *cols); in read_shape_from_file() 178 if (!(*values = av_mallocz_array(sizeof(int) * *rows, *cols))) { in read_shape_from_file() 192 (*values)[*cols*i + j] = !!av_isgraph(*(p++)); in read_shape_from_file() 202 if (!(line = av_malloc(*cols + 1))) in read_shape_from_file() 205 for (j = 0; j < *cols; j++) in read_shape_from_file() 206 line[j] = (*values)[i * *cols + j] ? '@' : ' '; in read_shape_from_file() 220 int cols = 0, rows = 0, anchor_x = 0, anchor_y = 0, shape = CV_SHAPE_RECT; in parse_iplconvkernel() local [all …]
|
/third_party/jerryscript/tools/vera++/scripts/rules/ |
D | jerry_braces_same_line_or_column.tcl | 20 set cols {} 47 lappend cols $col_num 51 if {[lindex $lines end] != $line_num && [lindex $cols end] != $col_num} { 55 set cols [lreplace $cols end end]
|