/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | ByteArrayAsListTest.java | 37 private static List<Byte> asList(Byte[] values) { in asList() 49 @Override protected List<Byte> create(Byte[] elements) { in create() 55 @Override protected List<Byte> create(Byte[] elements) { in create() 56 Byte[] suffix = {Byte.MIN_VALUE, Byte.MAX_VALUE}; in create() 57 Byte[] all = concat(elements, suffix); in create() 63 @Override protected List<Byte> create(Byte[] elements) { in create() 64 Byte[] prefix = {(byte) 86, (byte) 99}; in create() 65 Byte[] all = concat(prefix, elements); in create() 71 @Override protected List<Byte> create(Byte[] elements) { in create() 72 Byte[] prefix = {Byte.MIN_VALUE, Byte.MAX_VALUE}; in create() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | ByteArrayAsListTest.java | 45 private static List<Byte> asList(Byte[] values) { in asList() 55 List<ListTestSuiteBuilder<Byte>> builders = in suite() 71 for (ListTestSuiteBuilder<Byte> builder : builders) { in suite() 87 @Override protected List<Byte> create(Byte[] elements) { in create() 93 @Override protected List<Byte> create(Byte[] elements) { in create() 94 Byte[] suffix = {Byte.MIN_VALUE, Byte.MAX_VALUE}; in create() 95 Byte[] all = concat(elements, suffix); in create() 101 @Override protected List<Byte> create(Byte[] elements) { in create() 102 Byte[] prefix = {(byte) 86, (byte) 99}; in create() 103 Byte[] all = concat(prefix, elements); in create() [all …]
|
/external/lzma/C/ |
D | CpuArch.h | 74 #define GetUi16(p) (((const Byte *)(p))[0] | ((UInt16)((const Byte *)(p))[1] << 8)) 77 ((const Byte *)(p))[0] | \ 78 ((UInt32)((const Byte *)(p))[1] << 8) | \ 79 ((UInt32)((const Byte *)(p))[2] << 16) | \ 80 ((UInt32)((const Byte *)(p))[3] << 24)) 82 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32)) 85 ((Byte *)(p))[0] = (Byte)_x_; \ 86 ((Byte *)(p))[1] = (Byte)(_x_ >> 8); } 89 ((Byte *)(p))[0] = (Byte)_x_; \ 90 ((Byte *)(p))[1] = (Byte)(_x_ >> 8); \ [all …]
|
D | Bra.c | 6 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in ARM_Convert() 25 data[i + 2] = (Byte)(dest >> 16); in ARM_Convert() 26 data[i + 1] = (Byte)(dest >> 8); in ARM_Convert() 27 data[i + 0] = (Byte)dest; in ARM_Convert() 33 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in ARMT_Convert() 59 data[i + 1] = (Byte)(0xF0 | ((dest >> 19) & 0x7)); in ARMT_Convert() 60 data[i + 0] = (Byte)(dest >> 11); in ARMT_Convert() 61 data[i + 3] = (Byte)(0xF8 | ((dest >> 8) & 0x7)); in ARMT_Convert() 62 data[i + 2] = (Byte)dest; in ARMT_Convert() 69 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in PPC_Convert() [all …]
|
D | Delta.c | 6 void Delta_Init(Byte *state) in Delta_Init() 13 static void MyMemCpy(Byte *dest, const Byte *src, unsigned size) in MyMemCpy() 20 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Encode() 22 Byte buf[DELTA_STATE_SIZE]; in Delta_Encode() 31 Byte b = data[i]; in Delta_Encode() 32 data[i] = (Byte)(b - buf[j]); in Delta_Encode() 43 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Decode() 45 Byte buf[DELTA_STATE_SIZE]; in Delta_Decode() 54 buf[j] = data[i] = (Byte)(buf[j] + data[i]); in Delta_Decode()
|
D | Bra86.c | 8 const Byte kMaskToAllowedStatus[8] = {1, 1, 1, 0, 1, 0, 0, 0}; 9 const Byte kMaskToBitNumber[8] = {0, 1, 2, 2, 3, 3, 3, 3}; 11 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding) in x86_Convert() 22 Byte *p = data + bufferPos; in x86_Convert() 23 Byte *limit = data + size - 4; in x86_Convert() 38 Byte b = p[4 - kMaskToBitNumber[prevMask]]; in x86_Convert() 56 Byte b; in x86_Convert() 65 b = (Byte)(dest >> (24 - index)); in x86_Convert() 70 p[4] = (Byte)(~(((dest >> 24) & 1) - 1)); in x86_Convert() 71 p[3] = (Byte)(dest >> 16); in x86_Convert() [all …]
|
D | Xz.h | 21 unsigned Xz_ReadVarInt(const Byte *p, size_t maxSize, UInt64 *value); 22 unsigned Xz_WriteVarInt(Byte *buf, UInt64 v); 39 Byte props[XZ_FILTER_PROPS_SIZE_MAX]; 46 Byte flags; 54 SRes XzBlock_Parse(CXzBlock *p, const Byte *header); 62 extern Byte XZ_SIG[XZ_SIG_SIZE]; 63 extern Byte XZ_FOOTER_SIG[XZ_FOOTER_SIG_SIZE]; 87 int XzCheck_Final(CXzCheck *p, Byte *digest); 96 SRes Xz_ParseHeader(CXzStreamFlags *p, const Byte *buf); 154 SRes (*SetProps)(void *p, const Byte *props, size_t propSize, ISzAlloc *alloc); [all …]
|
D | LzmaDec.h | 40 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); 54 Byte *dic; 55 const Byte *buf; 68 Byte tempBuf[LZMA_REQUIRED_INPUT_MAX]; 134 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 137 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 182 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 198 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 199 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 223 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, [all …]
|
D | Bcj2.c | 34 const Byte *buf0, SizeT size0, in Bcj2_Decode() 35 const Byte *buf1, SizeT size1, in Bcj2_Decode() 36 const Byte *buf2, SizeT size2, in Bcj2_Decode() 37 const Byte *buf3, SizeT size3, in Bcj2_Decode() 38 Byte *outBuf, SizeT outSize) in Bcj2_Decode() 43 const Byte *buffer, *bufferLim; in Bcj2_Decode() 45 Byte prevByte = 0; in Bcj2_Decode() 60 Byte b; in Bcj2_Decode() 70 Byte b = buf0[inPos]; in Bcj2_Decode() 99 const Byte *v; in Bcj2_Decode() [all …]
|
D | Lzma2Dec.h | 21 Byte control; 31 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); 32 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); 52 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 54 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, 55 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 77 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, 78 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc);
|
D | Lzma2Dec.c | 61 static SRes Lzma2Dec_GetOldProps(Byte prop, Byte *props) in Lzma2Dec_GetOldProps() 67 props[0] = (Byte)LZMA2_LCLP_MAX; in Lzma2Dec_GetOldProps() 68 props[1] = (Byte)(dicSize); in Lzma2Dec_GetOldProps() 69 props[2] = (Byte)(dicSize >> 8); in Lzma2Dec_GetOldProps() 70 props[3] = (Byte)(dicSize >> 16); in Lzma2Dec_GetOldProps() 71 props[4] = (Byte)(dicSize >> 24); in Lzma2Dec_GetOldProps() 75 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc) in Lzma2Dec_AllocateProbs() 77 Byte props[LZMA_PROPS_SIZE]; in Lzma2Dec_AllocateProbs() 82 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc) in Lzma2Dec_Allocate() 84 Byte props[LZMA_PROPS_SIZE]; in Lzma2Dec_Allocate() [all …]
|
D | 7z.h | 13 extern Byte k7zSignature[k7zSignatureSize]; 86 Byte *outBuffer, size_t outSize, ISzAlloc *allocMain); 100 Byte HasStream; 101 Byte IsDir; 102 Byte IsAnti; 103 Byte CrcDefined; 104 Byte MTimeDefined; 105 Byte AttribDefined; 113 Byte *PackCRCsDefined; 180 Byte **outBuffer, /* pointer to pointer to output buffer (allocated with allocMain) */
|
D | Lzma2Enc.c | 42 Byte props; 49 Byte propsEncoded[LZMA_PROPS_SIZE]; in Lzma2EncInt_Init() 62 SRes LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen, 65 Byte *dest, size_t *destLen, UInt32 desiredPackSize, UInt32 *unpackSize); 66 const Byte *LzmaEnc_GetCurBuf(CLzmaEncHandle pp); 72 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock() 115 …outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock() 116 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock() 117 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock() 144 outBuf[destPos++] = (Byte)(LZMA2_CONTROL_LZMA | (mode << 5) | ((u >> 16) & 0x1F)); in Lzma2EncInt_EncodeSubblock() [all …]
|
D | Bra.h | 57 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding); 58 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 59 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 60 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 61 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 62 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
|
D | Delta.h | 15 void Delta_Init(Byte *state); 16 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size); 17 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
|
D | Bcj2.h | 28 const Byte *buf0, SizeT size0, 29 const Byte *buf1, SizeT size1, 30 const Byte *buf2, SizeT size2, 31 const Byte *buf3, SizeT size3, 32 Byte *outBuf, SizeT outSize);
|
/external/llvm/include/llvm/Support/ |
D | LEB128.h | 26 uint8_t Byte = Value & 0x7f; in encodeSLEB128() local 29 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) || in encodeSLEB128() 30 ((Value == -1) && ((Byte & 0x40) != 0)))); in encodeSLEB128() 32 Byte |= 0x80; // Mark this byte to show that more bytes will follow. in encodeSLEB128() 33 OS << char(Byte); in encodeSLEB128() 41 uint8_t Byte = Value & 0x7f; variable 44 Byte |= 0x80; // Mark this byte to show that more bytes will follow. 45 OS << char(Byte); 62 uint8_t Byte = Value & 0x7f; variable 65 Byte |= 0x80; // Mark this byte to show that more bytes will follow. [all …]
|
/external/lzma/CPP/7zip/Compress/ |
D | BranchMisc.cpp | 9 UInt32 CBC_ARM_Encoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 12 UInt32 CBC_ARM_Decoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 15 UInt32 CBC_ARMT_Encoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 18 UInt32 CBC_ARMT_Decoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 21 UInt32 CBC_PPC_Encoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 24 UInt32 CBC_PPC_Decoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 27 UInt32 CBC_SPARC_Encoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 30 UInt32 CBC_SPARC_Decoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 33 UInt32 CBC_IA64_Encoder::SubFilter(Byte *data, UInt32 size) in SubFilter() 36 UInt32 CBC_IA64_Decoder::SubFilter(Byte *data, UInt32 size) in SubFilter()
|
D | Bcj2Coder.cpp | 12 inline bool IsJcc(Byte b0, Byte b1) { return (b0 == 0x0F && (b1 & 0xF0) == 0x80); } in IsJcc() 13 inline bool IsJ(Byte b0, Byte b1) { return ((b1 & 0xFE) == 0xE8 || IsJcc(b0, b1)); } in IsJ() 14 inline unsigned GetIndex(Byte b0, Byte b1) { return ((b1 == 0xE8) ? b0 : ((b1 == 0xE9) ? 256 : 257)… in GetIndex() 20 static bool inline Test86MSByte(Byte b) in Test86MSByte() 37 _buffer = (Byte *)MidAlloc(kBufferSize); in Create() 104 Byte prevByte = 0; in CodeReal() 131 Byte b = _buffer[bufferPos]; in CodeReal() 156 Byte b = _buffer[bufferPos]; in CodeReal() 164 Byte nextByte = _buffer[bufferPos + 4]; in CodeReal() 221 s.WriteByte((Byte)(dest >> i)); in CodeReal() [all …]
|
D | DeltaFilter.cpp | 14 Byte _state[DELTA_STATE_SIZE]; 29 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size); 43 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size); 44 STDMETHOD(SetDecoderProperties2)(const Byte *data, UInt32 size); 53 STDMETHODIMP_(UInt32) CDeltaEncoder::Filter(Byte *data, UInt32 size) in STDMETHODIMP_() 75 Byte prop = (Byte)(_delta - 1); in WriteCoderProperties() 85 STDMETHODIMP_(UInt32) CDeltaDecoder::Filter(Byte *data, UInt32 size) in STDMETHODIMP_() 91 STDMETHODIMP CDeltaDecoder::SetDecoderProperties2(const Byte *props, UInt32 size) in SetDecoderProperties2()
|
D | ByteSwap.cpp | 18 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size); 28 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size); 33 STDMETHODIMP_(UInt32) CByteSwap2::Filter(Byte *data, UInt32 size) in STDMETHODIMP_() 39 Byte b = data[i]; in STDMETHODIMP_() 48 STDMETHODIMP_(UInt32) CByteSwap4::Filter(Byte *data, UInt32 size) in STDMETHODIMP_() 54 Byte b0 = data[i]; in STDMETHODIMP_() 55 Byte b1 = data[i + 1]; in STDMETHODIMP_()
|
/external/lzma/CPP/7zip/Common/ |
D | CWrappers.h | 47 const Byte *Cur; 48 const Byte *Lim; 49 Byte *Buf; 68 Byte ReadByteFromNewBlock(); 69 Byte ReadByte() in ReadByte() 80 Byte *Cur; 81 const Byte *Lim; 82 Byte *Buf; 101 void WriteByte(Byte b) in WriteByte()
|
D | StreamObjects.h | 22 const Byte *_data; 27 void Init(const Byte *data, size_t size, IUnknown *ref = 0) 44 Byte *_buf; 51 operator Byte*() const { return _buf; }; 52 operator const Byte*() const { return _buf; }; 66 const Byte *GetBuffer() const { return _buffer; } in GetBuffer() 68 Byte *GetBufPtrForWriting(size_t addSize); 79 Byte *_buffer; 83 void Init(Byte *buffer, size_t size) in Init() 115 Byte *_data; [all …]
|
D | InBuffer.h | 19 Byte *_buffer; 20 Byte *_bufferLimit; 21 Byte *_bufferBase; 28 Byte ReadBlock2(); 45 bool ReadByte(Byte &b) in ReadByte() 53 Byte ReadByte() in ReadByte() 59 UInt32 ReadBytes(Byte *buf, UInt32 size) in ReadBytes()
|
/external/zlib/src/test/ |
D | example.c | 37 void test_deflate OF((Byte *compr, uLong comprLen)); 38 void test_inflate OF((Byte *compr, uLong comprLen, 39 Byte *uncompr, uLong uncomprLen)); 40 void test_large_deflate OF((Byte *compr, uLong comprLen, 41 Byte *uncompr, uLong uncomprLen)); 42 void test_large_inflate OF((Byte *compr, uLong comprLen, 43 Byte *uncompr, uLong uncomprLen)); 44 void test_flush OF((Byte *compr, uLong *comprLen)); 45 void test_sync OF((Byte *compr, uLong comprLen, 46 Byte *uncompr, uLong uncomprLen)); [all …]
|