/ndk/sources/host-tools/nawk-20071023/ |
main.c | 58 const char *fs = NULL; local 65 "usage: %s [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]\n", 100 fs = "\t"; 102 fs = &argv[1][2]; 106 fs = "\t"; 108 fs = &argv[1][0]; 110 if (fs == NULL || *fs == '\0') 111 WARNING("field separator FS is empty"); 152 if (fs) [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
host_file_system_provider_test.py | 29 fs = creator.GetBranch('1500') 30 first_read = fs.ReadSingle(self._idle_path).Get() 33 second_read = fs.ReadSingle(self._idle_path).Get() 43 fs = creator.GetBranch('1500') 45 self.assertRaises(FileNotFoundError, fs.ReadSingle(self._idle_path).Get)
|
chained_compiled_file_system.py | 37 fs, populate_function, cls, category=category) 38 for fs in [file_system] + self._file_system_chain), 40 StringIdentity(*(fs.GetIdentity() for fs in self._file_system_chain))) 69 read_and_version_futures = [(reader(fs), version_getter(fs), fs) 70 for fs in self._compiled_fs_chain]
|
offline_file_system.py | 13 def __init__(self, fs): 14 self._fs = fs
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
patchreader.py | 55 def check(self, patch_string, fs=None): 57 fs = fs or FileSystem() 69 if match and fs.exists(path): 73 detection = SCMDetector(fs, Executive()).detect_scm_system(cwd)
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
dtmf_tone_generator.cc | 14 // a = 2*cos(2*pi*f/fs). The recursion is started with x[-1] = 0 and 15 // x[-2] = sin(2*pi*f/fs). (Note that with this initialization, the resulting 16 // sinusoid gets a "negative" rotation; x[n] = sin(-2*pi*f/fs * n + phi), but 37 // The filter coefficient a = 2*cos(2*pi*f/fs) for the low frequency tone, for 38 // sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0 through 15. 50 // The filter coefficient a = 2*cos(2*pi*f/fs) for the high frequency tone, for 51 // sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0 through 15. 63 // The initialization value x[-2] = sin(2*pi*f/fs) for the low frequency tone, 64 // for sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0-15. 76 // The initialization value x[-2] = sin(2*pi*f/fs) for the high frequency tone [all...] |
/external/e2fsprogs/lib/quota/ |
mkquota.h | 13 * quota_init_context(&qctx, fs, -1); 41 ext2_filsys fs; member in struct:quota_ctx 46 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, int qtype); 58 errcode_t quota_remove_inode(ext2_filsys fs, int qtype); 59 int quota_file_exists(ext2_filsys fs, int qtype, int fmt); 60 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype);
|
/external/e2fsprogs/resize/ |
online.c | 50 errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt, 56 struct ext2_super_block *sb = fs->super; 79 "on-line resizing required\n"), fs->device_name, mtpt); 92 fs->super->s_first_data_block, 93 EXT2_BLOCKS_PER_GROUP(fs->super)), 94 EXT2_DESC_PER_BLOCK(fs->super)); 96 fs->desc_blocks, new_desc_blocks); 101 if ((access("/sys/fs/ext4/features/meta_bg_resize", R_OK) != 0) || 103 if (!EXT2_HAS_COMPAT_FEATURE(fs->super, 105 (new_desc_blocks != fs->desc_blocks)) [all...] |
/external/opencv/cxcore/src/ |
cximage.cpp | 147 bool CvImage::read( CvFileStorage* fs, const char* mapname, const char* imgname ) 154 CvFileNode* mapnode = cvGetFileNodeByName( fs, 0, mapname ); 156 obj = cvReadByName( fs, mapnode, imgname ); 159 obj = cvReadByName( fs, 0, imgname ); 167 bool CvImage::read( CvFileStorage* fs, const char* seqname, int idx ) 172 cvGetFileNodeByName( fs, 0, seqname ) : cvGetRootFileNode(fs,0); 175 obj = cvRead( fs, (CvFileNode*)cvGetSeqElem( seqnode->data.seq, idx )); 205 void CvImage::write( CvFileStorage* fs, const char* imgname ) 208 cvWrite( fs, imgname, image ) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dblist.c | 31 errcode_t ext2fs_get_num_dirs(ext2_filsys fs, ext2_ino_t *ret_num_dirs) 36 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 39 max_dirs = fs->super->s_inodes_per_group; 40 for (i = 0; i < fs->group_desc_count; i++) { 41 if (ext2fs_bg_used_dirs_count(fs, i) > max_dirs) 44 num_dirs += ext2fs_bg_used_dirs_count(fs, i); 46 if (num_dirs > fs->super->s_inodes_count) 47 num_dirs = fs->super->s_inodes_count; 58 static errcode_t make_dblist(ext2_filsys fs, ext2_ino_t size, 68 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS) [all...] |
valid_blk.c | 26 int ext2fs_inode_has_valid_blocks2(ext2_filsys fs, struct ext2_inode *inode) 41 if (ext2fs_file_acl_block(fs, inode) == 0) {
|
/external/e2fsprogs/e2fsck/ |
pass3.c | 54 ext2_filsys fs = ctx->fs; local 63 init_resource_track(&rtrack, ctx->fs->io); 76 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, _("inode done bitmap"), 136 print_resource_track(ctx, _("Pass 3"), &rtrack, ctx->fs->io); 145 ext2_filsys fs = ctx->fs; local 178 pctx.errcode = ext2fs_new_block2(fs, 0, ctx->block_found_map, &blk); 186 ext2fs_mark_block_bitmap2(fs->block_map, blk); 187 ext2fs_mark_bb_dirty(fs); 264 ext2_filsys fs = ctx->fs; local 358 ext2_filsys fs = ctx->fs; local 506 ext2_filsys fs = ctx->fs; local 557 ext2_filsys fs = ctx->fs; local 598 ext2_filsys fs; member in struct:fix_dotdot_struct 645 ext2_filsys fs = ctx->fs; local 787 ext2_filsys fs = ctx->fs; local [all...] |
emptydir.c | 52 retval = ext2fs_init_dblist(ctx->fs, &edi->empty_dblist); 56 retval = ext2fs_allocate_block_bitmap(ctx->fs, _("empty dirblocks"), 61 retval = ext2fs_allocate_inode_bitmap(ctx->fs, _("empty dir map"), 119 int empty_pass1(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, 130 retval = ext2fs_bmap2(fs, edi->ino, &edi->inode, 148 static int fix_directory(ext2_filsys fs, 160 retval = ext2fs_read_inode(fs, db->ino, &edi->inode); 164 retval = ext2fs_block_iterate3(fs, db->ino, 0, edi->block_buf, 170 edi->inode.i_size -= edi->freed_blocks * fs->blocksize; 171 ext2fs_iblk_add_blocks(fs, &edi->inode, edi->freed_blocks) [all...] |
pass4.c | 30 ext2_filsys fs = ctx->fs; local 35 if (EXT2_INODE_SIZE(fs->super) > EXT2_GOOD_OLD_INODE_SIZE) { 36 e2fsck_read_inode_full(ctx, i, inode,EXT2_INODE_SIZE(fs->super), 46 if (EXT2_INODE_SIZE(fs->super) -EXT2_GOOD_OLD_INODE_SIZE -extra_size >0) 64 ext2fs_inode_alloc_stats2(fs, i, -1, 76 ext2fs_unmark_valid(fs); 83 ext2fs_unmark_valid(fs); 92 ext2_filsys fs = ctx->fs; local [all...] |
rehash.c | 80 static int fill_dir_block(ext2_filsys fs, 97 offset = blockcnt * fs->blocksize; 98 if (offset + fs->blocksize > fd->inode->i_size) { 104 memset(dir, 0, fs->blocksize); 106 (void) ext2fs_set_rec_len(fs, fs->blocksize, dirent); 108 fd->err = ext2fs_read_dir_block3(fs, *block_nr, dir, 0); 112 hash_alg = fs->super->s_def_hash_version; 114 (fs->super->s_flags & EXT2_FLAGS_UNSIGNED_HASH)) 118 while (dir_offset < fs->blocksize) 401 ext2_filsys fs = ctx->fs; local 712 ext2_filsys fs = ctx->fs; local [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
ToolOutputFile.h | 33 ToolOutputFile(const sys::fs::Path& pPath, 56 explicit CleanupInstaller(const sys::fs::Path& pPath); 64 sys::fs::Path m_Path;
|
/frameworks/compile/mclinker/lib/MC/ |
ContextFactory.cpp | 17 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum) 25 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) 29 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate();
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
http_fs_test.cc | 264 HttpFsForTesting fs(args, NULL); 268 ASSERT_EQ(0, fs.Open(Path("/"), O_RDONLY, &node)); 279 HttpFsForTesting fs(args, NULL); 281 ASSERT_EQ(0, fs.ParseManifest(manifest)); 283 EXPECT_EQ(EEXIST, fs.Mkdir(Path("/"), 0)); 284 EXPECT_EQ(EEXIST, fs.Mkdir(Path("/mydir"), 0)); 286 EXPECT_EQ(EACCES, fs.Mkdir(Path("/non_existent"), 0)); 291 HttpFsForTesting fs(args, NULL); 293 ASSERT_EQ(0, fs.ParseManifest(manifest)); 295 EXPECT_EQ(EACCES, fs.Rmdir(Path("/"))) [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
reflist.cpp | 42 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm)) 45 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num) 47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; 51 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum; 53 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap; 66 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm) [all...] |
/external/e2fsprogs/misc/ |
mke2fs.c | 90 static int discard = 1; /* attempt to discard device before fs creation */ 126 "[-r fs-revision] [-E extended-option[,...]]\n" 127 "\t[-t fs-type] [-T usage-type ] [-U UUID] " 181 static void invalid_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk_t blk) 190 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, 202 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); 214 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) 220 sprintf(buf, "badblocks -b %d -X %s%s%s %llu", fs->blocksize, 222 fs->device_name, ext2fs_blocks_count(fs->super)-1) 2365 ext2_filsys fs; local [all...] |
util.h | 25 extern unsigned int figure_journal_size(int size, ext2_filsys fs);
|
/external/chromium_org/third_party/webrtc/common_audio/vad/ |
webrtc_vad.c | 71 int WebRtcVad_Process(VadInst* handle, int fs, const int16_t* audio_frame, 86 if (WebRtcVad_ValidRateAndFrameLength(fs, frame_length) != 0) { 90 if (fs == 48000) { 92 } else if (fs == 32000) { 94 } else if (fs == 16000) { 96 } else if (fs == 8000) {
|
/external/fio/lib/ |
rand.c | 81 unsigned long fill_random_buf(struct frand_state *fs, void *buf, 84 unsigned long r = __rand(fs); 87 r *= (unsigned long) __rand(fs); 93 unsigned long fill_random_buf_percentage(struct frand_state *fs, void *buf, 97 unsigned long r = __rand(fs); 109 r *= (unsigned long) __rand(fs);
|
/external/valgrind/main/none/tests/mips32/ |
MoveIns.stdout.exp | 2 mfc1 $t1, $f0 :: fs 4.676074, rt 0x4095a266 3 mfc1 $t2, $f1 :: fs 272008302207532160516096.000000, rt 0x66666666 4 mfc1 $t3, $f2 :: fs -1.875000, rt 0xbff00000 5 mfc1 $t4, $f3 :: fs 0.000000, rt 0x0 6 mfc1 $t5, $f4 :: fs 1.875000, rt 0x3ff00000 7 mfc1 $t6, $f5 :: fs 0.000000, rt 0x0 8 mfc1 $t7, $f6 :: fs 0.000000, rt 0x252a2e2b 9 mfc1 $v0, $f7 :: fs 0.000000, rt 0x262d2d2a 10 mfc1 $v1, $f8 :: fs nan, rt 0xffffffff 11 mfc1 $s0, $f9 :: fs nan, rt 0xfffffff [all...] |
/external/llvm/include/llvm/Support/ |
FileUtilities.h | 54 sys::fs::remove(Filename.str()); 64 sys::fs::remove(Filename.str());
|