Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/compile/mclinker/lib/Support/
DLEB128.cpp20 ByteType byte = pValue & 0x7f; in encode() local
23 byte |= 0x80; in encode()
24 *pBuf++ = byte; in encode()
72 ByteType byte = pValue & 0x7f; in encode() local
75 if (((pValue == 0) && ((byte & 0x40) == 0)) || in encode()
76 ((pValue == -1) && ((byte & 0x40) == 0x40))) in encode()
79 byte |= 0x80; in encode()
81 *pBuf++ = byte; in encode()
118 ByteType byte; in decode() local
124 byte = *pBuf; in decode()
[all …]
/frameworks/libs/binary_translation/tools/nogrod/
Dleb128.cc38 uint8_t byte; in DecodeLeb128() local
53 byte = buf[size++]; in DecodeLeb128()
55 value += static_cast<uint64_t>(byte & 0x7f) << shift; in DecodeLeb128()
58 } while ((byte & 0x80) != 0); in DecodeLeb128()
69 uint8_t byte; in DecodeSleb128() local
84 byte = buf[size++]; in DecodeSleb128()
86 value += static_cast<uint64_t>(byte & 0x7f) << shift; in DecodeSleb128()
89 } while ((byte & 0x80) != 0); in DecodeSleb128()
92 if (shift < (sizeof(uint64_t) * CHAR_BIT) && (byte & 0x40) != 0) { in DecodeSleb128()
/frameworks/base/media/lib/signer/api/
Dcurrent.txt6 …aDrmSigner.Certificate provideCertificateResponse(android.media.MediaDrm, byte[]) throws android.m…
7 method public static byte[] signRSA(android.media.MediaDrm, byte[], String, byte[], byte[]);
12 method public byte[] getContent();
13 method public byte[] getWrappedPrivateKey();
17 method public byte[] getData();
/frameworks/av/media/libstagefright/include/media/stagefright/
DDataSourceBase.h53 uint8_t byte[2]; in getUInt16() local
54 if (readAt(offset, byte, 2) != 2) { in getUInt16()
58 *x = (byte[0] << 8) | byte[1]; in getUInt16()
66 uint8_t byte[3]; in getUInt24() local
67 if (readAt(offset, byte, 3) != 3) { in getUInt24()
71 *x = (byte[0] << 16) | (byte[1] << 8) | byte[2]; in getUInt24()
/frameworks/libs/net/common/netd/libnetdutils/
DSlice.cpp26 const std::string toHex(uint8_t byte) { in toHex() argument
29 return {kLookup[byte >> 4], kLookup[byte & 0xf]}; in toHex()
43 uint8_t byte = 0; in toHex() local
44 extract(tail, byte); in toHex()
45 ss << toHex(byte); in toHex()
/frameworks/av/media/module/codecs/m4v_h263/fuzzer/
DREADME.md16 * If the decode operation was un-successful, the input is advanced by 1 byte so that the fuzzer
85 …` 2. `VBR_1` 3. `CBR_2` 4. `VBR_2` 5. `CBR_LOWDELAY` | All the bits of 6th byte of data modulus 6 |
86 | `packetSize` | In the range `0 to 255` | All the bits of 7th byte of data |
87 | `iQuant` | In the range `1 to 31` | All the bits of 8th byte of data |
88 | `pQuant` | In the range `1 to 31` | All the bits of 9th byte of data |
89 | `rvlcEnable` | 0. `PV_OFF` 1. `PV_ON` | bit 0 of 10th byte of data |
90 | `quantType` | 0. `0` 1. `1` | bit 0 of 11th byte of data |
91 | `noFrameSkipped` | 0. `PV_OFF` 1. `PV_ON` | bit 0 of 12th byte of data |
92 | `sceneDetect` | 0. `PV_OFF` 1. `PV_ON` | bit 0 of 13th byte of data |
93 | `numIntraMB` | In the range `0 to 7` | bit 0, 1 and 2 of 14th byte of data |
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DUtils.cpp37 char byte = in_buffer[i]; in ByteArrayToHexString() local
38 out_buffer[(i * 2)] = kHexChars[(byte >> 4) & 0xf]; in ByteArrayToHexString()
39 out_buffer[(i * 2) + 1] = kHexChars[byte & 0xf]; in ByteArrayToHexString()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/fuzzer/
DREADME.md21 … 0. `AMEDIA_MIMETYPE_VIDEO_AVC` 1. `AMEDIA_MIMETYPE_VIDEO_HEVC` | Bit 0 (LSB) of 1st byte of data |
22 … `PROFILE_AVC_CONSTRAINED_BASELINE` 2. `PROFILE_AVC_MAIN`| All bits of 2nd byte of data modulus 3 |
23 | `profile` for HEVC | 0. `PROFILE_HEVC_MAIN` 1. `PROFILE_HEVC_MAIN_STILL` | All bits of 2nd byte o…
24 …2. `LEVEL_AVC_4_1` 13. `LEVEL_AVC_4_2` 14. `LEVEL_AVC_5`| All bits of 3rd byte of data modulus 15 |
25 …IN_5` 8. `LEVEL_HEVC_MAIN_5_1` 9. `LEVEL_HEVC_MAIN_5_2` | All bits of 3rd byte of data modulus 10 |
26 | `bitrate` | In the range `0` to `500000000` | All bits of 4th and 5th byte of data |
/frameworks/native/libs/binder/
DRecordedTransaction.cpp309 const std::byte* descriptorBytes = reinterpret_cast<const std::byte*>(&descriptor); in writeChunk()
310 const std::byte* dataBytes = reinterpret_cast<const std::byte*>(data); in writeChunk()
313 std::vector<std::byte> buffer; in writeChunk()
316 std::byte zero{0}; in writeChunk()
327 std::byte* checksumBytes = reinterpret_cast<std::byte*>(&checksumValue); in writeChunk()
/frameworks/base/libs/protoutil/src/
DProtoFileReader.cpp115 uint8_t byte = next(); in readRawVarint() local
116 val |= (INT64_C(0x7F) & byte) << shift; in readRawVarint()
117 if ((byte & 0x80) == 0) break; in readRawVarint()
DEncodedBuffer.cpp295 uint8_t byte = readRawByte(); in readRawVarint() local
296 val |= (UINT64_C(0x7F) & byte) << shift; in readRawVarint()
297 if ((byte & 0x80) == 0) break; in readRawVarint()
409 uint8_t byte = next(); in readRawVarint() local
410 val |= (INT64_C(0x7F) & byte) << shift; in readRawVarint()
411 if ((byte & 0x80) == 0) break; in readRawVarint()
/frameworks/compile/libbcc/bcinfo/Wrap/
Dfile_wrapper_output.cpp34 bool FileWrapperOutput::Write(uint8_t byte) { in Write() argument
35 return EOF != fputc(byte, _file); in Write()
/frameworks/av/include/media/
DMediaExtractorPluginHelper.h331 uint8_t byte[2]; in getUInt16() local
332 if (readAt(offset, byte, 2) != 2) { in getUInt16()
336 *x = (byte[0] << 8) | byte[1]; in getUInt16()
345 uint8_t byte[3]; in getUInt24() local
346 if (readAt(offset, byte, 3) != 3) { in getUInt24()
350 *x = (byte[0] << 16) | (byte[1] << 8) | byte[2]; in getUInt24()
/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Dbitstream_io.cpp583 UChar *ptr, byte; in BitstreamRepos() local
595 byte = *ptr++; in BitstreamRepos()
596 word = byte | (word << 8); in BitstreamRepos()
598 byte = *ptr++; in BitstreamRepos()
599 word = byte | (word << 8); in BitstreamRepos()
600 byte = *ptr++; in BitstreamRepos()
601 word = byte | (word << 8); in BitstreamRepos()
683 UChar *pSrc, *pDst, byte; in BitstreamPrependPacket() local
716 byte = (bitstream2->word) << leftover; in BitstreamPrependPacket()
718 *pDst++ = byte | (pSrc[0] >> bitused); in BitstreamPrependPacket()
Dmotion_est.cpp678 UChar *ptr, byte; in HTFMPrepareCurMB() local
697 byte = ptr[4]; in HTFMPrepareCurMB()
698 word |= (byte << 8); in HTFMPrepareCurMB()
699 byte = ptr[8]; in HTFMPrepareCurMB()
700 word |= (byte << 16); in HTFMPrepareCurMB()
701 byte = ptr[12]; in HTFMPrepareCurMB()
702 word |= (byte << 24); in HTFMPrepareCurMB()
706 byte = ptr[4]; in HTFMPrepareCurMB()
707 word |= (byte << 8); in HTFMPrepareCurMB()
708 byte = ptr[8]; in HTFMPrepareCurMB()
[all …]
/frameworks/av/media/libstagefright/writer_fuzzers/
DREADME.md32 …tion/x-id3v4` | All the bits of 2nd byte of data for first track and 11th byte of data for second …
33 | `channel-count` | In the range `0 to INT32_MAX` | All the bits of 3rd byte to 6th bytes of data i…
34 | `sample-rate` | In the range `1 to INT32_MAX` | All the bits of 7th byte to 10th bytes of data if…
35 | `height` | In the range `0 to INT32_MAX` | All the bits of 3rd byte to 6th bytes of data if first…
36 | `width` | In the range `0 to INT32_MAX` | All the bits of 7th byte to 10th bytes of data if first…
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DStatementUtils.kt119 val byte = bytes[index].toInt() and 0xFF in bytesToHexString() constant
124 hexChars[bufIndex++] = HEX_DIGITS[byte ushr 4] in bytesToHexString()
125 hexChars[bufIndex++] = HEX_DIGITS[byte and 0x0F] in bytesToHexString()
/frameworks/av/media/module/codecs/mp3dec/fuzzer/
DREADME.md14 …4. `jazz ` 5. `classical ` 6. `talk ` 7. `flat_ ` | Bits 0, 1 and 2 of first byte of input stream |
15 | `crcEnabled` | 0. `false ` 1. `true `| Bit 0 of second byte of input stream |
21 * If the decode operation was un-successful, the input is advanced by 1 byte
/frameworks/base/nfc-extras/api/
Dcurrent.txt35 method public void authenticate(byte[]);
56 method public byte[] transceive(byte[]) throws java.io.IOException;
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/authentication/data/repository/
DFakeAuthenticationRepository.kt199 credential.map { byte -> byte.toInt().toChar() - '0' } == expectedCredential in <lambda>() method
200 isPassword -> credential.map { byte -> byte.toInt().toChar() } == expectedCredential in <lambda>() method
/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
DSimpleProperties.java.txt27 * Property ID of {@code byte}.
84 mByteId = propertyMapper.mapByte("byte", R.attr.byte);
/frameworks/av/media/module/extractors/fuzzers/
Dmpeg2ts_extractor_fuzzer.dict1 # Start byte
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
Dwrapper_output.h37 virtual bool Write(uint8_t byte) = 0;
Dfile_wrapper_output.h33 virtual bool Write(uint8_t byte);
/frameworks/base/tools/bit/
Dadb.cpp90 uint8_t byte; in read_varint() local
91 ssize_t amt = read(fd, &byte, 1); in read_varint()
98 result |= uint64_t(byte & 0x7F) << bits; in read_varint()
99 if ((byte & 0x80) == 0) { in read_varint()

123