Home
last modified time | relevance | path

Searched refs:byteMask (Results 1 – 8 of 8) sorted by relevance

/external/aac/libFDK/src/
DFDK_bitbuffer.cpp167 UINT byteMask = hBitBuf->bufSize - 1 ; in FDK_get() local
169 UINT tx = (hBitBuf->Buffer [ byteOffset & byteMask] << 24) | in FDK_get()
170 (hBitBuf->Buffer [(byteOffset+1) & byteMask] << 16) | in FDK_get()
171 (hBitBuf->Buffer [(byteOffset+2) & byteMask] << 8) | in FDK_get()
172 hBitBuf->Buffer [(byteOffset+3) & byteMask]; in FDK_get()
177 tx |= hBitBuf->Buffer [(byteOffset+4) & byteMask] >> (8-bitOffset); in FDK_get()
218 UINT byteMask = hBitBuf->bufSize - 1 ; in FDK_getBwd() local
225 UINT tx = hBitBuf->Buffer [(byteOffset-3) & byteMask] << 24 | in FDK_getBwd()
226 hBitBuf->Buffer [(byteOffset-2) & byteMask] << 16 | in FDK_getBwd()
227 hBitBuf->Buffer [(byteOffset-1) & byteMask] << 8 | in FDK_getBwd()
[all …]
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3convertutf.c214 const UTF32 byteMask = 0xBF; in ConvertUTF16toUTF8() local
261 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
262 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
263 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
411 const UTF32 byteMask = 0xBF; in ConvertUTF32toUTF8() local
441 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
442 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
443 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/
DUTF8.cpp138 const UChar32 byteMask = 0xBF; in convertLatin1ToUTF8() local
158 *--target = (char)((ch | byteMark) & byteMask); in convertLatin1ToUTF8()
180 const UChar32 byteMask = 0xBF; in convertUTF16ToUTF8() local
233 case 4: *--target = (char)((ch | byteMark) & byteMask); ch >>= 6; in convertUTF16ToUTF8()
234 case 3: *--target = (char)((ch | byteMark) & byteMask); ch >>= 6; in convertUTF16ToUTF8()
235 case 2: *--target = (char)((ch | byteMark) & byteMask); ch >>= 6; in convertUTF16ToUTF8()
/external/llvm/lib/Support/
DConvertUTF.c230 const UTF32 byteMask = 0xBF; in ConvertUTF16toUTF8() local
277 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
278 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
279 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
300 const UTF32 byteMask = 0xBF; in ConvertUTF32toUTF8() local
330 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
331 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
332 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc193 const uint8_t byteMask = in TEST() local
197 (byteMask & (1 << bitPosition)) >> bitPosition; in TEST()
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder_libgif.cpp205 uint8_t byteMask = (~(count - 1)); in sanitize_indexed_bitmap() local
215 if (0 != ((*ptr) & byteMask)) { in sanitize_indexed_bitmap()
/external/skia/src/images/
DSkImageDecoder_libgif.cpp206 uint8_t byteMask = (~(count - 1)); in sanitize_indexed_bitmap() local
216 if (0 != ((*ptr) & byteMask)) { in sanitize_indexed_bitmap()
/external/clang/lib/Lex/
DLiteralSupport.cpp433 const unsigned byteMask = 0xBF; in EncodeUCNEscape() local
444 case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
445 case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
446 case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()