/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 | 8 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in ARM_Convert() 27 data[i + 2] = (Byte)(dest >> 16); in ARM_Convert() 28 data[i + 1] = (Byte)(dest >> 8); in ARM_Convert() 29 data[i + 0] = (Byte)dest; in ARM_Convert() 35 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in ARMT_Convert() 61 data[i + 1] = (Byte)(0xF0 | ((dest >> 19) & 0x7)); in ARMT_Convert() 62 data[i + 0] = (Byte)(dest >> 11); in ARMT_Convert() 63 data[i + 3] = (Byte)(0xF8 | ((dest >> 8) & 0x7)); in ARMT_Convert() 64 data[i + 2] = (Byte)dest; in ARMT_Convert() 71 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) in PPC_Convert() [all …]
|
D | Delta.c | 8 void Delta_Init(Byte *state) in Delta_Init() 15 static void MyMemCpy(Byte *dest, const Byte *src, unsigned size) in MyMemCpy() 22 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Encode() 24 Byte buf[DELTA_STATE_SIZE]; in Delta_Encode() 33 Byte b = data[i]; in Delta_Encode() 34 data[i] = (Byte)(b - buf[j]); in Delta_Encode() 45 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size) in Delta_Decode() 47 Byte buf[DELTA_STATE_SIZE]; in Delta_Decode() 56 buf[j] = data[i] = (Byte)(buf[j] + data[i]); in Delta_Decode()
|
D | LzmaDec.h | 38 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); 52 Byte *dic; 53 const Byte *buf; 66 Byte tempBuf[LZMA_REQUIRED_INPUT_MAX]; 132 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 135 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 180 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 196 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 197 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 221 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, [all …]
|
D | Bcj2.c | 36 const Byte *buf0, SizeT size0, in Bcj2_Decode() 37 const Byte *buf1, SizeT size1, in Bcj2_Decode() 38 const Byte *buf2, SizeT size2, in Bcj2_Decode() 39 const Byte *buf3, SizeT size3, in Bcj2_Decode() 40 Byte *outBuf, SizeT outSize) in Bcj2_Decode() 45 const Byte *buffer, *bufferLim; in Bcj2_Decode() 47 Byte prevByte = 0; in Bcj2_Decode() 62 Byte b; in Bcj2_Decode() 72 Byte b = buf0[inPos]; in Bcj2_Decode() 101 const Byte *v; in Bcj2_Decode() [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 | 7z.h | 14 extern Byte k7zSignature[k7zSignatureSize]; 18 const Byte *Data; 28 Byte NumInStreams; 29 Byte NumOutStreams; 30 Byte PropsSize; 77 Byte *Defs; /* MSB 0 bit numbering */ 83 Byte *Defs; /* MSB 0 bit numbering */ 106 Byte *CodersData; 107 Byte *UnpackSizesData; 115 Byte *outBuffer, size_t outSize, [all …]
|
D | Lzma2Dec.h | 19 Byte control; 29 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); 30 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); 50 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 52 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, 53 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 75 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, 76 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc);
|
D | Bra86.c | 10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding) in x86_Convert() 21 Byte *p = data + pos; in x86_Convert() 22 const Byte *limit = data + size; in x86_Convert() 61 if (Test86MSByte((Byte)(v >> sh))) in x86_Convert() 71 p[1] = (Byte)v; in x86_Convert() 72 p[2] = (Byte)(v >> 8); in x86_Convert() 73 p[3] = (Byte)(v >> 16); in x86_Convert() 74 p[4] = (Byte)(0 - ((v >> 24) & 1)); in x86_Convert()
|
D | 7zDec.c | 38 const Byte *cur; 39 const Byte *end; 40 const Byte *begin; 47 static Byte ReadByte(void *pp) in ReadByte() 68 static SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStr… in SzDecodePpmd() 69 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodePpmd() 114 outBuffer[i] = (Byte)sym; in SzDecodePpmd() 129 static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStr… in SzDecodeLzma() 130 Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) in SzDecodeLzma() 143 Byte *inBuf = NULL; in SzDecodeLzma() [all …]
|
D | Lzma2Dec.c | 63 static SRes Lzma2Dec_GetOldProps(Byte prop, Byte *props) in Lzma2Dec_GetOldProps() 69 props[0] = (Byte)LZMA2_LCLP_MAX; in Lzma2Dec_GetOldProps() 70 props[1] = (Byte)(dicSize); in Lzma2Dec_GetOldProps() 71 props[2] = (Byte)(dicSize >> 8); in Lzma2Dec_GetOldProps() 72 props[3] = (Byte)(dicSize >> 16); in Lzma2Dec_GetOldProps() 73 props[4] = (Byte)(dicSize >> 24); in Lzma2Dec_GetOldProps() 77 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc) in Lzma2Dec_AllocateProbs() 79 Byte props[LZMA_PROPS_SIZE]; in Lzma2Dec_AllocateProbs() 84 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc) in Lzma2Dec_Allocate() 86 Byte props[LZMA_PROPS_SIZE]; in Lzma2Dec_Allocate() [all …]
|
D | Lzma2Enc.c | 44 Byte props; 51 Byte propsEncoded[LZMA_PROPS_SIZE]; in Lzma2EncInt_Init() 64 SRes LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen, 67 Byte *dest, size_t *destLen, UInt32 desiredPackSize, UInt32 *unpackSize); 68 const Byte *LzmaEnc_GetCurBuf(CLzmaEncHandle pp); 74 static SRes Lzma2EncInt_EncodeSubblock(CLzma2EncInt *p, Byte *outBuf, in Lzma2EncInt_EncodeSubblock() 117 …outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock() 118 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock() 119 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock() 146 outBuf[destPos++] = (Byte)(LZMA2_CONTROL_LZMA | (mode << 5) | ((u >> 16) & 0x1F)); in Lzma2EncInt_EncodeSubblock() [all …]
|
D | Bra.h | 55 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding); 56 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 57 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 58 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 59 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 60 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
|
/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 | 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() 26 static bool inline Test86MSByte(Byte b) in Test86MSByte() 58 _buf = (Byte *)MidAlloc(kBufSize); in CodeReal() 91 Byte prevByte = 0; in CodeReal() 118 Byte b = _buf[bufPos]; in CodeReal() 143 Byte b = _buf[bufPos]; in CodeReal() 151 Byte nextByte = _buf[bufPos + 4]; in CodeReal() 208 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_() 88 Byte prop = (Byte)(_delta - 1); in WriteCoderProperties() 98 STDMETHODIMP_(UInt32) CDeltaDecoder::Filter(Byte *data, UInt32 size) in STDMETHODIMP_() 104 STDMETHODIMP CDeltaDecoder::SetDecoderProperties2(const Byte *props, UInt32 size) in SetDecoderProperties2()
|
/external/lzma/CPP/7zip/Common/ |
D | InBuffer.h | 19 Byte *_buf; 20 Byte *_bufLim; 21 Byte *_bufBase; 30 bool ReadByte_FromNewBlock(Byte &b); 31 Byte ReadByte_FromNewBlock(); 47 void SetBuf(Byte *buf, size_t bufSize, size_t end, size_t pos) in SetBuf() 63 bool ReadByte(Byte &b) in ReadByte() 71 Byte ReadByte() in ReadByte() 78 size_t ReadBytes(Byte *buf, size_t size);
|
D | CWrappers.h | 52 const Byte *Cur; 53 const Byte *Lim; 54 Byte *Buf; 73 Byte ReadByteFromNewBlock() throw(); 74 Byte ReadByte() in ReadByte() 85 Byte *Cur; 86 const Byte *Lim; 87 Byte *Buf; 106 void WriteByte(Byte b) in WriteByte()
|
D | StreamObjects.h | 24 const Byte *_data; 29 void Init(const Byte *data, size_t size, IUnknown *ref = 0) 49 Byte *_buf; 56 operator Byte*() const { return _buf; }; 57 operator const Byte*() const { return _buf; }; 71 const Byte *GetBuffer() const { return _buffer; } in GetBuffer() 73 Byte *GetBufPtrForWriting(size_t addSize); 84 Byte *_buffer; 88 void Init(Byte *buffer, size_t size) in Init() 120 Byte *_data; [all …]
|
/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 …]
|
/external/lzma/CPP/7zip/Crypto/ |
D | 7zAes.cpp | 51 Byte temp[8] = { 0,0,0,0,0,0,0,0 }; in CalculateDigest() 147 Byte firstByte = (Byte)(_key.NumCyclesPower | in WriteCoderProperties() 153 Byte saltSizeSpec = (Byte)((_key.SaltSize == 0) ? 0 : (_key.SaltSize - 1)); in WriteCoderProperties() 154 Byte ivSizeSpec = (Byte)((ivSize == 0) ? 0 : (ivSize - 1)); in WriteCoderProperties() 155 Byte secondByte = (Byte)(((saltSizeSpec) << 4) | ivSizeSpec); in WriteCoderProperties() 176 STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte *data, UInt32 size) in SetDecoderProperties2() 185 Byte firstByte = data[pos++]; in SetDecoderProperties2() 195 Byte secondByte = data[pos++]; in SetDecoderProperties2() 209 STDMETHODIMP CBaseCoder::CryptoSetPassword(const Byte *data, UInt32 size) in CryptoSetPassword() 229 STDMETHODIMP_(UInt32) CBaseCoder::Filter(Byte *data, UInt32 size) in STDMETHODIMP_()
|
D | MyAes.cpp | 29 STDMETHODIMP_(UInt32) CAesCbcCoder::Filter(Byte *data, UInt32 size) in STDMETHODIMP_() 42 STDMETHODIMP CAesCbcCoder::SetKey(const Byte *data, UInt32 size) in SetKey() 54 STDMETHODIMP CAesCbcCoder::SetInitVector(const Byte *data, UInt32 size) in SetInitVector() 65 void MY_FAST_CALL AesCbc_Encode(UInt32 *ivAes, Byte *data, size_t numBlocks); 66 void MY_FAST_CALL AesCbc_Decode(UInt32 *ivAes, Byte *data, size_t numBlocks); 67 void MY_FAST_CALL AesCtr_Code(UInt32 *ivAes, Byte *data, size_t numBlocks); 69 void MY_FAST_CALL AesCbc_Encode_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks); 70 void MY_FAST_CALL AesCbc_Decode_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks); 71 void MY_FAST_CALL AesCtr_Code_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks);
|
/external/opencv3/modules/java/common_test/src/org/opencv/test/utils/ |
D | ConvertersTest.java | 21 List<Byte> bs = new ArrayList<Byte>(); in testMat_to_vector_char() 25 List<Byte> truth = new ArrayList<Byte>(); in testMat_to_vector_char() 29 truth.add(new Byte(value1)); in testMat_to_vector_char() 30 truth.add(new Byte(value2)); in testMat_to_vector_char() 31 truth.add(new Byte(value3)); in testMat_to_vector_char() 228 List<Byte> bs = new ArrayList<Byte>(); in testMat_to_vector_uchar() 232 List<Byte> truth = new ArrayList<Byte>(); in testMat_to_vector_uchar() 236 truth.add(new Byte(value1)); in testMat_to_vector_uchar() 237 truth.add(new Byte(value2)); in testMat_to_vector_uchar() 238 truth.add(new Byte(value3)); in testMat_to_vector_uchar() [all …]
|