/art/runtime/jdwp/ |
jdwp_expand_buf.cc | 59 void expandBufFree(ExpandBuf* pBuf) { 60 if (pBuf == nullptr) { 64 free(pBuf->storage); 65 delete pBuf; 71 uint8_t* expandBufGetBuffer(ExpandBuf* pBuf) { 72 return pBuf->storage; 78 size_t expandBufGetLength(ExpandBuf* pBuf) { 79 return pBuf->curLen; 86 static void ensureSpace(ExpandBuf* pBuf, int newCount) { 87 if (pBuf->curLen + newCount <= pBuf->maxLen) [all...] |
jdwp_expand_buf.h | 37 void expandBufFree(ExpandBuf* pBuf); 43 uint8_t* expandBufGetBuffer(ExpandBuf* pBuf); 44 size_t expandBufGetLength(ExpandBuf* pBuf); 57 uint8_t* expandBufAddSpace(ExpandBuf* pBuf, int gapSize); 58 void expandBufAdd1(ExpandBuf* pBuf, uint8_t val); 59 void expandBufAdd2BE(ExpandBuf* pBuf, uint16_t val); 60 void expandBufAdd4BE(ExpandBuf* pBuf, uint32_t val); 61 void expandBufAdd8BE(ExpandBuf* pBuf, uint64_t val); 62 void expandBufAddUtf8String(ExpandBuf* pBuf, const char* s); 63 void expandBufAddUtf8String(ExpandBuf* pBuf, const std::string& s) [all...] |
/frameworks/compile/mclinker/lib/Target/ |
ELFAttributeData.cpp | 19 const char*& pBuf, 24 leb128::decode<uint64_t>(pBuf, size)); 29 pBuf += size; 36 const char*& pBuf, 41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); 47 pBuf += size; 53 pValue.setStringValue(pBuf); 57 pBuf += size; 66 char*& pBuf) { 68 leb128::encode<uint32_t>(pBuf, pTag) [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
LEB128.h | 23 size_t encode(ByteType*& pBuf, IntType pValue); 26 IntType decode(const ByteType* pBuf, size_t& pSize); 29 IntType decode(const ByteType*& pBuf); 52 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue); 55 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue); 61 size_t encode<int64_t>(ByteType*& pBuf, int64_t pValue); 64 size_t encode<int32_t>(ByteType*& pBuf, int32_t pValue); 72 uint64_t decode<uint64_t>(const ByteType* pBuf, size_t& pSize); 79 uint64_t decode<uint64_t>(const ByteType*& pBuf); 85 int64_t decode<int64_t>(const ByteType* pBuf, size_t& pSize) [all...] |
/frameworks/compile/mclinker/lib/Support/ |
LEB128.cpp | 17 size_t encode<uint64_t>(ByteType*& pBuf, uint64_t pValue) { 24 *pBuf++ = byte; 36 size_t encode<uint32_t>(ByteType*& pBuf, uint32_t pValue) { 38 *pBuf++ = static_cast<ByteType>(pValue); 41 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); 42 *pBuf++ = static_cast<ByteType>((pValue >> 7) & 0x7f); 45 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); 46 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80); 47 *pBuf++ = static_cast<ByteType>((pValue >> 14) & 0x7f); 50 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80) [all...] |
/frameworks/compile/libbcc/lib/Support/ |
InputFile.cpp | 26 ssize_t InputFile::read(void *pBuf, size_t count) { 31 if ((count <= 0) || (pBuf == nullptr)) { 33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf); 38 ssize_t read_size = ::read(mFD, pBuf, count);
|
OutputFile.cpp | 30 ssize_t OutputFile::write(const void *pBuf, size_t count) { 35 if ((count <= 0) || (pBuf == nullptr)) { 37 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf); 42 ssize_t write_size = ::write(mFD, pBuf, count);
|
/dalvik/tools/hprof-conv/ |
HprofConv.c | 133 static void ebFree(ExpandBuf* pBuf) 135 if (pBuf != NULL) { 136 free(pBuf->storage); 137 free(pBuf); 147 static inline unsigned char* ebGetBuffer(ExpandBuf* pBuf) 149 return pBuf->storage; 155 static inline size_t ebGetLength(ExpandBuf* pBuf) 157 return pBuf->curLen; 163 static void ebClear(ExpandBuf* pBuf) 165 pBuf->curLen = 0 [all...] |
/frameworks/compile/mclinker/include/mcld/Target/ |
ELFAttributeData.h | 79 virtual size_t emit(char* pBuf) const = 0; 84 /// If the read succeeds, pBuf moves to the new position just pass the end of 88 static bool ReadTag(TagType& pTag, const char*& pBuf, size_t& pBufSize); 96 const char*& pBuf, 101 /// On success, the pBuf moves to the new position just pass the end of the 102 /// attribute data just written. Otherwise, it returns false and leaves pBuf 107 char*& pBuf);
|
/external/libvncserver/common/ |
zywrletemplate.c | 382 static InlineX void FilterWaveletSquare(int* pBuf, int width, int height, int level, int l) 392 pH = pBuf; 450 static InlineX void FilterWaveletSquare(int* pBuf, int width, int height, int level, int l) 460 pH = pBuf; 478 static InlineX void Wavelet(int* pBuf, int width, int height, int level) 485 pTop = pBuf; 486 pEnd = pBuf+height*width; 492 pTop = pBuf; 493 pEnd = pBuf+width; 499 FilterWaveletSquare(pBuf, width, height, level, l) [all...] |
/frameworks/compile/libbcc/include/bcc/Support/ |
InputFile.h | 30 ssize_t read(void *pBuf, size_t count);
|
OutputFile.h | 34 ssize_t write(const void *pBuf, size_t count);
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_colors.cpp | 69 FX_BOOL CPDF_DeviceCS::GetRGB(FX_FLOAT* pBuf, 74 R = pBuf[0]; 80 G = pBuf[1]; 86 B = pBuf[2]; 93 R = *pBuf; 102 AdobeCMYK_to_sRGB(pBuf[0], pBuf[1], pBuf[2], pBuf[3], R, G, B); 104 FX_FLOAT k = pBuf[3] [all...] |
/external/pdfium/core/src/fxcrt/ |
fx_extension.cpp | 264 FX_DWORD* pBuf = pContext->mt; 266 pBuf[i] = (1812433253UL * (pBuf[i - 1] ^ (pBuf[i - 1] >> 30)) + i); 277 FX_DWORD* pBuf = pMTC->mt; 284 v = (pBuf[kk] & MT_Upper_Mask) | (pBuf[kk + 1] & MT_Lower_Mask); 285 pBuf[kk] = pBuf[kk + MT_M] ^ (v >> 1) ^ mag[v & 1]; 288 v = (pBuf[kk] & MT_Upper_Mask) | (pBuf[kk + 1] & MT_Lower_Mask) [all...] |
fx_basic_buffer.cpp | 92 void CFX_BinaryBuf::AppendBlock(const void* pBuf, FX_STRSIZE size) { 94 if (pBuf && m_pBuffer) { 95 FXSYS_memcpy(m_pBuffer + m_DataSize, pBuf, size); 100 const void* pBuf, 107 if (pBuf) { 108 FXSYS_memcpy(m_pBuffer + pos, pBuf, size); 330 FX_BOOL CFX_ArchiveLoader::Read(void* pBuf, FX_DWORD dwSize) { 334 FXSYS_memcpy(pBuf, m_pLoadingBuf + m_LoadingPos, dwSize); 396 int32_t IFX_BufferArchive::AppendBlock(const void* pBuf, size_t size) { 397 if (!pBuf || size < 1) [all...] |
/external/pdfium/core/src/fpdftext/ |
unicodenormalization.cpp | 67 FX_WCHAR* pBuf = wsDst.GetBuffer(nLen); 68 FX_WideString_GetNormalization(wsSrc, pBuf);
|
/external/pdfium/testing/ |
test_support.h | 55 TestLoader(const char* pBuf, size_t len); 58 unsigned char* pBuf,
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
armVCM4P10_InterpolateLuma_DiagCopy_unsafe_s.s | 39 ;// Implements re-arrangement of data from temporary buffer to a buffer pointed by pBuf. 71 pBuf RN 7 108 STRD ValueA0, [pBuf], #8 111 SUB pSrc0, pBuf, #32 150 STR Temp1, [pBuf], #8 152 STR Temp2, [pBuf], #-4 178 STR Temp1, [pBuf], #8 180 STR Temp2, [pBuf], #4 184 SUB pSrc0, pBuf, #32-8
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
armVCM4P10_InterpolateLuma_DiagCopy_unsafe_s.s | 39 ;// Implements re-arrangement of data from temporary buffer to a buffer pointed by pBuf. 71 pBuf RN 7 108 STRD ValueA0, [pBuf], #8 111 SUB pSrc0, pBuf, #32 150 STR Temp1, [pBuf], #8 152 STR Temp2, [pBuf], #-4 178 STR Temp1, [pBuf], #8 180 STR Temp2, [pBuf], #4 184 SUB pSrc0, pBuf, #32-8
|
/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...] |
/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.h | 50 FileTransferMsg ChkFileUploadWriteErr(rfbClientPtr cl, rfbTightClientPtr data, char* pBuf);
|
/external/pdfium/xfa/include/fwl/adapter/ |
fwl_adapterclipboardmgr.h | 23 virtual FWL_ERR SetData(FX_DWORD dwFormat, uint8_t* pBuf, int32_t iSize) = 0;
|
/hardware/ti/omap3/dspbridge/inc/ |
DSPManager.h | 201 * pBuf: Pointer to information buffer. 207 extern DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize);
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
DSPManager.h | 201 * pBuf: Pointer to information buffer. 207 extern DBAPI DSPManager_GetProcResourceInfo(UINT *pBuf, UINT *pSize);
|