/system/core/libpixelflinger/codeflinger/ |
H A D | GGLAssembler.cpp | 160 int fs = i==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; local 162 if (fs==GGL_SRC_ALPHA_SATURATE && i==GGLFormat::ALPHA) 163 fs = GGL_ONE; 177 info.blend = (fs != int(GGL_ONE)) || (fd > int(GGL_ZERO)); 492 int fs = component==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; local 494 if (fs==GGL_SRC_ALPHA_SATURATE && component==GGLFormat::ALPHA) { 495 fs = GGL_ONE; 499 const int blending = blending_codes(fs, fd); 502 const int need_blending = (fs != int(GGL_ONE)) || (fd > int(GGL_ZERO));
|
H A D | blending.cpp | 72 int fs = component==GGLFormat::ALPHA ? mBlendSrcA : mBlendSrc; local 74 if (fs==GGL_SRC_ALPHA_SATURATE && component==GGLFormat::ALPHA) 75 fs = GGL_ONE; 76 const int blending = blending_codes(fs, fd); 101 (fs==GGL_DST_COLOR && fd==GGL_ONE_MINUS_DST_COLOR) || 102 (fs==GGL_SRC_COLOR && fd==GGL_ONE_MINUS_SRC_COLOR) || 103 (fs==GGL_DST_ALPHA && fd==GGL_ONE_MINUS_DST_ALPHA) || 104 (fs==GGL_SRC_ALPHA && fd==GGL_ONE_MINUS_SRC_ALPHA); 107 (fs==GGL_ONE_MINUS_DST_COLOR && fd==GGL_DST_COLOR) || 108 (fs [all...] |
H A D | mips_opcode.h | 75 unsigned fs: 5; member in struct:__anon425::__anon429 109 unsigned fs: 5; member in struct:__anon425::__anon433
|
/system/core/toolbox/cp/ |
H A D | utils.c | 69 set_utimes(const char *file, struct stat *fs) argument 74 tv[0].tv_sec = fs->st_atime; 76 tv[1].tv_sec = fs->st_mtime; 84 TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec); 85 TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec); 115 struct stat to_stat, *fs; local 126 fs = entp->fts_statp; 164 fs->st_mode & ~(S_ISUID | S_ISGID)); 173 fs->st_mode & ~(S_ISUID | S_ISGID)); 201 if (fs 381 setfile(struct stat *fs, int fd) argument [all...] |
/system/extras/fatblock/ |
H A D | fatblock.c | 26 #include "fs.h" 29 static struct fs fs; variable in typeref:struct:fs 33 static int fs_import(struct fs *fs, argument 39 ret = fs_init(fs, cluster_size, data_size, total_size_out); 43 ret = import_tree(fs, "."); 57 result = fs_read(&fs, buf, offset, length); 173 ret = fs_import(&fs, 32768, 1048576LL * mb, &total_size);
|
H A D | fs.c | 23 #include "fs.h" 28 static void fs_add_extent(struct fs *fs, struct extent *extent, argument 31 assert(fs); 38 extent->next = fs->extents; 39 fs->extents = extent; 42 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, argument 52 assert(fs); 56 e = last ? last->next : fs 102 fs_set_fat(struct fs *fs, cluster_t cluster, fat_entry_t entry) argument 109 fs_alloc_extent(struct fs *fs, struct extent *extent, offset_t len, int type, cluster_t *first_cluster_out) argument 156 fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out) argument 249 fs_set_rootdir_start(struct fs *fs, cluster_t rootdir_start) argument 256 fs_update_free_clusters(struct fs *fs) argument [all...] |
H A D | fs.h | 23 struct fs { struct 44 int fs_alloc_extent(struct fs *fs, struct extent *extent, 46 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, struct extent *last, 48 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out); 49 void fs_set_rootdir_start(struct fs *fs, cluster_t rootdir_start); 50 void fs_update_free_clusters(struct fs *f [all...] |
H A D | import.c | 29 #include "fs.h" 95 static int import_file(struct fs *fs, char *path, struct imported *out) argument 131 ret = fs_alloc_extent(fs, &f->extent, 193 static int import_dir(struct fs *fs, char *path, int is_root, argument 267 import_file(fs, ch_path, &item->imp); 271 import_dir(fs, ch_path, 0, &item->imp); 295 ret = fs_alloc_extent(fs, &d->extent, d->size, EXTENT_TYPE_DIR, &out->first_cluster); 352 int import_tree(struct fs *f argument [all...] |
H A D | read.c | 25 #include "fs.h" 134 static int extent_read(struct fs *fs, struct extent *e, char *buf, argument 137 assert(fs); 143 return buffer_read((char*)&fs->boot, sizeof(fs->boot), buf, 146 return buffer_read((char*)&fs->info, sizeof(fs->info), buf, 149 return buffer_read((char*)fs->fat, fs 161 fs_read(struct fs *fs, char *buf, offset_t start, offset_t len) argument [all...] |