Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 25 of 2956) sorted by relevance

12345678910>>...119

/third_party/boost/boost/wave/cpplexer/
Dvalidate_universal_char.hpp46 in_range(unsigned long ch, unsigned long l, unsigned long u) in in_range() argument
48 return (l <= ch && ch <= u); in in_range()
73 classify_universal_char (unsigned long ch) in classify_universal_char() argument
76 if (ch <= 0x0020 || in_range(ch, 0x007f, 0x009f)) in classify_universal_char()
80 if (in_range(ch, 0x0021, 0x005f) || in_range(ch, 0x0061, 0x007e)) in classify_universal_char()
84 if (in_range(ch, 0x00c0, 0x00d6) || in_range(ch, 0x00d8, 0x00f6) || in classify_universal_char()
85 in_range(ch, 0x00f8, 0x01f5) || in_range(ch, 0x01fa, 0x0217) || in classify_universal_char()
86 in_range(ch, 0x0250, 0x02a8) || in_range(ch, 0x1e00, 0x1e9a) || in classify_universal_char()
87 in_range(ch, 0x1ea0, 0x1ef9)) in classify_universal_char()
92 if (0x0384 == ch || in_range(ch, 0x0388, 0x038a) || in classify_universal_char()
[all …]
/third_party/node/deps/cjs-module-lexer/
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) {
200 stringLiteral(ch);
291 ch = commentWhitespace();
292 if (ch !== 79/*O*/ || !source.startsWith('bject', pos + 1)) return false;
[all …]
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
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 ++) {
65 Character.digit(ch, 10);
79 for (int ch = MIN_; ch < MAX_; ch ++) {
80 UCharacter.getNumericValue(ch);
94 for (char ch = (char)MIN_; ch < (char)MAX_; ch ++) {
95 Character.getNumericValue(ch);
109 for (int ch = MIN_; ch < MAX_; ch ++) {
110 UCharacter.getType(ch);
[all …]
/third_party/boost/boost/spirit/home/support/char_encoding/
Dstandard.hpp30 isascii_(int ch) in isascii_()
32 return 0 == (ch & ~0x7f); in isascii_()
36 ischar(int ch) in ischar()
40 return (0 == (ch & ~0xff) || ~0 == (ch | 0xff)) != 0; in ischar()
50 strict_ischar(int ch) in strict_ischar()
53 return ch >= 0 && ch <= UCHAR_MAX; in strict_ischar()
57 isalnum(int ch) in isalnum()
59 BOOST_ASSERT(strict_ischar(ch)); in isalnum()
60 return std::isalnum(ch) != 0; in isalnum()
64 isalpha(int ch) in isalpha()
[all …]
Dstandard_wide.hpp52 to_int_type(Char ch) in to_int_type()
54 return std::char_traits<Char>::to_int_type(ch); in to_int_type()
59 to_char_type(typename std::char_traits<Char>::int_type ch) in to_char_type()
61 return std::char_traits<Char>::to_char_type(ch); in to_char_type()
65 ischar(int ch) in ischar()
72 std::size_t(ch & ~traits::wchar_t_size<sizeof(wchar_t)>::mask) || in ischar()
74 std::size_t(ch | traits::wchar_t_size<sizeof(wchar_t)>::mask) in ischar()
79 isalnum(wchar_t ch) in isalnum()
82 return iswalnum(to_int_type(ch)) != 0; in isalnum()
86 isalpha(wchar_t ch) in isalpha()
[all …]
Dascii.hpp189 isascii_(int ch) in isascii_()
191 return 0 == (ch & ~0x7f); in isascii_()
195 ischar(int ch) in ischar()
197 return isascii_(ch); in ischar()
207 strict_ischar(int ch) in strict_ischar()
209 return ch >= 0 && ch <= 127; in strict_ischar()
213 isalnum(int ch) in isalnum()
215 BOOST_ASSERT(strict_ischar(ch)); in isalnum()
216 return (ascii_char_types[ch] & BOOST_CC_ALPHA) in isalnum()
217 || (ascii_char_types[ch] & BOOST_CC_DIGIT); in isalnum()
[all …]
Diso8859_1.hpp575 isascii_(int ch) in isascii_()
577 return 0 == (ch & ~0x7f); in isascii_()
581 ischar(int ch) in ischar()
585 return (0 == (ch & ~0xff) || ~0 == (ch | 0xff)) != 0; in ischar()
595 strict_ischar(int ch) in strict_ischar()
597 return ch >= 0 && ch <= 255; in strict_ischar()
601 isalnum(int ch) in isalnum()
603 BOOST_ASSERT(strict_ischar(ch)); in isalnum()
604 return (iso8859_1_char_types[ch] & BOOST_CC_ALPHA) in isalnum()
605 || (iso8859_1_char_types[ch] & BOOST_CC_DIGIT); in isalnum()
[all …]
/third_party/glslang/glslang/MachineIndependent/preprocessor/
DPpScanner.cpp112 int TPpContext::lFloatConst(int len, int ch, TPpToken* ppToken) in lFloatConst() argument
114 const auto saveName = [&](int ch) { in lFloatConst() argument
116 ppToken->name[len++] = static_cast<char>(ch); in lFloatConst()
139 if (ch == '.') { in lFloatConst()
141 saveName(ch); in lFloatConst()
142 ch = getChar(); in lFloatConst()
147 if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) { in lFloatConst()
155 if ((ch = getChar()) != 'I' || in lFloatConst()
156 (ch = getChar()) != 'N' || in lFloatConst()
157 (ch = getChar()) != 'F') in lFloatConst()
[all …]
/third_party/e2fsprogs/lib/support/
Dcstring.c18 char *to, *from, ch; in parse_c_string() local
26 ch = *(++from); in parse_c_string()
27 switch (ch) { in parse_c_string()
47 ch = *(from + 1); in parse_c_string()
48 if (ch >= 'a' && ch <= 'f') in parse_c_string()
49 ch = ch - 'a' + 'A'; in parse_c_string()
50 if (ch >= '0' && ch <= '9') in parse_c_string()
51 v = ch - '0'; in parse_c_string()
52 else if (ch >= 'A' && ch <= 'F') in parse_c_string()
53 v = ch + 10 - 'A'; in parse_c_string()
[all …]
/third_party/ffmpeg/libavcodec/
Dsbc.c86 int ch, sb; in ff_sbc_calculate_bits() local
88 for (ch = 0; ch < frame->channels; ch++) { in ff_sbc_calculate_bits()
92 bitneed[ch][sb] = frame->scale_factor[ch][sb]; in ff_sbc_calculate_bits()
93 if (bitneed[ch][sb] > max_bitneed) in ff_sbc_calculate_bits()
94 max_bitneed = bitneed[ch][sb]; in ff_sbc_calculate_bits()
98 if (frame->scale_factor[ch][sb] == 0) in ff_sbc_calculate_bits()
99 bitneed[ch][sb] = -5; in ff_sbc_calculate_bits()
102 loudness = frame->scale_factor[ch][sb] - sbc_offset4[sf][sb]; in ff_sbc_calculate_bits()
104 loudness = frame->scale_factor[ch][sb] - sbc_offset8[sf][sb]; in ff_sbc_calculate_bits()
106 bitneed[ch][sb] = loudness / 2; in ff_sbc_calculate_bits()
[all …]
/third_party/boost/libs/iostreams/test/
Dclose_test.cpp37 filtering_streambuf<input> ch; in input_chain_test() local
40 ch.push(closable_filter<input>(seq.new_operation(2))); in input_chain_test()
41 ch.push(closable_device<input>(seq.new_operation(1))); in input_chain_test()
42 BOOST_CHECK_NO_THROW(ch.pop()); in input_chain_test()
47 ch.push(closable_device<input>(seq.new_operation(1))); in input_chain_test()
48 BOOST_CHECK_NO_THROW(io::close(ch)); in input_chain_test()
53 ch.push(closable_device<input>(seq.new_operation(1))); in input_chain_test()
54 BOOST_CHECK_NO_THROW(ch.reset()); in input_chain_test()
61 filtering_streambuf<input> ch; in input_chain_test() local
64 ch.push( in input_chain_test()
[all …]
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DUTF16Util.java30 int ch = s.charAt(i); in nextCodePoint() local
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() local
49 if (0xdc00 <= ch && ch <= 0xdfff && --i >= 0) { in prevCodePoint()
52 ch = (ch2 << 10) + ch - suppOffset; in prevCodePoint()
55 return ch; in prevCodePoint()
66 int ch = s.charAt(i); in nextCodePoint() local
67 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { in nextCodePoint()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DUTF16Util.java34 int ch = s.charAt(i); in nextCodePoint() local
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() local
53 if (0xdc00 <= ch && ch <= 0xdfff && --i >= 0) { in prevCodePoint()
56 ch = (ch2 << 10) + ch - suppOffset; in prevCodePoint()
59 return ch; in prevCodePoint()
70 int ch = s.charAt(i); in nextCodePoint() local
71 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { in nextCodePoint()
[all …]
/third_party/ntfs-3g/libfuse-lite/
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 == ch); in fuse_session_remove_chan()
69 se->ch = NULL; in fuse_session_remove_chan()
[all …]
/third_party/node/deps/icu-small/source/common/
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 && ch <= 0xffff)) { in u_strFromUTF32WithSub()
102 *pDest++ = (UChar)ch; in u_strFromUTF32WithSub()
107 } else if(0x10000 <= ch && ch <= 0x10ffff) { in u_strFromUTF32WithSub()
109 *pDest++ = U16_LEAD(ch); in u_strFromUTF32WithSub()
[all …]
/third_party/icu/icu4c/source/common/
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 && ch <= 0xffff)) { in u_strFromUTF32WithSub()
102 *pDest++ = (UChar)ch; in u_strFromUTF32WithSub()
107 } else if(0x10000 <= ch && ch <= 0x10ffff) { in u_strFromUTF32WithSub()
109 *pDest++ = U16_LEAD(ch); in u_strFromUTF32WithSub()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
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 && ch <= 0xffff)) { in u_strFromUTF32WithSub()
102 *pDest++ = (UChar)ch; in u_strFromUTF32WithSub()
107 } else if(0x10000 <= ch && ch <= 0x10ffff) { in u_strFromUTF32WithSub()
109 *pDest++ = U16_LEAD(ch); in u_strFromUTF32WithSub()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
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 && ch <= 0xffff)) { in u_strFromUTF32WithSub()
102 *pDest++ = (UChar)ch; in u_strFromUTF32WithSub()
107 } else if(0x10000 <= ch && ch <= 0x10ffff) { in u_strFromUTF32WithSub()
109 *pDest++ = U16_LEAD(ch); in u_strFromUTF32WithSub()
[all …]
/third_party/icu/icu4c/source/test/perf/charperf/
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()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
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 & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
199 UTF32 ch, ch2; in ConvertUTF16toUTF32() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
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 & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
173 UTF32 ch, ch2; in ConvertUTF16toUTF32() local
[all …]
/third_party/libpsl/fuzz/libpsl_idn_load_fuzzer.in/
D9ab5d08cd43ac9c18d9a49d0797c7c0c733b4c722 xʷn--ch텬司.cn司^^^^^^// ��=BEGIN ICANN DOMAINS===^�������G^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…
3 xʷn--ch텬司.cn司^^^^^^^^^^^!*���pp
4 xʷn--ch�司.cn司^^^^^^// ===BEGIN ICANN DOpp
5 xʷn--ch�司.cn司^^^^^^// ===BEGIN ICANN DO^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^pcom��pp
6 xʷn--ch텬司.cn司^^^^^^^^^^^m��pp
7 xʷn--ch�司nc.司^^^^^^// ===BEGIN ICANN DOpp
8 xʷn--ch�司.cn司^^^^^^// ===BEGIN ICANN DOMjpcom��pp
9 xʷn--ch텬司.cn司^^^^^^// ===BEGIN ICANN DOMAINS===^�������G^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…
10 xʷn--ch텬司.cn司^^^^^^^^^^^m��pp
11 xʷn--ch��pp
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_iconv.c255 Uint32 ch = 0; in SDL_iconv() local
349 ch = (Uint32) (p[0] & 0x7F); in SDL_iconv()
357 ch = (Uint32) p[0]; in SDL_iconv()
372 ch = UNKNOWN_UNICODE; in SDL_iconv()
377 ch = (Uint32) (p[0] & 0x01); in SDL_iconv()
385 ch = UNKNOWN_UNICODE; in SDL_iconv()
390 ch = (Uint32) (p[0] & 0x03); in SDL_iconv()
398 ch = UNKNOWN_UNICODE; in SDL_iconv()
403 ch = (Uint32) (p[0] & 0x07); in SDL_iconv()
411 ch = UNKNOWN_UNICODE; in SDL_iconv()
[all …]
/third_party/python/Objects/stringlib/
Dcodecs.h20 #define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0) argument
27 Py_UCS4 ch; in STRINGLIB() local
32 ch = (unsigned char)*s; in STRINGLIB()
34 if (ch < 0x80) { in STRINGLIB()
88 ch = (unsigned char)*s; in STRINGLIB()
90 if (ch < 0x80) { in STRINGLIB()
92 *p++ = ch; in STRINGLIB()
97 if (ch < 0xE0) { in STRINGLIB()
100 if (ch < 0xC2) { in STRINGLIB()
115 ch = (ch << 6) + ch2 - in STRINGLIB()
[all …]
/third_party/boost/boost/numeric/ublas/
Dio.hpp92 E ch; in operator >>() local
94 if (is >> ch && ch != '[') { in operator >>()
95 is.putback (ch); in operator >>()
97 } else if (is >> size >> ch && ch != ']') { in operator >>()
98 is.putback (ch); in operator >>()
102 if (is >> ch && ch != '(') { in operator >>()
103 is.putback (ch); in operator >>()
107 if (is >> s (i) >> ch && ch != ',') { in operator >>()
108 is.putback (ch); in operator >>()
114 if (is >> ch && ch != ')') { in operator >>()
[all …]

12345678910>>...119