/third_party/ffmpeg/libavcodec/alpha/ |
H A D | simple_idct_alpha.c | 154 static inline void idct_col(int16_t *col) in idct_col() argument 158 col[0] += (1 << (COL_SHIFT - 1)) / W4; in idct_col() 160 a0 = W4 * col[8 * 0]; in idct_col() 161 a1 = W4 * col[8 * 0]; in idct_col() 162 a2 = W4 * col[8 * 0]; in idct_col() 163 a3 = W4 * col[8 * 0]; in idct_col() 165 if (col[8 * 2]) { in idct_col() 166 a0 += W2 * col[8 * 2]; in idct_col() 167 a1 += W6 * col[8 * 2]; in idct_col() 168 a2 -= W6 * col[ in idct_col() 231 idct_col2(int16_t *col) idct_col2() argument [all...] |
/third_party/ltp/testcases/kernel/irq/ |
H A D | irqbalance01.c | 94 size_t row, col, len; in collect_irq_info() local 139 row = col = 0; in collect_irq_info() 148 irq_stats[row * nr_cpus + col] = acc; in collect_irq_info() 150 col++; in collect_irq_info() 156 col = 0; in collect_irq_info() 167 if (acc == -1 || col != 0) in collect_irq_info() 182 for (col = 0; col < nr_cpus; col++) { in collect_irq_info() 186 cpu_total += irq_stats[row * nr_cpus + col]; in collect_irq_info() 240 size_t row, col; print_irq_info() local 273 size_t row, col, changed = 0; evidence_of_change() local [all...] |
/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/ |
H A D | QRUtil.js | 167 var col = 0; variable 174 for (col = 0; col < moduleCount; col++) { 177 var dark = qrCode.isDark(row, col); 187 if (col + c < 0 || moduleCount <= col + c) { 195 if (dark === qrCode.isDark(row + r, col + c) ) { 210 for (col = 0; col < moduleCoun [all...] |
H A D | index.js | 42 isDark : function(row, col) { 43 if (row < 0 || this.moduleCount <= row || col < 0 || this.moduleCount <= col) { 44 throw new Error(row + "," + col); 46 return this.modules[row][col]; 89 for (var col = 0; col < this.moduleCount; col++) { 90 this.modules[row][col] = null;//(col [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuMatrix.hpp | 68 inline const T& operator() (int row, int col) const { return m_data[col][row]; } in operator ()() 69 inline T& operator() (int row, int col) { return m_data[col][row]; } in operator ()() argument 321 for (int col = 0; col < Cols; col++) in Matrix() 322 (*this)(row, col) = (row == col) ? T(1) : T(0); in Matrix() 330 for (int col in Matrix() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_reference.cpp | 99 for (uint32 col = 0; col < cols; col++) in RefSetArea8() 140 for (uint32 col = 0; col < cols; col++) in RefSetArea16() 181 for (uint32 col = 0; col < cols; col++) in RefSetArea32() 226 for (uint32 col in RefCopyArea8() 1894 uint32 col; RefResampleDown32() local [all...] |
H A D | dng_pixel_buffer.h | 126 int32 col, in InternalPixel() 132 col < fArea.l || col >= fArea.r || in InternalPixel() 142 static_cast<int64> (col) - static_cast<int64> (fArea.l)); in InternalPixel() 229 /// \param col Start column for buffer pointer. 234 int32 col, in ConstPixel() 238 return InternalPixel (row, col, plane); in ConstPixel() 244 /// \param col Start column for buffer pointer. 249 int32 col, in DirtyPixel() 255 return InternalPixel (row, col, plan in DirtyPixel() 125 InternalPixel(int32 row, int32 col, uint32 plane = 0) const InternalPixel() argument 233 ConstPixel(int32 row, int32 col, uint32 plane = 0) const ConstPixel() argument 248 DirtyPixel(int32 row, int32 col, uint32 plane = 0) DirtyPixel() argument 265 ConstPixel_uint8(int32 row, int32 col, uint32 plane = 0) const ConstPixel_uint8() argument 282 DirtyPixel_uint8(int32 row, int32 col, uint32 plane = 0) DirtyPixel_uint8() argument 299 ConstPixel_int8(int32 row, int32 col, uint32 plane = 0) const ConstPixel_int8() argument 316 DirtyPixel_int8(int32 row, int32 col, uint32 plane = 0) DirtyPixel_int8() argument 333 ConstPixel_uint16(int32 row, int32 col, uint32 plane = 0) const ConstPixel_uint16() argument 350 DirtyPixel_uint16(int32 row, int32 col, uint32 plane = 0) DirtyPixel_uint16() argument 367 ConstPixel_int16(int32 row, int32 col, uint32 plane = 0) const ConstPixel_int16() argument 384 DirtyPixel_int16(int32 row, int32 col, uint32 plane = 0) DirtyPixel_int16() argument 401 ConstPixel_uint32(int32 row, int32 col, uint32 plane = 0) const ConstPixel_uint32() argument 418 DirtyPixel_uint32(int32 row, int32 col, uint32 plane = 0) DirtyPixel_uint32() argument 435 ConstPixel_int32(int32 row, int32 col, uint32 plane = 0) const ConstPixel_int32() argument 452 DirtyPixel_int32(int32 row, int32 col, uint32 plane = 0) DirtyPixel_int32() argument 469 ConstPixel_real32(int32 row, int32 col, uint32 plane = 0) const ConstPixel_real32() argument 486 DirtyPixel_real32(int32 row, int32 col, uint32 plane = 0) DirtyPixel_real32() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | lcldec.c | 171 int row, col; in decode_frame() local 309 for (col = 1; col < width; col++) { in decode_frame() 321 for (col = 0; col < width/4; col++) { in decode_frame() 338 for (col = 0; col < width/4; col in decode_frame() [all...] |
H A D | simple_idct_template.c | 212 a0 = (SUINT)W4 * (col[8*0] + ((1<<(COL_SHIFT-1))/W4)); \ 217 a0 += (SUINT) W2*col[8*2]; \ 218 a1 += (SUINT) W6*col[8*2]; \ 219 a2 += (SUINT)-W6*col[8*2]; \ 220 a3 += (SUINT)-W2*col[8*2]; \ 222 b0 = MUL(W1, col[8*1]); \ 223 b1 = MUL(W3, col[8*1]); \ 224 b2 = MUL(W5, col[8*1]); \ 225 b3 = MUL(W7, col[8*1]); \ 227 MAC(b0, W3, col[ 262 idctSparseCol_extrashift(int16_t *col) global() argument [all...] |
H A D | interplayacm.c | 118 static int zero(InterplayACMContext *s, unsigned ind, unsigned col) in zero() argument 123 set_pos(s, i, col, 0); in zero() 127 static int bad(InterplayACMContext *s, unsigned ind, unsigned col) in bad() argument 132 static int linear(InterplayACMContext *s, unsigned ind, unsigned col) in linear() argument 140 set_pos(s, i, col, b - middle); in linear() 145 static int k13(InterplayACMContext *s, unsigned ind, unsigned col) in k13() argument 153 set_pos(s, i++, col, 0); in k13() 156 set_pos(s, i, col, 0); in k13() 161 set_pos(s, i, col, 0); in k13() 165 set_pos(s, i, col, map_1bi in k13() 170 k12(InterplayACMContext *s, unsigned ind, unsigned col) k12() argument 188 k24(InterplayACMContext *s, unsigned ind, unsigned col) k24() argument 214 k23(InterplayACMContext *s, unsigned ind, unsigned col) k23() argument 232 k35(InterplayACMContext *s, unsigned ind, unsigned col) k35() argument 266 k34(InterplayACMContext *s, unsigned ind, unsigned col) k34() argument 291 k45(InterplayACMContext *s, unsigned ind, unsigned col) k45() argument 318 k44(InterplayACMContext *s, unsigned ind, unsigned col) k44() argument 336 t15(InterplayACMContext *s, unsigned ind, unsigned col) t15() argument 365 t27(InterplayACMContext *s, unsigned ind, unsigned col) t27() argument 394 t37(InterplayACMContext *s, unsigned ind, unsigned col) t37() argument [all...] |
H A D | vp9_mc_template.c | 38 int row = td->row, col = td->col; in inter_pred() local 60 row << 3, col << 3, &b->mv[0][0],,,,, 8, 4, w1, h1, 0); in inter_pred() 64 (row << 3) + 4, col << 3, &b->mv[2][0],,,,, 8, 4, w1, h1, 0); in inter_pred() 73 row << 2, col << (3 - s->ss_h), in inter_pred() 80 row << 3, col << (3 - s->ss_h), in inter_pred() 94 (row << 3) + 4, col << (3 - s->ss_h), in inter_pred() 101 row << 3, col << 3, &b->mv[0][1],,,,, 8, 4, w2, h2, 1); in inter_pred() 105 (row << 3) + 4, col << 3, &b->mv[2][1],,,,, 8, 4, w2, h2, 1); in inter_pred() 114 row << 2, col << ( in inter_pred() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jccolext.c | 41 register JDIMENSION col; in rgb_ycc_convert_internal() local 50 for (col = 0; col < num_cols; col++) { in rgb_ycc_convert_internal() 61 outptr0[col] = (JSAMPLE)((ctab[r + R_Y_OFF] + ctab[g + G_Y_OFF] + in rgb_ycc_convert_internal() 64 outptr1[col] = (JSAMPLE)((ctab[r + R_CB_OFF] + ctab[g + G_CB_OFF] + in rgb_ycc_convert_internal() 67 outptr2[col] = (JSAMPLE)((ctab[r + R_CR_OFF] + ctab[g + G_CR_OFF] + in rgb_ycc_convert_internal() 95 register JDIMENSION col; in rgb_gray_convert_internal() local 102 for (col = 0; col < num_col in rgb_gray_convert_internal() 128 register JDIMENSION col; rgb_rgb_convert_internal() local [all...] |
H A D | jdcolext.c | 39 register JDIMENSION col; in ycc_rgb_convert_internal() local 55 for (col = 0; col < num_cols; col++) { in ycc_rgb_convert_internal() 56 y = inptr0[col]; in ycc_rgb_convert_internal() 57 cb = inptr1[col]; in ycc_rgb_convert_internal() 58 cr = inptr2[col]; in ycc_rgb_convert_internal() 89 register JDIMENSION col; in gray_rgb_convert_internal() local 95 for (col = 0; col < num_col in gray_rgb_convert_internal() 120 register JDIMENSION col; rgb_rgb_convert_internal() local [all...] |
H A D | rdppm.c | 142 JDIMENSION col; in METHODDEF() local 146 for (col = cinfo->image_width; col > 0; col--) { in METHODDEF() 154 for (col = cinfo->image_width; col > 0; col--) { \ 170 JDIMENSION col; in METHODDEF() local 205 JDIMENSION col; in METHODDEF() local 210 for (col in METHODDEF() 244 JDIMENSION col; METHODDEF() local 279 JDIMENSION col; METHODDEF() local 312 JDIMENSION col; METHODDEF() local 334 JDIMENSION col; METHODDEF() local 370 JDIMENSION col; METHODDEF() local 402 JDIMENSION col; METHODDEF() local 438 JDIMENSION col; METHODDEF() local 489 JDIMENSION col; METHODDEF() local 516 JDIMENSION col; METHODDEF() local [all...] |
H A D | tjunittest.c | 109 int index, row, col, halfway = 16; in initBuf() local 114 for (col = 0; col < w; col++) { in initBuf() 115 if (flags & TJFLAG_BOTTOMUP) index = (h - row - 1) * w + col; in initBuf() 116 else index = row * w + col; in initBuf() 117 if (((row / 8) + (col / 8)) % 2 == 0) in initBuf() 125 for (col = 0; col < w; col in initBuf() 191 int index, row, col, retval = 1; checkBuf() local 283 int row, col; checkBufYUV() local [all...] |
H A D | wrppm.c | 112 register JDIMENSION col; in copy_pixel_rows() local 120 for (col = dest->samples_per_row; col > 0; col--) { in copy_pixel_rows() 138 register JDIMENSION col; in put_rgb() local 146 for (col = cinfo->output_width; col > 0; col--) { in put_rgb() 167 register JDIMENSION col; in put_cmyk() local 171 for (col in put_cmyk() 198 register JDIMENSION col; put_demapped_rgb() local 220 register JDIMENSION col; put_demapped_gray() local [all...] |
/third_party/node/deps/npm/node_modules/@isaacs/cliui/build/lib/ |
H A D | index.js | 98 rrow.forEach((col, c) => { 101 let ts = col; // temporary string used during alignment/padding. 102 if (wrapWidth > mixin.stringWidth(col)) { 103 ts += ' '.repeat(wrapWidth - mixin.stringWidth(col)); 171 row.forEach((col, c) => { 173 col.width = widths[c]; 175 wrapped = mixin.wrap(col.text, this.negatePadding(col), { hard: true }).split('\n'); 178 wrapped = col.text.split('\n'); 180 if (col [all...] |
/foundation/arkui/ace_engine/test/unittest/bridge/common/sourcemap/ |
H A D | source_map_test.cpp | 48 int32_t col = 0; in HWTEST_F() local 56 auto mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 1、1、1 in HWTEST_F() 57 EXPECT_EQ(mappingInfo.col, 0); in HWTEST_F() 59 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、1、1 in HWTEST_F() 60 EXPECT_EQ(mappingInfo.col, 0); in HWTEST_F() 61 col = 1; in HWTEST_F() 62 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、0、1 in HWTEST_F() 63 EXPECT_EQ(mappingInfo.col, 0); in HWTEST_F() 66 mappingInfo = revSourceMap.Find(row, col, isColPrecise); // 47line if 0、0、0 57line if 1 in HWTEST_F() 67 EXPECT_EQ(mappingInfo.col, in HWTEST_F() 93 int32_t col = 0; HWTEST_F() local [all...] |
/third_party/python/Lib/turtledemo/ |
H A D | nim.py | 66 def move(self, row, col): 68 self.sticks[row] = col 69 self.game.view.notify_move(row, col, maxspalte, self.player) 76 row, col = computerzug(self.sticks) 77 self.move(row, col) 83 def notify_move(self, row, col): 84 if self.sticks[row] <= col: 86 self.move(row, col) 90 def __init__(self, row, col, game): 93 self.col [all...] |
/third_party/python/Lib/idlelib/ |
H A D | searchengine.py | 92 def report_error(self, pat, msg, col=None): 97 if col is not None: 98 msg = msg + "\nOffset: " + str(col) 131 line, col = get_line_col(start) 132 res = self.search_backward(text, prog, line, col, wrap, ok) 138 line, col = get_line_col(start) 139 res = self.search_forward(text, prog, line, col, wrap, ok) 142 def search_forward(self, text, prog, line, col, wrap, ok=0): 147 m = prog.search(chars[:-1], col) 149 if ok or m.end() > col [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | cache_cursor.cpp | 43 int32_t CacheCursor::GetColumnName(int32_t col, std::string &name) const in GetColumnName() argument 45 if (col < 0 || col >= maxCol_) { in GetColumnName() 48 name = colNames_[col]; in GetColumnName() 52 int32_t CacheCursor::GetColumnType(int32_t col) const in GetColumnType() 54 if (col < 0 || col >= maxCol_) { in GetColumnType() 57 return colTypes_[col]; in GetColumnType() 102 int32_t CacheCursor::Get(int32_t col, DistributedData::Value &value) in Get() argument 104 if (col < in Get() 110 Get(const std::string &col, DistributedData::Value &value) Get() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | iters.c | 399 int sum, row, col; in iter_nested_iters() local 404 bpf_for( col, 0, ARRAY_SIZE(arr2d[0])) { in iter_nested_iters() 405 arr2d[row][col] = row * col; in iter_nested_iters() 414 bpf_for(col, 0, ARRAY_SIZE(arr2d[0])) { in iter_nested_iters() 415 arr2d_col_sums[col] = 0; in iter_nested_iters() 420 bpf_for(col, 0, ARRAY_SIZE(arr2d[0])) { in iter_nested_iters() 421 sum += arr2d[row][col]; in iter_nested_iters() 422 arr2d_row_sums[row] += arr2d[row][col]; in iter_nested_iters() 423 arr2d_col_sums[col] in iter_nested_iters() 467 int col; fill_inner_dimension() local 476 int sum = 0, col; sum_inner_dimension() local 491 int sum, row, col; iter_subprog_iters() local [all...] |
/third_party/skia/bench/ |
H A D | TableBench.cpp | 45 for (int col = 0; col < kNumCols; ++col) { 46 SkRect cell = SkRect::MakeLTRB(col * kCellWidth, 48 (col+1) * kCellWidth, 52 SkRect bottom = SkRect::MakeLTRB(col * kCellWidth, 54 (col+1) * kCellWidth, 58 SkRect right = SkRect::MakeLTRB(col * kCellWidth + (kCellWidth-SK_Scalar1), 60 (col+1) * kCellWidth,
|
/third_party/skia/gm/ |
H A D | fontscalerdistortable.cpp | 71 for (int col = 0; col < cols; ++col) { 73 SkScalar(row * cols + col) / (rows * cols)); 81 typeface[row][col] = [&]() -> sk_sp<SkTypeface> { 106 for (int col = 0; col < cols; ++col) { 110 font.setTypeface(typeface[row][col] ? typeface[row][col] [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | apicoll.cpp | 67 Collator *col = 0; in TestProperty() local 83 col = Collator::createInstance(Locale::getEnglish(), success); in TestProperty() 89 col->getVersion(versionArray); in TestProperty() 100 doAssert((col->compare("ab", "abc") == Collator::LESS), "ab < abc comparison failed"); in TestProperty() 101 doAssert((col->compare("ab", "AB") == Collator::LESS), "ab < AB comparison failed"); in TestProperty() 102 doAssert((col->compare("blackbird", "black-bird") == Collator::GREATER), "black-bird > blackbird comparison failed"); in TestProperty() 103 doAssert((col->compare("black bird", "black-bird") == Collator::LESS), "black bird > black-bird comparison failed"); in TestProperty() 104 doAssert((col->compare("Hello", "hello") == Collator::GREATER), "Hello > hello comparison failed"); in TestProperty() 105 doAssert((col->compare("","",success) == UCOL_EQUAL), "Comparison between empty strings failed"); in TestProperty() 107 doAssert((col in TestProperty() 399 Collator *col; TestSafeClone() local 502 Collator *col = 0; TestCollationKey() local 637 Collator *col = 0; TestElemIter() local 961 Collator *col = 0; TestCompare() local 1085 Collator *col = Collator::createInstance(Locale::getEnglish(), status); TestSortKey() local [all...] |