Home
last modified time | relevance | path

Searched refs:Byte (Results 1 – 25 of 126) sorted by relevance

123456

/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DCpuArch.h115 ((const Byte *)(p))[0] | \
116 ((UInt16)((const Byte *)(p))[1] << 8) ))
119 ((const Byte *)(p))[0] | \
120 ((UInt32)((const Byte *)(p))[1] << 8) | \
121 ((UInt32)((const Byte *)(p))[2] << 16) | \
122 ((UInt32)((const Byte *)(p))[3] << 24))
124 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32))
126 #define SetUi16(p, v) { Byte *_ppp_ = (Byte *)(p); UInt32 _vvv_ = (v); \
127 _ppp_[0] = (Byte)_vvv_; \
128 _ppp_[1] = (Byte)(_vvv_ >> 8); }
[all …]
DLzmaDec.h38 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 …]
DBra86.c10 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()
DBra.h55 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);
DLzFind.h15 Byte *buffer;
24 Byte streamEndWasReached;
25 Byte btMode;
26 Byte bigHash;
27 Byte directInput;
35 Byte *bufferBase;
62 Byte *MatchFinder_GetPointerToCurrentPos(CMatchFinder *p);
79 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *…
91 typedef const Byte * (*Mf_GetPointerToCurrentPos_Func)(void *object);
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DCpuArch.h115 ((const Byte *)(p))[0] | \
116 ((UInt16)((const Byte *)(p))[1] << 8) ))
119 ((const Byte *)(p))[0] | \
120 ((UInt32)((const Byte *)(p))[1] << 8) | \
121 ((UInt32)((const Byte *)(p))[2] << 16) | \
122 ((UInt32)((const Byte *)(p))[3] << 24))
124 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32))
126 #define SetUi16(p, v) { Byte *_ppp_ = (Byte *)(p); UInt32 _vvv_ = (v); \
127 _ppp_[0] = (Byte)_vvv_; \
128 _ppp_[1] = (Byte)(_vvv_ >> 8); }
[all …]
DLzmaDec.h38 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 …]
DBra86.c10 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()
DBra.h55 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);
DLzFind.h15 Byte *buffer;
24 Byte streamEndWasReached;
25 Byte btMode;
26 Byte bigHash;
27 Byte directInput;
35 Byte *bufferBase;
62 Byte *MatchFinder_GetPointerToCurrentPos(CMatchFinder *p);
79 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *…
91 typedef const Byte * (*Mf_GetPointerToCurrentPos_Func)(void *object);
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DCpuArch.h115 ((const Byte *)(p))[0] | \
116 ((UInt16)((const Byte *)(p))[1] << 8) ))
119 ((const Byte *)(p))[0] | \
120 ((UInt32)((const Byte *)(p))[1] << 8) | \
121 ((UInt32)((const Byte *)(p))[2] << 16) | \
122 ((UInt32)((const Byte *)(p))[3] << 24))
124 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32))
126 #define SetUi16(p, v) { Byte *_ppp_ = (Byte *)(p); UInt32 _vvv_ = (v); \
127 _ppp_[0] = (Byte)_vvv_; \
128 _ppp_[1] = (Byte)(_vvv_ >> 8); }
[all …]
DLzmaDec.h38 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 …]
DBra86.c10 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()
DBra.h55 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);
DLzFind.h15 Byte *buffer;
24 Byte streamEndWasReached;
25 Byte btMode;
26 Byte bigHash;
27 Byte directInput;
35 Byte *bufferBase;
62 Byte *MatchFinder_GetPointerToCurrentPos(CMatchFinder *p);
79 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *…
91 typedef const Byte * (*Mf_GetPointerToCurrentPos_Func)(void *object);
/device/linaro/bootloader/edk2/MdePkg/Library/BaseS3SmbusLib/
DS3SmbusLib.c150 UINT8 Byte; in S3SmBusReceiveByte() local
152 Byte = SmBusReceiveByte (SmBusAddress, Status); in S3SmBusReceiveByte()
154 InternalSaveSmBusExecToBootScript (EfiSmbusReceiveByte, SmBusAddress, 1, &Byte); in S3SmBusReceiveByte()
156 return Byte; in S3SmBusReceiveByte()
188 UINT8 Byte; in S3SmBusSendByte() local
190 Byte = SmBusSendByte (SmBusAddress, Value, Status); in S3SmBusSendByte()
192 InternalSaveSmBusExecToBootScript (EfiSmbusSendByte, SmBusAddress, 1, &Byte); in S3SmBusSendByte()
194 return Byte; in S3SmBusSendByte()
223 UINT8 Byte; in S3SmBusReadDataByte() local
225 Byte = SmBusReadDataByte (SmBusAddress, Status); in S3SmBusReadDataByte()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsHcMem.c114 UINTN Byte; in UfsPeimAllocMemFromBlock() local
127 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UfsPeimAllocMemFromBlock()
133 if (!UFS_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UfsPeimAllocMemFromBlock()
140 UFS_PEIM_NEXT_BIT (Byte, Bit); in UfsPeimAllocMemFromBlock()
143 UFS_PEIM_NEXT_BIT (Byte, Bit); in UfsPeimAllocMemFromBlock()
146 StartByte = Byte; in UfsPeimAllocMemFromBlock()
158 Byte = StartByte; in UfsPeimAllocMemFromBlock()
162 ASSERT (!UFS_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)); in UfsPeimAllocMemFromBlock()
164 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) UFS_PEIM_MEM_BIT (Bit)); in UfsPeimAllocMemFromBlock()
165 UFS_PEIM_NEXT_BIT (Byte, Bit); in UfsPeimAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdHcMem.c114 UINTN Byte; in SdPeimAllocMemFromBlock() local
127 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in SdPeimAllocMemFromBlock()
133 if (!SD_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)) { in SdPeimAllocMemFromBlock()
140 SD_PEIM_NEXT_BIT (Byte, Bit); in SdPeimAllocMemFromBlock()
143 SD_PEIM_NEXT_BIT (Byte, Bit); in SdPeimAllocMemFromBlock()
146 StartByte = Byte; in SdPeimAllocMemFromBlock()
158 Byte = StartByte; in SdPeimAllocMemFromBlock()
162 ASSERT (!SD_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)); in SdPeimAllocMemFromBlock()
164 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) SD_PEIM_MEM_BIT (Bit)); in SdPeimAllocMemFromBlock()
165 SD_PEIM_NEXT_BIT (Byte, Bit); in SdPeimAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcHcMem.c114 UINTN Byte; in EmmcPeimAllocMemFromBlock() local
127 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in EmmcPeimAllocMemFromBlock()
133 if (!EMMC_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)) { in EmmcPeimAllocMemFromBlock()
140 EMMC_PEIM_NEXT_BIT (Byte, Bit); in EmmcPeimAllocMemFromBlock()
143 EMMC_PEIM_NEXT_BIT (Byte, Bit); in EmmcPeimAllocMemFromBlock()
146 StartByte = Byte; in EmmcPeimAllocMemFromBlock()
158 Byte = StartByte; in EmmcPeimAllocMemFromBlock()
162 ASSERT (!EMMC_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)); in EmmcPeimAllocMemFromBlock()
164 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) EMMC_PEIM_MEM_BIT (Bit)); in EmmcPeimAllocMemFromBlock()
165 EMMC_PEIM_NEXT_BIT (Byte, Bit); in EmmcPeimAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dexample.c37 void test_compress OF((Byte *compr, uLong comprLen,
38 Byte *uncompr, uLong uncomprLen));
40 Byte *uncompr, uLong uncomprLen));
41 void test_deflate OF((Byte *compr, uLong comprLen));
42 void test_inflate OF((Byte *compr, uLong comprLen,
43 Byte *uncompr, uLong uncomprLen));
44 void test_large_deflate OF((Byte *compr, uLong comprLen,
45 Byte *uncompr, uLong uncomprLen));
46 void test_large_inflate OF((Byte *compr, uLong comprLen,
47 Byte *uncompr, uLong uncomprLen));
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/
DUsbHcMem.c143 UINTN Byte; in UsbHcAllocMemFromBlock() local
156 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock()
162 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock()
169 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
172 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
175 StartByte = Byte; in UsbHcAllocMemFromBlock()
187 Byte = StartByte; in UsbHcAllocMemFromBlock()
191 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock()
193 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock()
194 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
DUsbHcMem.c141 UINTN Byte; in UsbHcAllocMemFromBlock() local
154 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock()
160 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock()
167 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
170 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
173 StartByte = Byte; in UsbHcAllocMemFromBlock()
185 Byte = StartByte; in UsbHcAllocMemFromBlock()
189 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock()
191 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock()
192 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dexample.c37 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 …]
/device/linaro/bootloader/edk2/MdePkg/Library/DxeSmbusLib/
DSmbusLib.c136 UINT8 Byte; in SmBusReceiveByte() local
142 InternalSmBusExec (EfiSmbusReceiveByte, SmBusAddress, 1, &Byte, Status); in SmBusReceiveByte()
144 return Byte; in SmBusReceiveByte()
185 UINT8 Byte; in SmBusSendByte() local
191 Byte = Value; in SmBusSendByte()
192 InternalSmBusExec (EfiSmbusSendByte, SmBusAddress, 1, &Byte, Status); in SmBusSendByte()
232 UINT8 Byte; in SmBusReadDataByte() local
237 InternalSmBusExec (EfiSmbusReadByte, SmBusAddress, 1, &Byte, Status); in SmBusReadDataByte()
239 return Byte; in SmBusReadDataByte()
280 UINT8 Byte; in SmBusWriteDataByte() local
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/
DSmbusLib.c115 UINT8 Byte; in SmBusReceiveByte() local
121 InternalSmBusExec (EfiSmbusReceiveByte, SmBusAddress, 1, &Byte, Status); in SmBusReceiveByte()
123 return Byte; in SmBusReceiveByte()
154 UINT8 Byte; in SmBusSendByte() local
160 Byte = Value; in SmBusSendByte()
161 InternalSmBusExec (EfiSmbusSendByte, SmBusAddress, 1, &Byte, Status); in SmBusSendByte()
191 UINT8 Byte; in SmBusReadDataByte() local
196 InternalSmBusExec (EfiSmbusReadByte, SmBusAddress, 1, &Byte, Status); in SmBusReadDataByte()
198 return Byte; in SmBusReadDataByte()
229 UINT8 Byte; in SmBusWriteDataByte() local
[all …]

123456