Home
last modified time | relevance | path

Searched refs:ch2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libmedia/
DMediaScannerClient.cpp100 uint8_t ch1, ch2; in possibleEncodings() local
105 ch2 = *chp++; in possibleEncodings()
106 ch1 = ((ch1 << 6) & 0xC0) | (ch2 & 0x3F); in possibleEncodings()
109 ch2 = *chp++; in possibleEncodings()
110 if (ch2 & 0x80) in possibleEncodings()
111 ch2 = ((ch2 << 6) & 0xC0) | (*chp++ & 0x3F); in possibleEncodings()
113 int ch = (int)ch1 << 8 | (int)ch2; in possibleEncodings()
/frameworks/av/media/mtp/
DMtpStringBuffer.cpp156 uint16_t ch2 = *src++; in writeToPacket() local
157 ch = ((ch1 & 0x1F) << 6) | (ch2 & 0x3F); in writeToPacket()
160 uint16_t ch2 = *src++; in writeToPacket() local
162 ch = ((ch1 & 0x0F) << 12) | ((ch2 & 0x3F) << 6) | (ch3 & 0x3F); in writeToPacket()
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_i18n.c272 uint8_t ch2, ch3, ch4; in utf8ToWcs() local
283 if (i + 1 < mbsLen && ((ch2 = mbs[i + 1]) & 0xc0) == 0x80) { in utf8ToWcs()
284 wideChar = (uint16_t)(((ch & 0x1F) << 6) | (ch2 & 0x3F)); in utf8ToWcs()
293 && ((ch2 = mbs[i + 1]) & 0xc0) == 0x80 in utf8ToWcs()
295 wideChar = (uint16_t)(((ch & 0x0F) << 12) | ((ch2 & 0x3F) << 6) | (ch3 & 0x3F)); in utf8ToWcs()
306 && ((ch2 = mbs[i + 1]) & 0xc0) == 0x80 in utf8ToWcs()
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java416 char ch2 = text.charAt(index + 1); in parseURL() local
417 if (Character.isWhitespace(ch2) || isPunctuation(ch2)) { in parseURL()
/frameworks/base/core/jni/android/graphics/
DTextLayoutCache.cpp563 UChar ch2 = chars[j]; in computeRunValues() local
564 if (::ublock_getCode(ch2) != UBLOCK_COMBINING_DIACRITICAL_MARKS) { in computeRunValues()