Home
last modified time | relevance | path

Searched refs:pBuf (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
Dwritev.c103 char *pBuf; in writev() local
120 pBuf = (char*)malloc (TotalBytes); in writev()
121 if (pBuf == NULL) { in writev()
131 bcopy(iov->iov_base, pBuf, iov->iov_len); in writev()
132 pBuf += iov->iov_len; in writev()
140 ret = write (fd, pBuf, TotalBytes); in writev()
141 free (pBuf); in writev()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Include/Library/
DI2CLib.h54 I2CWrite(I2C_DEVICE *I2cInfo, UINT16 InfoOffset, UINT32 ulLength, UINT8 *pBuf);
58 I2CRead(I2C_DEVICE *I2cInfo, UINT16 InfoOffset,UINT32 ulRxLen,UINT8 *pBuf);
62 I2CWriteMultiByte(I2C_DEVICE *I2cInfo, UINT32 InfoOffset, UINT32 ulLength, UINT8 *pBuf);
66 I2CReadMultiByte(I2C_DEVICE *I2cInfo, UINT32 InfoOffset,UINT32 ulRxLen,UINT8 *pBuf);
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/
DCEATABlockIo.c92 UINT8 *pBuf; in CEATABlockReadBlocks() local
101 pBuf = Buffer; in CEATABlockReadBlocks()
150 pBuf, in CEATABlockReadBlocks()
159 pBuf += TransferSize; in CEATABlockReadBlocks()
201 UINT8 *pBuf; in CEATABlockWriteBlocks() local
211 pBuf = Buffer; in CEATABlockWriteBlocks()
263 pBuf, in CEATABlockWriteBlocks()
272 pBuf += TransferSize; in CEATABlockWriteBlocks()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/I2CLib/
DI2CLib.c235 WriteBeforeRead(I2C_DEVICE *I2cInfo, UINT32 ulLength, UINT8 *pBuf) in WriteBeforeRead() argument
270 I2C_REG_WRITE(Base + I2C_DATA_CMD_OFFSET, *pBuf++); in WriteBeforeRead()
293 I2CWrite(I2C_DEVICE *I2cInfo, UINT16 InfoOffset, UINT32 ulLength, UINT8 *pBuf) in I2CWrite() argument
364 I2C_REG_WRITE(Base + I2C_DATA_CMD_OFFSET, (*pBuf++)); in I2CWrite()
367 I2C_REG_WRITE(Base + I2C_DATA_CMD_OFFSET, (*pBuf++) | I2C_CMD_STOP_BIT); in I2CWrite()
392 I2CRead(I2C_DEVICE *I2cInfo, UINT16 InfoOffset,UINT32 ulRxLen,UINT8 *pBuf) in I2CRead() argument
465 I2C_REG_READ(Base + I2C_DATA_CMD_OFFSET, pBuf[Idx++]); in I2CRead()
476 I2CReadMultiByte(I2C_DEVICE *I2cInfo, UINT32 InfoOffset,UINT32 ulRxLen,UINT8 *pBuf) in I2CReadMultiByte() argument
568 I2C_REG_READ(Base + I2C_DATA_CMD_OFFSET, pBuf[Idx++]); in I2CReadMultiByte()
577 I2CWriteMultiByte(I2C_DEVICE *I2cInfo, UINT32 InfoOffset, UINT32 ulLength, UINT8 *pBuf) in I2CWriteMultiByte() argument
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/
DUsbDeviceModeLib.h55 VOID *pBuf;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dmarshal.c1147 char* pBuf = (char *)PyMem_MALLOC(filesize); in PyMarshal_ReadLastObjectFromFile() local
1148 if (pBuf != NULL) { in PyMarshal_ReadLastObjectFromFile()
1153 n = fread(pBuf, 1, (int)filesize, fp); in PyMarshal_ReadLastObjectFromFile()
1154 v = PyMarshal_ReadObjectFromString(pBuf, n); in PyMarshal_ReadLastObjectFromFile()
1155 PyMem_FREE(pBuf); in PyMarshal_ReadLastObjectFromFile()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Dmarshal.c1152 char* pBuf = (char *)PyMem_MALLOC(filesize); in PyMarshal_ReadLastObjectFromFile() local
1153 if (pBuf != NULL) { in PyMarshal_ReadLastObjectFromFile()
1154 size_t n = fread(pBuf, 1, (size_t)filesize, fp); in PyMarshal_ReadLastObjectFromFile()
1155 PyObject* v = PyMarshal_ReadObjectFromString(pBuf, n); in PyMarshal_ReadLastObjectFromFile()
1156 PyMem_FREE(pBuf); in PyMarshal_ReadLastObjectFromFile()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dmarshal.c1147 char* pBuf = (char *)PyMem_MALLOC(filesize); in PyMarshal_ReadLastObjectFromFile() local
1148 if (pBuf != NULL) { in PyMarshal_ReadLastObjectFromFile()
1153 n = fread(pBuf, 1, (int)filesize, fp); in PyMarshal_ReadLastObjectFromFile()
1154 v = PyMarshal_ReadObjectFromString(pBuf, n); in PyMarshal_ReadLastObjectFromFile()
1155 PyMem_FREE(pBuf); in PyMarshal_ReadLastObjectFromFile()