/third_party/ltp/testcases/kernel/syscalls/syslog/ |
H A D | syslogtst.c | 40 int status, flag3, fd, ch, ch1; in main() local 44 ch1 = -1; in main() 60 ch1 = random() % 8; in main() 62 ch1 = (random() % 5) + 1; in main() 65 ch, ch1); in main() 72 ch1 = random() % 8; in main() 74 ch1 = (random() % 5) + 1; in main() 77 ch, ch1); in main() 84 ch1 = atoi(argv[2]); in main() 87 /* Ensure ch1 i in main() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dca_lbr.c | 501 static int parse_grid_1_chunk(DCALbrDecoder *s, LBRChunk *chunk, int ch1, int ch2) in parse_grid_1_chunk() argument 515 ret = parse_scale_factors(s, s->grid_1_scf[ch1][sb]); in parse_grid_1_chunk() 518 if (ch1 != ch2 && ff_dca_grid_1_to_scf[sb] < s->min_mono_subband) { in parse_grid_1_chunk() 530 s->grid_3_avg[ch1][sb] = parse_vlc(&s->gb, &ff_dca_vlc_avg_g3, 2) - 16; in parse_grid_1_chunk() 531 if (ch1 != ch2) { in parse_grid_1_chunk() 535 s->grid_3_avg[ch2][sb] = s->grid_3_avg[ch1][sb]; in parse_grid_1_chunk() 545 if (ch1 != ch2) { in parse_grid_1_chunk() 556 for (ch = ch1; ch <= ch2; ch++) in parse_grid_1_chunk() 558 s->part_stereo[ch][sb][sf] = parse_st_code(&s->gb, min_v[ch - ch1]); in parse_grid_1_chunk() 561 s->part_stereo_pres |= 1 << ch1; in parse_grid_1_chunk() 595 parse_grid_3(DCALbrDecoder *s, int ch1, int ch2, int sb, int flag) parse_grid_3() argument 700 parse_ts(DCALbrDecoder *s, int ch1, int ch2, int start_sb, int end_sb, int flag) parse_ts() argument 779 parse_lpc(DCALbrDecoder *s, int ch1, int ch2, int start_sb, int end_sb) parse_lpc() argument 800 parse_high_res_grid(DCALbrDecoder *s, LBRChunk *chunk, int ch1, int ch2) parse_high_res_grid() argument 862 parse_grid_2(DCALbrDecoder *s, int ch1, int ch2, int start_sb, int end_sb, int flag) parse_grid_2() argument 904 parse_ts1_chunk(DCALbrDecoder *s, LBRChunk *chunk, int ch1, int ch2) parse_ts1_chunk() argument 922 parse_ts2_chunk(DCALbrDecoder *s, LBRChunk *chunk, int ch1, int ch2) parse_ts2_chunk() argument 1367 int ch1 = i * 2; ff_dca_lbr_parse() local 1396 decode_grid(DCALbrDecoder *s, int ch1, int ch2) decode_grid() argument 1433 random_ts(DCALbrDecoder *s, int ch1, int ch2) random_ts() argument 1481 synth_lpc(DCALbrDecoder *s, int ch1, int ch2, int sb) synth_lpc() argument 1503 filter_ts(DCALbrDecoder *s, int ch1, int ch2) filter_ts() argument 1588 decode_part_stereo(DCALbrDecoder *s, int ch1, int ch2) decode_part_stereo() argument 1756 int ch1 = i * 2; ff_dca_lbr_filter_frame() local [all...] |
H A D | ralf.c | 335 int *ch0, *ch1; in decode_block() local 371 ch1 = ctx->channel_data[1]; in decode_block() 380 dst1[i] = ch1[i] + ctx->bias[1]; in decode_block() 387 dst1[i] = ch0[i] - (ch1[i] + ctx->bias[1]); in decode_block() 393 t2 = ch1[i] + ctx->bias[1]; in decode_block() 400 t = ch1[i] + ctx->bias[1]; in decode_block()
|
H A D | hcadec.c | 264 static void apply_intensity_stereo(HCAContext *s, ChannelContext *ch1, ChannelContext *ch2, in apply_intensity_stereo() argument 270 float *c1 = &ch1->imdct_in[base_band_count]; in apply_intensity_stereo() 273 if (ch1->chan_type != 1 || !stereo_band_count) in apply_intensity_stereo()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | UCharacterIterator.java | 213 int ch1 = next(); in nextCodePoint() 214 if (UTF16.isLeadSurrogate(ch1)) { in nextCodePoint() 217 return Character.toCodePoint((char) ch1, (char) ch2); in nextCodePoint() 223 return ch1; in nextCodePoint() 245 int ch1 = previous(); in previousCodePoint() 246 if (UTF16.isTrailSurrogate(ch1)) { in previousCodePoint() 249 return Character.toCodePoint((char) ch2, (char) ch1); in previousCodePoint() 255 return ch1; in previousCodePoint()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | UCharacterIterator.java | 198 int ch1 = next(); in nextCodePoint() 199 if (UTF16.isLeadSurrogate((char) ch1)) { in nextCodePoint() 202 return Character.toCodePoint((char) ch1, (char) ch2); in nextCodePoint() 208 return ch1; in nextCodePoint() 228 int ch1 = previous(); in previousCodePoint() 229 if (UTF16.isTrailSurrogate((char) ch1)) { in previousCodePoint() 232 return Character.toCodePoint((char) ch2, (char) ch1); in previousCodePoint() 238 return ch1; in previousCodePoint()
|
/third_party/skia/third_party/externals/freetype/src/tools/ftrandom/ |
H A D | ftrandom.c | 279 int ch1 = getc( foo ); in figurefiletype() local 287 if ( ( ch1 == 0 && ch2 == 1 && ch3 == 0 && ch4 == 0 ) || in figurefiletype() 288 ( ch1 == 'O' && ch2 == 'T' && ch3 == 'T' && ch4 == 'O' ) || in figurefiletype() 289 ( ch1 == 't' && ch2 == 'r' && ch3 == 'u' && ch4 == 'e' ) || in figurefiletype() 290 ( ch1 == 't' && ch2 == 't' && ch3 == 'c' && ch4 == 'f' ) ) in figurefiletype() 295 else if ( ch1 == 0x80 && ch2 == '\01' ) in figurefiletype() 300 else if ( ch1 == '%' && ch2 == '!' ) in figurefiletype() 309 else if ( ch1 == 1 && ch2 == 0 && ch3 == 4 ) in figurefiletype() 314 else if ( ch1 == 'S' && ch2 == 'T' && ch3 == 'A' && ch4 == 'R' ) in figurefiletype() 319 else if ( ch1 in figurefiletype() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
H A D | 1-1.c | 61 char *ch1; in main() local 99 /* ch1 is outside the mapped object, but in the mapped file */ in main() 100 ch1 = pa + len + 1; in main() 101 *ch1 = 'b'; in main() 111 *ch1 = 'a'; in main()
|
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/ |
H A D | copy_file_range01.c | 40 int ch1, ch2; in check_file_content() local 52 ch1 = getc(fp1); in check_file_content() 55 } while ((count < len) && (ch1 == ch2)); in check_file_content() 60 return !(ch1 == ch2); in check_file_content()
|
/third_party/lame/test/ |
H A D | lame_test.cpp | 62 float const* ch1() const { return m_buffer_ch1; } in ch1() function in PcmGenerator 169 int encode(float const* ch0, float const* ch1, int n_in, unsigned char* out_buffer, int m_out_free) { in encode() argument 171 return lame_encode_buffer_float(m_gf, ch0, ch1, n_in, out_buffer, m_out_free); in encode() 246 rc = lame.encode(src.ch0(), src.ch1(), m, mp3_stream_buffer.current(), mp3_stream_buffer.unused()); in generateFile()
|
/third_party/python/Objects/stringlib/ |
H A D | replace.h | 39 STRINGLIB_CHAR ch1 = (STRINGLIB_CHAR) u1; in replace_1char_inplace() 41 i = FASTSEARCH(s, end - s, &ch1, 1, 0, FAST_SEARCH); in replace_1char_inplace()
|
H A D | codecs.h | 725 Py_UCS2 ch1 = Py_UNICODE_HIGH_SURROGATE(ch); 727 out[0] = SWAB2(ch1);
|
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxil_container.h | 56 #define DXIL_FOURCC(ch0, ch1, ch2, ch3) ( \ 57 (uint32_t)(ch0) | (uint32_t)(ch1) << 8 | \
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | rdswitch.c | 400 char ch1, ch2; in GLOBAL() local 405 if (sscanf(arg, "%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3) in GLOBAL() 407 if ((ch1 != 'x' && ch1 != 'X') || ch2 != ',') /* syntax check */ in GLOBAL()
|
/third_party/node/deps/v8/src/debug/wasm/gdb-server/ |
H A D | packet.cc | 267 char ch1; in GetHexString() local 268 while (GetRawChar(&ch1)) { in GetHexString() 270 if (!NibbleToUInt8(ch1, &nib1)) { in GetHexString()
|
/third_party/python/Lib/test/ |
H A D | test_interpreters.py | 551 ch1, _ = interpreters.create_channel() 553 self.assertEqual(ch1, ch1) 554 self.assertNotEqual(ch1, ch2) 576 _, ch1 = interpreters.create_channel() 578 self.assertEqual(ch1, ch1) 579 self.assertNotEqual(ch1, ch2)
|
/third_party/backends/lib/ |
H A D | getopt.c | 284 # define SWAP_FLAGS(ch1, ch2) \ 287 char __tmp = __getopt_nonoption_flags[ch1]; \ 288 __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ 292 # define SWAP_FLAGS(ch1, ch2) 295 # define SWAP_FLAGS(ch1, ch2)
|
/third_party/jerryscript/jerry-core/lit/ |
H A D | lit-strings.c | 902 ecma_char_t ch1, ch2; in lit_compare_utf8_strings_relational() local 903 string1_pos += lit_read_code_unit_from_utf8 (string1_pos, &ch1); in lit_compare_utf8_strings_relational() 906 if (ch1 < ch2) in lit_compare_utf8_strings_relational() 910 else if (ch1 > ch2) in lit_compare_utf8_strings_relational()
|
/third_party/backends/backend/genesys/ |
H A D | image_pipeline.cpp | 314 std::uint16_t ch1 = get_raw_channel_from_row(row1, x, 0, format); in get_next_row_data() local 317 set_raw_channel_to_row(out_data, x, 1, ch1, output_format_); in get_next_row_data() 444 std::uint16_t ch1 = get_raw_channel_from_row(src_data, x, 1, src_format); in get_next_row_data() local 446 float mono = ch0 * ch0_mult_ + ch1 * ch1_mult_ + ch2 * ch2_mult_; in get_next_row_data() 519 std::uint16_t ch1 = get_raw_channel_from_row(row1, x, 1, format); in get_next_row_data() local 522 set_raw_channel_to_row(out_data, x, 1, ch1, format); in get_next_row_data()
|
/third_party/python/Parser/ |
H A D | tokenizer.c | 267 int ch1, ch2, ch3; in check_bom() local 268 ch1 = get_char(tok); in check_bom() 270 if (ch1 == EOF) { in check_bom() 272 } else if (ch1 == 0xEF) { in check_bom() 276 unget_char(ch1, tok); in check_bom() 283 unget_char(ch1, tok); in check_bom() 287 unget_char(ch1, tok); in check_bom()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | cmdline.c | 215 #define BI_FOURCC(ch0, ch1, ch2, ch3) ( \ 216 (uint32_t)(ch0) | (uint32_t)(ch1) << 8 | \
|
/third_party/spirv-tools/source/ |
H A D | text_handler.cpp | 147 char ch1 = text->str[position->index + 1]; in startsWithOp() local 149 return ('O' == ch0 && 'p' == ch1 && ('A' <= ch2 && ch2 <= 'Z')); in startsWithOp()
|
/third_party/ffmpeg/tools/ |
H A D | qt-faststart.c | 73 #define BE_FOURCC(ch0, ch1, ch2, ch3) \ 76 ((uint32_t)(unsigned char)(ch1) << 16) | \
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | text_handler.cpp | 145 char ch1 = text->str[position->index + 1]; in startsWithOp() local 147 return ('O' == ch0 && 'p' == ch1 && ('A' <= ch2 && ch2 <= 'Z')); in startsWithOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | text_handler.cpp | 145 char ch1 = text->str[position->index + 1]; in startsWithOp() local 147 return ('O' == ch0 && 'p' == ch1 && ('A' <= ch2 && ch2 <= 'Z')); in startsWithOp()
|