Searched refs:ch (Results 1 - 25 of 109) sorted by relevance

12345

/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_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.h92 int32 ch,
H A Dpvmp3_mpeg2_get_scale_data.h91 int32 ch,
H A Dpvmp3_mpeg2_get_scale_factors.h92 int32 ch,
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...]
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
/frameworks/av/media/mtp/
H A DMtpStringBuffer.cpp61 char ch; local
64 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) {
65 if ((ch & 0x80) == 0) {
67 *dest++ = ch;
68 } else if ((ch & 0xE0) == 0xC0) {
76 *dest++ = ch;
78 } else if ((ch & 0xF0) == 0xE0) {
91 *dest++ = ch;
105 uint16_t ch; local
108 while ((ch
133 uint16_t ch; local
161 uint16_t ch; local
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java220 char ch;
231 ch = cs.charAt(i);
233 if((ch >= 0x1 && ch <= 0x8) || (ch >= 0xB && ch <= 0xC) || (ch >= 0xE && ch <= 0x1F) ||
234 (ch >= 0x7F && ch <
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
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.java204 final char ch = paramValue.charAt(i);
205 if (ch == '"') {
226 } else if (ch == ',' && !insideDquote) {
240 builder.append(ch);
321 char ch = text.charAt(i);
322 if (ch == '\\' && i < length - 1) {
330 builder.append(ch);
337 protected String maybeUnescapeCharacter(final char ch) { argument
338 return unescapeCharacter(ch);
341 public static String unescapeCharacter(final char ch) { argument
[all...]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsStateTest.java54 for (char ch = 0x20; ch < 0xd800; ch++) {
55 assertFalse("ch=" + Integer.toString(ch, 16),
56 SettingsState.isBinary(String.valueOf(ch)));
58 for (char ch = 0xe000; ch < 0xfffe; ch++) {
59 assertFalse("ch
[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 Dpsy_main.c55 const Word16 ch);
66 const Word16 ch);
197 Word16 ch, err; local
222 for(ch=0;ch < channels;ch++){
224 InitBlockSwitching(&hPsy->psyData[ch].blockSwitchingControl,
227 InitPreEchoControl(hPsy->psyData[ch].sfbThresholdnm1,
230 hPsy->psyData[ch].mdctScalenm1 = 0;
261 Word16 ch; /* count local
474 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
653 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...]
H A Dqc_main.c267 Word32 ch; local
317 for (ch = 0; ch < nChannels; ch++) {
321 maxChDynBits[ch] = extract_l(chBitDistribution[ch] * maxDynBits / 1000);
325 for (ch = 0; ch < nChannels; ch++) {
333 QuantizeSpectrum(psyOutChannel[ch]
[all...]
H A Dadj_thr.c74 Word16 ch, sfb, sfbGrp; local
76 for (ch=0; ch<nChannels; ch++) {
77 PSY_OUT_CHANNEL *psyOutChan = &psyOutChannel[ch];
79 pthrExp = &(thrExp[ch][sfbGrp]);
99 Word16 ch, sfb, sfbOffs; local
105 for (ch=0; ch<nChannels; ch
170 Word16 ch, sfb, sfbGrp, shift; local
335 Word16 ch, sfb, sfbGrp; local
375 Word16 ch, sfb, sfbGrp; local
422 Word16 ch, sfb, sfbGrp,shift; local
534 Word16 ch, sfb, sfbSubWin; local
586 Word16 ch, sfb; local
1144 Word16 ch; local
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c153 unsigned char ch; member in struct:FwdLockConv_Session
285 * @param[in] ch The character to check.
289 static int FwdLockConv_IsBoundaryChar(int ch) { argument
290 return isalnum(ch) || ch == '\'' || ch == '(' || ch == ')' || ch == '+' || ch == '_' ||
291 ch
303 FwdLockConv_IsWhitespace(int ch) argument
333 FwdLockConv_MatchOpenDelimiter(FwdLockConv_Session_t *pSession, int ch) argument
426 FwdLockConv_IsMimeHeaderNameChar(int ch) argument
437 FwdLockConv_IsMimeHeaderValueChar(int ch) argument
449 FwdLockConv_StringAppend(FwdLockConv_String_t *pString, int ch) argument
595 FwdLockConv_MatchMimeHeaders(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
833 FwdLockConv_WriteEncryptedChar(FwdLockConv_Session_t *pSession, unsigned char ch, FwdLockConv_Output_t *pOutput) argument
867 FwdLockConv_MatchBinaryEncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
922 FwdLockConv_IsBase64Char(int ch) argument
935 FwdLockConv_MatchBase64EncodedData(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
1076 FwdLockConv_PushChar(FwdLockConv_Session_t *pSession, int ch, FwdLockConv_Output_t *pOutput) argument
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DCharsets.java87 char ch = chars[i];
88 result[resultIndex++] = (byte) (ch >> 8);
89 result[resultIndex++] = (byte) ch;
98 * char ch = (char) (data[start++] & 0xff);
99 * value[i] = (ch <= 0x7f) ? ch : REPLACEMENT_CHAR;
109 char ch = (char) (bytes[start++] & 0xff);
110 chars[i] = (ch <= 0x7f) ? ch : REPLACEMENT_CHAR;
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DUtils.java89 char ch = prefix.charAt(n);
90 if (ch < '0' || ch > '9') {
137 char ch = s.charAt(n);
138 if (ch >= ' ' && ch < 127) {
139 sb.append(ch);
141 sb.append("\\u").append(String.format("%04x", (int) ch));
188 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { argument
189 if (ch <
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java94 char ch = prefix.charAt(n);
95 if (ch < '0' || ch > '9') {
134 char ch = s.charAt(n);
135 if (ch>= ' ' && ch < 127) {
136 sb.append(ch);
139 sb.append("\\u").append(String.format("%04x", (int)ch));
186 public static int fromHex(char ch, boolean lenient) throws NumberFormatException { argument
187 if (ch <
[all...]
/frameworks/base/core/java/android/text/
H A DAndroidCharacter.java88 public native static char getMirror(char ch); argument
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseStressTest.java65 char[] ch = new char[100000];
66 String str = new String(ch);
87 char[] ch = new char[100000];
88 String str = new String(ch);
/frameworks/minikin/include/minikin/
H A DSparseBitSet.h48 bool get(uint32_t ch) const {
49 if (ch >= mMaxVal) return false;
50 uint32_t *bitmap = &mBitmaps[mIndices[ch >> kLogValuesPerPage]];
51 uint32_t index = ch & kPageMask;
/frameworks/native/libs/input/
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/telephony/java/android/telephony/
H A DJapanesePhoneNumberFormatter.java188 char ch = text.charAt(i);
189 if (!Character.isDigit(ch)) {
193 short value = FORMAT_MAP[base + ch - '0'];

Completed in 1157 milliseconds

12345