Searched defs:bsize (Results 1 - 3 of 3) sorted by last modified time

/system/core/adb/
H A Dframebuffer_service.c58 unsigned int i, bsize; local
167 for(i = 0; i < fbinfo.size; i += bsize) {
168 bsize = sizeof(buf);
169 if (i + bsize > fbinfo.size)
170 bsize = fbinfo.size - i;
171 if(readx(fd_screencap, buf, bsize)) goto done;
172 if(writex(fd, buf, bsize)) goto done;
/system/core/fastboot/
H A Dfastboot.c334 unsigned bsize; local
380 page_size, base_addr, tags_offset, &bsize);
386 fprintf(stderr,"creating boot image - %d bytes\n", bsize);
387 *sz = bsize;
/system/core/toolbox/upstream-netbsd/bin/cat/
H A Dcat.c65 static size_t bsize; variable
86 bsize = (size_t)strtol(optarg, NULL, 0);
118 "Usage: %s [-beflnstuv] [-B bsize] [-] "
306 if (bsize == 0) {
309 bsize = sbuf.st_blksize;
311 if (bsize > sizeof(fb_buf)) {
312 buf = malloc(bsize);
314 warnx("malloc, using %zu buffer", bsize);
317 bsize = sizeof(fb_buf);
321 while ((nr = read(rfd, buf, bsize)) >
[all...]

Completed in 100 milliseconds