/external/openssl/crypto/asn1/ |
D | 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) in ndef_prefix() argument 169 *pbuf = p; in ndef_prefix() 175 *plen = *ndef_aux->boundary - *pbuf; in ndef_prefix() 180 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_prefix_free() argument 193 *pbuf = NULL; in ndef_prefix_free() 198 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) in ndef_suffix_free() argument [all …]
|
D | asn_pack.c | 73 const unsigned char *pbuf; in STACK_OF() local 74 pbuf = buf; in STACK_OF() 75 if (!(sk = d2i_ASN1_SET(NULL, &pbuf, len, d2i, free_func, in STACK_OF()
|
/external/ipsec-tools/src/racoon/ |
D | remoteconf.c | 500 char buf[1024], *pbuf; in dump_peers_identifiers() local 501 pbuf = buf; in dump_peers_identifiers() 502 pbuf += sprintf (pbuf, "\tpeers_identifier %s", in dump_peers_identifiers() 505 pbuf += sprintf (pbuf, " \"%s\"", id->id->v); in dump_peers_identifiers() 515 char buf[1024], *pbuf; in dump_rmconf_single() local 517 pbuf = buf; in dump_rmconf_single() 518 pbuf += sprintf(pbuf, "remote %s", saddr2str(p->remote)); in dump_rmconf_single() 520 pbuf += sprintf(pbuf, " inherit %s", in dump_rmconf_single() 523 pbuf = buf; in dump_rmconf_single() 524 pbuf += sprintf(pbuf, "\texchange_type "); in dump_rmconf_single() [all …]
|
D | isakmp_ident.c | 256 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); 427 vchar_t *pbuf = NULL; local 446 pbuf = isakmp_parse(msg); 447 if (pbuf == NULL) 450 for (pa = (struct isakmp_parse_t *)pbuf->v; [all …]
|
D | 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);
|
D | isakmp_base.c | 296 vchar_t *pbuf = NULL; local 314 pbuf = isakmp_parse(msg); 315 if (pbuf == NULL) 317 pa = (struct isakmp_parse_t *)pbuf->v; 391 if (pbuf) 392 vfree(pbuf); 588 vchar_t *pbuf = NULL; local 605 pbuf = isakmp_parse(msg); 606 if (pbuf == NULL) 609 for (pa = (struct isakmp_parse_t *)pbuf->v; [all …]
|
D | security.c | 71 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);
|
D | isakmp_agg.c | 342 vchar_t *pbuf = NULL; local 375 pbuf = isakmp_parse(msg); 376 if (pbuf == NULL) 378 pa = (struct isakmp_parse_t *)pbuf->v; 584 if (pbuf) 585 vfree(pbuf); 782 vchar_t *pbuf = NULL; local 797 pbuf = isakmp_parse(msg); 798 if (pbuf == NULL) 800 pa = (struct isakmp_parse_t *)pbuf->v; [all …]
|
D | isakmp_quick.c | 316 vchar_t *pbuf = NULL; /* for payload parsing */ local 349 pbuf = isakmp_parse(msg); 350 if (pbuf == NULL) 352 pa = (struct isakmp_parse_t *)pbuf->v; 531 if (pbuf) 532 vfree(pbuf); 696 vchar_t *pbuf = NULL; /* for payload parsing */ local 720 pbuf = isakmp_parse(msg); 721 if (pbuf == NULL) 724 for (pa = (struct isakmp_parse_t *)pbuf->v; [all …]
|
D | isakmp_inf.c | 128 vchar_t *pbuf = NULL; local 280 if (!(pbuf = isakmp_parse(msg))) { 286 for (pa = (struct isakmp_parse_t *)pbuf->v; pa->type; pa++) { 321 if (pbuf != NULL) 322 vfree(pbuf); 337 vchar_t *pbuf; local 454 vchar_t *pbuf; local
|
D | ipsec_doi.c | 1329 vchar_t *pbuf = NULL; local 1332 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, tlen); 1333 if (pbuf == NULL) 1336 for (pa = (struct isakmp_parse_t *)pbuf->v; 1343 vfree(pbuf); 1356 vfree(pbuf); 1376 vfree(pbuf); 1380 vfree(pbuf); 1381 pbuf = NULL; 1465 vchar_t *pbuf = NULL; local [all …]
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 100 static u_int8_t *pbuf = NULL; /* sadb_x_policy buffer */ variable 476 if (pbuf) { in init_x_policy() 477 free(pbuf); in init_x_policy() 480 pbuf = malloc(sizeof(struct sadb_x_policy)); in init_x_policy() 481 if (pbuf == NULL) { in init_x_policy() 487 memset(pbuf, 0, tlen); in init_x_policy() 488 p = (struct sadb_x_policy *)pbuf; in init_x_policy() 525 n = realloc(pbuf, tlen); 530 pbuf = n; 532 p = (struct sadb_x_ipsecrequest *)&pbuf[offset]; [all …]
|
D | pfkey_dump.c | 488 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/srec/srec/clib/ |
D | srec_arb.c | 285 char* pbuf; in read_arbdata_from_stream() local 304 pbuf = buffer; in read_arbdata_from_stream() 326 pbuf += sizeof(*allotree) / BYTES_PER_ATOM; in read_arbdata_from_stream() 327 pbuf -= sizeof(void*); // PCPinfo in read_arbdata_from_stream() 329 ASSERT(pftell(fp) == pbuf - buffer); in read_arbdata_from_stream() 332 PLogMessage("read allotree done %d\n", (int)(pbuf - buffer)); in read_arbdata_from_stream() 335 allotree->questions = (srec_question *)pbuf; in read_arbdata_from_stream() 336 read_questions(&allotree->questions, allotree->num_questions, &pbuf, fp); in read_arbdata_from_stream() 338 PLogMessage("read_questions done %d\n", (int)(pbuf - buffer)); in read_arbdata_from_stream() 340 ASSERT(pftell(fp) == pbuf - buffer); in read_arbdata_from_stream() [all …]
|
/external/quake/quake/src/QW/client/ |
D | snd_mix.c | 69 DWORD *pbuf; in S_TransferStereo16() local 87 while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &dwSize, in S_TransferStereo16() 110 pbuf = (DWORD *)shm->buffer; in S_TransferStereo16() 118 snd_out = (short *) pbuf + (lpos<<1); in S_TransferStereo16() 135 pDSBuf->lpVtbl->Unlock(pDSBuf, pbuf, dwSize, NULL, 0); in S_TransferStereo16() 148 DWORD *pbuf; in S_TransferPaintBuffer() local 174 while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &dwSize, in S_TransferPaintBuffer() 197 pbuf = (DWORD *)shm->buffer; in S_TransferPaintBuffer() 202 short *out = (short *) pbuf; in S_TransferPaintBuffer() 217 unsigned char *out = (unsigned char *) pbuf; in S_TransferPaintBuffer() [all …]
|
/external/quake/quake/src/WinQuake/ |
D | snd_mix.cpp | 77 DWORD *pbuf; in S_TransferStereo16() local 95 while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &dwSize, in S_TransferStereo16() 118 pbuf = (DWORD *)shm->buffer; in S_TransferStereo16() 126 snd_out = (short *) pbuf + (lpos<<1); in S_TransferStereo16() 143 pDSBuf->lpVtbl->Unlock(pDSBuf, pbuf, dwSize, NULL, 0); in S_TransferStereo16() 156 DWORD *pbuf; in S_TransferPaintBuffer() local 182 while ((hresult = pDSBuf->lpVtbl->Lock(pDSBuf, 0, gSndBufSize, &pbuf, &dwSize, in S_TransferPaintBuffer() 205 pbuf = (DWORD *)shm->buffer; in S_TransferPaintBuffer() 210 short *out = (short *) pbuf; in S_TransferPaintBuffer() 225 unsigned char *out = (unsigned char *) pbuf; in S_TransferPaintBuffer() [all …]
|
D | draw.cpp | 847 byte *pbuf; in Draw_FadeScreen() local 857 pbuf = (byte *)(vid.buffer + vid.rowbytes*y); in Draw_FadeScreen() 863 pbuf[x] = 0; in Draw_FadeScreen()
|
/external/openssl/crypto/evp/ |
D | p5_crpt2.c | 176 const unsigned char *pbuf; in PKCS5_v2_PBE_keyivgen() local 189 pbuf = param->value.sequence->data; in PKCS5_v2_PBE_keyivgen() 191 if(!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) { in PKCS5_v2_PBE_keyivgen() 235 const unsigned char *pbuf; in PKCS5_v2_PBKDF2_keyivgen() local 259 pbuf = param->value.sequence->data; in PKCS5_v2_PBKDF2_keyivgen() 262 if(!(kdf = d2i_PBKDF2PARAM(NULL, &pbuf, plen)) ) { in PKCS5_v2_PBKDF2_keyivgen()
|
D | p5_crpt.c | 83 const unsigned char *pbuf; in PKCS5_PBE_keyivgen() local 95 pbuf = param->value.sequence->data; in PKCS5_PBE_keyivgen() 96 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) { in PKCS5_PBE_keyivgen()
|
/external/openssl/crypto/pkcs12/ |
D | p12_crpt.c | 75 const unsigned char *pbuf; in PKCS12_PBE_keyivgen() local 85 pbuf = param->value.sequence->data; in PKCS12_PBE_keyivgen() 86 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) { in PKCS12_PBE_keyivgen()
|
/external/openssl/crypto/ec/ |
D | ec_print.c | 142 unsigned char *buf, *pbuf; in EC_POINT_point2hex() local 165 pbuf = buf; in EC_POINT_point2hex() 168 int v = (int) *(pbuf++); in EC_POINT_point2hex()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface_unix.c | 221 char *pbuf, *dir = NULL, *gid_str = NULL; in wpa_supplicant_ctrl_iface_path() local 227 pbuf = os_strdup(wpa_s->conf->ctrl_interface); in wpa_supplicant_ctrl_iface_path() 228 if (pbuf == NULL) in wpa_supplicant_ctrl_iface_path() 230 if (os_strncmp(pbuf, "DIR=", 4) == 0) { in wpa_supplicant_ctrl_iface_path() 231 dir = pbuf + 4; in wpa_supplicant_ctrl_iface_path() 238 dir = pbuf; in wpa_supplicant_ctrl_iface_path() 243 os_free(pbuf); in wpa_supplicant_ctrl_iface_path() 249 os_free(pbuf); in wpa_supplicant_ctrl_iface_path() 265 os_free(pbuf); in wpa_supplicant_ctrl_iface_path()
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | ctrl_iface_unix.c | 206 char *pbuf, *dir = NULL, *gid_str = NULL; in wpa_supplicant_ctrl_iface_path() local 212 pbuf = os_strdup(wpa_s->conf->ctrl_interface); in wpa_supplicant_ctrl_iface_path() 213 if (pbuf == NULL) in wpa_supplicant_ctrl_iface_path() 215 if (os_strncmp(pbuf, "DIR=", 4) == 0) { in wpa_supplicant_ctrl_iface_path() 216 dir = pbuf + 4; in wpa_supplicant_ctrl_iface_path() 223 dir = pbuf; in wpa_supplicant_ctrl_iface_path() 228 os_free(pbuf); in wpa_supplicant_ctrl_iface_path() 234 os_free(pbuf); in wpa_supplicant_ctrl_iface_path() 250 os_free(pbuf); in wpa_supplicant_ctrl_iface_path()
|
/external/srec/srec/crec/ |
D | word_lattice.c | 153 char *pbuf = buf; in sprint_bword_token_backtrace() local 154 *pbuf = 0; in sprint_bword_token_backtrace() 162 ASSERT(pbuf + strlen(p) + 1 < buf + buflen); in sprint_bword_token_backtrace() 163 pbuf += sprintf(pbuf, "%s ", p); in sprint_bword_token_backtrace() 168 if (pbuf > buf && *(pbuf - 1) == ' ') *(pbuf - 1) = 0; in sprint_bword_token_backtrace()
|
/external/qemu/ |
D | tap-win32.c | 545 uint8_t **pbuf, int max_size) in tap_win32_read() argument 552 *pbuf = buffer->buffer; in tap_win32_read() 563 uint8_t *pbuf) in tap_win32_free_buffer() argument 565 tun_buffer_t* buffer = (tun_buffer_t*)pbuf; in tap_win32_free_buffer()
|