/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/ |
glx_usefont.c | 164 isvalid(XFontStruct * fs, unsigned int which) 170 rows = fs->max_byte1 - fs->min_byte1 + 1; 171 pages = fs->max_char_or_byte2 - fs->min_char_or_byte2 + 1; 175 if ((fs->min_char_or_byte2 > which) || (fs->max_char_or_byte2 < which)) 182 if ((fs->min_char_or_byte2 > byte2) || 183 (fs->max_char_or_byte2 < byte2) || 184 (fs->min_byte1 > byte1) || (fs->max_byte1 < byte1) 218 XFontStruct *fs; local [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/ |
xfont.c | 170 isvalid(XFontStruct * fs, int which) 176 rows = fs->max_byte1 - fs->min_byte1 + 1; 177 pages = fs->max_char_or_byte2 - fs->min_char_or_byte2 + 1; 181 if ((fs->min_char_or_byte2 > which) || (fs->max_char_or_byte2 < which)) 188 if ((fs->min_char_or_byte2 > byte2) || 189 (fs->max_char_or_byte2 < byte2) || 190 (fs->min_byte1 > byte1) || (fs->max_byte1 < byte1) 223 XFontStruct *fs; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
xfonts.c | 171 isvalid(XFontStruct * fs, unsigned int which) 177 rows = fs->max_byte1 - fs->min_byte1 + 1; 178 pages = fs->max_char_or_byte2 - fs->min_char_or_byte2 + 1; 182 if ((fs->min_char_or_byte2 > which) || (fs->max_char_or_byte2 < which)) 189 if ((fs->min_char_or_byte2 > byte2) || 190 (fs->max_char_or_byte2 < byte2) || 191 (fs->min_byte1 > byte1) || (fs->max_byte1 < byte1) 225 XFontStruct *fs; local [all...] |
/external/e2fsprogs/misc/ |
e2freefrag.c | 53 static void init_chunk_info(ext2_filsys fs, struct chunk_info *info) 57 info->blocksize_bits = ul_log2((unsigned long)fs->blocksize); 95 static void scan_block_bitmap(ext2_filsys fs, struct chunk_info *info) 97 unsigned long long blocks_count = ext2fs_blocks_count(fs->super); 122 blk = fs->super->s_first_data_block; 125 used = ext2fs_fast_test_block_bitmap2(fs->block_map, 126 chunk_start_blk >> fs->cluster_ratio_bits); 145 static errcode_t get_chunk_info(ext2_filsys fs, struct chunk_info *info, 154 scan_block_bitmap(fs, info); 157 ext2fs_blocks_count(fs->super), fs->super->s_free_blocks_count 271 ext2_filsys fs = NULL; local [all...] |
fsck.c | 15 * if it should ignore the fs type. This way more fsck programs 122 static const char *fsck_prefix_path = "/sbin:/sbin/fs.d:/sbin/fs:/etc/fs:/etc"; 246 struct fs_info *fs; local 248 if (!(fs = malloc(sizeof(struct fs_info)))) 251 fs->device = string_copy(device); 252 fs->mountpt = string_copy(mntpnt); 253 fs->type = string_copy(type); 254 fs->opts = string_copy(opts ? opts : "") 274 struct fs_info *fs; local 339 struct fs_info *fs; local 382 struct fs_info *fs; local 959 struct fs_info *fs = NULL; local 1258 struct fs_info *fs; local [all...] |
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
glx_usefont.c | 164 isvalid(XFontStruct * fs, unsigned int which) 170 rows = fs->max_byte1 - fs->min_byte1 + 1; 171 pages = fs->max_char_or_byte2 - fs->min_char_or_byte2 + 1; 175 if ((fs->min_char_or_byte2 > which) || (fs->max_char_or_byte2 < which)) 182 if ((fs->min_char_or_byte2 > byte2) || 183 (fs->max_char_or_byte2 < byte2) || 184 (fs->min_byte1 > byte1) || (fs->max_byte1 < byte1) 218 XFontStruct *fs; local [all...] |
/external/mesa3d/src/glx/ |
xfont.c | 170 isvalid(XFontStruct * fs, int which) 176 rows = fs->max_byte1 - fs->min_byte1 + 1; 177 pages = fs->max_char_or_byte2 - fs->min_char_or_byte2 + 1; 181 if ((fs->min_char_or_byte2 > which) || (fs->max_char_or_byte2 < which)) 188 if ((fs->min_char_or_byte2 > byte2) || 189 (fs->max_char_or_byte2 < byte2) || 190 (fs->min_byte1 > byte1) || (fs->max_byte1 < byte1) 223 XFontStruct *fs; local [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
xfonts.c | 171 isvalid(XFontStruct * fs, unsigned int which) 177 rows = fs->max_byte1 - fs->min_byte1 + 1; 178 pages = fs->max_char_or_byte2 - fs->min_char_or_byte2 + 1; 182 if ((fs->min_char_or_byte2 > which) || (fs->max_char_or_byte2 < which)) 189 if ((fs->min_char_or_byte2 > byte2) || 190 (fs->max_char_or_byte2 < byte2) || 191 (fs->min_byte1 > byte1) || (fs->max_byte1 < byte1) 225 XFontStruct *fs; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dirblock.c | 22 errcode_t ext2fs_read_dir_block3(ext2_filsys fs, blk64_t block, 31 retval = io_channel_read_blk64(fs->io, block, 1, buf); 36 end = (char *) buf + fs->blocksize; 49 if ((retval = ext2fs_get_rec_len(fs, dirent, &rec_len)) != 0) 61 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block, 64 return ext2fs_read_dir_block3(fs, block, buf, flags); 67 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block, 70 return ext2fs_read_dir_block3(fs, block, buf, 0); 74 errcode_t ext2fs_write_dir_block3(ext2_filsys fs, blk64_t block, 84 retval = ext2fs_get_mem(fs->blocksize, &buf) [all...] |
bmap.c | 28 extern errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, 35 static _BMAP_INLINE_ errcode_t block_ind_bmap(ext2_filsys fs, int flags, 49 retval = io_channel_read_blk(fs->io, ind, 1, block_buf); 59 return io_channel_write_blk(fs->io, ind, 1, block_buf); 70 retval = ext2fs_alloc_block(fs, b, 71 block_buf + fs->blocksize, &b); 81 retval = io_channel_write_blk(fs->io, ind, 1, block_buf); 92 static _BMAP_INLINE_ errcode_t block_dind_bmap(ext2_filsys fs, int flags, 101 addr_per_block = (blk_t) fs->blocksize >> 2; 103 retval = block_ind_bmap(fs, flags & ~BMAP_SET, dind, block_buf [all...] |
read_bb.c | 40 static int mark_bad_block(ext2_filsys fs, blk_t *block_nr, 51 if ((*block_nr < fs->super->s_first_data_block) || 52 (*block_nr >= ext2fs_blocks_count(fs->super))) 64 errcode_t ext2fs_read_bb_inode(ext2_filsys fs, ext2_badblocks_list *bb_list) 71 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 74 retval = ext2fs_read_inode(fs, EXT2_BAD_INO, &inode); 78 if (!((fs->super->s_feature_ro_compat & 81 numblocks = numblocks / (fs->blocksize / 512); 94 retval = ext2fs_block_iterate2(fs, EXT2_BAD_INO, BLOCK_FLAG_READ_ONLY,
|
dir_iterate.c | 26 errcode_t ext2fs_get_rec_len(ext2_filsys fs, 32 if (fs->blocksize < 65536) 35 *rec_len = fs->blocksize; 41 errcode_t ext2fs_set_rec_len(ext2_filsys fs, 45 if ((len > fs->blocksize) || (fs->blocksize > (1 << 18)) || (len & 3)) 51 if (len == fs->blocksize) { 52 if (fs->blocksize == 65536) 69 static int ext2fs_validate_entry(ext2_filsys fs, char *buf, 78 (offset <= fs->blocksize - DIRENT_MIN_LENGTH)) [all...] |
namei.c | 24 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base, 28 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, 43 retval = ext2fs_read_inode (fs, inode, &ei); 52 if (ext2fs_inode_data_blocks(fs,&ei)) { 53 retval = ext2fs_bmap2(fs, inode, &ei, NULL, 0, 0, NULL, &blk); 57 retval = ext2fs_get_mem(fs->blocksize, &buffer); 61 retval = io_channel_read_blk64(fs->io, blk, 1, buffer); 69 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1, 82 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, 108 retval = ext2fs_lookup (fs, dir, thisname, len, buf, &inode) [all...] |
bmove.c | 39 static int process_block(ext2_filsys fs, blk64_t *block_nr, 57 if (++block >= ext2fs_blocks_count(fs->super)) 58 block = fs->super->s_first_data_block; 66 retval = io_channel_read_blk64(fs->io, orig, 1, pb->buf); 71 retval = io_channel_write_blk64(fs->io, block, 1, pb->buf); 86 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, 96 errcode_t ext2fs_move_blocks(ext2_filsys fs, 108 retval = ext2fs_open_inode_scan(fs, 0, &scan); 114 pb.alloc_map = alloc_map ? alloc_map : fs->block_map; 117 retval = ext2fs_get_array(4, fs->blocksize, &block_buf) [all...] |
bb_inode.c | 44 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr, 48 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr, 57 errcode_t ext2fs_update_bb_inode(ext2_filsys fs, ext2_badblocks_list bb_list) 63 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 65 if (!fs->block_map) 75 retval = ext2fs_get_mem(fs->blocksize, &rec.block_buf); 78 memset(rec.block_buf, 0, fs->blocksize); 84 retval = ext2fs_block_iterate2(fs, EXT2_BAD_INO, 106 retval = ext2fs_block_iterate2(fs, EXT2_BAD_INO, 122 retval = ext2fs_read_inode(fs, EXT2_BAD_INO, &inode) [all...] |
/frameworks/compile/mclinker/include/mcld/MC/ |
SearchDirs.h | 44 SearchDirs(const sys::fs::Path& pSysRoot); 49 sys::fs::Path* 52 const sys::fs::Path* 55 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; } 56 const sys::fs::Path& sysroot() const { return m_SysRoot; } 69 bool insert(const sys::fs::Path& pDirectory); 73 sys::fs::Path m_SysRoot;
|
/external/e2fsprogs/e2fsck/ |
pass1b.c | 85 static int process_pass1b_block(ext2_filsys fs, blk64_t *blocknr, 212 ext2_filsys fs = ctx->fs; local 220 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, 235 init_resource_track(&rtrack, ctx->fs->io); 237 print_resource_track(ctx, "Pass 1b", &rtrack, ctx->fs->io); 239 init_resource_track(&rtrack, ctx->fs->io); 241 print_resource_track(ctx, "Pass 1c", &rtrack, ctx->fs->io); 243 init_resource_track(&rtrack, ctx->fs->io); 245 print_resource_track(ctx, "Pass 1d", &rtrack, ctx->fs->io) 270 ext2_filsys fs = ctx->fs; local 426 ext2_filsys fs = ctx->fs; local 448 ext2_filsys fs = ctx->fs; local 624 ext2_filsys fs = ctx->fs; local 784 ext2_filsys fs = ctx->fs; local 882 ext2_filsys fs = ctx->fs; local 919 ext2_filsys fs = ctx->fs; local [all...] |
pass1.c | 58 static int process_block(ext2_filsys fs, blk64_t *blocknr, 61 static int process_bad_block(ext2_filsys fs, blk64_t *block_nr, 73 static errcode_t scan_callback(ext2_filsys fs, ext2_inode_scan scan, 77 /* static char *describe_illegal_block(ext2_filsys fs, blk64_t block); */ 119 static void unwind_pass1(ext2_filsys fs EXT2FS_ATTR((unused))) 133 int e2fsck_pass1_check_device_inode(ext2_filsys fs EXT2FS_ATTR((unused)), 168 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino, 183 if (inode->i_size > fs->blocksize) 185 if (ext2fs_extent_open2(fs, ino, inode, &handle)) 195 (extent.e_pblk < fs->super->s_first_data_block) | 546 ext2_filsys fs = ctx->fs; local 1455 ext2_filsys fs = ctx->fs; local 1495 ext2_filsys fs = ctx->fs; local 1680 ext2_filsys fs = ctx->fs; local 1960 ext2_filsys fs = ctx->fs; local 2002 ext2_filsys fs = ctx->fs; local 2572 ext2_filsys fs = ctx->fs; local 2663 ext2_filsys fs = ctx->fs; local 2701 ext2_filsys fs = ctx->fs; local 2873 ext2_filsys fs = ctx->fs; local [all...] |
/external/yaffs2/yaffs2/ |
patch-ker.sh | 62 KCONFIG=$LINUXDIR/fs/Kconfig 63 KCONFIGOLD=$LINUXDIR/fs/Kconfig.pre.yaffs 66 MAKEFILE=$LINUXDIR/fs/Makefile 67 MAKEFILEOLD=$LINUXDIR/fs/Makefile.pre.yaffs 74 # Change the fs/Kconfig file 86 echo "source \"fs/yaffs2/Kconfig\"">>$KCONFIG 90 # now do fs/Makefile -- simply add the target at the end 99 YAFFSDIR=$LINUXDIR/fs/yaffs2 105 mkdir $LINUXDIR/fs/yaffs2 106 cp Makefile.kernel $LINUXDIR/fs/yaffs2/Makefil [all...] |
/external/opencv/cxcore/src/ |
cxpersistence.cpp | 107 //typedef void (*CvParse)( struct CvFileStorage* fs ); 108 typedef void (*CvStartWriteStruct)( struct CvFileStorage* fs, const char* key, 110 typedef void (*CvEndWriteStruct)( struct CvFileStorage* fs ); 111 typedef void (*CvWriteInt)( struct CvFileStorage* fs, const char* key, int value ); 112 typedef void (*CvWriteReal)( struct CvFileStorage* fs, const char* key, double value ); 113 typedef void (*CvWriteString)( struct CvFileStorage* fs, const char* key, 115 typedef void (*CvWriteComment)( struct CvFileStorage* fs, const char* comment, int eol_comment ); 116 typedef void (*CvStartNextStream)( struct CvFileStorage* fs ); 163 #define CV_IS_FILE_STORAGE(fs) ((fs) != 0 && (fs)->flags == CV_FILE_STORAGE 383 CvFileStorage* fs = *p_fs; local 2675 CvFileStorage* fs = 0; local 5108 CvFileStorage* fs = 0; local 5176 CvFileStorage* fs = 0; local [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/ |
Registry.cpp | 99 FILE *fs = fopen(authTokenFilePath.c_str(), "wb"); local 100 if (!fs) { 104 fseek(fs, 0, SEEK_SET); 105 fwrite((char *)so, 1, sizeof(mcSoAuthTokenCont_t), fs); 106 fflush(fs); 107 fclose(fs); 125 FILE *fs = fopen(authTokenFilePath.c_str(), "rb"); local 126 if (!fs) { 130 fseek(fs, 0, SEEK_END); 131 int32_t filesize = ftell(fs); 171 FILE *fs = fopen(rootContFilePath.c_str(), "wb"); local 197 FILE *fs = fopen(rootContFilePath.c_str(), "rb"); local 234 FILE *fs = fopen(spContFilePath.c_str(), "wb"); local 261 FILE *fs = fopen(spContFilePath.c_str(), "rb"); local 298 FILE *fs = fopen(tlContFilePath.c_str(), "wb"); local 325 FILE *fs = fopen(tlContFilePath.c_str(), "rb"); local 373 FILE *fs = fopen(filename.c_str(), "wb"); local 415 FILE *fs = fopen(filename.c_str(), "rb"); local 595 FILE *fs = fopen(tlBinFilePath.c_str(), "rb"); local 758 FILE *fs = fopen(driverFilename, "rb"); local [all...] |
/external/llvm/unittests/Support/ |
FileOutputBufferTest.cpp | 34 fs::createUniqueDirectory("FileOutputBuffer-test", TestDirectory)); 53 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size)); 55 ASSERT_NO_ERROR(fs::remove(File1.str())); 69 ASSERT_NO_ERROR(fs::exists(Twine(File2), Exists)); 71 ASSERT_NO_ERROR(fs::remove(File2.str())); 89 ASSERT_NO_ERROR(fs::file_size(Twine(File3), File3Size)); 91 ASSERT_NO_ERROR(fs::remove(File3.str())); 106 fs::file_status Status; 107 ASSERT_NO_ERROR(fs::status(Twine(File4), Status)); 108 bool IsExecutable = (Status.permissions() & fs::owner_exe) [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
dpb.cpp | 35 dpb->fs[num_fs] = NULL; 82 /* fs is an array pointers to AVCDecPicture */ 83 dpb->fs[num_fs] = (AVCFrameStore*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCFrameStore), 101/*DEFAULT_ATTR*/); 84 if (dpb->fs[num_fs] == NULL) 90 dpb->fs[num_fs]->base_dpb = dpb->decoded_picture_buffer + dpb->used_size; 92 dpb->fs[num_fs]->IsReference = 0; 93 dpb->fs[num_fs]->IsLongTerm = 0; 94 dpb->fs[num_fs]->IsOutputted = 3; 95 dpb->fs[num_fs]->frame.RefIdx = refIdx++; /* this value will remain unchanged through out the encoding session */ 96 dpb->fs[num_fs]->frame.picType = AVC_FRAME 694 AVCFrameStore *fs = dpb->fs[idx]; local [all...] |
/system/core/toolbox/upstream-netbsd/bin/cp/ |
utils.c | 63 set_utimes(const char *file, struct stat *fs) 68 tv[0].tv_sec = fs->st_atime; 70 tv[1].tv_sec = fs->st_mtime; 78 TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec); 79 TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec); 109 struct stat to_stat, *fs; local 120 fs = entp->fts_statp; 158 fs->st_mode & ~(S_ISUID | S_ISGID)); 167 fs->st_mode & ~(S_ISUID | S_ISGID)); 195 if (fs->st_size > 0) [all...] |
/external/compiler-rt/lib/asan/tests/ |
asan_fake_stack_test.cc | 96 FakeStack *fs = FakeStack::Create(stack_size_log); local 97 u8 *base = fs->GetFrame(stack_size_log, 0, 0); 98 EXPECT_EQ(base, reinterpret_cast<u8 *>(fs) + 99 fs->SizeRequiredForFlags(stack_size_log) + 4096); 100 EXPECT_EQ(base + 0*stack_size + 64 * 7, fs->GetFrame(stack_size_log, 0, 7U)); 101 EXPECT_EQ(base + 1*stack_size + 128 * 3, fs->GetFrame(stack_size_log, 1, 3U)); 102 EXPECT_EQ(base + 2*stack_size + 256 * 5, fs->GetFrame(stack_size_log, 2, 5U)); 103 fs->Destroy(0); 108 FakeStack *fs = FakeStack::Create(stack_size_log); local 116 FakeFrame *ff = fs->Allocate(stack_size_log, cid, 0) 147 FakeStack *fs = FakeStack::Create(stack_size_log); local [all...] |