/external/libusb/examples/ |
D | sam3u_benchmark.c | 43 static void LIBUSB_CALL cb_xfr(struct libusb_transfer *xfr) in cb_xfr() argument 47 if (xfr->status != LIBUSB_TRANSFER_COMPLETED) { in cb_xfr() 48 fprintf(stderr, "transfer status %d\n", xfr->status); in cb_xfr() 49 libusb_free_transfer(xfr); in cb_xfr() 53 if (xfr->type == LIBUSB_TRANSFER_TYPE_ISOCHRONOUS) { in cb_xfr() 54 for (i = 0; i < xfr->num_iso_packets; i++) { in cb_xfr() 55 struct libusb_iso_packet_descriptor *pack = &xfr->iso_packet_desc[i]; in cb_xfr() 66 printf("length:%u, actual_length:%u\n", xfr->length, xfr->actual_length); in cb_xfr() 67 for (i = 0; i < xfr->actual_length; i++) { in cb_xfr() 68 printf("%02x", xfr->buffer[i]); in cb_xfr() [all …]
|
/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest04.c | 225 int count, collide, chunk, whenmisc, xfr, i; in dotest() local 336 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 347 if (xfr == 0) { in dotest() 350 if (xfr != csize) { in dotest() 354 me, xfr, csize); in dotest() 364 count, xfr); in dotest() 378 if (xfr != csize) { in dotest() 382 me, xfr, csize); in dotest() 393 count, xfr); in dotest() 408 if (lseek(fd, -xfr, 1) < 0) { in dotest() [all …]
|
D | ftest08.c | 232 int count, collide, chunk, whenmisc, xfr, i; in dotest() local 343 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 354 if (xfr == 0) { in dotest() 357 if (xfr != csize) { in dotest() 361 me, xfr, csize); in dotest() 373 count, xfr); in dotest() 387 if (xfr != csize) { in dotest() 391 me, xfr, csize); in dotest() 404 count, xfr); in dotest() 419 if (lseek64(fd, -xfr, 1) < 0) { in dotest() [all …]
|
D | ftest01.c | 264 int count, collide, chunk, whenmisc, xfr, i; in dotest() local 344 if ((xfr = read(fd, buf, csize)) < 0) { in dotest() 359 if (xfr != csize) { in dotest() 363 me, xfr, csize); in dotest() 370 xfr, file_max, zero_buf[0]); in dotest() 391 if (xfr != csize) { in dotest() 395 me, xfr, csize); in dotest() 403 xfr, file_max); in dotest() 425 if (lseek(fd, -xfr, 1) < 0) { in dotest() 431 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest() [all …]
|
D | ftest07.c | 287 int count, collide, chunk, whenmisc, xfr, i; in dotest() local 404 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 419 if (xfr != csize) { in dotest() 423 me, xfr, csize); in dotest() 433 count, xfr, file_max); in dotest() 456 if (xfr != csize) { in dotest() 460 me, xfr, csize); in dotest() 471 count, xfr, file_max); in dotest() 495 if (lseek64(fd, -((off64_t) xfr), 1) < 0) { in dotest() 501 if ((xfr = in dotest() [all …]
|
D | ftest03.c | 288 int chunk, whenmisc, xfr, count, collide, i; in dotest() local 410 if ((xfr = readv(fd, &r_iovec[0], MAXIOVCNT)) < 0) { in dotest() 425 if (xfr != csize) { in dotest() 429 me, xfr, csize); in dotest() 439 count, xfr, file_max); in dotest() 462 if (xfr != csize) { in dotest() 466 me, xfr, csize); in dotest() 477 count, xfr, file_max); in dotest() 501 if (lseek(fd, -xfr, 1) < 0) { in dotest() 507 if ((xfr = in dotest() [all …]
|
D | ftest05.c | 264 int i, count, collide, chunk, whenmisc, xfr; in dotest() local 340 if ((xfr = read(fd, buf, csize)) < 0) { in dotest() 355 if (xfr != csize) { in dotest() 364 xfr, file_max, zero_buf[0]); in dotest() 385 if (xfr != csize) { in dotest() 388 me, xfr, csize); in dotest() 395 xfr, file_max); in dotest() 417 if (lseek64(fd, -((off64_t) xfr), 1) < (off64_t) 0) { in dotest() 422 if ((xfr = write(fd, val_buf, csize)) < csize) { in dotest() 431 me, CHUNK(chunk), xfr); in dotest()
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_buffer.c | 178 struct nouveau_transfer *xfr = CALLOC_STRUCT(nouveau_transfer); in nouveau_buffer_transfer_get() local 179 if (!xfr) in nouveau_buffer_transfer_get() 182 xfr->base.resource = resource; in nouveau_buffer_transfer_get() 183 xfr->base.box.x = box->x; in nouveau_buffer_transfer_get() 184 xfr->base.box.width = box->width; in nouveau_buffer_transfer_get() 185 xfr->base.usage = usage; in nouveau_buffer_transfer_get() 194 return &xfr->base; in nouveau_buffer_transfer_get() 202 struct nouveau_transfer *xfr = nouveau_transfer(transfer); in nouveau_buffer_transfer_destroy() local 205 if (xfr->base.usage & PIPE_TRANSFER_WRITE) { in nouveau_buffer_transfer_destroy() 215 FREE(xfr); in nouveau_buffer_transfer_destroy() [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | optselect-regclass.ll | 10 define void @xfr() {
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
D | message.py | 162 self.xfr = False 693 if self.message.xfr and rdtype == dns.rdatatype.SOA: 727 def from_wire(wire, keyring=None, request_mac='', xfr=False, origin=None, argument 767 m.xfr = xfr
|
D | query.py | 258 def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN, function 377 xfr=True, origin=origin, tsig_ctx=tsig_ctx,
|
D | zone.py | 820 def from_xfr(xfr, zone_factory=Zone, relativize=True): argument 835 for r in xfr:
|