/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
writev.c | 103 char *pBuf;
120 pBuf = (char*)malloc (TotalBytes);
121 if (pBuf == NULL) {
131 bcopy(iov->iov_base, pBuf, iov->iov_len);
132 pBuf += iov->iov_len;
140 ret = write (fd, pBuf, TotalBytes);
141 free (pBuf);
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/ |
CEATABlockIo.c | 92 UINT8 *pBuf;
101 pBuf = Buffer;
150 pBuf,
159 pBuf += TransferSize;
201 UINT8 *pBuf;
211 pBuf = Buffer;
263 pBuf,
272 pBuf += TransferSize;
|
/external/pdfium/core/fpdfapi/parser/ |
cpdf_simple_parser.cpp | 143 uint32_t* pBuf = FX_Alloc(uint32_t, nParams); 148 pBuf[buf_index++] = m_dwCurPos; 158 FX_Free(pBuf); 165 m_dwCurPos = pBuf[buf_index]; 166 FX_Free(pBuf);
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/ |
UsbDeviceModeLib.h | 55 VOID *pBuf;
|
/hardware/intel/common/utils/media_resource_manager/arbitrator/ |
MediaResourceArbitrator.cpp | 174 void *pBuf = NULL; 184 pBuf = malloc(mBufSize); 185 if (NULL == pBuf) { 191 int len = (int)::fread(pBuf, 1, mBufSize, fp); 199 if (XML_Parse(parser, (const char *)pBuf, len, done) == XML_STATUS_ERROR) { 208 if (pBuf) 209 free(pBuf);
|
/external/pdfium/core/fxcrt/ |
cfx_blockbuffer.cpp | 83 wchar_t* pBuf = wsTextData.GetBuffer(length); 84 if (!pBuf) 107 memcpy(pBuf + pointer, pBlockBuf + bufferPointer,
|
fx_random.cpp | 86 uint32_t* pBuf = pContext->mt; 87 pBuf[0] = dwSeed; 89 pBuf[i] = (1812433253UL * (pBuf[i - 1] ^ (pBuf[i - 1] >> 30)) + i); 97 uint32_t* pBuf = pMTC->mt; 103 v = (pBuf[kk] & MT_Upper_Mask) | (pBuf[kk + 1] & MT_Lower_Mask); 104 pBuf[kk] = pBuf[kk + MT_M] ^ (v >> 1) ^ mag[v & 1] [all...] |
/hardware/intel/common/utils/ISV/profile/ |
isv_profile.cpp | 303 void *pBuf = NULL; 320 pBuf = malloc(mBufSize); 321 if (NULL == pBuf) { 327 int len = (int)::fread(pBuf, 1, mBufSize, fp); 335 if (XML_Parse(parser, (const char *)pBuf, len, done) == XML_STATUS_ERROR) { 344 if (pBuf) 345 free(pBuf);
|
/hardware/intel/img/psb_video/src/ |
psb_buffer.c | 477 unsigned int *pBuf = NULL; 481 pBuf = (unsigned int *)(vaCodedBufSeg[uiPipeIndex].buf); 482 pBuf -= 16; 485 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s: 0x%08x\n", __FUNCTION__, pBuf[(i*4) + j]); 579 void **pbuf /* out */ 590 CHECK_INVALID_PARAM(pbuf == NULL); 602 raw_codedbuf = *pbuf; 606 *pbuf = p = &obj_buffer->codedbuf_mapinfo[0];
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
handlefiletransferrequest.c | 758 void HandleFileUploadWrite(rfbClientPtr cl, rfbTightClientPtr rtcp, char* pBuf); 765 char* pBuf = NULL; 804 pBuf = (char*) calloc(msg.fud.compressedSize, sizeof(char)); 805 if(pBuf == NULL) { 809 if((n = rfbReadExact(cl, pBuf, msg.fud.compressedSize)) <= 0) { 817 if(pBuf != NULL) { 818 free(pBuf); 819 pBuf = NULL; 837 if(pBuf != NULL) { 838 free(pBuf); [all...] |
filetransfermsg.c | 451 char pBuf[SZ_RFBBLOCKSIZE]; 454 memset(pBuf, 0, SZ_RFBBLOCKSIZE); 465 if( (numOfBytesRead = read(rtcp->rcft.rcfd.downloadFD, pBuf, SZ_RFBBLOCKSIZE)) <= 0) { 474 return CreateFileDownloadBlockSizeDataMsg(numOfBytesRead, pBuf); 660 ChkFileUploadWriteErr(rfbClientPtr cl, rfbTightClientPtr rtcp, char* pBuf) 667 numOfBytesWritten = write(rtcp->rcft.rcfu.uploadFD, pBuf, rtcp->rcft.rcfu.fSize);
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
streamout_jit.cpp | 63 Value* pBuf = getSOBuffer(pSoCtx, buffer); 67 Value* enabled = TRUNC(LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_enable }), IRB()->getInt1Ty()); 70 Value* bufferSize = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_bufferSize }); 73 Value* streamOffset = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_streamOffset }); 76 Value* pitch = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_pitch }); 223 Value* pBuf = getSOBuffer(pSoCtx, b); 224 Value* pData = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_pBuffer }); 225 Value* streamOffset = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_streamOffset }); 229 outBufferPitch[b] = LOAD(pBuf, { 0, SWR_STREAMOUT_BUFFER_pitch }); 253 Value* pBuf = getSOBuffer(pSoCtx, b) [all...] |
/external/pdfium/core/fpdfapi/render/ |
cpdf_type3cache.cpp | 39 bool IsScanLine1bpp(uint8_t* pBuf, int width) { 42 if (pBuf[i]) 45 return (width % 8) && (pBuf[width / 8] & (0xff << (8 - width % 8))); 48 bool IsScanLine8bpp(uint8_t* pBuf, int width) { 50 if (pBuf[i] > 0x40) 63 uint8_t* pBuf = pBitmap->GetBuffer(); 69 if (IsScanLine1bpp(pBuf + line * pitch, width)) 72 if (IsScanLine8bpp(pBuf + line * pitch, width))
|
/external/pdfium/fxjs/xfa/ |
cjx_hostpseudomodel.cpp | 31 wchar_t* pBuf = wsFilter.GetBuffer(iLength - nStart); 40 pBuf[nCount++] = wCur;
|
/external/pdfium/core/fpdfapi/page/ |
cpdf_image.cpp | 209 char* pBuf = ct.GetBuffer(6); 210 pBuf[0] = (char)reset_r; 211 pBuf[1] = (char)reset_g; 212 pBuf[2] = (char)reset_b; 213 pBuf[3] = (char)set_r; 214 pBuf[4] = (char)set_g; 215 pBuf[5] = (char)set_b;
|
/external/pdfium/core/fxcrt/xml/ |
cfx_saxreader.cpp | 214 const uint8_t* pBuf = m_File.m_pBuf; 216 m_CurByte = pBuf[index];
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
SoftAVCDec.cpp | 415 uint8_t *pBuf; 421 pBuf = outHeader->pBuffer; 424 pBuf = mFlushOutBuffer; 427 ps_dec_ip->s_out_buffer.pu1_bufs[0] = pBuf; 428 ps_dec_ip->s_out_buffer.pu1_bufs[1] = pBuf + sizeY; 429 ps_dec_ip->s_out_buffer.pu1_bufs[2] = pBuf + sizeY + sizeUV;
|
/dalvik/tools/hprof-conv/ |
HprofConv.c | 138 static void ebFree(ExpandBuf* pBuf) 140 if (pBuf != NULL) { 141 free(pBuf->storage); 142 free(pBuf); 152 static inline unsigned char* ebGetBuffer(ExpandBuf* pBuf) 154 return pBuf->storage; 160 static inline size_t ebGetLength(ExpandBuf* pBuf) 162 return pBuf->curLen; 168 static void ebClear(ExpandBuf* pBuf) 170 pBuf->curLen = 0 [all...] |
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
EASLib.c | 136 static S_BUFFER_INFO *pBuf = NULL; 355 memset(ptrOutL, 0, pBuf->uOutFrames); 356 memset(ptrOutR, 0, pBuf->uOutFrames); 359 if (pBuf->ix == 0 ) 368 short* pData = pBuf->pData[--(pBuf->ix)]; 372 for (i = 0; i < pBuf->uOutFrames; i+=2 ) 388 memcpy(pBuf->pData[(pBuf->ix)++], pAudioBuffer, 2048); 412 while(pBuf->ix == MAX_BUFFERS - 1 [all...] |
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
SoftHEVC.cpp | 412 uint8_t *pBuf; 418 pBuf = outHeader->pBuffer; 421 pBuf = mFlushOutBuffer; 424 ps_dec_ip->s_out_buffer.pu1_bufs[0] = pBuf; 425 ps_dec_ip->s_out_buffer.pu1_bufs[1] = pBuf + sizeY; 426 ps_dec_ip->s_out_buffer.pu1_bufs[2] = pBuf + sizeY + sizeUV;
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
SoftMPEG2.cpp | 548 uint8_t *pBuf; 554 pBuf = outHeader->pBuffer; 557 pBuf = mFlushOutBuffer; 560 ps_dec_ip->s_out_buffer.pu1_bufs[0] = pBuf; 561 ps_dec_ip->s_out_buffer.pu1_bufs[1] = pBuf + sizeY; 562 ps_dec_ip->s_out_buffer.pu1_bufs[2] = pBuf + sizeY + sizeUV;
|
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderBase.cpp | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/ |
marshal.c | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/ |
marshal.c | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
marshal.c | [all...] |