HomeSort by relevance Sort by last modified time
    Searched full:pbuf (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /dalvik/vm/jdwp/
ExpandBuf.cpp 56 void expandBufFree(ExpandBuf* pBuf)
58 if (pBuf == NULL)
61 free(pBuf->storage);
62 free(pBuf);
68 u1* expandBufGetBuffer(ExpandBuf* pBuf)
70 return pBuf->storage;
76 size_t expandBufGetLength(ExpandBuf* pBuf)
78 return pBuf->curLen;
86 static void ensureSpace(ExpandBuf* pBuf, int newCount)
90 if (pBuf->curLen + newCount <= pBuf->maxLen
    [all...]
ExpandBuf.h 29 void expandBufFree(ExpandBuf* pBuf);
35 u1* expandBufGetBuffer(ExpandBuf* pBuf);
36 size_t expandBufGetLength(ExpandBuf* pBuf);
49 u1* expandBufAddSpace(ExpandBuf* pBuf, int gapSize);
50 void expandBufAdd1(ExpandBuf* pBuf, u1 val);
51 void expandBufAdd2BE(ExpandBuf* pBuf, u2 val);
52 void expandBufAdd4BE(ExpandBuf* pBuf, u4 val);
53 void expandBufAdd8BE(ExpandBuf* pBuf, u8 val);
54 void expandBufAddUtf8String(ExpandBuf* pBuf, const u1* str);
Jdwp.h 50 INLINE FieldId dvmReadFieldId(const u1** pBuf) { return read4BE(pBuf); }
51 INLINE MethodId dvmReadMethodId(const u1** pBuf) { return read4BE(pBuf); }
52 INLINE ObjectId dvmReadObjectId(const u1** pBuf) { return read8BE(pBuf); }
53 INLINE RefTypeId dvmReadRefTypeId(const u1** pBuf) { return read8BE(pBuf); }
54 INLINE FrameId dvmReadFrameId(const u1** pBuf) { return read8BE(pBuf); }
    [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/mclinker/include/mcld/Support/
LEB128.h 27 size_t encode(ByteType *&pBuf, IntType pValue);
30 IntType decode(const ByteType *pBuf, size_t &pSize);
33 IntType decode(const ByteType *&pBuf);
56 size_t encode<uint64_t>(ByteType *&pBuf, uint64_t pValue);
59 size_t encode<uint32_t>(ByteType *&pBuf, uint32_t pValue);
65 size_t encode<int64_t>(ByteType *&pBuf, int64_t pValue);
68 size_t encode<int32_t>(ByteType *&pBuf, int32_t pValue);
76 uint64_t decode<uint64_t>(const ByteType *pBuf, size_t &pSize);
83 uint64_t decode<uint64_t>(const ByteType *&pBuf);
89 int64_t decode<int64_t>(const ByteType *pBuf, size_t &pSize)
    [all...]
  /dalvik/vm/compiler/codegen/x86/libenc/
dec_base.cpp 191 const unsigned char ** pbuf, Inst * pinst
199 unsigned data_byte = **pbuf;
208 const ModRM& modrm = *(ModRM*)*pbuf;
211 decodeModRM(odesc, pbuf, pinst, rex);
213 decodeModRM(odesc, pbuf, pinst);
228 decodeModRM(odesc, pbuf, pinst, rex);
230 decodeModRM(odesc, pbuf, pinst);
272 ++*pbuf;
277 char offset = *(char*)*pbuf;
278 *pbuf += 1
    [all...]
dec_base.h 118 const unsigned char ** pbuf, Inst * pinst
124 unsigned aux, const unsigned char ** pbuf,
130 static bool try_mn(Mnemonic mn, const unsigned char ** pbuf, Inst * pinst);
  /dalvik/tools/hprof-conv/
HprofConv.c 124 static void ebFree(ExpandBuf* pBuf)
126 if (pBuf != NULL) {
127 free(pBuf->storage);
128 free(pBuf);
138 static inline unsigned char* ebGetBuffer(ExpandBuf* pBuf)
140 return pBuf->storage;
146 static inline size_t ebGetLength(ExpandBuf* pBuf)
148 return pBuf->curLen;
154 static void ebClear(ExpandBuf* pBuf)
156 pBuf->curLen = 0
    [all...]
  /frameworks/compile/libbcc/lib/Support/
InputFile.cpp 26 ssize_t InputFile::read(void *pBuf, size_t count) {
31 if ((count <= 0) || (pBuf == NULL)) {
33 ALOGW("InputFile::read: count = %zu, buffer = %p", count, pBuf);
38 ssize_t read_size = ::read(mFD, pBuf, count);
OutputFile.cpp 83 ssize_t OutputFile::write(const void *pBuf, size_t count) {
88 if ((count <= 0) || (pBuf == NULL)) {
90 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf);
95 ssize_t write_size = ::write(mFD, pBuf, count);
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
armVCM4P10_InterpolateLuma_DiagCopy_unsafe_s.s 25 ;// Implements re-arrangement of data from temporary buffer to a buffer pointed by pBuf.
57 pBuf RN 7
94 STRD ValueA0, [pBuf], #8
97 SUB pSrc0, pBuf, #32
136 STR Temp1, [pBuf], #8
138 STR Temp2, [pBuf], #-4
164 STR Temp1, [pBuf], #8
166 STR Temp2, [pBuf], #4
170 SUB pSrc0, pBuf, #32-8
omxVCM4P10_InterpolateLuma_s.s 122 pBuf RN 8
149 M_ADR pBuf, pBuffer
231 M_ADR pBuf, pBuffer
249 M_ADR pBuf, pInterBuf
269 M_ADR pBuf, pBuffer
296 M_ADR pBuf, pInterBuf
311 M_ADR pBuf, pInterBuf
322 M_ADR pBuf, pInterBuf
352 M_ADR pBuf, pBuffer
368 M_ADR pBuf, pInterBu
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
armVCM4P10_InterpolateLuma_DiagCopy_unsafe_s.s 25 ;// Implements re-arrangement of data from temporary buffer to a buffer pointed by pBuf.
57 pBuf RN 7
94 STRD ValueA0, [pBuf], #8
97 SUB pSrc0, pBuf, #32
136 STR Temp1, [pBuf], #8
138 STR Temp2, [pBuf], #-4
164 STR Temp1, [pBuf], #8
166 STR Temp2, [pBuf], #4
170 SUB pSrc0, pBuf, #32-8
  /external/openssl/crypto/asn1/
bio_ndef.c 96 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
97 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
98 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
99 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
155 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg)
169 *pbuf = p;
175 *plen = *ndef_aux->boundary - *pbuf;
180 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg)
193 *pbuf = NULL;
198 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg
    [all...]
  /frameworks/base/media/libdrm/mobile1/src/parser/
parser_rel.c 235 uint8_t *pBuf, *pValue;
325 pBuf =
332 pBuf = XML_DOM_getNodeValue(buffer, sProperty, &pValue, &valueLen);
334 CHECK_VALIDITY(pBuf);
335 if (pBuf) { /* If interval element exit then get the value */
419 pBuf =
426 pBuf = XML_DOM_getNodeValue(buffer, sProperty, &pValue, &valueLen);
428 CHECK_VALIDITY(pBuf);
429 if (pBuf) { /* If count element exit the get the value */
461 pBuf
    [all...]
  /hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
driver_cmd_nl80211.c 124 char *pbuf; local
140 pbuf = buf;
141 pbuf += sprintf(pbuf, "%s %d", _cmd, cmd_arr[i].cmd);
142 *pbuf++ = '\0';
146 os_memcpy(pbuf, wpabuf_head(ap_wps_p2p_ie), wpabuf_len(ap_wps_p2p_ie));
  /frameworks/compile/mclinker/lib/Support/Unix/
FileSystem.inc 37 ssize_t pread(int pFD, void* pBuf, size_t pCount, size_t pOffset)
39 return ::pread(pFD, pBuf, pCount, pOffset);
42 ssize_t pwrite(int pFD, const void* pBuf, size_t pCount, size_t pOffset)
44 return ::pwrite(pFD, pBuf, pCount, pOffset);
  /external/ipsec-tools/src/racoon/
remoteconf.c 500 char buf[1024], *pbuf; local
501 pbuf = buf;
502 pbuf += sprintf (pbuf, "\tpeers_identifier %s",
505 pbuf += sprintf (pbuf, " \"%s\"", id->id->v);
515 char buf[1024], *pbuf; local
517 pbuf = buf;
518 pbuf += sprintf(pbuf, "remote %s", saddr2str(p->remote))
    [all...]
isakmp_newg.c 89 vchar_t *pbuf = NULL;
92 if ((pbuf = isakmp_parse(msg)) == NULL)
95 for (pa = (struct isakmp_parse_t *)pbuf->v;
106 vfree(pbuf);
117 vfree(pbuf);
131 vfree(pbuf);
135 vfree(pbuf);
  /external/ipsec-tools/src/libipsec/
policy_parse.y 100 static u_int8_t *pbuf = NULL; /* sadb_x_policy buffer */
101 static int tlen = 0; /* total length of pbuf */
102 static int offset = 0; /* offset of pbuf */
476 if (pbuf) {
477 free(pbuf);
480 pbuf = malloc(sizeof(struct sadb_x_policy));
481 if (pbuf == NULL) {
487 memset(pbuf, 0, tlen);
488 p = (struct sadb_x_policy *)pbuf;
525 n = realloc(pbuf, tlen)
    [all...]
  /external/chromium/chrome/browser/debugger/
devtools_remote_listen_socket.cc 31 pBuf++;\
111 const char* pBuf,
115 if (cr_received_ && *pBuf == '\n') {
119 while (*pBuf != '\r' && len > 0) {
120 protocol_field_.push_back(*pBuf);
123 if (*pBuf == '\r') {
140 protocol_field_.push_back(*pBuf);
  /frameworks/compile/libbcc/include/bcc/Support/
InputFile.h 30 ssize_t read(void *pBuf, size_t count);
  /external/quake/quake/src/QW/client/
snd_mix.c 69 DWORD *pbuf; local
87 while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &dwSize,
110 pbuf = (DWORD *)shm->buffer;
118 snd_out = (short *) pbuf + (lpos<<1);
135 pDSBuf->lpVtbl->Unlock(pDSBuf, pbuf, dwSize, NULL, 0);
148 DWORD *pbuf; local
174 while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &dwSize,
197 pbuf = (DWORD *)shm->buffer;
202 short *out = (short *) pbuf;
217 unsigned char *out = (unsigned char *) pbuf;
    [all...]
  /external/quake/quake/src/WinQuake/
snd_mix.cpp 77 DWORD *pbuf; local
95 while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &dwSize,
118 pbuf = (DWORD *)shm->buffer;
126 snd_out = (short *) pbuf + (lpos<<1);
143 pDSBuf->lpVtbl->Unlock(pDSBuf, pbuf, dwSize, NULL, 0);
156 DWORD *pbuf; local
182 while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &dwSize,
205 pbuf = (DWORD *)shm->buffer;
210 short *out = (short *) pbuf;
225 unsigned char *out = (unsigned char *) pbuf;
    [all...]
  /hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
driver_cmd_nl80211.c 133 char *pbuf; local
149 pbuf = buf;
150 pbuf += sprintf(pbuf, "%s %d", _cmd, cmd_arr[i].cmd);
151 *pbuf++ = '\0';
155 os_memcpy(pbuf, wpabuf_head(ap_wps_p2p_ie), wpabuf_len(ap_wps_p2p_ie));

Completed in 2260 milliseconds

1 2 3 4 5 6 7