/external/caliper/examples/src/main/java/examples/ |
D | CharacterBenchmark.java | 58 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/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | UCharacterPerf.java | 49 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/aac/libAACenc/src/ |
D | psy_main.cpp | 251 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/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 112 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 …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 112 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 …]
|
/external/llvm-project/flang/include/flang/Parser/ |
D | characters.h | 31 inline constexpr bool IsUpperCaseLetter(char ch) { in IsUpperCaseLetter() argument 32 return ch >= 'A' && ch <= 'Z'; in IsUpperCaseLetter() 35 inline constexpr bool IsLowerCaseLetter(char ch) { in IsLowerCaseLetter() argument 36 return ch >= 'a' && ch <= 'z'; in IsLowerCaseLetter() 39 inline constexpr bool IsLetter(char ch) { in IsLetter() argument 40 return IsUpperCaseLetter(ch) || IsLowerCaseLetter(ch); in IsLetter() 43 inline constexpr bool IsDecimalDigit(char ch) { return ch >= '0' && ch <= '9'; } in IsDecimalDigit() argument 45 inline constexpr bool IsHexadecimalDigit(char ch) { in IsHexadecimalDigit() argument 46 return (ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F') || in IsHexadecimalDigit() 47 (ch >= 'a' && ch <= 'f'); in IsHexadecimalDigit() [all …]
|
/external/tensorflow/tensorflow/core/platform/ |
D | scanner.h | 175 static bool IsLetter(char ch) { in IsLetter() argument 176 return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z'); in IsLetter() 179 static bool IsLowerLetter(char ch) { return ch >= 'a' && ch <= 'z'; } in IsLowerLetter() argument 181 static bool IsDigit(char ch) { return ch >= '0' && ch <= '9'; } in IsDigit() argument 183 static bool IsSpace(char ch) { in IsSpace() argument 184 return (ch == ' ' || ch == '\t' || ch == '\n' || ch == '\v' || ch == '\f' || in IsSpace() 185 ch == '\r'); in IsSpace() 188 static bool Matches(CharClass clz, char ch) { in Matches() argument 193 return IsDigit(ch); in Matches() 195 return IsLetter(ch); in Matches() [all …]
|
/external/e2fsprogs/lib/support/ |
D | cstring.c | 18 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/ |
D | ConvertUTF.c | 68 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/antlr/runtime/C/src/ |
D | antlr3convertutf.c | 59 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/cldr/tools/java/com/ibm/icu/dev/test/ |
D | UTF16Util.java | 29 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/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | UTF16Util.java | 30 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/libxaac/decoder/ |
D | ixheaacd_mps_temp_process.c | 89 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/google-breakpad/src/common/ |
D | convert_UTF.cc | 89 UTF32 ch; in ConvertUTF32toUTF16() local 93 ch = *source++; in ConvertUTF32toUTF16() 94 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */ in ConvertUTF32toUTF16() 96 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) { in ConvertUTF32toUTF16() 105 *target++ = (UTF16)ch; /* normal case */ in ConvertUTF32toUTF16() 107 } else if (ch > UNI_MAX_LEGAL_UTF32) { in ConvertUTF32toUTF16() 119 ch -= halfBase; in ConvertUTF32toUTF16() 120 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START); in ConvertUTF32toUTF16() 121 *target++ = (UTF16)((ch & halfMask) + UNI_SUR_LOW_START); in ConvertUTF32toUTF16() 136 UTF32 ch, ch2; in ConvertUTF16toUTF32() local [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | UTF16Util.java | 34 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/jackson-core/src/main/java/com/fasterxml/jackson/core/json/async/ |
D | NonBlockingJsonParser.java | 197 int ch = _inputBuffer[_inputPtr++] & 0xFF; in nextToken() local 201 return _startDocument(ch); in nextToken() 204 return _startValue(ch); in nextToken() 207 return _startFieldName(ch); in nextToken() 209 return _startFieldNameAfterComma(ch); in nextToken() 212 return _startValueExpectColon(ch); in nextToken() 215 return _startValue(ch); in nextToken() 218 return _startValueExpectComma(ch); in nextToken() 428 private final JsonToken _startDocument(int ch) throws IOException in _startDocument() argument 430 ch &= 0xFF; in _startDocument() [all …]
|
/external/libcups/cups/ |
D | string-private.h | 92 _cups_isalnum(int ch) /* I - Character to test */ in _cups_isalnum() argument 94 return ((ch >= '0' && ch <= '9') || in _cups_isalnum() 95 (ch >= 'A' && ch <= 'Z') || in _cups_isalnum() 96 (ch >= 'a' && ch <= 'z')); in _cups_isalnum() 100 _cups_isalpha(int ch) /* I - Character to test */ in _cups_isalpha() argument 102 return ((ch >= 'A' && ch <= 'Z') || in _cups_isalpha() 103 (ch >= 'a' && ch <= 'z')); in _cups_isalpha() 107 _cups_islower(int ch) /* I - Character to test */ in _cups_islower() argument 109 return (ch >= 'a' && ch <= 'z'); in _cups_islower() 113 _cups_isspace(int ch) /* I - Character to test */ in _cups_isspace() argument [all …]
|
/external/arm-trusted-firmware/plat/rockchip/rk3399/include/shared/ |
D | dram_regs.h | 75 #define SYS_REG_ENC_ROW_3_4(n, ch) ((n) << (30 + (ch))) argument 76 #define SYS_REG_DEC_ROW_3_4(n, ch) (((n) >> (30 + (ch))) & 0x1) argument 77 #define SYS_REG_ENC_CHINFO(ch) (1 << (28 + (ch))) argument 78 #define SYS_REG_DEC_CHINFO(n, ch) (((n) >> (28 + (ch))) & 0x1) argument 83 #define SYS_REG_ENC_RANK(n, ch) (((n) - 1) << (11 + (ch) * 16)) argument 84 #define SYS_REG_DEC_RANK(n, ch) (1 + (((n) >> (11 + (ch) * 16)) & 0x1)) argument 85 #define SYS_REG_ENC_COL(n, ch) (((n) - 9) << (9 + (ch) * 16)) argument 86 #define SYS_REG_DEC_COL(n, ch) (9 + (((n) >> (9 + (ch) * 16)) & 0x3)) argument 87 #define SYS_REG_ENC_BK(n, ch) (((n) == 3 ? 0 : 1) << (8 + (ch) * 16)) argument 88 #define SYS_REG_DEC_BK(n, ch) (3 - (((n) >> (8 + (ch) * 16)) & 0x1)) argument [all …]
|
/external/icu/icu4c/source/common/ |
D | ustrtrns.cpp | 48 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/webrtc/modules/audio_processing/aec3/ |
D | subband_erle_estimator.cc | 63 for (size_t ch = 0; ch < erle_onsets_.size(); ++ch) { in Reset() local 64 erle_onsets_[ch].fill(min_erle_); in Reset() 65 coming_onset_[ch].fill(true); in Reset() 66 hold_counters_[ch].fill(0); in Reset() 97 for (int ch = 0; ch < num_capture_channels; ++ch) { in UpdateBands() local 101 if (!converged_filters[ch]) { in UpdateBands() 110 if (accum_spectra_.num_points[ch] == kPointsToAccumulate && in UpdateBands() 111 accum_spectra_.E2[ch][k] > 0.f) { in UpdateBands() 112 new_erle[k] = accum_spectra_.Y2[ch][k] / accum_spectra_.E2[ch][k]; in UpdateBands() 119 if (is_erle_updated[k] && !accum_spectra_.low_render_energy[ch][k]) { in UpdateBands() [all …]
|
/external/icu/icu4c/source/test/perf/charperf/ |
D | charperf.h | 23 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/aac/libSACdec/src/ |
D | sac_stp.cpp | 281 int ch; in subbandTPInit() local 283 for (ch = 0; ch < MAX_OUTPUT_CHANNELS; ch++) { in subbandTPInit() 284 self->prev_tp_scale[ch] = FL2FXCONST_DBL(1.0f / (1 << SF_SCALE)); in subbandTPInit() 285 self->oldWetEnerLD64[ch] = FL2FXCONST_DBL(0.0); in subbandTPInit() 287 for (ch = 0; ch < MAX_INPUT_CHANNELS; ch++) { in subbandTPInit() 288 self->oldDryEnerLD64[ch] = FL2FXCONST_DBL(0.0); in subbandTPInit() 327 int n, ch, cplxBands, cplxHybBands; in subbandTPApply() local 352 for (ch = 0; ch < self->numOutputChannels; ch++) { in subbandTPApply() 353 qmfOutputRealDry[ch] = &self->hybOutputRealDry__FDK[ch][7]; in subbandTPApply() 354 qmfOutputRealWet[ch] = &self->hybOutputRealWet__FDK[ch][7]; in subbandTPApply() [all …]
|
/external/llvm/lib/Support/ |
D | ConvertUTF.c | 125 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/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | ConvertUTF.cpp | 125 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/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ConvertUTF.cpp | 151 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 …]
|