Home
last modified time | relevance | path

Searched refs:fi (Results 1 – 7 of 7) sorted by relevance

/system/extras/tests/framebuffer/
Dfb_test.c46 struct fb_fix_screeninfo fi; variable
49 static void dumpinfo(struct fb_fix_screeninfo *fi,
81 if(ioctl(fd, FBIOGET_FSCREENINFO, &fi) < 0) { in get_framebuffer()
86 dumpinfo(&fi, &vi); in get_framebuffer()
88 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in get_framebuffer()
98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
125 static void dumpinfo(struct fb_fix_screeninfo *fi, struct fb_var_screeninfo *vi) in dumpinfo() argument
135 fprintf(stderr, "fi.line_length = %d\n", fi->line_length); in dumpinfo()
210 int stride = fi.line_length / (vi.bits_per_pixel >> 3); in draw_grid()
[all …]
/system/core/toolbox/cp/
Dutils.c102 progress(const struct finfo *fi, size_t written) in progress() argument
104 int pcent = (int)((100.0 * written) / fi->size); in progress()
108 fi->from, fi->to, written, fi->size, pcent); in progress()
202 struct finfo fi; in copy_file() local
204 fi.from = entp->fts_path; in copy_file()
205 fi.to = to.p_path; in copy_file()
206 fi.size = (size_t)fs->st_size; in copy_file()
249 progress(&fi, ptotal); in copy_file()
269 progress(&fi, ptotal); in copy_file()
/system/core/sh/funcs/
Ddirs48 fi
54 fi
63 fi
Dpushd48 fi
54 fi
63 fi
Dpopd48 fi
54 fi
63 fi
Dcmv44 fi
48 fi
/system/core/init/
Dlogo.c46 struct fb_fix_screeninfo fi; member
60 if (ioctl(fb->fd, FBIOGET_FSCREENINFO, &fb->fi) < 0) in fb_open()