Searched refs:fi (Results 1 - 4 of 4) sorted by relevance

/system/extras/tests/framebuffer/
H A Dfb_test.c46 struct fb_fix_screeninfo fi; variable in typeref:struct:fb_fix_screeninfo
49 static void dumpinfo(struct fb_fix_screeninfo *fi,
81 if(ioctl(fd, FBIOGET_FSCREENINFO, &fi) < 0) {
86 dumpinfo(&fi, &vi);
88 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
98 fb->stride = fi.line_length / bytes_per_pixel;
106 fb->stride = fi.line_length / bytes_per_pixel;
125 static void dumpinfo(struct fb_fix_screeninfo *fi, struct fb_var_screeninfo *vi) argument
135 fprintf(stderr, "fi.line_length = %d\n", fi
[all...]
H A Dmdp_test.c97 struct fb_fix_screeninfo fi; local
106 if(ioctl(*fd, FBIOGET_FSCREENINFO, &fi) < 0) {
116 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, *fd, 0);
/system/core/toolbox/cp/
H A Dutils.c102 progress(const struct finfo *fi, size_t written) argument
104 int pcent = (int)((100.0 * written) / fi->size);
108 fi->from, fi->to, written, fi->size, pcent);
202 struct finfo fi; local
204 fi.from = entp->fts_path;
205 fi.to = to.p_path;
206 fi.size = (size_t)fs->st_size;
249 progress(&fi, ptota
[all...]
/system/core/init/
H A Dlogo.c46 struct fb_fix_screeninfo fi; member in struct:FB
60 if (ioctl(fb->fd, FBIOGET_FSCREENINFO, &fb->fi) < 0)

Completed in 77 milliseconds