Home
last modified time | relevance | path

Searched refs:ch (Results 1 - 25 of 1432) sorted by relevance

12345678910>>...58

/third_party/node/deps/cjs-module-lexer/
H A Dlexer.js89 let ch = 0;
97 ch = source.charCodeAt(pos);
98 if (ch === 10/*\n*/ || ch === 13/*\r*/)
104 ch = source.charCodeAt(pos);
106 if (ch === 32 || ch < 14 && ch > 8)
110 switch (ch) {
149 switch (ch) {
[all...]
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DUCharacterPerf.java49 for (int ch = MIN_; ch < MAX_; ch ++) { in testDigit()
50 UCharacter.digit(ch, 10); in testDigit()
64 for (char ch = (char)MIN_; ch < (char)MAX_; ch ++) { in testJDKDigit()
65 Character.digit(ch, 10); in testJDKDigit()
79 for (int ch = MIN_; ch < MAX in testGetNumericValue()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsbc.c8 * Copyright (C) 2004-2005 Henryk Ploetz <henryk@ploetzli.ch>
85 int ch, sb; in ff_sbc_calculate_bits() local
87 for (ch = 0; ch < frame->channels; ch++) { in ff_sbc_calculate_bits()
91 bitneed[ch][sb] = frame->scale_factor[ch][sb]; in ff_sbc_calculate_bits()
92 if (bitneed[ch][sb] > max_bitneed) in ff_sbc_calculate_bits()
93 max_bitneed = bitneed[ch][sb]; in ff_sbc_calculate_bits()
97 if (frame->scale_factor[ch][s in ff_sbc_calculate_bits()
167 int ch, sb; ff_sbc_calculate_bits() local
[all...]
H A Dac3dec.c497 int bin, band, ch; in calc_transform_coeffs_cpl() local
503 for (ch = 1; ch <= s->fbw_channels; ch++) { in calc_transform_coeffs_cpl()
504 if (s->channel_in_cpl[ch]) { in calc_transform_coeffs_cpl()
505 int cpl_coord = s->cpl_coords[ch][band] << 5; in calc_transform_coeffs_cpl()
507 s->fixed_coeffs[ch][bin] = in calc_transform_coeffs_cpl()
510 if (ch == 2 && s->phase_flags[band]) { in calc_transform_coeffs_cpl()
618 int ch, i; in remove_dithering() local
620 for (ch in remove_dithering()
630 decode_transform_coeffs_ch(AC3DecodeContext *s, int blk, int ch, mant_groups *m) decode_transform_coeffs_ch() argument
652 int ch, end; decode_transform_coeffs() local
712 int ch; do_imdct() local
844 start_subband, end_subband, ch; spx_strategy() local
900 int ch, bnd; spx_coordinates() local
980 int ch; coupling_strategy() local
1048 int ch, bnd; coupling_coordinates() local
1094 int i, bnd, seg, ch, ret; decode_audio_block() local
1491 int blk, ch, err, offset, ret; ac3_decode_frame() local
[all...]
H A Dhcadec.c48 ChannelContext ch[16]; member
162 if (c->total_band_count > FF_ARRAY_ELEMS(c->ch->imdct_in)) in decode_init()
240 c->ch[i].chan_type = r[i]; in decode_init()
241 c->ch[i].count = c->base_band_count + ((r[i] != 2) ? c->stereo_band_count : 0); in decode_init()
242 c->ch[i].hfr_scale = &c->ch[i].scale_factors[c->base_band_count + c->stereo_band_count]; in decode_init()
243 if (c->ch[i].count > 128) in decode_init()
254 static void run_imdct(HCAContext *c, ChannelContext *ch, int index, float *out) in run_imdct() argument
256 c->tx_fn(c->tx_ctx, ch->imdct_out, ch in run_imdct()
282 reconstruct_hfr(HCAContext *s, ChannelContext *ch, unsigned hfr_group_count, unsigned bands_per_hfr_group, unsigned start_band, unsigned total_band_count) reconstruct_hfr() argument
300 dequantize_coefficients(HCAContext *c, ChannelContext *ch, GetBitContext *gb) dequantize_coefficients() argument
325 unpack(HCAContext *c, ChannelContext *ch, GetBitContext *gb, unsigned hfr_group_count, int packed_noise_level, const uint8_t *ath) unpack() argument
389 int ch, ret, packed_noise_level; decode_frame() local
[all...]
H A Ddca_core.c155 int n, ch, nchannels, header_size = 0, header_pos = get_bits_count(&s->gb); in parse_coding_header() local
240 for (ch = 0; ch < nchannels; ch++) { in parse_coding_header()
246 s->xxch_dmix_mask[ch] = mask; in parse_coding_header()
250 for (ch = 0; ch < nchannels; ch++) { in parse_coding_header()
252 if (s->xxch_dmix_mask[ch] & (1U << n)) { in parse_coding_header()
276 for (ch in parse_coding_header()
404 int ch, band, ret; parse_subframe_header() local
575 extract_audio(DCACoreDecoder *s, int32_t *audio, int abits, int ch) extract_audio() argument
627 int n, ssf, ofs, ch, band; parse_subframe_audio() local
762 int ch, band; erase_adpcm_history() local
779 int ch, band; alloc_sample_buffer() local
803 int sf, ch, ret, band, sub_pos, lfe_pos; parse_frame_data() local
944 int ssf, ch, band, ofs; parse_xbr_subframe() local
1163 int n, ssf, ch, band, ofs; parse_x96_subframe_audio() local
1271 int ch, band; erase_x96_adpcm_history() local
1287 int ch, band; alloc_x96_sample_buffer() local
1310 int ch, band, ret; parse_x96_subframe_header() local
1394 int n, ch, header_size = 0, header_pos = get_bits_count(&s->gb); parse_x96_coding_header() local
1481 int sf, ch, ret, band, sub_pos; parse_x96_frame_data() local
1910 map_prm_ch_to_spkr(DCACoreDecoder *s, int ch) map_prm_ch_to_spkr() argument
1963 int n, ch, spkr, nsamples, x96_nchannels = 0; ff_dca_core_filter_fixed() local
2069 int i, n, ch, ret, spkr, nsamples; filter_frame_fixed() local
2166 int i, n, ch, ret, spkr, nsamples, nchannels; filter_frame_float() local
[all...]
H A Dac3enc_template.c44 int ch; in allocate_sample_buffers() local
50 for (ch = 0; ch < s->channels; ch++) { in allocate_sample_buffers()
51 if (!(s->planar_samples[ch] = av_mallocz((AC3_FRAME_SIZE + AC3_BLOCK_SIZE) * in allocate_sample_buffers()
65 int ch; in copy_input_samples() local
68 for (ch = 0; ch < s->channels; ch++) { in copy_input_samples()
70 memcpy(&s->planar_samples[ch][ in copy_input_samples()
88 int blk, ch; apply_mdct() local
119 int av_uninit(blk), ch, bnd, i, j; apply_channel_coupling() local
[all...]
H A Datrac3plusdec.c173 int i, ch, ret; in atrac3p_decode_init() local
198 for (ch = 0; ch < 2; ch++) { in atrac3p_decode_init()
199 ctx->ch_units[i].channels[ch].ch_num = ch; in atrac3p_decode_init()
200 ctx->ch_units[i].channels[ch].wnd_shape = &ctx->ch_units[i].channels[ch].wnd_shape_hist[0][0]; in atrac3p_decode_init()
201 ctx->ch_units[i].channels[ch].wnd_shape_prev = &ctx->ch_units[i].channels[ch] in atrac3p_decode_init()
224 int i, sb, ch, qu, nspeclines, RNG_index; decode_residual_spectrum() local
286 int ch, sb; reconstruct_frame() local
[all...]
/third_party/curl/lib/
H A Dhttp_chunks.c78 void Curl_httpchunk_init(struct Curl_easy *data, struct Curl_chunker *ch, in Curl_httpchunk_init() argument
82 ch->hexindex = 0; /* start at 0 */ in Curl_httpchunk_init()
83 ch->state = CHUNK_HEX; /* we get hex first! */ in Curl_httpchunk_init()
84 ch->last_code = CHUNKE_OK; in Curl_httpchunk_init()
85 Curl_dyn_init(&ch->trailer, DYN_H1_TRAILER); in Curl_httpchunk_init()
86 ch->ignore_body = ignore_body; in Curl_httpchunk_init()
89 void Curl_httpchunk_reset(struct Curl_easy *data, struct Curl_chunker *ch, in Curl_httpchunk_reset() argument
93 ch->hexindex = 0; /* start at 0 */ in Curl_httpchunk_reset()
94 ch->state = CHUNK_HEX; /* we get hex first! */ in Curl_httpchunk_reset()
95 ch in Curl_httpchunk_reset()
100 Curl_httpchunk_free(struct Curl_easy *data, struct Curl_chunker *ch) Curl_httpchunk_free() argument
106 Curl_httpchunk_is_done(struct Curl_easy *data, struct Curl_chunker *ch) Curl_httpchunk_is_done() argument
112 httpchunk_readwrite(struct Curl_easy *data, struct Curl_chunker *ch, struct Curl_cwriter *cw_next, const char *buf, size_t blen, size_t *pconsumed) httpchunk_readwrite() argument
373 Curl_httpchunk_read(struct Curl_easy *data, struct Curl_chunker *ch, char *buf, size_t blen, size_t *pconsumed) Curl_httpchunk_read() argument
383 struct Curl_chunker ch; global() member
[all...]
/third_party/ntfs-3g/libfuse-lite/
H A Dfuse_session.c26 struct fuse_chan *ch; member
56 void fuse_session_add_chan(struct fuse_session *se, struct fuse_chan *ch) in fuse_session_add_chan() argument
58 assert(se->ch == NULL); in fuse_session_add_chan()
59 assert(ch->se == NULL); in fuse_session_add_chan()
60 se->ch = ch; in fuse_session_add_chan()
61 ch->se = se; in fuse_session_add_chan()
64 void fuse_session_remove_chan(struct fuse_chan *ch) in fuse_session_remove_chan() argument
66 struct fuse_session *se = ch->se; in fuse_session_remove_chan()
68 assert(se->ch in fuse_session_remove_chan()
74 fuse_session_next_chan(struct fuse_session *se, struct fuse_chan *ch) fuse_session_next_chan() argument
84 fuse_session_process(struct fuse_session *se, const char *buf, size_t len, struct fuse_chan *ch) fuse_session_process() argument
124 struct fuse_chan *ch = (struct fuse_chan *) malloc(sizeof(*ch)); fuse_chan_new_common() local
145 fuse_chan_fd(struct fuse_chan *ch) fuse_chan_fd() argument
150 fuse_chan_bufsize(struct fuse_chan *ch) fuse_chan_bufsize() argument
155 fuse_chan_data(struct fuse_chan *ch) fuse_chan_data() argument
160 fuse_chan_session(struct fuse_chan *ch) fuse_chan_session() argument
167 struct fuse_chan *ch = *chp; fuse_chan_recv() local
173 fuse_chan_receive(struct fuse_chan *ch, char *buf, size_t size) fuse_chan_receive() argument
182 fuse_chan_send(struct fuse_chan *ch, const struct iovec iov[], size_t count) fuse_chan_send() argument
187 fuse_chan_destroy(struct fuse_chan *ch) fuse_chan_destroy() argument
[all...]
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
H A DUTF16Util.java30 int ch = s.charAt(i); in nextCodePoint()
31 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { in nextCodePoint()
34 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint()
37 return ch; in nextCodePoint()
48 int ch = s.charAt(--i); in prevCodePoint()
49 if (0xdc00 <= ch && ch <= 0xdfff && --i >= 0) { in prevCodePoint()
52 ch in prevCodePoint()
110 appendCodePoint(StringBuffer buffer, int ch) appendCodePoint() argument
126 insertCodePoint(StringBuffer buffer, int i, int ch) insertCodePoint() argument
142 setCodePointAt(StringBuffer buffer, int i, int ch) setCodePointAt() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
H A DUTF16Util.java34 int ch = s.charAt(i); in nextCodePoint()
35 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { in nextCodePoint()
38 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint()
41 return ch; in nextCodePoint()
52 int ch = s.charAt(--i); in prevCodePoint()
53 if (0xdc00 <= ch && ch <= 0xdfff && --i >= 0) { in prevCodePoint()
56 ch in prevCodePoint()
114 appendCodePoint(StringBuffer buffer, int ch) appendCodePoint() argument
130 insertCodePoint(StringBuffer buffer, int i, int ch) insertCodePoint() argument
146 setCodePointAt(StringBuffer buffer, int i, int ch) setCodePointAt() argument
[all...]
/third_party/icu/icu4c/source/test/perf/charperf/
H A Dcharperf.h23 typedef void (*CharPerfFn)(UChar32 ch);
24 typedef void (*StdLibCharPerfFn)(wchar_t ch);
123 inline void isAlpha(UChar32 ch) in isAlpha() argument
125 u_isalpha(ch); in isAlpha()
128 inline void isUpper(UChar32 ch) in isUpper() argument
130 u_isupper(ch); in isUpper()
133 inline void isLower(UChar32 ch) in isLower() argument
135 u_islower(ch); in isLower()
138 inline void isDigit(UChar32 ch) in isDigit() argument
140 u_isdigit(ch); in isDigit()
143 isSpace(UChar32 ch) isSpace() argument
148 isAlphaNumeric(UChar32 ch) isAlphaNumeric() argument
158 isPrint(UChar32 ch) isPrint() argument
163 isControl(UChar32 ch) isControl() argument
168 toLower(UChar32 ch) toLower() argument
173 toUpper(UChar32 ch) toUpper() argument
178 isWhiteSpace(UChar32 ch) isWhiteSpace() argument
183 StdLibIsAlpha(wchar_t ch) StdLibIsAlpha() argument
188 StdLibIsUpper(wchar_t ch) StdLibIsUpper() argument
193 StdLibIsLower(wchar_t ch) StdLibIsLower() argument
198 StdLibIsDigit(wchar_t ch) StdLibIsDigit() argument
203 StdLibIsSpace(wchar_t ch) StdLibIsSpace() argument
208 StdLibIsAlphaNumeric(wchar_t ch) StdLibIsAlphaNumeric() argument
218 StdLibIsPrint(wchar_t ch) StdLibIsPrint() argument
223 StdLibIsControl(wchar_t ch) StdLibIsControl() argument
228 StdLibToLower(wchar_t ch) StdLibToLower() argument
233 StdLibToUpper(wchar_t ch) StdLibToUpper() argument
238 StdLibIsWhiteSpace(wchar_t ch) StdLibIsWhiteSpace() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DConvertUTF.cpp125 UTF32 ch; in ConvertUTF32toUTF16() local
129 ch = *source++; in ConvertUTF32toUTF16()
130 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */ in ConvertUTF32toUTF16()
132 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) { in ConvertUTF32toUTF16()
141 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
143 } else if (ch > UNI_MAX_LEGAL_UTF32) { in ConvertUTF32toUTF16()
155 ch -= halfBase; in ConvertUTF32toUTF16()
156 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
157 *target++ = (UTF16)((ch in ConvertUTF32toUTF16()
173 UTF32 ch, ch2; ConvertUTF16toUTF32() local
228 UTF32 ch; ConvertUTF16toUTF8() local
298 UTF32 ch; ConvertUTF32toUTF8() local
522 UTF32 ch = 0; ConvertUTF8toUTF16() local
596 UTF32 ch = 0; ConvertUTF8toUTF32Impl() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DConvertUTF.cpp151 UTF32 ch; in ConvertUTF32toUTF16() local
155 ch = *source++; in ConvertUTF32toUTF16()
156 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */ in ConvertUTF32toUTF16()
158 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) { in ConvertUTF32toUTF16()
167 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
169 } else if (ch > UNI_MAX_LEGAL_UTF32) { in ConvertUTF32toUTF16()
181 ch -= halfBase; in ConvertUTF32toUTF16()
182 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
183 *target++ = (UTF16)((ch in ConvertUTF32toUTF16()
199 UTF32 ch, ch2; ConvertUTF16toUTF32() local
254 UTF32 ch; ConvertUTF16toUTF8() local
324 UTF32 ch; ConvertUTF32toUTF8() local
548 UTF32 ch = 0; ConvertUTF8toUTF16() local
622 UTF32 ch = 0; ConvertUTF8toUTF32Impl() local
[all...]
/third_party/icu/icu4c/source/common/
H A Dustrtrns.cpp48 UChar32 ch; in u_strFromUTF32WithSub() local
77 while((ch=*src) != 0 && in u_strFromUTF32WithSub()
78 ((uint32_t)ch < 0xd800 || (0xe000 <= ch && ch <= 0xffff))) { in u_strFromUTF32WithSub()
81 *pDest++ = (UChar)ch; in u_strFromUTF32WithSub()
87 if(ch != 0) { in u_strFromUTF32WithSub()
97 ch = *src++; in u_strFromUTF32WithSub()
100 if((uint32_t)ch < 0xd800 || (0xe000 <= ch in u_strFromUTF32WithSub()
162 UChar32 ch; u_strToUTF32WithSub() local
561 UChar32 ch; u_strFromUTF8Lenient() local
801 uint32_t ch=0,ch2=0; u_strToUTF8WithSub() local
1123 UChar32 ch; u_strFromJavaModifiedUTF8WithSub() local
1321 uint32_t ch=0; u_strToJavaModifiedUTF8() local
[all...]
H A Ducnv_u8.cpp75 uint32_t ch, ch2 = 0; in ucnv_toUnicode_UTF8() local
85 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8()
93 ch = *(mySource++); in ucnv_toUnicode_UTF8()
94 if (U8_IS_SINGLE(ch)) /* Simple case */ in ucnv_toUnicode_UTF8()
96 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8()
101 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8()
102 inBytes = U8_COUNT_BYTES_NON_ASCII(ch); /* lookup current sequence length */ in ucnv_toUnicode_UTF8()
111 if (!icu::UTF8::isValidTrail(ch, static_cast<uint8_t>(ch2), i, inBytes) && in ucnv_toUnicode_UTF8()
112 !(isCESU8 && i == 1 && ch in ucnv_toUnicode_UTF8()
193 uint32_t ch, ch2 = 0; ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
309 UChar32 ch; ucnv_fromUnicode_UTF8() local
424 UChar32 ch; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
560 UChar32 ch; ucnv_getNextUChar_UTF8() local
[all...]
H A Ducnv_u32.cpp55 uint32_t ch, i; in T_UConverter_toUnicode_UTF32_BE() local
62 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/ in T_UConverter_toUnicode_UTF32_BE()
69 ch = 0; in T_UConverter_toUnicode_UTF32_BE()
73 ch = (ch << 8) | (uint8_t)(*mySource); in T_UConverter_toUnicode_UTF32_BE()
79 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE()
85 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_BE()
87 if (ch < in T_UConverter_toUnicode_UTF32_BE()
135 uint32_t ch, i; T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
220 UChar32 ch, ch2; T_UConverter_fromUnicode_UTF32_BE() local
322 UChar32 ch, ch2; T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
517 uint32_t ch, i; T_UConverter_toUnicode_UTF32_LE() local
603 uint32_t ch, i; T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
698 UChar32 ch, ch2; T_UConverter_fromUnicode_UTF32_LE() local
808 UChar32 ch, ch2; T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dustrtrns.cpp48 UChar32 ch; in u_strFromUTF32WithSub() local
77 while((ch=*src) != 0 && in u_strFromUTF32WithSub()
78 ((uint32_t)ch < 0xd800 || (0xe000 <= ch && ch <= 0xffff))) { in u_strFromUTF32WithSub()
81 *pDest++ = (char16_t)ch; in u_strFromUTF32WithSub()
87 if(ch != 0) { in u_strFromUTF32WithSub()
97 ch = *src++; in u_strFromUTF32WithSub()
100 if((uint32_t)ch < 0xd800 || (0xe000 <= ch in u_strFromUTF32WithSub()
162 UChar32 ch; u_strToUTF32WithSub() local
561 UChar32 ch; u_strFromUTF8Lenient() local
801 uint32_t ch=0,ch2=0; u_strToUTF8WithSub() local
1123 UChar32 ch; u_strFromJavaModifiedUTF8WithSub() local
1321 uint32_t ch=0; u_strToJavaModifiedUTF8() local
[all...]
H A Ducnv_u8.cpp75 uint32_t ch, ch2 = 0; in ucnv_toUnicode_UTF8() local
85 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8()
93 ch = *(mySource++); in ucnv_toUnicode_UTF8()
94 if (U8_IS_SINGLE(ch)) /* Simple case */ in ucnv_toUnicode_UTF8()
96 *(myTarget++) = (char16_t) ch; in ucnv_toUnicode_UTF8()
101 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8()
102 inBytes = U8_COUNT_BYTES_NON_ASCII(ch); /* lookup current sequence length */ in ucnv_toUnicode_UTF8()
111 if (!icu::UTF8::isValidTrail(ch, static_cast<uint8_t>(ch2), i, inBytes) && in ucnv_toUnicode_UTF8()
112 !(isCESU8 && i == 1 && ch in ucnv_toUnicode_UTF8()
193 uint32_t ch, ch2 = 0; ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
309 UChar32 ch; ucnv_fromUnicode_UTF8() local
424 UChar32 ch; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
560 UChar32 ch; ucnv_getNextUChar_UTF8() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dustrtrns.cpp48 UChar32 ch; in u_strFromUTF32WithSub() local
77 while((ch=*src) != 0 && in u_strFromUTF32WithSub()
78 ((uint32_t)ch < 0xd800 || (0xe000 <= ch && ch <= 0xffff))) { in u_strFromUTF32WithSub()
81 *pDest++ = (UChar)ch; in u_strFromUTF32WithSub()
87 if(ch != 0) { in u_strFromUTF32WithSub()
97 ch = *src++; in u_strFromUTF32WithSub()
100 if((uint32_t)ch < 0xd800 || (0xe000 <= ch in u_strFromUTF32WithSub()
162 UChar32 ch; u_strToUTF32WithSub() local
561 UChar32 ch; u_strFromUTF8Lenient() local
801 uint32_t ch=0,ch2=0; u_strToUTF8WithSub() local
1123 UChar32 ch; u_strFromJavaModifiedUTF8WithSub() local
1321 uint32_t ch=0; u_strToJavaModifiedUTF8() local
[all...]
H A Ducnv_u8.cpp75 uint32_t ch, ch2 = 0; in ucnv_toUnicode_UTF8() local
85 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8()
93 ch = *(mySource++); in ucnv_toUnicode_UTF8()
94 if (U8_IS_SINGLE(ch)) /* Simple case */ in ucnv_toUnicode_UTF8()
96 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8()
101 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8()
102 inBytes = U8_COUNT_BYTES_NON_ASCII(ch); /* lookup current sequence length */ in ucnv_toUnicode_UTF8()
111 if (!icu::UTF8::isValidTrail(ch, static_cast<uint8_t>(ch2), i, inBytes) && in ucnv_toUnicode_UTF8()
112 !(isCESU8 && i == 1 && ch in ucnv_toUnicode_UTF8()
193 uint32_t ch, ch2 = 0; ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
309 UChar32 ch; ucnv_fromUnicode_UTF8() local
424 UChar32 ch; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
560 UChar32 ch; ucnv_getNextUChar_UTF8() local
[all...]
/third_party/python/Objects/stringlib/
H A Dcodecs.h20 #define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
27 Py_UCS4 ch; in utf8_decode() local
32 ch = (unsigned char)*s; in utf8_decode()
34 if (ch < 0x80) { in utf8_decode()
88 ch = (unsigned char)*s; in utf8_decode()
90 if (ch < 0x80) { in utf8_decode()
92 *p++ = ch; in utf8_decode()
97 if (ch < in utf8_decode()
296 Py_UCS4 ch = data[i++]; utf8_encoder() local
[all...]
/third_party/python/Objects/
H A Dunicodectype.c59 /* Returns the titlecase Unicode characters corresponding to ch or just
60 ch if no titlecase mapping is known. */
62 Py_UCS4 _PyUnicode_ToTitlecase(Py_UCS4 ch) in _PyUnicode_ToTitlecase() argument
64 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToTitlecase()
68 return ch + ctype->title; in _PyUnicode_ToTitlecase()
74 int _PyUnicode_IsTitlecase(Py_UCS4 ch) in _PyUnicode_IsTitlecase() argument
76 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsTitlecase()
84 int _PyUnicode_IsXidStart(Py_UCS4 ch) in _PyUnicode_IsXidStart() argument
86 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsXidStart()
94 int _PyUnicode_IsXidContinue(Py_UCS4 ch) in _PyUnicode_IsXidContinue() argument
104 _PyUnicode_ToDecimalDigit(Py_UCS4 ch) _PyUnicode_ToDecimalDigit() argument
111 _PyUnicode_IsDecimalDigit(Py_UCS4 ch) _PyUnicode_IsDecimalDigit() argument
121 _PyUnicode_ToDigit(Py_UCS4 ch) _PyUnicode_ToDigit() argument
128 _PyUnicode_IsDigit(Py_UCS4 ch) _PyUnicode_IsDigit() argument
138 _PyUnicode_IsNumeric(Py_UCS4 ch) _PyUnicode_IsNumeric() argument
158 _PyUnicode_IsPrintable(Py_UCS4 ch) _PyUnicode_IsPrintable() argument
168 _PyUnicode_IsLowercase(Py_UCS4 ch) _PyUnicode_IsLowercase() argument
178 _PyUnicode_IsUppercase(Py_UCS4 ch) _PyUnicode_IsUppercase() argument
188 _PyUnicode_ToUppercase(Py_UCS4 ch) _PyUnicode_ToUppercase() argument
200 _PyUnicode_ToLowercase(Py_UCS4 ch) _PyUnicode_ToLowercase() argument
209 _PyUnicode_ToLowerFull(Py_UCS4 ch, Py_UCS4 *res) _PyUnicode_ToLowerFull() argument
225 _PyUnicode_ToTitleFull(Py_UCS4 ch, Py_UCS4 *res) _PyUnicode_ToTitleFull() argument
241 _PyUnicode_ToUpperFull(Py_UCS4 ch, Py_UCS4 *res) _PyUnicode_ToUpperFull() argument
257 _PyUnicode_ToFoldedFull(Py_UCS4 ch, Py_UCS4 *res) _PyUnicode_ToFoldedFull() argument
272 _PyUnicode_IsCased(Py_UCS4 ch) _PyUnicode_IsCased() argument
279 _PyUnicode_IsCaseIgnorable(Py_UCS4 ch) _PyUnicode_IsCaseIgnorable() argument
289 _PyUnicode_IsAlpha(Py_UCS4 ch) _PyUnicode_IsAlpha() argument
[all...]
/third_party/glslang/glslang/MachineIndependent/preprocessor/
H A DPpScanner.cpp113 int TPpContext::lFloatConst(int len, int ch, TPpToken* ppToken) in lFloatConst() argument
115 const auto saveName = [&](int ch) { in lFloatConst()
117 ppToken->name[len++] = static_cast<char>(ch); in lFloatConst()
140 if (ch == '.') { in lFloatConst()
142 saveName(ch); in lFloatConst()
143 ch = getChar(); in lFloatConst()
148 if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) { in lFloatConst()
156 if ((ch = getChar()) != 'I' || in lFloatConst()
157 (ch = getChar()) != 'N' || in lFloatConst()
158 (ch in lFloatConst()
386 int ch = getChar(); characterLiteral() local
461 int ch = 0; scan() local
[all...]

Completed in 21 milliseconds

12345678910>>...58