Searched defs:pbuf (Results 1 - 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_resource.c35 struct pipe_resource *pbuf,
43 pipe_resource_reference(&sf->base.texture, pbuf);
34 nv50_surface_from_buffer(struct pipe_context *pipe, struct pipe_resource *pbuf, const struct pipe_surface *templ) argument
/external/boringssl/src/crypto/asn1/
H A Dbio_ndef.c101 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
102 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
103 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
104 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
160 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
177 *pbuf = p;
183 *plen = *ndef_aux->boundary - *pbuf;
188 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
201 *pbuf = NULL;
206 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, in argument
216 ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
[all...]
/external/ipsec-tools/src/racoon/
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 Disakmp_agg.c342 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
1322 vchar_t *pbuf = NULL; local
[all...]
H A Disakmp_base.c296 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
792 vchar_t *pbuf = NULL; local
1077 vchar_t *pbuf = NULL; local
[all...]
H A Disakmp_ident.c256 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
671 vchar_t *pbuf = NULL; local
861 vchar_t *pbuf = NULL; local
1123 vchar_t *pbuf = NULL; local
1343 vchar_t *pbuf = NULL; local
[all...]
H A Disakmp_quick.c317 vchar_t *pbuf = NULL; /* for payload parsing */
350 pbuf = isakmp_parse(msg);
351 if (pbuf == NULL)
353 pa = (struct isakmp_parse_t *)pbuf->v;
532 if (pbuf)
533 vfree(pbuf);
697 vchar_t *pbuf = NULL; /* for payload parsing */
721 pbuf = isakmp_parse(msg);
722 if (pbuf == NULL)
725 for (pa = (struct isakmp_parse_t *)pbuf
316 vchar_t *pbuf = NULL; /* for payload parsing */ local
696 vchar_t *pbuf = NULL; /* for payload parsing */ local
840 vchar_t *pbuf = NULL; /* for payload parsing */ local
1388 vchar_t *pbuf = NULL; /* for payload parsing */ local
[all...]
H A Dremoteconf.c500 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, "remot
[all...]
H A Disakmp_inf.c129 vchar_t *pbuf = NULL;
281 if (!(pbuf = isakmp_parse(msg))) {
287 for (pa = (struct isakmp_parse_t *)pbuf->v; pa->type; pa++) {
322 if (pbuf != NULL)
323 vfree(pbuf);
338 vchar_t *pbuf;
455 vchar_t *pbuf;
128 vchar_t *pbuf = NULL; local
337 vchar_t *pbuf; local
454 vchar_t *pbuf; local
H A Dipsec_doi.c1333 vchar_t *pbuf = NULL; local
1336 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, tlen);
1337 if (pbuf == NULL)
1340 for (pa = (struct isakmp_parse_t *)pbuf->v;
1347 vfree(pbuf);
1360 vfree(pbuf);
1380 vfree(pbuf);
1384 vfree(pbuf);
1385 pbuf = NULL;
1469 vchar_t *pbuf local
[all...]
/external/libvncserver/x11vnc/
H A Dmacosx_opengl.c148 static char *pbuf = NULL; local
155 if (pbuf) {
156 free(pbuf);
158 pbuf = (char *) malloc(buflen);
163 memcpy(pbuf, ptop, rowlen);
165 memcpy(pbot, pbuf, rowlen);
/external/mesa3d/src/glx/apple/
H A Dapple_glx_pbuffer.c74 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local
79 cglerr = apple_cgl.set_pbuffer(ac->context_obj, pbuf->buffer_obj, 0, 0, 0);
87 apple_glapi_oglfw_viewport_scissor(0, 0, pbuf->width, pbuf->height);
99 struct apple_glx_pbuffer *pbuf = &d->types.pbuffer; local
106 apple_cgl.destroy_pbuffer(pbuf->buffer_obj);
107 XFreePixmap(dpy, pbuf->xid);
112 apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf) argument
114 return !apple_glx_drawable_destroy_by_type(dpy, pbuf,
125 struct apple_glx_pbuffer *pbuf local
265 struct apple_glx_pbuffer *pbuf; local
[all...]
/external/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen_svga.c114 struct pb_buffer *pbuf = vmw_pb_buffer(buf); local
116 pb_reference(&pbuf, NULL);
/external/ipsec-tools/src/libipsec/
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/iputils/
H A Dtracepath6.c385 char pbuf[NI_MAXSERV]; local
434 sprintf(pbuf, "%u", base_port);
443 gai = getaddrinfo(argv[0], pbuf, &hints, &ai0);
/external/mesa3d/src/glx/
H A Dglx_pbuffer.c720 glXDestroyPbuffer(Display * dpy, GLXPbuffer pbuf) argument
723 if (apple_glx_pbuffer_destroy(dpy, pbuf)) {
724 __glXSendError(dpy, GLXBadPbuffer, pbuf, X_GLXDestroyPbuffer, false);
727 DestroyPbuffer(dpy, pbuf);
945 (Display * dpy, GLXPbufferSGIX pbuf),
946 (dpy, pbuf), glXDestroyPbuffer)
/external/skia/src/utils/win/
H A DSkWGL_win.cpp429 HPBUFFER pbuf = extensions.createPbuffer(parentDC, pixelFormatsToTry[f], 1, 1, NULL); local
430 if (0 != pbuf) {
431 HDC dc = extensions.getPbufferDC(pbuf);
435 return SkNEW_ARGS(SkWGLPbufferContext, (pbuf, dc, glrc));
437 extensions.releasePbufferDC(pbuf, dc);
439 extensions.destroyPbuffer(pbuf);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface_unix.c302 char *pbuf, *dir = NULL; local
308 pbuf = os_strdup(wpa_s->conf->ctrl_interface);
309 if (pbuf == NULL)
311 if (os_strncmp(pbuf, "DIR=", 4) == 0) {
313 dir = pbuf + 4;
318 dir = pbuf;
323 os_free(pbuf);
329 os_free(pbuf);
345 os_free(pbuf);
/external/boringssl/src/crypto/pkcs8/
H A Dpkcs8.c224 const uint8_t *pbuf; local
234 pbuf = param->value.sequence->data;
235 pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length);
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c613 int my_read(int fd, uchar *pbuf, int len) argument
624 ALOGD_IF((appl_trace_level>=BT_TRACE_LEVEL_DEBUG), "%s: enter, pbuf=%lx, len = %d\n", __func__, (unsigned long)pbuf, len);
625 memset(pbuf, 0, len);
664 ret = read(fd, pbuf+offset, (size_t)count);
676 if (pbuf[offset] == HCIT_TYPE_NFC)
678 else if (pbuf[offset] == HCIT_TYPE_EVENT)
682 ALOGD( "%s: unknown HCIT type header pbuf[%d] = %x\n", __func__, offset, pbuf[offset]);
690 count = pbuf[offse
[all...]
/external/mesa3d/src/mesa/drivers/x11/
H A Dglxapi.c494 glXDestroyPbuffer(Display *dpy, GLXPbuffer pbuf) argument
500 (t->DestroyPbuffer)(dpy, pbuf);
836 glXDestroyGLXPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuf) argument
842 (t->DestroyGLXPbufferSGIX)(dpy, pbuf);
846 glXQueryGLXPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value) argument
852 return (t->QueryGLXPbufferSGIX)(dpy, pbuf, attribute, value);
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_kay.c2277 struct wpabuf *pbuf)
2283 ether_hdr = wpabuf_put(pbuf, sizeof(*ether_hdr));
2289 eapol_hdr = wpabuf_put(pbuf, sizeof(*eapol_hdr));
2292 eapol_hdr->length = host_to_be16(pbuf->size - pbuf->used);
2297 if (mak_body_handler[i].body_tx(participant, pbuf))
2276 ieee802_1x_kay_encode_mkpdu(struct ieee802_1x_mka_participant *participant, struct wpabuf *pbuf) argument
/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_kay.c2277 struct wpabuf *pbuf)
2283 ether_hdr = wpabuf_put(pbuf, sizeof(*ether_hdr));
2289 eapol_hdr = wpabuf_put(pbuf, sizeof(*eapol_hdr));
2292 eapol_hdr->length = host_to_be16(pbuf->size - pbuf->used);
2297 if (mak_body_handler[i].body_tx(participant, pbuf))
2276 ieee802_1x_kay_encode_mkpdu(struct ieee802_1x_mka_participant *participant, struct wpabuf *pbuf) argument
/external/wpa_supplicant_8/wpa_supplicant/src/pae/
H A Dieee802_1x_kay.c2277 struct wpabuf *pbuf)
2283 ether_hdr = wpabuf_put(pbuf, sizeof(*ether_hdr));
2289 eapol_hdr = wpabuf_put(pbuf, sizeof(*eapol_hdr));
2292 eapol_hdr->length = host_to_be16(pbuf->size - pbuf->used);
2297 if (mak_body_handler[i].body_tx(participant, pbuf))
2276 ieee802_1x_kay_encode_mkpdu(struct ieee802_1x_mka_participant *participant, struct wpabuf *pbuf) argument
/external/compiler-rt/lib/msan/tests/
H A Dmsan_test.cc1891 char *pbuf; local
1892 EXPECT_POISONED(pbuf);
1893 int res = asprintf(&pbuf, "%d", 1234567); // NOLINT
1895 EXPECT_NOT_POISONED(pbuf);
1896 ASSERT_EQ(pbuf[0], '1');
1897 ASSERT_EQ(pbuf[1], '2');
1898 ASSERT_EQ(pbuf[2], '3');
1899 ASSERT_EQ(pbuf[6], '7');
1900 ASSERT_EQ(pbuf[7], 0);
1901 free(pbuf);
[all...]

Completed in 854 milliseconds

12