HomeSort by relevance Sort by last modified time
    Searched refs:pBuf (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /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...]
  /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/pdfium/core/fpdfapi/page/
fpdf_page_colors.cpp 82 bool CPDF_DeviceCS::GetRGB(FX_FLOAT* pBuf,
88 R = NormalizeChannel(*pBuf);
93 R = NormalizeChannel(pBuf[0]);
94 G = NormalizeChannel(pBuf[1]);
95 B = NormalizeChannel(pBuf[2]);
99 FX_FLOAT k = pBuf[3];
100 R = 1.0f - std::min(1.0f, pBuf[0] + k);
101 G = 1.0f - std::min(1.0f, pBuf[1] + k);
102 B = 1.0f - std::min(1.0f, pBuf[2] + k);
104 AdobeCMYK_to_sRGB(pBuf[0], pBuf[1], pBuf[2], pBuf[3], R, G, B)
    [all...]
cpdf_colorspace.h 51 virtual bool GetRGB(FX_FLOAT* pBuf,
55 virtual bool SetRGB(FX_FLOAT* pBuf, FX_FLOAT R, FX_FLOAT G, FX_FLOAT B) const;
57 bool GetCMYK(FX_FLOAT* pBuf,
62 bool SetCMYK(FX_FLOAT* pBuf,
87 virtual bool v_GetCMYK(FX_FLOAT* pBuf,
92 virtual bool v_SetCMYK(FX_FLOAT* pBuf,
cpdf_colorspace.cpp 68 bool GetRGB(FX_FLOAT* pBuf,
72 bool SetRGB(FX_FLOAT* pBuf,
96 bool GetRGB(FX_FLOAT* pBuf,
100 bool SetRGB(FX_FLOAT* pBuf,
130 bool GetRGB(FX_FLOAT* pBuf,
134 bool SetRGB(FX_FLOAT* pBuf,
158 bool GetRGB(FX_FLOAT* pBuf,
162 bool SetRGB(FX_FLOAT* pBuf,
167 bool v_GetCMYK(FX_FLOAT* pBuf,
194 bool GetRGB(FX_FLOAT* pBuf,
    [all...]
pageint.h 152 bool GetRGB(FX_FLOAT* pBuf,
156 bool SetRGB(FX_FLOAT* pBuf,
160 bool v_GetCMYK(FX_FLOAT* pBuf,
165 bool v_SetCMYK(FX_FLOAT* pBuf,
183 bool GetRGB(FX_FLOAT* pBuf,
  /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);
  /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...]
  /external/pdfium/core/fpdfapi/parser/
cpdf_simple_parser.cpp 142 uint32_t* pBuf = FX_Alloc(uint32_t, nParams);
147 pBuf[buf_index++] = m_dwCurPos;
157 FX_Free(pBuf);
164 m_dwCurPos = pBuf[buf_index];
165 FX_Free(pBuf);
  /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...]
  /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/render/
cpdf_type3cache.cpp 37 bool IsScanLine1bpp(uint8_t* pBuf, int width) {
40 if (pBuf[i])
43 return (width % 8) && (pBuf[width / 8] & (0xff << (8 - width % 8)));
46 bool IsScanLine8bpp(uint8_t* pBuf, int width) {
48 if (pBuf[i] > 0x40)
61 uint8_t* pBuf = pBitmap->GetBuffer();
67 if (IsScanLine1bpp(pBuf + line * pitch, width))
70 if (IsScanLine8bpp(pBuf + line * pitch, width))
  /external/pdfium/testing/
test_support.h 93 TestLoader(const char* pBuf, size_t len);
96 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
omxVCM4P10_InterpolateLuma_s.s 136 pBuf RN 8
163 M_ADR pBuf, pBuffer
245 M_ADR pBuf, pBuffer
263 M_ADR pBuf, pInterBuf
283 M_ADR pBuf, pBuffer
310 M_ADR pBuf, pInterBuf
325 M_ADR pBuf, pInterBuf
336 M_ADR pBuf, pInterBuf
366 M_ADR pBuf, pBuffer
382 M_ADR pBuf, pInterBu
    [all...]
  /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/pdfium/core/fxcrt/
fx_basic_buffer.cpp 69 void CFX_BinaryBuf::AppendBlock(const void* pBuf, FX_STRSIZE size) {
74 if (pBuf) {
75 FXSYS_memcpy(m_pBuffer.get() + m_DataSize, pBuf, size);
83 const void* pBuf,
91 if (pBuf) {
92 FXSYS_memcpy(m_pBuffer.get() + pos, pBuf, size);
246 int32_t CFX_FileBufferArchive::AppendBlock(const void* pBuf, size_t size) {
247 if (!pBuf || size < 1)
253 const uint8_t* buffer = reinterpret_cast<const uint8_t*>(pBuf);
  /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);

Completed in 1240 milliseconds

1 2 3 4 5