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

123

/external/chromium_org/third_party/mesa/src/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...]
H A Dapple_glx_drawable.h196 GLXPbuffer * pbuf);
199 bool apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf);
/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...]
H A Dapple_glx_drawable.h196 GLXPbuffer * pbuf);
199 bool apple_glx_pbuffer_destroy(Display * dpy, GLXPbuffer pbuf);
/external/chromium_org/third_party/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
174 *pbuf = p;
180 *plen = *ndef_aux->boundary - *pbuf;
185 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
198 *pbuf = NULL;
203 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, in argument
213 ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
[all...]
/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/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 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_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_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 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_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...]
/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/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...]
/external/openssl/crypto/ec/
H A Dec_print.c142 unsigned char *buf, *pbuf; local
165 pbuf = buf;
168 int v = (int) *(pbuf++);
/external/openssl/crypto/evp/
H A Dp5_crpt.c83 const unsigned char *pbuf; local
95 pbuf = param->value.sequence->data;
96 if (!(pbe = d2i_PBEPARAM(NULL, &pbuf, param->value.sequence->length))) {
H A Dp5_crpt2.c198 const unsigned char *pbuf; local
211 pbuf = param->value.sequence->data;
213 if(!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) {
257 const unsigned char *pbuf; local
281 pbuf = param->value.sequence->data;
284 if(!(kdf = d2i_PBKDF2PARAM(NULL, &pbuf, plen)) ) {
/external/chromium_org/third_party/libva/va/
H A Dva_fool.h77 void **pbuf /* out */
/external/chromium_org/third_party/mesa/src/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/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/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/chromium_org/third_party/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);

Completed in 634 milliseconds

123