Searched refs:pbuf (Results 1 - 25 of 31) sorted by relevance

12

/external/openssl/crypto/asn1/
H A Dbio_ndef.c96 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) argument
169 *pbuf = p;
175 *plen = *ndef_aux->boundary - *pbuf;
180 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
193 *pbuf = NULL;
198 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, in argument
208 ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
[all...]
H A Dasn_pack.c73 const unsigned char *pbuf; local
74 pbuf = buf;
75 if (!(sk = d2i_ASN1_SET(NULL, &pbuf, len, d2i, free_func,
/external/openssl/crypto/pkcs12/
H A Dp12_crpt.c75 const unsigned char *pbuf; local
85 pbuf = param->value.sequence->data;
86 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
/external/quake/quake/src/QW/client/
H A Dsnd_mix.c69 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/ipsec-tools/src/racoon/
H A Disakmp_newg.c89 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);
H A Disakmp_ident.c257 vchar_t *pbuf = NULL; local
279 pbuf = isakmp_parse(msg);
280 if (pbuf == NULL)
282 pa = (struct isakmp_parse_t *)pbuf->v;
335 if (pbuf)
336 vfree(pbuf);
426 vchar_t *pbuf = NULL; local
445 pbuf = isakmp_parse(msg);
446 if (pbuf == NULL)
449 for (pa = (struct isakmp_parse_t *)pbuf
668 vchar_t *pbuf = NULL; local
855 vchar_t *pbuf = NULL; local
1114 vchar_t *pbuf = NULL; local
1333 vchar_t *pbuf = NULL; local
[all...]
H A Disakmp_base.c296 vchar_t *pbuf = NULL; local
313 pbuf = isakmp_parse(msg);
314 if (pbuf == NULL)
316 pa = (struct isakmp_parse_t *)pbuf->v;
390 if (pbuf)
391 vfree(pbuf);
586 vchar_t *pbuf = NULL; local
602 pbuf = isakmp_parse(msg);
603 if (pbuf == NULL)
606 for (pa = (struct isakmp_parse_t *)pbuf
786 vchar_t *pbuf = NULL; local
1067 vchar_t *pbuf = NULL; local
[all...]
H A Dsecurity.c71 vchar_t *pbuf = NULL; local
90 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, len);
91 if (pbuf == NULL)
94 pa = (struct isakmp_parse_t *)pbuf->v;
99 vfree(pbuf);
106 vfree(pbuf);
H A Dremoteconf.c963 char buf[1024], *pbuf; local
964 pbuf = buf;
965 pbuf += sprintf (pbuf, "\tpeers_identifier %s",
968 pbuf += sprintf (pbuf, " \"%s\"", id->id->v);
978 char buf[1024], *pbuf; local
980 pbuf = buf;
982 pbuf += sprintf(pbuf, "remot
[all...]
H A Disakmp_agg.c327 vchar_t *pbuf = NULL; local
359 pbuf = isakmp_parse(msg);
360 if (pbuf == NULL)
362 pa = (struct isakmp_parse_t *)pbuf->v;
569 if (pbuf)
570 vfree(pbuf);
764 vchar_t *pbuf = NULL; local
779 pbuf = isakmp_parse(msg);
780 if (pbuf == NULL)
782 pa = (struct isakmp_parse_t *)pbuf
1287 vchar_t *pbuf = NULL; local
[all...]
H A Disakmp_quick.c405 vchar_t *pbuf = NULL; /* for payload parsing */
439 pbuf = isakmp_parse(msg);
440 if (pbuf == NULL)
442 pa = (struct isakmp_parse_t *)pbuf->v;
751 if (pbuf)
752 vfree(pbuf);
929 vchar_t *pbuf = NULL; /* for payload parsing */
953 pbuf = isakmp_parse(msg);
954 if (pbuf == NULL)
957 for (pa = (struct isakmp_parse_t *)pbuf
404 vchar_t *pbuf = NULL; /* for payload parsing */ local
928 vchar_t *pbuf = NULL; /* for payload parsing */ local
1072 vchar_t *pbuf = NULL; /* for payload parsing */ local
1729 vchar_t *pbuf = NULL; /* for payload parsing */ local
[all...]
/external/srec/srec/clib/
H A Dsrec_arb.c285 char* pbuf; local
304 pbuf = buffer;
326 pbuf += sizeof(*allotree) / BYTES_PER_ATOM;
327 pbuf -= sizeof(void*); // PCPinfo
329 ASSERT(pftell(fp) == pbuf - buffer);
332 PLogMessage("read allotree done %d\n", (int)(pbuf - buffer));
335 allotree->questions = (srec_question *)pbuf;
336 read_questions(&allotree->questions, allotree->num_questions, &pbuf, fp);
338 PLogMessage("read_questions done %d\n", (int)(pbuf - buffer));
340 ASSERT(pftell(fp) == pbuf
[all...]
/external/openssl/crypto/evp/
H A Dp5_crpt.c83 const unsigned char *pbuf; local
93 pbuf = param->value.sequence->data;
94 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
H A Dp5_crpt2.c172 const unsigned char *pbuf; local
187 pbuf = param->value.sequence->data;
189 if(!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) {
232 pbuf = pbe2->keyfunc->parameter->value.sequence->data;
234 if(!(kdf = d2i_PBKDF2PARAM(NULL, &pbuf, plen)) ) {
/external/quake/quake/src/WinQuake/
H A Dsnd_mix.cpp77 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...]
H A Ddraw.cpp847 byte *pbuf; local
857 pbuf = (byte *)(vid.buffer + vid.rowbytes*y);
863 pbuf[x] = 0;
/external/ipsec-tools/src/libipsec/
H A Dpolicy_parse.y100 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, tle
[all...]
H A Dpfkey_dump.c488 char pbuf[NI_MAXSERV]; local
540 0, pbuf, sizeof(pbuf), NI_NUMERICSERV) != 0)
543 sport = atoi(pbuf);
561 0, pbuf, sizeof(pbuf), NI_NUMERICSERV) != 0)
564 dport = atoi(pbuf);
/external/openssl/crypto/ec/
H A Dec_print.c142 unsigned char *buf, *pbuf; local
165 pbuf = buf;
168 int v = (int) *(pbuf++);
/external/wpa_supplicant_6/wpa_supplicant/
H A Dctrl_iface_unix.c206 char *pbuf, *dir = NULL, *gid_str = NULL; local
212 pbuf = os_strdup(wpa_s->conf->ctrl_interface);
213 if (pbuf == NULL)
215 if (os_strncmp(pbuf, "DIR=", 4) == 0) {
216 dir = pbuf + 4;
223 dir = pbuf;
228 os_free(pbuf);
234 os_free(pbuf);
250 os_free(pbuf);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface_unix.c198 char *pbuf, *dir = NULL, *gid_str = NULL; local
204 pbuf = os_strdup(wpa_s->conf->ctrl_interface);
205 if (pbuf == NULL)
207 if (os_strncmp(pbuf, "DIR=", 4) == 0) {
208 dir = pbuf + 4;
215 dir = pbuf;
220 os_free(pbuf);
226 os_free(pbuf);
242 os_free(pbuf);
/external/srec/srec/crec/
H A Dword_lattice.c153 char *pbuf = buf; local
154 *pbuf = 0;
162 ASSERT(pbuf + strlen(p) + 1 < buf + buflen);
163 pbuf += sprintf(pbuf, "%s ", p);
168 if (pbuf > buf && *(pbuf - 1) == ' ') *(pbuf - 1) = 0;
/external/wpa_supplicant/
H A Dctrl_iface_unix.c200 char *pbuf, *dir = NULL, *gid_str = NULL; local
205 pbuf = os_strdup(wpa_s->conf->ctrl_interface);
206 if (pbuf == NULL)
208 if (os_strncmp(pbuf, "DIR=", 4) == 0) {
209 dir = pbuf + 4;
216 dir = pbuf;
221 os_free(pbuf);
238 os_free(pbuf);
/external/llvm/lib/Support/
H A Dregengine.inc1014 static char pbuf[10];
1017 (void)snprintf(pbuf, sizeof pbuf, "%c", ch);
1019 (void)snprintf(pbuf, sizeof pbuf, "\\%o", ch);
1020 return(pbuf);
/external/qemu/
H A Dtap-win32.c545 uint8_t **pbuf, int max_size)
552 *pbuf = buffer->buffer;
563 uint8_t *pbuf)
565 tun_buffer_t* buffer = (tun_buffer_t*)pbuf;
544 tap_win32_read(tap_win32_overlapped_t *overlapped, uint8_t **pbuf, int max_size) argument
562 tap_win32_free_buffer(tap_win32_overlapped_t *overlapped, uint8_t *pbuf) argument

Completed in 399 milliseconds

12