/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
D | CpuArch.h | 30 #define GetUi16(p) (((const Byte *)(p))[0] | ((UInt16)((const Byte *)(p))[1] << 8)) 33 ((const Byte *)(p))[0] | \ 34 ((UInt32)((const Byte *)(p))[1] << 8) | \ 35 ((UInt32)((const Byte *)(p))[2] << 16) | \ 36 ((UInt32)((const Byte *)(p))[3] << 24)) 38 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32)) 41 ((Byte *)(p))[0] = (Byte)_x_; \ 42 ((Byte *)(p))[1] = (Byte)(_x_ >> 8); \ 43 ((Byte *)(p))[2] = (Byte)(_x_ >> 16); \ 44 ((Byte *)(p))[3] = (Byte)(_x_ >> 24); } [all …]
|
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 | LzmaDec.h | 36 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); 50 Byte *dic; 51 const Byte *buf; 64 Byte tempBuf[LZMA_REQUIRED_INPUT_MAX]; 130 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 133 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 178 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 194 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 195 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 219 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, [all …]
|
D | Bra.h | 53 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding); 54 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 55 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 56 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 57 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 58 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | CpuArch.h | 30 #define GetUi16(p) (((const Byte *)(p))[0] | ((UInt16)((const Byte *)(p))[1] << 8)) 33 ((const Byte *)(p))[0] | \ 34 ((UInt32)((const Byte *)(p))[1] << 8) | \ 35 ((UInt32)((const Byte *)(p))[2] << 16) | \ 36 ((UInt32)((const Byte *)(p))[3] << 24)) 38 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32)) 41 ((Byte *)(p))[0] = (Byte)_x_; \ 42 ((Byte *)(p))[1] = (Byte)(_x_ >> 8); \ 43 ((Byte *)(p))[2] = (Byte)(_x_ >> 16); \ 44 ((Byte *)(p))[3] = (Byte)(_x_ >> 24); } [all …]
|
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 | LzmaDec.h | 36 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); 50 Byte *dic; 51 const Byte *buf; 64 Byte tempBuf[LZMA_REQUIRED_INPUT_MAX]; 130 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 133 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 178 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 194 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 195 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 219 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, [all …]
|
D | Bra.h | 53 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding); 54 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 55 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 56 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 57 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 58 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | CpuArch.h | 30 #define GetUi16(p) (((const Byte *)(p))[0] | ((UInt16)((const Byte *)(p))[1] << 8)) 33 ((const Byte *)(p))[0] | \ 34 ((UInt32)((const Byte *)(p))[1] << 8) | \ 35 ((UInt32)((const Byte *)(p))[2] << 16) | \ 36 ((UInt32)((const Byte *)(p))[3] << 24)) 38 #define GetUi64(p) (GetUi32(p) | ((UInt64)GetUi32(((const Byte *)(p)) + 4) << 32)) 41 ((Byte *)(p))[0] = (Byte)_x_; \ 42 ((Byte *)(p))[1] = (Byte)(_x_ >> 8); \ 43 ((Byte *)(p))[2] = (Byte)(_x_ >> 16); \ 44 ((Byte *)(p))[3] = (Byte)(_x_ >> 24); } [all …]
|
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 | LzmaDec.h | 36 SRes LzmaProps_Decode(CLzmaProps *p, const Byte *data, unsigned size); 50 Byte *dic; 51 const Byte *buf; 64 Byte tempBuf[LZMA_REQUIRED_INPUT_MAX]; 130 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 133 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 178 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 194 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 195 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status); 219 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, [all …]
|
D | Bra.h | 53 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding); 54 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 55 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 56 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 57 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding); 58 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseS3SmbusLib/ |
D | S3SmbusLib.c | 150 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/ |
D | UfsHcMem.c | 114 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/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | example.c | 37 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/ |
D | UsbHcMem.c | 143 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/ |
D | UsbHcMem.c | 141 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/ |
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 …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/ |
D | SmbusLib.c | 115 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 …]
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/ |
D | SmbusLib.c | 110 UINT8 Byte; in SmBusReceiveByte() local 116 InternalSmBusExec (EfiSmbusReceiveByte, SmBusAddress, 1, &Byte, Status); in SmBusReceiveByte() 118 return Byte; in SmBusReceiveByte() 149 UINT8 Byte; in SmBusSendByte() local 155 Byte = Value; in SmBusSendByte() 156 InternalSmBusExec (EfiSmbusSendByte, SmBusAddress, 1, &Byte, Status); in SmBusSendByte() 186 UINT8 Byte; in SmBusReadDataByte() local 191 InternalSmBusExec (EfiSmbusReadByte, SmBusAddress, 1, &Byte, Status); in SmBusReadDataByte() 193 return Byte; in SmBusReadDataByte() 224 UINT8 Byte; in SmBusWriteDataByte() local [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeSmbusLib/ |
D | SmbusLib.c | 136 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/MdePkg/Library/PeiSmbusLibSmbus2Ppi/ |
D | SmbusLib.c | 136 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/ |
D | SmbusLib.c | 115 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 …]
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
D | UsbHcMem.c | 167 UINTN Byte; in UsbHcAllocMemFromBlock() local 180 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock() 186 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock() 193 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock() 196 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock() 199 StartByte = Byte; in UsbHcAllocMemFromBlock() 211 Byte = StartByte; in UsbHcAllocMemFromBlock() 215 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock() 217 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock() 218 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/ |
D | UsbHcMem.c | 166 UINTN Byte; in UsbHcAllocMemFromBlock() local 179 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock() 185 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock() 192 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock() 195 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock() 198 StartByte = Byte; in UsbHcAllocMemFromBlock() 210 Byte = StartByte; in UsbHcAllocMemFromBlock() 214 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock() 216 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock() 217 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock() [all …]
|