/external/ltp/testcases/kernel/syscalls/open/ |
H A D | open09.c | 47 char pbuf[BUFSIZ]; local 61 ret = read(fildes, pbuf, 1); 73 ret = write(fildes, pbuf, 1);
|
/external/ltp/testcases/kernel/syscalls/write/ |
H A D | write05.c | 78 char pbuf[BUFSIZ]; local 95 if (write(-1, pbuf, 1) != -1) { 138 if (write(pipefildes[1], pbuf, 1) != -1) {
|
/external/ltp/testcases/kernel/syscalls/fork/ |
H A D | fork08.c | 53 static char pbuf[10]; variable 165 sprintf(pbuf, "%d", getpid()); 166 strcat(fnamebuf, pbuf);
|
H A D | fork07.c | 57 static char pbuf[10]; variable 199 sprintf(pbuf, "%d", getpid()); 200 strcat(fnamebuf, pbuf);
|
/external/ipsec-tools/src/racoon/ |
H A 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);
|
H A 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 1322 vchar_t *pbuf = NULL; local [all...] |
H A 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 792 vchar_t *pbuf = NULL; local 1077 vchar_t *pbuf = NULL; local [all...] |
H A 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 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 D | isakmp_quick.c | 317 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 D | remoteconf.c | 498 char buf[1024], *pbuf; local 499 pbuf = buf; 500 pbuf += sprintf (pbuf, "\tpeers_identifier %s", 503 pbuf += sprintf (pbuf, " \"%s\"", id->id->v); 513 char buf[1024], *pbuf; local 515 pbuf = buf; 516 pbuf += sprintf(pbuf, "remot [all...] |
H A D | isakmp_inf.c | 129 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
|
/external/ltp/testcases/kernel/syscalls/fsync/ |
H A D | fsync02.c | 80 char pbuf[BUFSIZ]; local 109 if ((ret = write(fd, pbuf, BUFSIZ)) != BUFSIZ) 183 if (write(fd, pbuf, BUFSIZ) != BUFSIZ) 184 tst_brkm(TBROK | TERRNO, cleanup, "write(fd, pbuf, ..) failed");
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_resource.c | 36 struct pipe_resource *pbuf, 44 pipe_resource_reference(&sf->base.texture, pbuf); 35 nv50_surface_from_buffer(struct pipe_context *pipe, struct pipe_resource *pbuf, const struct pipe_surface *templ) argument
|
/external/libmtp/util/ |
H A D | mtp-probe.c | 65 char pbuf[FILENAME_MAX]; local 76 strcpy(pbuf, path); 77 pbuf[len++] = '/'; 80 strncpy(pbuf + len, "type", FILENAME_MAX - len); 81 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ 83 fd = open(pbuf, O_RDONLY); 101 strncpy(pbuf + len, "direction", FILENAME_MAX - len); 102 pbuf[FILENAME_MAX - 1] = '\0'; /* Sentinel */ 104 fd = open(pbuf, O_RDONLY); 135 char pbuf[FILENAME_MA local [all...] |
/external/mesa3d/src/glx/apple/ |
H A D | apple_glx_pbuffer.c | 74 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/oj-libjdwp/src/share/back/ |
H A D | error_messages.c | 65 char pbuf[MAX_MESSAGE_LEN+1]; local 75 utf8buf, len, pbuf, MAX_MESSAGE_LEN); local 78 strncpy(pbuf, (char*)utf8buf, len); 80 (void)fprintf(fp, "%s%s%s", prefix, pbuf, suffix);
|
/external/syslinux/core/fs/pxe/ |
H A D | core.c | 139 void *pbuf; local 148 pbuf = netbuf_alloc(nbuf, len); 149 if (!pbuf) { 150 ddprintf("pbuf allocation error\n"); 154 memcpy(pbuf, data, len); 181 void *pbuf; local 190 pbuf = netbuf_alloc(nbuf, len); 191 if (!pbuf) { 192 ddprintf("pbuf allocation error\n"); 196 memcpy(pbuf, dat [all...] |
/external/syslinux/core/lwip/src/include/lwip/ |
H A D | pbuf.h | 58 PBUF_RAM, /* pbuf data is stored in RAM */ 59 PBUF_ROM, /* pbuf data is stored in ROM */ 60 PBUF_REF, /* pbuf comes from the pbuf pool */ 61 PBUF_POOL /* pbuf payload refers to RAM */ 67 /** indicates this is a custom pbuf: pbuf_free and pbuf_header handle such a 68 a pbuf differently */ 70 /** indicates this pbuf is UDP multicast to be looped back */ 73 struct pbuf { struct 74 /** next pbuf i 113 struct pbuf pbuf; member in struct:pbuf_custom [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_buffer.c | 329 struct pb_buffer *pbuf = vmw_pb_buffer(buf); local 331 pb_reference(&pbuf, NULL);
|
/external/one-true-awk/ |
H A D | lex.c | 101 int gettok(char **pbuf, int *psz) /* get next input token */ argument 104 char *buf = *pbuf; 159 *pbuf = buf;
|
/external/python/cpython2/Modules/_multiprocessing/ |
H A D | connection.h | 194 Py_buffer pbuf; local 199 &pbuf, &offset)) 202 buffer = pbuf.buf; 203 length = pbuf.len; 247 PyBuffer_Release(&pbuf);
|
/external/python/cpython2/Python/ |
H A D | mactoolboxglue.c | 192 PyMac_GetStr255(PyObject *v, Str255 pbuf) argument 200 pbuf[0] = len; 201 memcpy((char *)(pbuf+1), PyString_AsString(v), len);
|
/external/python/cpython3/Objects/ |
H A D | structseq.c | 171 char *endofbuf, *pbuf = buf; local 179 strncpy(pbuf, typ->tp_name, len); 180 pbuf += len; 181 *pbuf++ = '('; 205 if ((pbuf+len) <= endofbuf) { 206 strcpy(pbuf, cname); 207 pbuf += strlen(cname); 208 *pbuf++ = '='; 209 strcpy(pbuf, crepr); 210 pbuf [all...] |
/external/ipsec-tools/src/libipsec/ |
H A 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/iputils/ |
H A D | tracepath6.c | 385 char pbuf[NI_MAXSERV]; local 434 sprintf(pbuf, "%u", base_port); 443 gai = getaddrinfo(argv[0], pbuf, &hints, &ai0);
|