Searched defs:ch (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/opt/vcard/java/com/android/vcard/
H A DJapaneseUtils.java369 * @param ch input character
370 * @return CharSequence object if the mapping for ch exists. Return null otherwise.
372 public static String tryGetHalfWidthText(final char ch) { argument
373 if (sHalfWidthMap.containsKey(ch)) {
374 return sHalfWidthMap.get(ch);
H A DVCardParserImpl_V40.java65 char ch = text.charAt(i);
66 if (ch == '\\' && i < length - 1) {
74 builder.append(ch);
80 public static String unescapeCharacter(final char ch) { argument
81 if (ch == 'n' || ch == 'N') {
84 return String.valueOf(ch);
H A DVCardParserImpl_V30.java227 final char ch = paramValue.charAt(i);
228 if (ch == '"') {
249 } else if (ch == ',' && !insideDquote) {
263 builder.append(ch);
358 char ch = text.charAt(i);
359 if (ch == '\\' && i < length - 1) {
367 builder.append(ch);
374 protected String maybeUnescapeCharacter(final char ch) { argument
375 return unescapeCharacter(ch);
378 public static String unescapeCharacter(final char ch) { argument
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_get_side_info.cpp119 int32 ch, gr; local
140 for (ch = 0; ch < stereo; ch++)
143 si->ch[ch].scfsi[0] = (tmp << 28) >> 31; /* 1 */
144 si->ch[ch].scfsi[1] = (tmp << 29) >> 31; /* 1 */
145 si->ch[ch]
[all...]
H A Dpvmp3_mpeg2_get_scale_factors.cpp42 int32 ch, channel
121 int32 ch,
132 granuleInfo *gr_info = &(si->ch[ch].gran[gr]);
136 ch,
118 pvmp3_mpeg2_get_scale_factors(mp3ScaleFactors *scalefac, mp3SideInfo *si, int32 gr, int32 ch, mp3Header *info, uint32 *scalefac_IIP_buffer, tmp3Bits *pMainData) argument
H A Dpvmp3_mpeg2_get_scale_data.cpp40 int32 ch, channel
129 int32 ch,
141 granuleInfo *gr_info = &(si->ch[ch].gran[gr]);
148 if ((((info->mode_ext &1)) && (ch == 1)))
177 si->ch[ch].gran[gr].preflag = 0;
187 si->ch[ch].gran[gr].preflag = 0;
198 si->ch[c
127 pvmp3_mpeg2_get_scale_data(mp3SideInfo *si, int32 gr, int32 ch, mp3Header *info, uint32 *scalefac_buffer, uint32 *scalefac_IIP_buffer, tmp3Bits *pMainData) argument
[all...]
H A Dpvmp3_get_scale_factors.cpp41 int32 ch, channel
135 int32 ch,
141 granuleInfo *gr_info = &(si->ch[ch].gran[gr]);
194 if ((si->ch[ch].scfsi[i] == 0) || (gr == 0))
132 pvmp3_get_scale_factors(mp3ScaleFactors *scalefac, mp3SideInfo *si, int32 gr, int32 ch, tmp3Bits *pMainData) argument
H A Dpvmp3_framedecoder.cpp232 int32 ch; local
362 for (ch = 0; ch < pVars->num_channels; ch++)
369 pvmp3_get_scale_factors(&pVars->scaleFactors[ch],
372 ch,
378 pvmp3_mpeg2_get_scale_factors(&pVars->scaleFactors[ch],
381 ch,
387 pChVars[ch]->used_freq_lines = pvmp3_huffman_parsing(pChVars[ch]
[all...]
/frameworks/base/core/java/android/net/http/
H A DCharArrayBuffers.java61 * Returns index of first occurence ch. Lower cases characters leading up
62 * to first occurrence of ch.
64 static int setLowercaseIndexOf(CharArrayBuffer buffer, final int ch) { argument
72 if (current == ch) {
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_decoder.c25 static int8_t get_alphabet_index(int8_t ch) argument
29 if ('=' == ch)
32 tmp = (uint8_t *)strchr((const char *)base64_alphabet, ch);
/frameworks/av/media/libmedia/
H A Dautodetect.cpp849 static bool charMatchesEncoding(int ch, const CharRange* encodingRanges, int rangeCount) { argument
857 if (ch >= range->first && ch <= range->last)
859 if (ch > range->last)
868 extern uint32_t findPossibleEncodings(int ch) argument
871 if (ch < 256) return kEncodingAll;
875 if (charMatchesEncoding(ch, kShiftJISRanges, ARRAY_SIZE(kShiftJISRanges)))
877 if (charMatchesEncoding(ch, kGBKRanges, ARRAY_SIZE(kGBKRanges)))
879 if (charMatchesEncoding(ch, kBig5Ranges, ARRAY_SIZE(kBig5Ranges)))
881 if (charMatchesEncoding(ch, kEUCKRRange
[all...]
H A DMediaScannerClient.cpp73 char ch; local
74 while ((ch = *chp++)) {
75 if (ch & 0x80) {
113 int ch = (int)ch1 << 8 | (int)ch2; local
114 result &= findPossibleEncodings(ch);
/frameworks/av/media/mtp/
H A DMtpStringBuffer.cpp66 char ch; local
67 while ((ch = *src++) != 0) {
68 if ((ch & 0x80) == 0) {
70 } else if ((ch & 0xE0) == 0xC0) {
77 } else if ((ch & 0xF0) == 0xE0) {
100 uint16_t ch; local
103 while ((ch = *src++) != 0 && count < 255) {
104 if (ch >= 0x0800) {
105 *dest++ = (uint8_t)(0xE0 | (ch >> 12));
106 *dest++ = (uint8_t)(0x80 | ((ch >>
125 uint16_t ch = packet->getUInt16(); local
149 uint16_t ch; local
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dline_pe.c48 Word32 ch; local
50 for(ch=0; ch<nChannels; ch++) {
51 PSY_OUT_CHANNEL *psyOutChan = &psyOutChannel[ch];
52 PE_CHANNEL_DATA *peChanData=&peData->peChannelData[ch];
55 peChanData->sfbNLines4[sfbGrp+sfb] = sfbNRelevantLines[ch][sfbGrp+sfb];
56 sfbNRelevantLines[ch][sfbGrp+sfb] = sfbNRelevantLines[ch][sfbGrp+sfb] >> 2;
57 peChanData->sfbLdEnergy[sfbGrp+sfb] = logSfbEnergy[ch][sfbGr
75 Word32 ch; local
[all...]
H A Dstat_bits.c185 Word32 ch; local
229 for(ch=0; ch<2; ch++)
230 statBits += countTnsBits(&(psyOutChannel[ch].tnsInfo),
231 psyOutChannel[ch].windowSequence);
H A Dblock_switch.c283 Word32 w, i, wOffset, tidx, ch; local
H A Dpsy_main.c53 const Word16 ch);
64 const Word16 ch);
193 Word16 ch, err; local
218 for(ch=0;ch < channels;ch++){
220 InitBlockSwitching(&hPsy->psyData[ch].blockSwitchingControl,
223 InitPreEchoControl(hPsy->psyData[ch].sfbThresholdnm1,
226 hPsy->psyData[ch].mdctScalenm1 = 0;
257 Word16 ch; /* count local
470 advancePsychLong(PSY_DATA* psyData, TNS_DATA* tnsData, PSY_CONFIGURATION_LONG *hPsyConfLong, PSY_OUT_CHANNEL* psyOutChannel, Word32 *pScratchTns, const TNS_DATA* tnsData2, const Word16 ch) argument
649 advancePsychShort(PSY_DATA* psyData, TNS_DATA* tnsData, const PSY_CONFIGURATION_SHORT *hPsyConfShort, PSY_OUT_CHANNEL* psyOutChannel, Word32 *pScratchTns, const TNS_DATA *tnsData2, const Word16 ch) argument
[all...]
/frameworks/base/core/java/android/text/
H A DAndroidCharacter.java88 public native static char getMirror(char ch); argument
/frameworks/av/tools/resampler_tools/
H A Dfir.cpp151 int ch; local
152 while ((ch = getopt(argc, argv, ":hds:c:n:f:l:b:p:v:")) != -1) {
153 switch (ch) {
/frameworks/base/cmds/service/
H A Dservice.cpp51 char16_t ch = src[j]; local
52 if (ch < 128) ch8[0] = (char)ch;
/frameworks/base/core/java/android/content/
H A DDefaultDataHandler.java213 public void characters(char[] ch, int start, int length) argument
229 public void ignorableWhitespace(char[] ch, int start, int length) argument
/frameworks/base/core/jni/
H A Dandroid_os_SystemProperties.cpp143 char ch = buf[0]; local
144 if (ch == '0' || ch == 'n')
146 else if (ch == '1' || ch == 'y')
/frameworks/base/libs/androidfw/
H A DInputDevice.cpp39 static bool isValidNameChar(char ch) { argument
40 return isascii(ch) && (isdigit(ch) || isalpha(ch) || ch == '-' || ch == '_');
47 char ch = name[i]; local
48 if (!isValidNameChar(ch)) {
49 ch = '_';
51 path.append(&ch,
[all...]
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationBuilderTest.java204 private static CharSequence subst(CharSequence in, char ch, CharSequence sub) { argument
208 if (edit.charAt(i) == ch) {
/frameworks/native/libs/utils/
H A DTokenizer.cpp34 static inline bool isDelimiter(char ch, const char* delimiters) { argument
35 return strchr(delimiters, ch) != NULL;
122 char ch = *eol; local
123 if (ch == '\n') {
138 char ch = *mCurrent; local
139 if (ch == '\n' || isDelimiter(ch, delimiters)) {
153 char ch = *(mCurrent++); local
154 if (ch == '\n') {
167 char ch local
[all...]

Completed in 4336 milliseconds

12