/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | StructureHLSL.cpp | 471 for (int col = 0; col < cols; col++) in addBuiltInConstructor() 475 constructor += TString((row == col) ? "x0" : "0.0"); in addBuiltInConstructor() 477 if (row < rows - 1 || col < cols - 1) in addBuiltInConstructor() 486 for (int col = 0; col < cols; col++) in addBuiltInConstructor() 490 if (row < parameter.getRows() && col < parameter.getCols()) in addBuiltInConstructor() 492 constructor += TString("x0") + "[" + str(col) in addBuiltInConstructor() [all...] |
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationRegressionTest.java | 800 Collator col = null; in Test4139572() 802 col = Collator.getInstance(l); in Test4139572() 810 key = col.getCollationKey("Nombre De Objeto"); in Test4139572() 1171 Collator col = new RuleBasedCollator(String.copyValueOf(rules)); in TestBengaliSortKey() 1176 int result = col.compare(str1, str2); in TestBengaliSortKey() 1181 errln(printKey(col, str1).toString()); in TestBengaliSortKey() 1182 errln(printKey(col, str2).toString()); in TestBengaliSortKey() 1188 private static StringBuilder printKey(Collator col, String str1) { in printKey() argument 1190 CollationKey sortk1 = col.getCollationKey(str1); in printKey() 1209 RuleBasedCollator col in TestCaseFirstCompression() 1253 caseFirstCompressionSub(RuleBasedCollator col, String opt) caseFirstCompressionSub() argument [all...] |
H A D | G7CollationTest.java | 69 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo1() 72 String baseRules = ((RuleBasedCollator)col).getRules(); in TestDemo1() 96 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo2() 99 String baseRules = ((RuleBasedCollator)col).getRules(); in TestDemo2() 124 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo3() 127 String baseRules = ((RuleBasedCollator)col).getRules(); in TestDemo3() 152 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo4() 154 String baseRules = ((RuleBasedCollator)col).getRules(); in TestDemo4()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | CollationRegressionTest.java | 803 Collator col = null; in Test4139572() 805 col = Collator.getInstance(l); in Test4139572() 813 key = col.getCollationKey("Nombre De Objeto"); in Test4139572() 1174 Collator col = new RuleBasedCollator(String.copyValueOf(rules)); in TestBengaliSortKey() 1179 int result = col.compare(str1, str2); in TestBengaliSortKey() 1184 errln(printKey(col, str1).toString()); in TestBengaliSortKey() 1185 errln(printKey(col, str2).toString()); in TestBengaliSortKey() 1191 private static StringBuilder printKey(Collator col, String str1) { in printKey() argument 1193 CollationKey sortk1 = col.getCollationKey(str1); in printKey() 1212 RuleBasedCollator col in TestCaseFirstCompression() 1256 caseFirstCompressionSub(RuleBasedCollator col, String opt) caseFirstCompressionSub() argument [all...] |
H A D | G7CollationTest.java | 72 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo1() 75 String baseRules = ((RuleBasedCollator)col).getRules(); in TestDemo1() 99 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo2() 102 String baseRules = ((RuleBasedCollator)col).getRules(); in TestDemo2() 127 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo3() 130 String baseRules = ((RuleBasedCollator)col).getRules(); in TestDemo3() 155 Collator col = Collator.getInstance(Locale.ENGLISH); in TestDemo4() 157 String baseRules = ((RuleBasedCollator)col).getRules(); in TestDemo4()
|
/foundation/ability/ability_runtime/js_environment/test/unittest/source_map_test/ |
H A D | source_map_test.cpp | 155 int32_t col = 1; in HWTEST_F() local 157 auto info = modSourceMap->Find(row, col, targetMap, ""); in HWTEST_F() 161 col = 0; in HWTEST_F() 162 info = modSourceMap->Find(row, col, targetMap, ""); in HWTEST_F() 178 int32_t col = 3; in HWTEST_F() local 191 auto info = modSourceMap->Find(row, col, targetMap, ""); in HWTEST_F() 207 int32_t col = 3; in HWTEST_F() local 220 auto info = modSourceMap->Find(row, col, targetMap, ""); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | stmpe-keypad.c | 178 int col = data & STMPE_KPC_DATA_COL; in stmpe_keypad_irq() local 179 int code = MATRIX_SCAN_CODE(row, col, STMPE_KEYPAD_ROW_SHIFT); in stmpe_keypad_irq() 316 int row, col; in stmpe_keypad_fill_used_pins() local 319 for (col = 0; col < used_cols; col++) { in stmpe_keypad_fill_used_pins() 320 int code = MATRIX_SCAN_CODE(row, col, in stmpe_keypad_fill_used_pins() 324 keypad->cols |= 1 << col; in stmpe_keypad_fill_used_pins()
|
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | stmpe-keypad.c | 179 int col = data & STMPE_KPC_DATA_COL; in stmpe_keypad_irq() local 180 int code = MATRIX_SCAN_CODE(row, col, STMPE_KEYPAD_ROW_SHIFT); in stmpe_keypad_irq() 317 int row, col; in stmpe_keypad_fill_used_pins() local 320 for (col = 0; col < used_cols; col++) { in stmpe_keypad_fill_used_pins() 321 int code = MATRIX_SCAN_CODE(row, col, in stmpe_keypad_fill_used_pins() 325 keypad->cols |= 1 << col; in stmpe_keypad_fill_used_pins()
|
/third_party/python/Lib/ |
H A D | cmd.py | 370 for col in range(ncols): 373 i = row + nrows*col 390 for col in range(ncols): 391 i = row + nrows*col 399 for col in range(len(texts)): 400 texts[col] = texts[col].ljust(colwidths[col])
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | eap_user_db.c | 79 static int get_user_cb(void *ctx, int argc, char *argv[], char *col[]) in get_user_cb() argument 85 if (os_strcmp(col[i], "password") == 0 && argv[i]) { in get_user_cb() 90 } else if (os_strcmp(col[i], "methods") == 0 && argv[i]) { in get_user_cb() 92 } else if (os_strcmp(col[i], "remediation") == 0 && argv[i]) { in get_user_cb() 94 } else if (os_strcmp(col[i], "t_c_timestamp") == 0 && argv[i]) { in get_user_cb() 103 static int get_wildcard_cb(void *ctx, int argc, char *argv[], char *col[]) in get_wildcard_cb() argument 110 if (os_strcmp(col[i], "identity") == 0 && argv[i]) in get_wildcard_cb() 112 else if (os_strcmp(col[i], "methods") == 0 && argv[i]) in get_wildcard_cb()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | eap_user_db.c | 79 static int get_user_cb(void *ctx, int argc, char *argv[], char *col[]) in get_user_cb() argument 85 if (os_strcmp(col[i], "password") == 0 && argv[i]) { in get_user_cb() 90 } else if (os_strcmp(col[i], "methods") == 0 && argv[i]) { in get_user_cb() 92 } else if (os_strcmp(col[i], "remediation") == 0 && argv[i]) { in get_user_cb() 94 } else if (os_strcmp(col[i], "t_c_timestamp") == 0 && argv[i]) { in get_user_cb() 103 static int get_wildcard_cb(void *ctx, int argc, char *argv[], char *col[]) in get_wildcard_cb() argument 110 if (os_strcmp(col[i], "identity") == 0 && argv[i]) in get_wildcard_cb() 112 else if (os_strcmp(col[i], "methods") == 0 && argv[i]) in get_wildcard_cb()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | tjbench.c | 150 int row, col, iter = 0, dstBufAlloc = 0, retval = 0; in decomp() local 200 for (col = 0, dstPtr2 = dstPtr; col < ntilesw; in decomp() 201 col++, tile++, dstPtr2 += ps * tilew) { in decomp() 202 int width = doTile ? min(tilew, w - col * tilew) : scaledw; in decomp() 284 for (col = 0, index2 = index; col < w; col++, index2 += ps) { in decomp() 301 for (col = 0; col < in decomp() 327 int totalJpegSize = 0, row, col, i, tilew = w, tileh = h, retval = 0; fullTest() local 538 int ps = tjPixelSize[pf], tile, row, col, i, iter, retval = 0, decompsrc = 0; decompTest() local [all...] |
H A D | jddctmgr.c | 260 * coefficients scaled by scalefactor[row]*scalefactor[col], where in start_pass() 294 * coefficients scaled by scalefactor[row]*scalefactor[col], where in start_pass() 299 int row, col; in start_pass() local 307 for (col = 0; col < DCTSIZE; col++) { in start_pass() 310 aanscalefactor[row] * aanscalefactor[col]); in start_pass()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | rdb_result_set_impl_test.cpp | 93 * @tc.desc: RdbResultSetImpl get col; 241 int32_t col = 1; in HWTEST_F() local 244 EXPECT_EQ(resultSet->GetAsset(col, asset), NativeRdb::E_OK); in HWTEST_F() 245 EXPECT_EQ(resultSet->GetAssets(col, assets), NativeRdb::E_OK); in HWTEST_F() 248 EXPECT_EQ(resultSet->GetFloat32Array(col, vecs), NativeRdb::E_NOT_SUPPORT); in HWTEST_F() 249 EXPECT_EQ(resultSet->GetSize(col, size), NativeRdb::E_OK); in HWTEST_F() 274 int32_t col = 0; in HWTEST_F() local 300 EXPECT_EQ(result->GetAsset(col, asset), NativeRdb::E_ALREADY_CLOSED); in HWTEST_F() 301 EXPECT_EQ(result->GetAssets(col, assets), NativeRdb::E_ALREADY_CLOSED); in HWTEST_F() 302 EXPECT_EQ(result->GetFloat32Array(col, vec in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/auxdisplay/ |
H A D | ht16k33.c | 260 int row, col, code; in ht16k33_keypad_scan() local 272 for (col = 0; col < keypad->cols; col++) { in ht16k33_keypad_scan() 273 new_state[col] = le16_to_cpu(data[col]); in ht16k33_keypad_scan() 274 if (new_state[col]) in ht16k33_keypad_scan() 276 bits_changed = keypad->last_key_state[col] ^ new_state[col]; in ht16k33_keypad_scan() 279 code = MATRIX_SCAN_CODE(row, col, keypa in ht16k33_keypad_scan() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vp9mvs.c | 70 int row = td->row, col = td->col, row7 = td->row7; in find_ref_mvs() local 140 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[(row - 1) * s->sb_cols * 8 + col]; in find_ref_mvs() 142 RETURN_MV(s->above_mv_ctx[2 * col + (sb & 1)][0]); in find_ref_mvs() 144 RETURN_MV(s->above_mv_ctx[2 * col + (sb & 1)][1]); in find_ref_mvs() 146 if (col > td->tile_col_start) { in find_ref_mvs() 147 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[row * s->sb_cols * 8 + col - 1]; in find_ref_mvs() 160 int c = p[i][0] + col, r = p[i][1] + row; in find_ref_mvs() 175 VP9mvrefPair *mv = &s->s.frames[REF_FRAME_MVPAIR].mv[row * s->sb_cols * 8 + col]; in find_ref_mvs() 197 int c = p[i][0] + col, in find_ref_mvs() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 667 unsigned int col, in fill_tile_column() 677 tile_idx = in->num_cols * row + col; in fill_tile_column() 705 unsigned int col, tile_idx; in fill_tile_row() local 708 for (col = 0; col < in->num_cols; col++) { in fill_tile_row() 709 tile_idx = in->num_cols * row + col; in fill_tile_row() 738 unsigned int col; in find_seams() local 767 for (col = in->num_cols - 1; col > in find_seams() 666 fill_tile_column(struct ipu_image_convert_ctx *ctx, unsigned int col, struct ipu_image_convert_image *in, unsigned int in_left, unsigned int in_width, struct ipu_image_convert_image *out, unsigned int out_left, unsigned int out_width) fill_tile_column() argument 873 const unsigned int col = i % image->num_cols; calc_tile_dimensions() local 974 unsigned int row, col, tile = 0; calc_out_tile_map() local 991 unsigned int row, col, tile = 0; calc_tile_offsets_planar() local 1056 unsigned int row, col, tile = 0; calc_tile_offsets_packed() local 1132 unsigned int col, row, tile_idx; calc_tile_resize_coefficients() local 1392 unsigned int col, row; convert_start() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 666 unsigned int col, in fill_tile_column() 676 tile_idx = in->num_cols * row + col; in fill_tile_column() 704 unsigned int col, tile_idx; in fill_tile_row() local 707 for (col = 0; col < in->num_cols; col++) { in fill_tile_row() 708 tile_idx = in->num_cols * row + col; in fill_tile_row() 737 unsigned int col; in find_seams() local 766 for (col = in->num_cols - 1; col > in find_seams() 665 fill_tile_column(struct ipu_image_convert_ctx *ctx, unsigned int col, struct ipu_image_convert_image *in, unsigned int in_left, unsigned int in_width, struct ipu_image_convert_image *out, unsigned int out_left, unsigned int out_width) fill_tile_column() argument 872 const unsigned int col = i % image->num_cols; calc_tile_dimensions() local 973 unsigned int row, col, tile = 0; calc_out_tile_map() local 990 unsigned int row, col, tile = 0; calc_tile_offsets_planar() local 1052 unsigned int row, col, tile = 0; calc_tile_offsets_packed() local 1128 unsigned int col, row, tile_idx; calc_tile_resize_coefficients() local 1388 unsigned int col, row; convert_start() local [all...] |
/third_party/mesa3d/src/util/format/ |
H A D | u_format_fxt1.c | 1318 uint32_t col[2][3]; in fxt1_decode_1MIXED() local 1325 /* col 2 */ in fxt1_decode_1MIXED() 1326 col[0][BCOMP] = (*(const uint32_t *)(code + 11)) >> 6; in fxt1_decode_1MIXED() 1327 col[0][GCOMP] = CC_SEL(cc, 99); in fxt1_decode_1MIXED() 1328 col[0][RCOMP] = CC_SEL(cc, 104); in fxt1_decode_1MIXED() 1329 /* col 3 */ in fxt1_decode_1MIXED() 1330 col[1][BCOMP] = CC_SEL(cc, 109); in fxt1_decode_1MIXED() 1331 col[1][GCOMP] = CC_SEL(cc, 114); in fxt1_decode_1MIXED() 1332 col[1][RCOMP] = CC_SEL(cc, 119); in fxt1_decode_1MIXED() 1337 /* col in fxt1_decode_1MIXED() [all...] |
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | color.h | 40 float col = srgb; in SRGBToLinearConv() local 42 col *= (1.f / 12.92f); in SRGBToLinearConv() 44 col = Math::pow((col + 0.055f) * (1.f / 1.055f), 2.4f); in SRGBToLinearConv() 46 return col; in SRGBToLinearConv()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
H A D | fbcon.h | 125 int col; in attr_col_ec() local 139 col = mono_col(info); in attr_col_ec() 143 fg = is_mono01 ? col : 0; in attr_col_ec() 144 bg = is_mono01 ? 0 : col; in attr_col_ec() 147 fg = is_mono01 ? 0 : col; in attr_col_ec() 148 bg = is_mono01 ? col : 0; in attr_col_ec()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/core/ |
H A D | fbcon.h | 123 int col; in attr_col_ec() local 137 col = mono_col(info); in attr_col_ec() 141 fg = is_mono01 ? col : 0; in attr_col_ec() 142 bg = is_mono01 ? 0 : col; in attr_col_ec() 145 fg = is_mono01 ? 0 : col; in attr_col_ec() 146 bg = is_mono01 ? col : 0; in attr_col_ec()
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | ttable.c | 38 #define R(x,col,d) [MCE_ ## x ## _SEVERITY] = { #x, col, d } 192 char *col = ""; in table() local 197 col = " bgcolor=\"888888\""; in table() 203 col = " bgcolor=\"ffffff\""; in table() 205 printf("<td%s>%s</td>", col, p); in table()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | ttable.c | 38 #define R(x,col,d) [MCE_ ## x ## _SEVERITY] = { #x, col, d } 192 char *col = ""; in table() local 197 col = " bgcolor=\"888888\""; in table() 203 col = " bgcolor=\"ffffff\""; in table() 205 printf("<td%s>%s</td>", col, p); in table()
|
/third_party/skia/tools/skpbench/ |
H A D | sheet.py | 123 lambda col: reduce(operator.add, col.values()) / len(col), 126 lambda col: reduce(operator.mul, col.values()) ** (1.0 / len(col)),
|