/external/libnfc-nxp/src/ |
D | phFriNfc_LlcpUtils.c | 257 uint8_t *pBuffer, in phFriNfc_Llcp_CyclicFifoFifoRead() argument 284 *pBuffer++ = *pNext; in phFriNfc_Llcp_CyclicFifoFifoRead() 357 uint32_t phFriNfc_Llcp_Header2Buffer( phFriNfc_Llcp_sPacketHeader_t *psHeader, uint8_t *pBuffer, ui… in phFriNfc_Llcp_Header2Buffer() argument 360 pBuffer[nOffset++] = (uint8_t)((psHeader->dsap << 2) | (psHeader->ptype >> 2)); in phFriNfc_Llcp_Header2Buffer() 361 pBuffer[nOffset++] = (uint8_t)((psHeader->ptype << 6) | psHeader->ssap); in phFriNfc_Llcp_Header2Buffer() 365 …p_Sequence2Buffer( phFriNfc_Llcp_sPacketSequence_t *psSequence, uint8_t *pBuffer, uint32_t nOffset… in phFriNfc_Llcp_Sequence2Buffer() argument 368 pBuffer[nOffset++] = (uint8_t)((psSequence->ns << 4) | (psSequence->nr)); in phFriNfc_Llcp_Sequence2Buffer() 372 uint32_t phFriNfc_Llcp_Buffer2Header( uint8_t *pBuffer, uint32_t nOffset, phFriNfc_Llcp_sPacketHead… in phFriNfc_Llcp_Buffer2Header() argument 374 psHeader->dsap = (pBuffer[nOffset] & 0xFC) >> 2; in phFriNfc_Llcp_Buffer2Header() 375 psHeader->ptype = ((pBuffer[nOffset] & 0x03) << 2) | ((pBuffer[nOffset+1] & 0xC0) >> 6); in phFriNfc_Llcp_Buffer2Header() [all …]
|
D | 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,
|
D | phDal4Nfc.h | 362 uint8_t *pBuffer, 421 uint8_t *pBuffer, 483 uint8_t *pBuffer,
|
/external/pdfium/core/src/fxcrt/ |
D | fxcrt_posix.cpp | 81 size_t CFXCRT_FileAccess_Posix::Read(void* pBuffer, size_t szBuffer) { in Read() argument 85 return read(m_nFD, pBuffer, szBuffer); in Read() 87 size_t CFXCRT_FileAccess_Posix::Write(const void* pBuffer, size_t szBuffer) { in Write() argument 91 return write(m_nFD, pBuffer, szBuffer); in Write() 93 size_t CFXCRT_FileAccess_Posix::ReadPos(void* pBuffer, in ReadPos() argument 105 return Read(pBuffer, szBuffer); in ReadPos() 107 size_t CFXCRT_FileAccess_Posix::WritePos(const void* pBuffer, in WritePos() argument 116 return Write(pBuffer, szBuffer); in WritePos()
|
D | fxcrt_platforms.cpp | 93 size_t CFXCRT_FileAccess_CRT::Read(void* pBuffer, size_t szBuffer) { in Read() argument 97 return FXSYS_fread(pBuffer, 1, szBuffer, m_hFile); in Read() 99 size_t CFXCRT_FileAccess_CRT::Write(const void* pBuffer, size_t szBuffer) { in Write() argument 103 return FXSYS_fwrite(pBuffer, 1, szBuffer, m_hFile); in Write() 105 size_t CFXCRT_FileAccess_CRT::ReadPos(void* pBuffer, in ReadPos() argument 112 return FXSYS_fread(pBuffer, 1, szBuffer, m_hFile); in ReadPos() 114 size_t CFXCRT_FileAccess_CRT::WritePos(const void* pBuffer, in WritePos() argument 121 return FXSYS_fwrite(pBuffer, 1, szBuffer, m_hFile); in WritePos()
|
D | fxcrt_windows.cpp | 114 size_t CFXCRT_FileAccess_Win64::Read(void* pBuffer, size_t szBuffer) { in Read() argument 119 if (!::ReadFile(m_hFile, pBuffer, (DWORD)szBuffer, (LPDWORD)&szRead, NULL)) { in Read() 124 size_t CFXCRT_FileAccess_Win64::Write(const void* pBuffer, size_t szBuffer) { in Write() argument 129 if (!::WriteFile(m_hFile, pBuffer, (DWORD)szBuffer, (LPDWORD)&szWrite, in Write() 135 size_t CFXCRT_FileAccess_Win64::ReadPos(void* pBuffer, in ReadPos() argument 147 return Read(pBuffer, szBuffer); in ReadPos() 149 size_t CFXCRT_FileAccess_Win64::WritePos(const void* pBuffer, in WritePos() argument 158 return Write(pBuffer, szBuffer); in WritePos()
|
D | 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,
|
D | 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,
|
D | 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,
|
D | fx_extension.cpp | 114 IFX_MemoryStream* FX_CreateMemoryStream(uint8_t* pBuffer, in FX_CreateMemoryStream() argument 117 return new CFX_MemoryStream(pBuffer, dwSize, bTakeOver); in FX_CreateMemoryStream() 306 void FX_Random_GenerateMT(FX_DWORD* pBuffer, int32_t iCount) { in FX_Random_GenerateMT() argument 317 *pBuffer++ = FX_Random_MT_Generate(pContext); in FX_Random_GenerateMT() 321 void FX_Random_GenerateBase(FX_DWORD* pBuffer, int32_t iCount) { in FX_Random_GenerateBase() argument 340 *pBuffer++ = (FX_DWORD)((::rand() << 16) | (::rand() & 0xFFFF)); in FX_Random_GenerateBase() 344 FX_BOOL FX_GenerateCryptoRandom(FX_DWORD* pBuffer, int32_t iCount) { in FX_GenerateCryptoRandom() argument 349 ::CryptGenRandom(hCP, iCount * sizeof(FX_DWORD), (uint8_t*)pBuffer); in FX_GenerateCryptoRandom() 354 void FX_Random_GenerateCrypto(FX_DWORD* pBuffer, int32_t iCount) { in FX_Random_GenerateCrypto() argument 356 FX_GenerateCryptoRandom(pBuffer, iCount); in FX_Random_GenerateCrypto() [all …]
|
D | extension.h | 25 virtual size_t Read(void* pBuffer, size_t szBuffer) = 0; 26 virtual size_t Write(const void* pBuffer, size_t szBuffer) = 0; 27 virtual size_t ReadPos(void* pBuffer, size_t szBuffer, FX_FILESIZE pos) = 0; 28 virtual size_t WritePos(const void* pBuffer, 107 CFX_MemoryStream(uint8_t* pBuffer, size_t nSize, FX_BOOL bTakeOver) in CFX_MemoryStream() argument 113 m_Blocks.Add(pBuffer); in CFX_MemoryStream() 261 void AttachBuffer(uint8_t* pBuffer, 268 m_Blocks.Add(pBuffer); 329 FX_BOOL FX_GenerateCryptoRandom(FX_DWORD* pBuffer, int32_t iCount);
|
/external/libnfc-nci/halimpl/pn54x/tml/ |
D | phTmlNfc_i2c.c | 122 int phTmlNfc_i2c_read(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToRead) in phTmlNfc_i2c_read() argument 168 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 195 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 208 totalBtyesToRead = pBuffer[FW_DNLD_LEN_OFFSET] + FW_DNLD_HEADER_LEN + CRC_LEN; in phTmlNfc_i2c_read() 212 totalBtyesToRead = pBuffer[NORMAL_MODE_LEN_OFFSET] + NORMAL_MODE_HEADER_LEN; in phTmlNfc_i2c_read() 214 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 229 phNxpNciHal_print_packet("RECV",pBuffer, NORMAL_MODE_HEADER_LEN); in phTmlNfc_i2c_read() 252 int phTmlNfc_i2c_write(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToWrite) in phTmlNfc_i2c_write() argument 280 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote); in phTmlNfc_i2c_write()
|
D | phTmlNfc.c | 371 memcpy(gpphTmlNfc_Context->tReadInfo.pBuffer, temp, dwNoBytesWrRd); in phTmlNfc_TmlThread() 377 (0x00 != (gpphTmlNfc_Context->tReadInfo.pBuffer[0] & 0xE0))) in phTmlNfc_TmlThread() 394 phNxpNciHal_print_packet("RECV", gpphTmlNfc_Context->tReadInfo.pBuffer, in phTmlNfc_TmlThread() 401 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread() 480 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread() 501 phNxpNciHal_print_packet("SEND", gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread() 512 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread() 531 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) in phTmlNfc_TmlWriterThread() 558 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) in phTmlNfc_TmlWriterThread() 693 NFCSTATUS phTmlNfc_Write(uint8_t *pBuffer, uint16_t wLength, pphTmlNfc_TransactCompletionCb_t pTmlW… in phTmlNfc_Write() argument [all …]
|
/external/pdfium/xfa/src/fgas/src/crt/ |
D | fx_utils.cpp | 25 pBuffer(nullptr) {} in FX_BASEARRAYDATA() 27 ~FX_BASEARRAYDATA() { FX_Free(pBuffer); } in ~FX_BASEARRAYDATA() 33 uint8_t* pBuffer; member in FX_BASEARRAYDATA 51 uint8_t*& pBuffer = m_pData->pBuffer; in AddSpaceTo() local 58 if (!pBuffer) { in AddSpaceTo() 59 pBuffer = FX_Alloc(uint8_t, iNewSize); in AddSpaceTo() 61 pBuffer = FX_Realloc(uint8_t, pBuffer, iNewSize); in AddSpaceTo() 68 return pBuffer + index * iBlockSize; in AddSpaceTo() 72 return m_pData->pBuffer + index * m_pData->iBlockSize; in GetAt() 75 return m_pData->pBuffer; in GetBuffer() [all …]
|
D | fx_encode.cpp | 52 void FX_UTF16ToWChar(void* pBuffer, int32_t iLength) { in FX_UTF16ToWChar() argument 53 FXSYS_assert(pBuffer != NULL && iLength > 0); in FX_UTF16ToWChar() 57 FX_WORD* pSrc = (FX_WORD*)pBuffer; in FX_UTF16ToWChar() 58 FX_WCHAR* pDst = (FX_WCHAR*)pBuffer; in FX_UTF16ToWChar() 75 void FX_WCharToUTF16(void* pBuffer, int32_t iLength) { in FX_WCharToUTF16() argument 76 FXSYS_assert(pBuffer != NULL && iLength > 0); in FX_WCharToUTF16() 80 const FX_WCHAR* pSrc = (const FX_WCHAR*)pBuffer; in FX_WCharToUTF16() 81 FX_WORD* pDst = (FX_WORD*)pBuffer; in FX_WCharToUTF16()
|
D | 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) { in WriteData() argument 124 virtual int32_t ReadData(uint8_t* pBuffer, int32_t iBufferSize); 126 virtual int32_t WriteData(const uint8_t* pBuffer, int32_t iBufferSize) { in WriteData() argument [all …]
|
D | fx_stream.cpp | 195 int32_t CFX_FileStreamImp::ReadData(uint8_t* pBuffer, int32_t iBufferSize) { in ReadData() argument 197 FXSYS_assert(pBuffer != NULL && iBufferSize > 0); in ReadData() 198 return FXSYS_fread(pBuffer, 1, iBufferSize, m_hFile); in ReadData() 225 int32_t CFX_FileStreamImp::WriteData(const uint8_t* pBuffer, in WriteData() argument 228 FXSYS_assert(pBuffer != NULL && iBufferSize > 0); in WriteData() 229 int32_t iRet = FXSYS_fwrite(pBuffer, 1, iBufferSize, m_hFile); in WriteData() 297 int32_t CFX_FileReadStreamImp::ReadData(uint8_t* pBuffer, int32_t iBufferSize) { in ReadData() argument 299 FXSYS_assert(pBuffer != NULL && iBufferSize > 0); in ReadData() 303 if (m_pFileRead->ReadBlock(pBuffer, m_iPosition, iBufferSize)) { in ReadData() 385 int32_t CFX_BufferReadStreamImp::ReadData(uint8_t* pBuffer, in ReadData() argument [all …]
|
/external/libnfc-nci/src/adaptation/ |
D | libmain.c | 61 extern void nfa_mem_co_free(void *pBuffer) in nfa_mem_co_free() argument 63 free(pBuffer); in nfa_mem_co_free() 87 extern void nfa_nv_co_read(UINT8 *pBuffer, UINT16 nbytes, UINT8 block) in nfa_nv_co_read() argument 108 size_t actualReadData = read (fileStream, pBuffer, nbytes); in nfa_nv_co_read() 146 extern void nfa_nv_co_write(const UINT8 *pBuffer, UINT16 nbytes, UINT8 block) in nfa_nv_co_write() argument 167 unsigned short checksum = crcChecksumCompute (pBuffer, nbytes); in nfa_nv_co_write() 169 size_t actualWrittenData = write (fileStream, pBuffer, nbytes); in nfa_nv_co_write()
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | ARM-E_filter_gnu.s | 40 pBuffer .req r2 label 67 LDR pBuffer, [pWTFrame, #m_pAudioBuffer] 88 LDRSH tmp0, [pBuffer] @ fetch sample 98 LDRSH tmp1, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample 101 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer 115 LDRGTSH tmp0, [pBuffer, #NEXT_OUTPUT_PCM] @ fetch next sample 117 STRH z1, [pBuffer], #NEXT_OUTPUT_PCM @ write back to buffer
|
/external/libnfc-nxp/Linux_x86/ |
D | phOsalNfc.c | 163 void phOsalNfc_PrintData(const char *pString, uint32_t length, uint8_t *pBuffer, in phOsalNfc_PrintData() argument 174 snprintf(&print_buffer[i*3], 4, " %02X", pBuffer[i]); in phOsalNfc_PrintData() 182 llc_header = pBuffer[1]; in phOsalNfc_PrintData() 184 llc_header = pBuffer[0]; in phOsalNfc_PrintData()
|
D | phDal4Nfc_i2c.c | 176 int phDal4Nfc_i2c_read(uint8_t * pBuffer, int nNbBytesToRead) in phDal4Nfc_i2c_read() argument 205 ret = read(gI2cPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead); in phDal4Nfc_i2c_read() 232 int phDal4Nfc_i2c_write(uint8_t * pBuffer, int nNbBytesToWrite) in phDal4Nfc_i2c_write() argument 241 ret = write(gI2cPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote); in phDal4Nfc_i2c_write()
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | JS_GlobalData.cpp | 312 uint8_t* pBuffer = NULL; in LoadGlobalPersistentVariables() local 315 LoadFileBuffer(m_sFilePath.c_str(), pBuffer, nLength); in LoadGlobalPersistentVariables() 316 CRYPT_ArcFourCryptBlock(pBuffer, nLength, JS_RC4KEY, sizeof(JS_RC4KEY)); in LoadGlobalPersistentVariables() 318 if (pBuffer) { in LoadGlobalPersistentVariables() 319 uint8_t* p = pBuffer; in LoadGlobalPersistentVariables() 339 if (p > pBuffer + nLength) in LoadGlobalPersistentVariables() 345 if (p + dwNameLen > pBuffer + nLength) in LoadGlobalPersistentVariables() 381 if (p + dwLength > pBuffer + nLength) in LoadGlobalPersistentVariables() 396 FX_Free(pBuffer); in LoadGlobalPersistentVariables() 437 uint8_t*& pBuffer, in LoadFileBuffer() argument [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | deriv.cpp | 232 int bufferSize = 0; Ipp8u *pBuffer; in IPPDerivScharr() local 237 pBuffer = ippsMalloc_8u(bufferSize); in IPPDerivScharr() local 238 if (NULL == pBuffer) in IPPDerivScharr() 240 …nt)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); in IPPDerivScharr() 246 pBuffer = ippsMalloc_8u(bufferSize); in IPPDerivScharr() local 247 if (NULL == pBuffer) in IPPDerivScharr() 249 …nt)src.step, dst.ptr<Ipp16s>(), (int)dst.step, roiSize, ippMskSize3x3, ippiBorderType, 0, pBuffer); in IPPDerivScharr() 251 ippsFree(pBuffer); in IPPDerivScharr() 255 int bufferSize = 0; Ipp8u *pBuffer; in IPPDerivScharr() local 260 pBuffer = ippsMalloc_8u(bufferSize); in IPPDerivScharr() local [all …]
|
/external/pdfium/xfa/src/fxfa/src/app/ |
D | xfa_checksum.cpp | 109 uint8_t* pBuffer = m_SAXContext.m_TextBuf.GetBuffer(); in UpdateChecksum() local 114 bUpdata = (pBuffer[i] > 0x20); in UpdateChecksum() 121 m_pContext->Update(CFX_ByteStringC(pBuffer, iLength)); in UpdateChecksum() 174 FX_CHAR* pBuffer = m_bsChecksum.GetBuffer(nLen); in FinishChecksum() local 175 FX_Base64EncodeA(digest, 20, pBuffer); in FinishChecksum()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | flagparser.c | 117 char *pBuffer; in extractFlag() local 124 pBuffer = buffer+offset; in extractFlag() 130 if (pBuffer[i+1] == 0) { in extractFlag() 136 flag[i] = pBuffer[i]; in extractFlag()
|