Home
last modified time | relevance | path

Searched refs:cols (Results 1 – 25 of 227) sorted by relevance

12345678910

/third_party/python/Modules/_decimal/libmpdec/
Dtranspose.c53 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/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_solve_upper_triangular_f32.c77 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f32() local
80 cols = dst->numCols; in arm_mat_solve_upper_triangular_f32()
96 for(j=0; j+3 < cols; j +=4) in arm_mat_solve_upper_triangular_f32()
98 vecA = vld1q_f32(&pA[i * cols + j]); in arm_mat_solve_upper_triangular_f32()
102 vecX = vld1q_f32(&pX[cols*k+j]); in arm_mat_solve_upper_triangular_f32()
115 vst1q(&pX[i*cols+j],vecA); in arm_mat_solve_upper_triangular_f32()
118 for(; j < cols; j ++) in arm_mat_solve_upper_triangular_f32()
124 float32_t tmp=a_col[i * cols]; in arm_mat_solve_upper_triangular_f32()
128 tmp -= ut_row[k] * pX[cols*k+j]; in arm_mat_solve_upper_triangular_f32()
136 pX[i*cols+j] = tmp; in arm_mat_solve_upper_triangular_f32()
[all …]
Darm_mat_solve_lower_triangular_f32.c84 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f32() local
87 cols = dst->numCols; in arm_mat_solve_lower_triangular_f32()
104 for(j=0; j+3 < cols; j += 4) in arm_mat_solve_lower_triangular_f32()
106 vecA = vld1q_f32(&pA[i * cols + j]); in arm_mat_solve_lower_triangular_f32()
110 vecX = vld1q_f32(&pX[cols*k+j]); in arm_mat_solve_lower_triangular_f32()
121 vst1q(&pX[i*cols+j],vecA); in arm_mat_solve_lower_triangular_f32()
125 for(; j < cols; j ++) in arm_mat_solve_lower_triangular_f32()
130 float32_t tmp=a_col[i * cols]; in arm_mat_solve_lower_triangular_f32()
134 tmp -= lt_row[k] * pX[cols*k+j]; in arm_mat_solve_lower_triangular_f32()
142 pX[i*cols+j] = tmp; in arm_mat_solve_lower_triangular_f32()
[all …]
Darm_mat_solve_lower_triangular_f64.c81 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f64() local
84 cols = dst->numCols; in arm_mat_solve_lower_triangular_f64()
101 for(j=0; j+1 < cols; j += 2) in arm_mat_solve_lower_triangular_f64()
103 vecA = vld1q_f64(&pA[i * cols + j]); in arm_mat_solve_lower_triangular_f64()
107 vecX = vld1q_f64(&pX[cols*k+j]); in arm_mat_solve_lower_triangular_f64()
118 vst1q_f64(&pX[i*cols+j],vecA); in arm_mat_solve_lower_triangular_f64()
122 for(; j < cols; j ++) in arm_mat_solve_lower_triangular_f64()
127 float64_t tmp=a_col[i * cols]; in arm_mat_solve_lower_triangular_f64()
131 tmp -= lt_row[k] * pX[cols*k+j]; in arm_mat_solve_lower_triangular_f64()
139 pX[i*cols+j] = tmp; in arm_mat_solve_lower_triangular_f64()
[all …]
Darm_mat_solve_lower_triangular_f16.c85 int i,j,k,n,cols; in arm_mat_solve_lower_triangular_f16() local
88 cols = dst->numCols; in arm_mat_solve_lower_triangular_f16()
105 for(j=0; j+7 < cols; j += 8) in arm_mat_solve_lower_triangular_f16()
107 vecA = vld1q_f16(&pA[i * cols + j]); in arm_mat_solve_lower_triangular_f16()
111 vecX = vld1q_f16(&pX[cols*k+j]); in arm_mat_solve_lower_triangular_f16()
122 vst1q(&pX[i*cols+j],vecA); in arm_mat_solve_lower_triangular_f16()
126 for(; j < cols; j ++) in arm_mat_solve_lower_triangular_f16()
131 _Float16 tmp=a_col[i * cols]; in arm_mat_solve_lower_triangular_f16()
135 tmp -= (_Float16)lt_row[k] * (_Float16)pX[cols*k+j]; in arm_mat_solve_lower_triangular_f16()
143 pX[i*cols+j] = tmp; in arm_mat_solve_lower_triangular_f16()
[all …]
Darm_mat_solve_upper_triangular_f64.c74 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f64() local
77 cols = dst->numCols; in arm_mat_solve_upper_triangular_f64()
93 for(j=0; j+1 < cols; j +=2) in arm_mat_solve_upper_triangular_f64()
95 vecA = vld1q_f64(&pA[i * cols + j]); in arm_mat_solve_upper_triangular_f64()
99 vecX = vld1q_f64(&pX[cols*k+j]); in arm_mat_solve_upper_triangular_f64()
112 vst1q_f64(&pX[i*cols+j],vecA); in arm_mat_solve_upper_triangular_f64()
115 for(; j < cols; j ++) in arm_mat_solve_upper_triangular_f64()
121 float64_t tmp=a_col[i * cols]; in arm_mat_solve_upper_triangular_f64()
125 tmp -= ut_row[k] * pX[cols*k+j]; in arm_mat_solve_upper_triangular_f64()
133 pX[i*cols+j] = tmp; in arm_mat_solve_upper_triangular_f64()
[all …]
Darm_mat_solve_upper_triangular_f16.c80 int i,j,k,n,cols; in arm_mat_solve_upper_triangular_f16() local
83 cols = dst->numCols; in arm_mat_solve_upper_triangular_f16()
99 for(j=0; j+7 < cols; j +=8) in arm_mat_solve_upper_triangular_f16()
101 vecA = vld1q_f16(&pA[i * cols + j]); in arm_mat_solve_upper_triangular_f16()
105 vecX = vld1q_f16(&pX[cols*k+j]); in arm_mat_solve_upper_triangular_f16()
118 vst1q(&pX[i*cols+j],vecA); in arm_mat_solve_upper_triangular_f16()
121 for(; j < cols; j ++) in arm_mat_solve_upper_triangular_f16()
127 _Float16 tmp=a_col[i * cols]; in arm_mat_solve_upper_triangular_f16()
131 tmp -= (_Float16)ut_row[k] * (_Float16)pX[cols*k+j]; in arm_mat_solve_upper_triangular_f16()
139 pX[i*cols+j] = tmp; in arm_mat_solve_upper_triangular_f16()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_bottlenecks.h56 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 …]
Ddng_pixel_buffer.cpp549 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 …]
Ddng_reference.h45 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 …]
Ddng_reference.cpp87 uint32 cols, in RefSetArea8() argument
99 for (uint32 col = 0; col < cols; col++) in RefSetArea8()
128 uint32 cols, in RefSetArea16() argument
140 for (uint32 col = 0; col < cols; col++) in RefSetArea16()
169 uint32 cols, in RefSetArea32() argument
181 for (uint32 col = 0; col < cols; col++) in RefSetArea32()
210 uint32 cols, in RefCopyArea8() argument
226 for (uint32 col = 0; col < cols; col++) in RefCopyArea8()
259 uint32 cols, in RefCopyArea16() argument
275 for (uint32 col = 0; col < cols; col++) in RefCopyArea16()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCompositeInsertTests.cpp49 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/node/deps/npm/node_modules/cli-columns/
Dtest.js27 const cols = columns(['foo', ['bar', 'baz'], ['bar', 'qux']], { constant
38 t.equal(cols, expected);
43 const cols = columns(['foo', ['bar', 'baz'], ['bat', 'qux']], { constant
51 t.equal(cols, expected);
56 const cols = columns( constant
75 t.equal(stripAnsi(cols), expected);
80 const cols = columns( constant
100 t.equal(stripAnsi(cols), expected);
/third_party/libsnd/regtest/
Ddatabase.c287 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/ffmpeg/libavcodec/
Ddynamic_hdr10_plus.c86 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 …]
Dc93.c107 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/
Dtype_trait.hpp47 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/ffmpeg/libavfilter/
Dvf_libopencv.c144 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/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeCooperativeMatrixTests.cpp310 string rows, cols; in initPrograms() member
317 dims[0].cols = "K"; in initPrograms()
319 dims[1].cols = "N"; in initPrograms()
321 dims[2].cols = "N"; in initPrograms()
323 dims[3].cols = "N"; in initPrograms()
328 dims[0].cols = "N"; in initPrograms()
330 dims[1].cols = "N"; in initPrograms()
332 dims[2].cols = "N"; in initPrograms()
334 dims[3].cols = "N"; in initPrograms()
363 …css << "shared " << typeStrA << " sharedA[" << dims[0].rows << " * " << dims[0].cols << " * subgro… in initPrograms()
[all …]
/third_party/jerryscript/tools/vera++/scripts/rules/
Djerry_braces_same_line_or_column.tcl20 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]
/third_party/skia/third_party/externals/tint/src/transform/
Dvectorize_scalar_matrix_constructors_test.cc31 uint32_t cols = GetParam().first; in TEST_P() local
34 "mat" + std::to_string(cols) + "x" + std::to_string(rows) + "<f32>"; in TEST_P()
38 for (uint32_t c = 0; c < cols; c++) { in TEST_P()
72 uint32_t cols = GetParam().first; in TEST_P() local
75 "mat" + std::to_string(cols) + "x" + std::to_string(rows) + "<f32>"; in TEST_P()
78 for (uint32_t c = 0; c < cols; c++) { in TEST_P()
/third_party/skia/modules/particles/src/
DSkParticleDrawable.cpp115 int cols = 1, int rows = 1) in SkImageDrawable() argument
118 , fCols(cols) in SkImageDrawable()
125 int cols = std::max(fCols, 1), in REFLECTED() local
127 SkRect baseRect = SkRect::MakeWH(static_cast<float>(fImage->width()) / cols, in REFLECTED()
132 int frameCount = cols * rows; in REFLECTED()
137 int row = frame / cols; in REFLECTED()
138 int col = frame % cols; in REFLECTED()
186 int cols, int rows) { in MakeImage() argument
187 return sk_sp<SkParticleDrawable>(new SkImageDrawable(imagePath, imageName, cols, rows)); in MakeImage()
/third_party/skia/gm/
Dfontscalerdistortable.cpp48 inline static constexpr int cols = 5; member in skiagm::FontScalerDistortableGM
49 sk_sp<SkTypeface> typeface[rows][cols];
71 for (int col = 0; col < cols; ++col) { in onOnceBeforeDraw()
73 SkScalar(row * cols + col) / (rows * cols)); in onOnceBeforeDraw()
106 for (int col = 0; col < cols; ++col) { in onDraw()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Ddo-plot32 if ! cols=$(grep "#[ ]*COLUMNS" $FILE)
38 cols=$(echo $cols | sed 's/#//')
39 columns=$(echo $cols | awk '{print $2;}')
43 column[$count]=$(echo $cols | awk -vcount=$count '{print $(2 + count);}')
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
Ddo-plot32 if ! cols=$(grep "#[ ]*COLUMNS" $FILE)
38 cols=$(echo $cols | sed 's/#//')
39 columns=$(echo $cols | awk '{print $2;}')
43 column[$count]=$(echo $cols | awk -vcount=$count '{print $(2 + count);}')

12345678910