/external/pdfium/core/src/fxcrt/ |
fxcrt_windows.h | 26 size_t Read(void* pBuffer, size_t szBuffer) override; 27 size_t Write(const void* pBuffer, size_t szBuffer) override; 28 size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override; 29 size_t WritePos(const void* pBuffer,
|
fxcrt_platforms.cpp | 93 size_t CFXCRT_FileAccess_CRT::Read(void* pBuffer, size_t szBuffer) { 97 return FXSYS_fread(pBuffer, 1, szBuffer, m_hFile); 99 size_t CFXCRT_FileAccess_CRT::Write(const void* pBuffer, size_t szBuffer) { 103 return FXSYS_fwrite(pBuffer, 1, szBuffer, m_hFile); 105 size_t CFXCRT_FileAccess_CRT::ReadPos(void* pBuffer, 112 return FXSYS_fread(pBuffer, 1, szBuffer, m_hFile); 114 size_t CFXCRT_FileAccess_CRT::WritePos(const void* pBuffer, 121 return FXSYS_fwrite(pBuffer, 1, szBuffer, m_hFile);
|
fxcrt_posix.cpp | 81 size_t CFXCRT_FileAccess_Posix::Read(void* pBuffer, size_t szBuffer) { 85 return read(m_nFD, pBuffer, szBuffer); 87 size_t CFXCRT_FileAccess_Posix::Write(const void* pBuffer, size_t szBuffer) { 91 return write(m_nFD, pBuffer, szBuffer); 93 size_t CFXCRT_FileAccess_Posix::ReadPos(void* pBuffer, 105 return Read(pBuffer, szBuffer); 107 size_t CFXCRT_FileAccess_Posix::WritePos(const void* pBuffer, 116 return Write(pBuffer, szBuffer);
|
fxcrt_platforms.h | 28 size_t Read(void* pBuffer, size_t szBuffer) override; 29 size_t Write(const void* pBuffer, size_t szBuffer) override; 30 size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override; 31 size_t WritePos(const void* pBuffer,
|
fxcrt_posix.h | 28 size_t Read(void* pBuffer, size_t szBuffer) override; 29 size_t Write(const void* pBuffer, size_t szBuffer) override; 30 size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) override; 31 size_t WritePos(const void* pBuffer,
|
fxcrt_windows.cpp | 114 size_t CFXCRT_FileAccess_Win64::Read(void* pBuffer, size_t szBuffer) { 119 if (!::ReadFile(m_hFile, pBuffer, (DWORD)szBuffer, (LPDWORD)&szRead, NULL)) { 124 size_t CFXCRT_FileAccess_Win64::Write(const void* pBuffer, size_t szBuffer) { 129 if (!::WriteFile(m_hFile, pBuffer, (DWORD)szBuffer, (LPDWORD)&szWrite, 135 size_t CFXCRT_FileAccess_Win64::ReadPos(void* pBuffer, 147 return Read(pBuffer, szBuffer); 149 size_t CFXCRT_FileAccess_Win64::WritePos(const void* pBuffer, 158 return Write(pBuffer, szBuffer);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
rpcssl.h | 15 RPCRTAPI RPC_STATUS RPC_ENTRY RpcCertGeneratePrincipalNameW(PCCERT_CONTEXT Context,DWORD Flags,RPC_WSTR *pBuffer); 16 RPCRTAPI RPC_STATUS RPC_ENTRY RpcCertGeneratePrincipalNameA(PCCERT_CONTEXT Context,DWORD Flags,RPC_CSTR *pBuffer);
|
optary.h | 53 LPVOID pBuffer, 58 LPVOID pBuffer, 85 LPVOID pBuffer, 91 LPVOID pBuffer, 107 #define IOptionArray_QueryOption(This,dwOption,pBuffer,pcbBuf) (This)->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf) 108 #define IOptionArray_SetOption(This,dwOption,pBuffer,cbBuf) (This)->lpVtbl->SetOption(This,dwOption,pBuffer,cbBuf) 121 static FORCEINLINE HRESULT IOptionArray_QueryOption(IOptionArray* This,DWORD dwOption,LPVOID pBuffer,ULONG *pcbBuf) { 122 return This->lpVtbl->QueryOption(This,dwOption,pBuffer,pcbBuf) [all...] |
rasshost.h | 36 DWORD WINAPI RasSecurityDialogSend(HPORT hPort,PBYTE pBuffer,WORD BufferLength); 37 DWORD WINAPI RasSecurityDialogReceive(HPORT hPort,PBYTE pBuffer,PWORD pBufferLength,DWORD Timeout,HANDLE hEvent); 38 DWORD WINAPI RasSecurityDialogGetInfo(HPORT hPort,RAS_SECURITY_INFO *pBuffer);
|
ntmsmli.h | 24 typedef DWORD (WINAPI *CLAIMMEDIALABEL)(const BYTE *const pBuffer,const DWORD nBufferSize,MediaLabelInfo *const pLabelInfo); 25 typedef DWORD (WINAPI *CLAIMMEDIALABELEX)(const BYTE *const pBuffer,const DWORD nBufferSize,MediaLabelInfo *const pLabelInfo,GUID *LabelGuid);
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Buffers.c | 63 LVM_Buffer_t *pBuffer; 71 pBuffer = pInstance->pBufferManagement; 72 pDest = pBuffer->pScratch; 73 *pToProcess = pBuffer->pScratch; 74 *pProcessed = pBuffer->pScratch; 84 pInstance->SamplesToProcess = (LVM_INT16)(*pNumSamples + pBuffer->InDelaySamples); 86 pBuffer->BufferState = LVM_FIRSTCALL; 89 pBuffer->SamplesToOutput = 0; /* Samples to output is same as number read for inplace processing */ 117 if (pBuffer->BufferState == LVM_FIRSTCALL) 119 pBuffer->BufferState = LVM_FIRSTLASTCALL [all...] |
/frameworks/av/services/audioflinger/ |
BufferProviders.cpp | 73 status_t CopyBufferProvider::getNextBuffer(AudioBufferProvider::Buffer *pBuffer) 76 // this, pBuffer, pBuffer->frameCount); 78 status_t res = mTrackBufferProvider->getNextBuffer(pBuffer); 80 copyFrames(pBuffer->raw, pBuffer->raw, pBuffer->frameCount); 85 mBuffer.frameCount = pBuffer->frameCount; 94 pBuffer->raw = NULL; 95 pBuffer->frameCount = 0 [all...] |
/hardware/intel/common/utils/ISV/omx/ |
isv_omxcomponent.cpp | 534 OMX_IN OMX_U8 *pBuffer) 539 pAppPrivate, nSizeBytes, pBuffer); 547 OMX_IN OMX_U8 *pBuffer) 552 pAppPrivate, nSizeBytes, pBuffer); 560 if (OK != mISVBufferManager->useBuffer(reinterpret_cast<unsigned long>(pBuffer))) { 564 ALOGD_IF(ISV_COMPONENT_DEBUG, "%s: mVPP useBuffer success. buffer handle %p", __func__, pBuffer); 599 OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) 603 return pComp->ISV_FreeBuffer(nPortIndex, pBuffer); 608 OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) 610 ALOGD_IF(ISV_COMPONENT_DEBUG, "%s: pBuffer %p", __func__, pBuffer) [all...] |
/hardware/intel/common/wrs_omxil_core/base/src/ |
portbase.cpp | 327 OMX_U8 *pBuffer) 365 buffer_hdr->pBuffer = pBuffer; 454 buffer_hdr->pBuffer = (*custom_mem_alloc)(nSizeBytes, custom_mem_userdata); 457 buffer_hdr->pBuffer = (OMX_U8 *)(((OMX_U32)((OMX_U8 *)buffer_hdr + sizeof(*buffer_hdr)) / mem_alignment + 1) * mem_alignment); 459 buffer_hdr->pBuffer = (OMX_U8 *)buffer_hdr + sizeof(*buffer_hdr); 461 if (buffer_hdr->pBuffer == NULL) { 505 OMX_BUFFERHEADERTYPE *pBuffer) 510 LOGV("%s(): %s:%s:PortIndex %u:pBuffer %p: enter\n", __FUNCTION__, 511 cbase->GetName(), cbase->GetWorkingRole(), nPortIndex, pBuffer); [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
lnc_MPEG4ES.c | 282 VAEncPictureParameterBufferMPEG4 *pBuffer; 294 pBuffer = (VAEncPictureParameterBufferMPEG4 *) obj_buffer->buffer_data; 298 ctx->ref_surface = SURFACE(pBuffer->reference_picture); 299 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture); 300 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 302 ASSERT(ctx->Width == pBuffer->picture_width); 303 ASSERT(ctx->Height == pBuffer->picture_height); 316 pBuffer->vop_time_increment, /* In testbench, this should be FrameNum */ 318 pBuffer->picture_type, 326 free(pBuffer); [all...] |
lnc_H263ES.c | 251 VAEncPictureParameterBufferH263 *pBuffer; 263 pBuffer = (VAEncPictureParameterBufferH263 *) obj_buffer->buffer_data; 267 ctx->ref_surface = SURFACE(pBuffer->reference_picture); 268 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture); 269 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 271 ASSERT(ctx->Width == pBuffer->picture_width); 272 ASSERT(ctx->Height == pBuffer->picture_height); 298 pBuffer->picture_type, 311 free(pBuffer); 319 VAEncSliceParameterBuffer *pBuffer; [all...] |
lnc_H264ES.c | 317 VAEncPictureParameterBufferH264 *pBuffer; 330 pBuffer = (VAEncPictureParameterBufferH264 *) obj_buffer->buffer_data; 334 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); 335 ctx->dest_surface = SURFACE(pBuffer->CurrPic.picture_id); 336 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 338 //ASSERT(ctx->Width == pBuffer->picture_width); 339 //ASSERT(ctx->Height == pBuffer->picture_height); 391 if (0 != pBuffer->last_picture) { 396 free(pBuffer); 400 p_aux_info->aux_flag = pBuffer->last_picture [all...] |
/external/libnfc-nci/halimpl/pn54x/tml/ |
phTmlNfc_i2c.h | 28 int phTmlNfc_i2c_read(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToRead); 29 int phTmlNfc_i2c_write(void *pDevHandle,uint8_t * pBuffer, int nNbBytesToWrite);
|
phTmlNfc_i2c.c | 114 ** pBuffer - buffer for read data 121 int phTmlNfc_i2c_read(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToRead) 167 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); 194 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); 207 totalBtyesToRead = pBuffer[FW_DNLD_LEN_OFFSET] + FW_DNLD_HEADER_LEN + CRC_LEN; 211 totalBtyesToRead = pBuffer[NORMAL_MODE_LEN_OFFSET] + NORMAL_MODE_HEADER_LEN; 215 ret_Read = read ((intptr_t)pDevHandle, (pBuffer + numRead), totalBtyesToRead - numRead); 230 phNxpNciHal_print_packet ("RECV", pBuffer, NORMAL_MODE_HEADER_LEN); 251 ** pBuffer - buffer for read data 258 int phTmlNfc_i2c_write(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToWrite [all...] |
/external/pdfium/xfa/src/fgas/src/crt/ |
fx_stream.h | 28 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize) = 0;
32 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) = 0;
51 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize);
53 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize);
71 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize);
73 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize);
94 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize);
96 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) {
124 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize);
126 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) { [all...] |
fx_utils.cpp | 25 pBuffer(nullptr) {}
27 ~FX_BASEARRAYDATA() { FX_Free(pBuffer); }
33 uint8_t* pBuffer;
51 uint8_t*& pBuffer = m_pData->pBuffer;
58 if (!pBuffer) {
59 pBuffer = FX_Alloc(uint8_t, iNewSize);
61 pBuffer = FX_Realloc(uint8_t, pBuffer, iNewSize);
68 return pBuffer + index * iBlockSize; [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_LlcpUtils.c | 257 uint8_t *pBuffer, 284 *pBuffer++ = *pNext; 357 uint32_t phFriNfc_Llcp_Header2Buffer( phFriNfc_Llcp_sPacketHeader_t *psHeader, uint8_t *pBuffer, uint32_t nOffset ) 360 pBuffer[nOffset++] = (uint8_t)((psHeader->dsap << 2) | (psHeader->ptype >> 2)); 361 pBuffer[nOffset++] = (uint8_t)((psHeader->ptype << 6) | psHeader->ssap); 365 uint32_t phFriNfc_Llcp_Sequence2Buffer( phFriNfc_Llcp_sPacketSequence_t *psSequence, uint8_t *pBuffer, uint32_t nOffset ) 368 pBuffer[nOffset++] = (uint8_t)((psSequence->ns << 4) | (psSequence->nr)); 372 uint32_t phFriNfc_Llcp_Buffer2Header( uint8_t *pBuffer, uint32_t nOffset, phFriNfc_Llcp_sPacketHeader_t *psHeader ) 374 psHeader->dsap = (pBuffer[nOffset] & 0xFC) >> 2; 375 psHeader->ptype = ((pBuffer[nOffset] & 0x03) << 2) | ((pBuffer[nOffset+1] & 0xC0) >> 6) [all...] |
phFriNfc_LlcpUtils.h | 108 uint8_t *pBuffer, 122 uint8_t *pBuffer, 126 uint8_t *pBuffer, 129 uint32_t phFriNfc_Llcp_Buffer2Header( uint8_t *pBuffer, 133 uint32_t phFriNfc_Llcp_Buffer2Sequence( uint8_t *pBuffer,
|
/hardware/intel/common/utils/ISV/include/ |
isv_omxcomponent.h | 53 virtual OMX_ERRORTYPE releaseBuffer(PORT_INDEX index, OMX_BUFFERHEADERTYPE* pBuffer, bool flush); 150 OMX_IN OMX_U8* pBuffer); 156 OMX_IN OMX_U8* pBuffer); 173 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 176 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 180 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 182 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 186 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 188 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 209 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer); [all...] |
/hardware/intel/img/psb_video/src/ |
pnw_MPEG4ES.c | 317 VAEncPictureParameterBufferMPEG4 *pBuffer; 332 pBuffer = (VAEncPictureParameterBufferMPEG4 *) obj_buffer->buffer_data; 336 ctx->ref_surface = SURFACE(pBuffer->reference_picture); 337 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture); 338 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 340 ASSERT(ctx->Width == pBuffer->picture_width); 341 ASSERT(ctx->Height == pBuffer->picture_height); 355 pBuffer->vop_time_increment, /* In testbench, this should be FrameNum */ 357 pBuffer->picture_type, 366 pBuffer->vop_time_increment, /* In testbench, this should be FrameNum * [all...] |