/external/aac/libAACenc/src/ |
D | psy_main.cpp | 250 int i, ch, n, chInc = 0, resetChannels = 3; in FDKaacEnc_psyInit() local 262 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) { in FDKaacEnc_psyInit() 264 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[chInc]; in FDKaacEnc_psyInit() 266 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType); in FDKaacEnc_psyInit() 268 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 0; in FDKaacEnc_psyInit() 271 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[nMaxChannels-1]; in FDKaacEnc_psyInit() 272 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 1; in FDKaacEnc_psyInit() 281 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) { in FDKaacEnc_psyInit() 282 phpsyOut[n]->psyOutElement[i]->psyOutChannel[ch] = phpsyOut[n]->pPsyOutChannels[chInc++]; in FDKaacEnc_psyInit() 313 int i, ch; in FDKaacEnc_psyMainInit() local [all …]
|
D | adj_thr.cpp | 360 INT ch, sfb, sfbGrp; in FDKaacEnc_calcThreshExp() local 363 for (ch=0; ch<nChannels; ch++) { in FDKaacEnc_calcThreshExp() 364 for(sfbGrp = 0;sfbGrp < psyOutChannel[ch]->sfbCnt;sfbGrp+= psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_calcThreshExp() 365 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) { in FDKaacEnc_calcThreshExp() 366 thrExpLdData = psyOutChannel[ch]->sfbThresholdLdData[sfbGrp+sfb]>>2 ; in FDKaacEnc_calcThreshExp() 367 thrExp[ch][sfbGrp+sfb] = CalcInvLdData(thrExpLdData); in FDKaacEnc_calcThreshExp() 383 INT ch, sfb, sfbGrp, nSfb; in FDKaacEnc_adaptMinSnr() local 389 for (ch=0; ch<nChannels; ch++) { in FDKaacEnc_adaptMinSnr() 394 for (sfbGrp=0; sfbGrp < psyOutChannel[ch]->sfbCnt; sfbGrp+=psyOutChannel[ch]->sfbPerGroup) { in FDKaacEnc_adaptMinSnr() 395 for (sfb=0; sfb<psyOutChannel[ch]->maxSfbPerGroup; sfb++) { in FDKaacEnc_adaptMinSnr() [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 …]
|
D | ucnv_u8.c | 100 uint32_t ch, ch2 = 0; in ucnv_toUnicode_UTF8() local 110 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8() 118 ch = *(mySource++); in ucnv_toUnicode_UTF8() 119 if (ch < 0x80) /* Simple case */ in ucnv_toUnicode_UTF8() 121 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8() 126 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8() 127 inBytes = bytesFromUTF8[ch]; /* lookup current sequence length */ in ucnv_toUnicode_UTF8() 140 ch = (ch << 6) + ch2; in ucnv_toUnicode_UTF8() 147 cnv->toUnicodeStatus = ch; in ucnv_toUnicode_UTF8() 155 ch -= offsetsFromUTF8[inBytes]; in ucnv_toUnicode_UTF8() [all …]
|
D | ucnv_u32.c | 53 uint32_t ch, i; in T_UConverter_toUnicode_UTF32_BE() local 60 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE() 67 ch = 0; in T_UConverter_toUnicode_UTF32_BE() 71 ch = (ch << 8) | (uint8_t)(*mySource); in T_UConverter_toUnicode_UTF32_BE() 77 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE() 83 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_BE() 85 if (ch <= MAXIMUM_UCS2) in T_UConverter_toUnicode_UTF32_BE() 88 *(myTarget++) = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE() 92 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_BE() 93 ch = U16_TRAIL(ch); in T_UConverter_toUnicode_UTF32_BE() [all …]
|
/external/chromium_org/third_party/icu/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 …]
|
D | ucnv_u8.c | 109 uint32_t ch, ch2 = 0; in ucnv_toUnicode_UTF8() local 119 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8() 127 ch = *(mySource++); in ucnv_toUnicode_UTF8() 128 if (ch < 0x80) /* Simple case */ in ucnv_toUnicode_UTF8() 130 *(myTarget++) = (UChar) ch; in ucnv_toUnicode_UTF8() 135 toUBytes[0] = (char)ch; in ucnv_toUnicode_UTF8() 136 inBytes = bytesFromUTF8[ch]; /* lookup current sequence length */ in ucnv_toUnicode_UTF8() 149 ch = (ch << 6) + ch2; in ucnv_toUnicode_UTF8() 156 cnv->toUnicodeStatus = ch; in ucnv_toUnicode_UTF8() 164 ch -= offsetsFromUTF8[inBytes]; in ucnv_toUnicode_UTF8() [all …]
|
D | ucnv_u32.c | 53 uint32_t ch, i; in T_UConverter_toUnicode_UTF32_BE() local 60 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE() 67 ch = 0; in T_UConverter_toUnicode_UTF32_BE() 71 ch = (ch << 8) | (uint8_t)(*mySource); in T_UConverter_toUnicode_UTF32_BE() 77 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE() 83 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_BE() 85 if (ch <= MAXIMUM_UCS2) in T_UConverter_toUnicode_UTF32_BE() 88 *(myTarget++) = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE() 92 *(myTarget++) = U16_LEAD(ch); in T_UConverter_toUnicode_UTF32_BE() 93 ch = U16_TRAIL(ch); in T_UConverter_toUnicode_UTF32_BE() [all …]
|
/external/antlr/antlr-3.4/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/icu/icu4c/source/test/perf/charperf/ |
D | charperf.h | 19 typedef void (*CharPerfFn)(UChar32 ch); 20 typedef void (*StdLibCharPerfFn)(wchar_t ch); 119 inline void isAlpha(UChar32 ch) in isAlpha() argument 121 u_isalpha(ch); in isAlpha() 124 inline void isUpper(UChar32 ch) in isUpper() argument 126 u_isupper(ch); in isUpper() 129 inline void isLower(UChar32 ch) in isLower() argument 131 u_islower(ch); in isLower() 134 inline void isDigit(UChar32 ch) in isDigit() argument 136 u_isdigit(ch); in isDigit() [all …]
|
/external/chromium_org/third_party/icu/source/test/perf/charperf/ |
D | charperf.h | 19 typedef void (*CharPerfFn)(UChar32 ch); 20 typedef void (*StdLibCharPerfFn)(wchar_t ch); 119 inline void isAlpha(UChar32 ch) in isAlpha() argument 121 u_isalpha(ch); in isAlpha() 124 inline void isUpper(UChar32 ch) in isUpper() argument 126 u_isupper(ch); in isUpper() 129 inline void isLower(UChar32 ch) in isLower() argument 131 u_islower(ch); in isLower() 134 inline void isDigit(UChar32 ch) in isDigit() argument 136 u_isdigit(ch); in isDigit() [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/qemu/distrib/sdl-1.2.15/src/stdlib/ |
D | SDL_iconv.c | 215 Uint32 ch = 0; in SDL_iconv() local 309 ch = (Uint32)(p[0] & 0x7F); in SDL_iconv() 317 ch = (Uint32)p[0]; in SDL_iconv() 332 ch = UNKNOWN_UNICODE; in SDL_iconv() 337 ch = (Uint32)(p[0] & 0x01); in SDL_iconv() 345 ch = UNKNOWN_UNICODE; in SDL_iconv() 350 ch = (Uint32)(p[0] & 0x03); in SDL_iconv() 358 ch = UNKNOWN_UNICODE; in SDL_iconv() 363 ch = (Uint32)(p[0] & 0x07); in SDL_iconv() 371 ch = UNKNOWN_UNICODE; in SDL_iconv() [all …]
|
/external/skia/experimental/PdfViewer/pdfparser/native/ |
D | SkPdfNativeTokenizer.h | 57 #define isPdfWhiteSpace(ch) (((ch)==kNUL_PdfWhiteSpace)|| \ argument 58 ((ch)==kHT_PdfWhiteSpace)|| \ 59 ((ch)==kLF_PdfWhiteSpace)|| \ 60 ((ch)==kFF_PdfWhiteSpace)|| \ 61 ((ch)==kCR_PdfWhiteSpace)|| \ 62 ((ch)==kSP_PdfWhiteSpace)) 64 #define isPdfEOL(ch) (((ch)==kLF_PdfWhiteSpace)||((ch)==kCR_PdfWhiteSpace)) argument 67 #define isPdfDelimiter(ch) (((ch)==kOpenedRoundBracket_PdfDelimiter)||\ argument 68 ((ch)==kClosedRoundBracket_PdfDelimiter)||\ 69 ((ch)==kOpenedInequityBracket_PdfDelimiter)||\ [all …]
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/ |
D | SkPdfNativeTokenizer.h | 57 #define isPdfWhiteSpace(ch) (((ch)==kNUL_PdfWhiteSpace)|| \ argument 58 ((ch)==kHT_PdfWhiteSpace)|| \ 59 ((ch)==kLF_PdfWhiteSpace)|| \ 60 ((ch)==kFF_PdfWhiteSpace)|| \ 61 ((ch)==kCR_PdfWhiteSpace)|| \ 62 ((ch)==kSP_PdfWhiteSpace)) 64 #define isPdfEOL(ch) (((ch)==kLF_PdfWhiteSpace)||((ch)==kCR_PdfWhiteSpace)) argument 67 #define isPdfDelimiter(ch) (((ch)==kOpenedRoundBracket_PdfDelimiter)||\ argument 68 ((ch)==kClosedRoundBracket_PdfDelimiter)||\ 69 ((ch)==kOpenedInequityBracket_PdfDelimiter)||\ [all …]
|
/external/chromium_org/net/tools/dump_cache/ |
D | url_to_filename_encoder.cc | 118 unsigned char ch = static_cast<unsigned char>(filename_ending[index]); in EncodeSegment() local 122 if ((ch == dir_separator) && !segment.empty()) { in EncodeSegment() 128 if ((ch == '_') || (ch == '.') || (ch == '=') || (ch == '+') || in EncodeSegment() 129 (ch == '-') || (('0' <= ch) && (ch <= '9')) || in EncodeSegment() 130 (('A' <= ch) && (ch <= 'Z')) || (('a' <= ch) && (ch <= 'z'))) { in EncodeSegment() 131 encoded[0] = ch; in EncodeSegment() 135 encoded[1] = ch / 16; in EncodeSegment() 137 encoded[2] = ch % 16; in EncodeSegment() 183 char ch = encoded_filename[i]; in Decode() local 186 if (ch == kEscapeChar) { in Decode() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/audio/dc/ |
D | aica.c | 17 #define CHNREGADDR(ch,x) SNDREGADDR(0x80*(ch)+(x)) argument 22 #define CHNREG32(ch, x) (*(volatile unsigned long *)CHNREGADDR(ch,x)) argument 23 #define CHNREG8(ch, x) (*(volatile unsigned long *)CHNREGADDR(ch,x)) argument 151 void aica_play(int ch,int mode,unsigned long smpptr,int loopst,int loopend,int freq,int vol,int pan… in aica_play() argument 158 aica_stop(ch); in aica_play() 175 CHNREG32(ch, 8) = loopst & 0xffff; in aica_play() 176 CHNREG32(ch, 12) = loopend & 0xffff; in aica_play() 179 CHNREG32(ch, 24) = AICA_FREQ(freq); in aica_play() 183 CHNREG32(ch, 36) = AICA_PAN(pan) | (0xf<<8); in aica_play() 187 CHNREG32(ch, 40) = 0x24 | (vol<<8); in aica_play() [all …]
|
/external/nist-sip/java/gov/nist/core/ |
D | StringTokenizer.java | 75 public static boolean isHexDigit(char ch) { in isHexDigit() argument 76 return (ch >= 'A' && ch <= 'F') || in isHexDigit() 77 (ch >= 'a' && ch <= 'f') || in isHexDigit() 78 isDigit(ch); in isHexDigit() 81 public static boolean isAlpha(char ch) { in isAlpha() argument 82 if (ch <= 127) { in isAlpha() 83 return ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z')); in isAlpha() 86 return Character.isLowerCase(ch) || Character.isUpperCase(ch); in isAlpha() 90 public static boolean isDigit(char ch) { in isDigit() argument 91 if (ch <= 127) { in isDigit() [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | FixASCIIControlsReader.java | 112 private char processChar(char ch) in processChar() argument 117 if (ch == '&') in processChar() 121 return ch; in processChar() 124 if (ch == '#') in processChar() 132 return ch; in processChar() 135 if (ch == 'x') in processChar() 141 else if ('0' <= ch && ch <= '9') in processChar() 143 control = Character.digit(ch, 10); in processChar() 151 return ch; in processChar() 154 if ('0' <= ch && ch <= '9') in processChar() [all …]
|
D | Utils.java | 457 private static boolean isNameStartChar(char ch) in isNameStartChar() argument 459 return ch > 0xFF || xmlNameStartChars[ch]; in isNameStartChar() 474 private static boolean isNameChar(char ch) in isNameChar() argument 476 return ch > 0xFF || xmlNameChars[ch]; in isNameChar() 488 for (char ch = 0; ch < xmlNameChars.length; ch++) in initCharTables() 490 xmlNameStartChars[ch] = in initCharTables() 491 ('a' <= ch && ch <= 'z') || in initCharTables() 492 ('A' <= ch && ch <= 'Z') || in initCharTables() 493 ch == ':' || in initCharTables() 494 ch == '_' || in initCharTables() [all …]
|
/external/icu/icu4c/source/layout/ |
D | IndicReordering.h | 105 CharClass getCharClass(LEUnicode ch) const; 109 inline le_bool isVowelModifier(LEUnicode ch) const; 110 inline le_bool isStressMark(LEUnicode ch) const; 111 inline le_bool isConsonant(LEUnicode ch) const; 112 inline le_bool isReph(LEUnicode ch) const; 113 inline le_bool isVirama(LEUnicode ch) const; 114 inline le_bool isAlLakuna(LEUnicode ch) const; 115 inline le_bool isNukta(LEUnicode ch) const; 116 inline le_bool isVattu(LEUnicode ch) const; 117 inline le_bool isMatra(LEUnicode ch) const; [all …]
|
/external/libpng/contrib/arm-neon/ |
D | linux.c | 45 int ch = fgetc(f); in png_have_neon() local 47 if (ch == EOF) in png_have_neon() 60 if (ch <= 32) /* skip control characters and space */ in png_have_neon() 69 if ((ch & ~0x20) == ch_feature[counter]) in png_have_neon() 83 if (ch != 10 && ch != 13) in png_have_neon() 91 if (ch == 32 || ch == 9) in png_have_neon() 94 if (ch == 58) /* i.e. ':' */ in png_have_neon() 108 if (ch == 32 || ch == 9) in png_have_neon() 117 if ((ch & ~0x20) == ch_neon[counter]) in png_have_neon() 129 if (ch == 10 || ch == 13) in png_have_neon() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
D | SDL_riscosevents.c | 436 int ch; in TranslateKey() local 442 ch = keysym->sym; /* This should handle most unshifted keys */ in TranslateKey() 444 if (intkey < 9 || ch == SDLK_UNKNOWN) in TranslateKey() 446 ch = 0; in TranslateKey() 450 ch = ch & 31; in TranslateKey() 462 if (ch >= SDLK_a && ch <= SDLK_z) in TranslateKey() 481 if (ch >= SDLK_a && ch <= SDLK_z) ch = toupper(ch); in TranslateKey() 484 switch(ch) in TranslateKey() 486 case SDLK_HASH: ch = '~'; break; in TranslateKey() 487 case SDLK_QUOTE: ch = '@'; break; in TranslateKey() [all …]
|
/external/sqlite/android/ |
D | PhoneNumberUtils.cpp | 79 static int tryGetISODigit (char ch) in tryGetISODigit() argument 81 if ('0' <= ch && ch <= '9') { in tryGetISODigit() 82 return ch - '0'; in tryGetISODigit() 92 static bool isDialable(char ch) in isDialable() argument 94 return ('0' <= ch && ch <= '9') || ch == '*' || ch == '#' || ch == '+'; in isDialable() 98 static bool isSeparator(char ch) in isSeparator() argument 100 return !isDialable(ch) && (isalpha(ch) == 0); in isSeparator() 118 char ch = str[i]; in tryGetTrunkPrefixOmittedStr() local 119 if (tryGetISODigit(ch) >= 0) { in tryGetTrunkPrefixOmittedStr() 127 } else if (isDialable(ch)) { in tryGetTrunkPrefixOmittedStr() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
D | Strings.java | 45 char ch; in fromUTF8ByteArray() local 54 ch = W2; in fromUTF8ByteArray() 59 ch = (char)(((bytes[i] & 0x0f) << 12) in fromUTF8ByteArray() 65 ch = (char)(((bytes[i] & 0x1f) << 6) | (bytes[i + 1] & 0x3f)); in fromUTF8ByteArray() 70 ch = (char)(((bytes[i] & 0x1f) << 6) | (bytes[i + 1] & 0x3f)); in fromUTF8ByteArray() 75 ch = (char)(bytes[i] & 0xff); in fromUTF8ByteArray() 79 cs[length++] = ch; in fromUTF8ByteArray() 114 char ch = c[i]; in toUTF8ByteArray() local 116 if (ch < 0x0080) in toUTF8ByteArray() 118 sOut.write(ch); in toUTF8ByteArray() [all …]
|