Home
last modified time | relevance | path

Searched refs:byteMask (Results 1 – 7 of 7) 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/google-breakpad/src/common/
Dconvert_UTF.c241 const UTF32 byteMask = 0xBF; in ConvertUTF16toUTF8() local
288 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
289 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
290 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8()
434 const UTF32 byteMask = 0xBF; in ConvertUTF32toUTF8() local
464 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
465 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
466 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8()
/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/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/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc189 const uint8_t byteMask = in TEST() local
193 (byteMask & (1 << bitPosition)) >> bitPosition; in TEST()
/external/clang/lib/Lex/
DLiteralSupport.cpp435 const unsigned byteMask = 0xBF; in EncodeUCNEscape() local
446 case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
447 case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()
448 case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; in EncodeUCNEscape()