Home
last modified time | relevance | path

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

12345678910>>...112

/external/caliper/examples/src/main/java/examples/
DCharacterBenchmark.java58 for (int ch = 0; ch < 65536; ++ch) { in isSpace()
59 dummy ^= ((char) ch == ' '); in isSpace()
64 for (int ch = 0; ch < 65536; ++ch) { in isSpace()
65 dummy ^= (ch == ' '); in isSpace()
75 for (int ch = 0; ch < 65536; ++ch) { in digit()
76 Character.digit(chars[ch], 10); in digit()
81 for (int ch = 0; ch < 65536; ++ch) { in digit()
82 Character.digit((int) chars[ch], 10); in digit()
91 for (int ch = 0; ch < 65536; ++ch) { in getNumericValue()
92 Character.getNumericValue(chars[ch]); in getNumericValue()
[all …]
/external/aac/libAACenc/src/
Dpsy_main.cpp251 int i, ch, n, chInc = 0, resetChannels = 3; in FDKaacEnc_psyInit() local
263 for (ch = 0; ch < cm->elInfo[i].nChannelsInEl; ch++) { in FDKaacEnc_psyInit()
264 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[chInc]; in FDKaacEnc_psyInit()
267 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], in FDKaacEnc_psyInit()
270 mdct_init(&(hPsy->psyElement[i]->psyStatic[ch]->mdctPers), NULL, 0); in FDKaacEnc_psyInit()
271 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 0; in FDKaacEnc_psyInit()
273 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 1; in FDKaacEnc_psyInit()
282 for (ch = 0; ch < cm->elInfo[i].nChannelsInEl; ch++) { in FDKaacEnc_psyInit()
283 phpsyOut[n]->psyOutElement[i]->psyOutChannel[ch] = in FDKaacEnc_psyInit()
305 int i, ch; in FDKaacEnc_psyMainInit() local
[all …]
/external/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 …]
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPpScanner.cpp105 int TPpContext::lFloatConst(int len, int ch, TPpToken* ppToken) in lFloatConst() argument
107 const auto saveName = [&](int ch) { in lFloatConst() argument
109 ppToken->name[len++] = static_cast<char>(ch); in lFloatConst()
132 if (ch == '.') { in lFloatConst()
134 saveName(ch); in lFloatConst()
135 ch = getChar(); in lFloatConst()
139 if (ch == '#' && (ifdepth > 0 || parseContext.intermediate.getSource() == EShSourceHlsl)) { in lFloatConst()
147 if ((ch = getChar()) != 'I' || in lFloatConst()
148 (ch = getChar()) != 'N' || in lFloatConst()
149 (ch = getChar()) != 'F') in lFloatConst()
[all …]
/external/tensorflow/tensorflow/core/lib/strings/
Dscanner.h173 static bool IsLetter(char ch) { in IsLetter() argument
174 return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z'); in IsLetter()
177 static bool IsLowerLetter(char ch) { return ch >= 'a' && ch <= 'z'; } in IsLowerLetter() argument
179 static bool IsDigit(char ch) { return ch >= '0' && ch <= '9'; } in IsDigit() argument
181 static bool IsSpace(char ch) { in IsSpace() argument
182 return (ch == ' ' || ch == '\t' || ch == '\n' || ch == '\v' || ch == '\f' || in IsSpace()
183 ch == '\r'); in IsSpace()
186 static bool Matches(CharClass clz, char ch) { in Matches() argument
191 return IsDigit(ch); in Matches()
193 return IsLetter(ch); in Matches()
[all …]
/external/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 …]
/external/unicode/
DConvertUTF.c68 UTF32 ch; in ConvertUTF32toUTF16() local
72 ch = *source++; in ConvertUTF32toUTF16()
73 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */ in ConvertUTF32toUTF16()
75 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) { in ConvertUTF32toUTF16()
84 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
86 } else if (ch > UNI_MAX_LEGAL_UTF32) { in ConvertUTF32toUTF16()
98 ch -= halfBase; in ConvertUTF32toUTF16()
99 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
100 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
116 UTF32 ch, ch2; in ConvertUTF16toUTF32() local
[all …]
/external/google-breakpad/src/common/
Dconvert_UTF.c88 UTF32 ch; in ConvertUTF32toUTF16() local
92 ch = *source++; in ConvertUTF32toUTF16()
93 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */ in ConvertUTF32toUTF16()
95 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) { in ConvertUTF32toUTF16()
104 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
106 } else if (ch > UNI_MAX_LEGAL_UTF32) { in ConvertUTF32toUTF16()
118 ch -= halfBase; in ConvertUTF32toUTF16()
119 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
120 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
135 UTF32 ch, ch2; in ConvertUTF16toUTF32() local
[all …]
/external/antlr/runtime/C/src/
Dantlr3convertutf.c59 UTF32 ch; in ConvertUTF32toUTF16() local
63 ch = *source++; in ConvertUTF32toUTF16()
64 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */ in ConvertUTF32toUTF16()
66 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) { in ConvertUTF32toUTF16()
75 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
77 } else if (ch > UNI_MAX_LEGAL_UTF32) { in ConvertUTF32toUTF16()
89 ch -= halfBase; in ConvertUTF32toUTF16()
90 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
91 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
107 UTF32 ch, ch2; in ConvertUTF16toUTF32() local
[all …]
/external/libxaac/decoder/
Dixheaacd_mps_temp_process.c89 WORD32 ch, n; in ixheaacd_mps_temp_process_scale_calc() local
93 for (ch = 0; ch < 2; ch++) { in ixheaacd_mps_temp_process_scale_calc()
94 self->subband_var.tp_scale_last[ch] = 1.0f; in ixheaacd_mps_temp_process_scale_calc()
95 self->subband_var.nrg_diff_prev[ch] = 32768 * 32768; in ixheaacd_mps_temp_process_scale_calc()
105 for (ch = 0; ch < self->out_ch_count; ch++) in ixheaacd_mps_temp_process_scale_calc()
106 self->subband_var.nrg_diff_prev[ch] = self->subband_var.nrg_diff[ch]; in ixheaacd_mps_temp_process_scale_calc()
130 for (ch = 0; ch < self->out_ch_count; ch++) { in ixheaacd_mps_temp_process_scale_calc()
131 diff_energy[ch] = 0; in ixheaacd_mps_temp_process_scale_calc()
133 FLOAT32 diff_re = self->hyb_diff_out[ch][ts][n + 7].re; in ixheaacd_mps_temp_process_scale_calc()
134 FLOAT32 diff_im = self->hyb_diff_out[ch][ts][n + 7].im; in ixheaacd_mps_temp_process_scale_calc()
[all …]
/external/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 …]
/external/cldr/tools/java/com/ibm/icu/dev/test/
DUTF16Util.java29 int ch = s.charAt(i); in nextCodePoint() local
30 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { in nextCodePoint()
33 ch = (ch << 10) + ch2 - suppOffset; in nextCodePoint()
36 return ch; in nextCodePoint()
47 int ch = s.charAt(--i); in prevCodePoint() local
48 if (0xdc00 <= ch && ch <= 0xdfff && --i >= 0) { in prevCodePoint()
51 ch = (ch2 << 10) + ch - suppOffset; in prevCodePoint()
54 return ch; in prevCodePoint()
65 int ch = s.charAt(i); in nextCodePoint() local
66 if (0xd800 <= ch && ch <= 0xdbff && ++i < s.length()) { in nextCodePoint()
[all …]
/external/u-boot/arch/x86/cpu/quark/
Dsmc.c255 uint8_t ch; /* channel counter */ in ddrphy_init() local
279 for (ch = 0; ch < NUM_CHANNELS; ch++) { in ddrphy_init()
280 if (mrc_params->channel_enables & (1 << ch)) { in ddrphy_init()
283 CMDPMCONFIG0 + ch * DDRIOCCC_CH_OFFSET, in ddrphy_init()
287 CMDCFGREG0 + ch * DDRIOCCC_CH_OFFSET, in ddrphy_init()
291 CMDPTRREG + ch * DDRIOCCC_CH_OFFSET, in ddrphy_init()
303 for (ch = 0; ch < NUM_CHANNELS; ch++) { in ddrphy_init()
304 if (mrc_params->channel_enables & (1 << ch)) { in ddrphy_init()
313 ch * DDRIODQ_CH_OFFSET, in ddrphy_init()
336 ch * DDRIODQ_CH_OFFSET, in ddrphy_init()
[all …]
/external/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 …]
/external/icu/android_icu4j/src/main/tests/android/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 …]
/external/libcups/cups/
Dstring-private.h96 _cups_isalnum(int ch) /* I - Character to test */ in _cups_isalnum() argument
98 return ((ch >= '0' && ch <= '9') || in _cups_isalnum()
99 (ch >= 'A' && ch <= 'Z') || in _cups_isalnum()
100 (ch >= 'a' && ch <= 'z')); in _cups_isalnum()
104 _cups_isalpha(int ch) /* I - Character to test */ in _cups_isalpha() argument
106 return ((ch >= 'A' && ch <= 'Z') || in _cups_isalpha()
107 (ch >= 'a' && ch <= 'z')); in _cups_isalpha()
111 _cups_islower(int ch) /* I - Character to test */ in _cups_islower() argument
113 return (ch >= 'a' && ch <= 'z'); in _cups_islower()
117 _cups_isspace(int ch) /* I - Character to test */ in _cups_isspace() argument
[all …]
/external/aac/libSACdec/src/
Dsac_stp.cpp304 int ch; in subbandTPInit() local
306 for (ch = 0; ch < MAX_OUTPUT_CHANNELS; ch++) { in subbandTPInit()
307 self->prev_tp_scale[ch] = FL2FXCONST_DBL(1.0f / (1 << SF_SCALE)); in subbandTPInit()
308 self->oldWetEnerLD64[ch] = in subbandTPInit()
311 for (ch = 0; ch < MAX_INPUT_CHANNELS; ch++) { in subbandTPInit()
312 self->oldDryEnerLD64[ch] = in subbandTPInit()
352 int n, ch, cplxBands, cplxHybBands; in subbandTPApply() local
372 for (ch = 0; ch < self->numOutputChannels; ch++) { in subbandTPApply()
373 qmfOutputRealDry[ch] = &self->hybOutputRealDry__FDK[ch][7]; in subbandTPApply()
374 qmfOutputRealWet[ch] = &self->hybOutputRealWet__FDK[ch][7]; in subbandTPApply()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DConvertUTF.cpp152 UTF32 ch; in ConvertUTF32toUTF16() local
156 ch = *source++; in ConvertUTF32toUTF16()
157 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */ in ConvertUTF32toUTF16()
159 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) { in ConvertUTF32toUTF16()
168 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16()
170 } else if (ch > UNI_MAX_LEGAL_UTF32) { in ConvertUTF32toUTF16()
182 ch -= halfBase; in ConvertUTF32toUTF16()
183 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16()
184 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16()
200 UTF32 ch, ch2; in ConvertUTF16toUTF32() local
[all …]
/external/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 …]
/external/llvm/lib/Support/
DConvertUTF.c125 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 …]
/external/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 …]
/external/python/cpython3/Objects/stringlib/
Dcodecs.h18 #define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0) argument
25 Py_UCS4 ch; in STRINGLIB() local
31 ch = (unsigned char)*s; in STRINGLIB()
33 if (ch < 0x80) { in STRINGLIB()
87 ch = (unsigned char)*s; in STRINGLIB()
89 if (ch < 0x80) { in STRINGLIB()
91 *p++ = ch; in STRINGLIB()
96 if (ch < 0xE0) { in STRINGLIB()
99 if (ch < 0xC2) { in STRINGLIB()
114 ch = (ch << 6) + ch2 - in STRINGLIB()
[all …]
/external/turbine/java/com/google/turbine/parse/
DStreamLexer.java32 private char ch; field in StreamLexer
61 ch = reader.next(); in eat()
87 switch (ch) { in next()
99 switch (ch) { in next()
103 switch (ch) { in next()
120 switch (ch) { in next()
143 if (ch == '=') { in next()
258 switch (ch) { in next()
311 switch (ch) { in next()
315 if (ch == '.') { in next()
[all …]
/external/python/cpython3/Objects/
Dunicodectype.c64 Py_UCS4 _PyUnicode_ToTitlecase(Py_UCS4 ch) in _PyUnicode_ToTitlecase() argument
66 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToTitlecase()
70 return ch + ctype->title; in _PyUnicode_ToTitlecase()
76 int _PyUnicode_IsTitlecase(Py_UCS4 ch) in _PyUnicode_IsTitlecase() argument
78 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsTitlecase()
86 int _PyUnicode_IsXidStart(Py_UCS4 ch) in _PyUnicode_IsXidStart() argument
88 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsXidStart()
96 int _PyUnicode_IsXidContinue(Py_UCS4 ch) in _PyUnicode_IsXidContinue() argument
98 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsXidContinue()
106 int _PyUnicode_ToDecimalDigit(Py_UCS4 ch) in _PyUnicode_ToDecimalDigit() argument
[all …]
/external/python/cpython2/Objects/
Dunicodectype.c57 Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch) in _PyUnicode_ToTitlecase() argument
59 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToTitlecase()
68 return ch + delta; in _PyUnicode_ToTitlecase()
74 int _PyUnicode_IsTitlecase(Py_UNICODE ch) in _PyUnicode_IsTitlecase() argument
76 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_IsTitlecase()
84 int _PyUnicode_ToDecimalDigit(Py_UNICODE ch) in _PyUnicode_ToDecimalDigit() argument
86 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); in _PyUnicode_ToDecimalDigit()
91 int _PyUnicode_IsDecimalDigit(Py_UNICODE ch) in _PyUnicode_IsDecimalDigit() argument
93 if (_PyUnicode_ToDecimalDigit(ch) < 0) in _PyUnicode_IsDecimalDigit()
101 int _PyUnicode_ToDigit(Py_UNICODE ch) in _PyUnicode_ToDigit() argument
[all …]

12345678910>>...112