Home
last modified time | relevance | path

Searched refs:super (Results 1 – 25 of 1443) sorted by relevance

12345678910>>...58

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c55 struct ext2_super_block *sb = fs->super; in calc_reserved_gdt_blocks()
89 struct ext2_super_block *super; in ext2fs_initialize() local
135 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize()
138 fs->super = super; in ext2fs_initialize()
140 memset(super, 0, SUPERBLOCK_SIZE); in ext2fs_initialize()
142 #define set_field(field, default) (super->field = param->field ? \ in ext2fs_initialize()
144 #define assign_field(field) (super->field = param->field) in ext2fs_initialize()
146 super->s_magic = EXT2_SUPER_MAGIC; in ext2fs_initialize()
147 super->s_state = EXT2_VALID_FS; in ext2fs_initialize()
155 set_field(s_log_cluster_size, super->s_log_block_size+4); in ext2fs_initialize()
[all …]
Dblknum.c21 return (blk - fs->super->s_first_data_block) / in ext2fs_group_of_blk2()
22 fs->super->s_blocks_per_group; in ext2fs_group_of_blk2()
30 return fs->super->s_first_data_block + in ext2fs_group_first_block2()
31 ((blk64_t)group * fs->super->s_blocks_per_group); in ext2fs_group_first_block2()
40 ext2fs_blocks_count(fs->super) - 1 : in ext2fs_group_last_block2()
42 (fs->super->s_blocks_per_group - 1)); in ext2fs_group_last_block2()
53 num_blocks = (ext2fs_blocks_count(fs->super) - in ext2fs_group_blocks_count()
54 fs->super->s_first_data_block) % in ext2fs_group_blocks_count()
55 fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
57 num_blocks = fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
[all …]
Dopenfs.c42 if (!(fs->super->s_feature_incompat & EXT2_FEATURE_INCOMPAT_META_BG) || in ext2fs_descriptor_block_loc2()
43 (i < fs->super->s_first_meta_bg)) in ext2fs_descriptor_block_loc2()
46 bg = EXT2_DESC_PER_BLOCK(fs->super) * i; in ext2fs_descriptor_block_loc2()
58 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2()
59 ((ret_blk + fs->super->s_blocks_per_group) < in ext2fs_descriptor_block_loc2()
60 ext2fs_blocks_count(fs->super))) in ext2fs_descriptor_block_loc2()
61 ret_blk += fs->super->s_blocks_per_group; in ext2fs_descriptor_block_loc2()
147 retval = io_channel_alloc_buf(fs->io, -SUPERBLOCK_SIZE, &fs->super); in ext2fs_open2()
192 fs->super); in ext2fs_open2()
196 memcpy(fs->orig_super, fs->super, SUPERBLOCK_SIZE); in ext2fs_open2()
[all …]
Dalloc.c38 if (!(EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in check_block_uninit()
48 if (fs->super->s_feature_incompat & in check_block_uninit()
50 old_desc_blocks = fs->super->s_first_meta_bg; in check_block_uninit()
52 old_desc_blocks = fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in check_block_uninit()
54 for (i=0; i < fs->super->s_blocks_per_group; i++, blk++) in check_block_uninit()
58 for (i=0; i < fs->super->s_blocks_per_group; i++, blk++) { in check_block_uninit()
85 if (!(EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in check_inode_uninit()
90 ino = (group * fs->super->s_inodes_per_group) + 1; in check_inode_uninit()
91 for (i=0; i < fs->super->s_inodes_per_group; i++, ino++) in check_inode_uninit()
124 group = (dir - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()
[all …]
Dclosefs.c37 if (!(fs->super->s_feature_ro_compat & in ext2fs_bg_has_super()
80 if (fs->super->s_feature_incompat & EXT2_FEATURE_INCOMPAT_META_BG) in ext2fs_super_and_bgd_loc2()
81 old_desc_blocks = fs->super->s_first_meta_bg; in ext2fs_super_and_bgd_loc2()
84 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc2()
92 meta_bg_size = EXT2_DESC_PER_BLOCK(fs->super); in ext2fs_super_and_bgd_loc2()
95 if (!(fs->super->s_feature_incompat & EXT2_FEATURE_INCOMPAT_META_BG) || in ext2fs_super_and_bgd_loc2()
96 (meta_bg < fs->super->s_first_meta_bg)) { in ext2fs_super_and_bgd_loc2()
165 meta_bg_size = EXT2_DESC_PER_BLOCK(fs->super); in ext2fs_super_and_bgd_loc()
185 struct ext2_super_block *super) in write_primary_superblock() argument
195 super); in write_primary_superblock()
[all …]
Dmmp.c38 if ((mmp_blk <= fs->super->s_first_data_block) || in ext2fs_mmp_read()
39 (mmp_blk >= ext2fs_blocks_count(fs->super))) in ext2fs_mmp_read()
103 if (fs->super->s_mmp_block < fs->super->s_first_data_block || in ext2fs_mmp_write()
104 fs->super->s_mmp_block > ext2fs_blocks_count(fs->super)) in ext2fs_mmp_write()
174 mmp_s->mmp_check_interval = fs->super->s_mmp_update_interval; in ext2fs_mmp_reset()
178 retval = ext2fs_mmp_write(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_reset()
197 struct ext2_super_block *sb = fs->super; in ext2fs_mmp_init()
243 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
249 mmp_check_interval = fs->super->s_mmp_update_interval; in ext2fs_mmp_start()
275 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
[all …]
Dmkjournal.c69 memcpy(jsb->s_uuid, fs->super->s_uuid, sizeof(fs->super->s_uuid)); in ext2fs_create_journal_superblock()
74 if (fs->super->s_feature_incompat & in ext2fs_create_journal_superblock()
331 if (fs->super->s_feature_incompat & EXT3_FEATURE_INCOMPAT_EXTENTS) { in write_journal_inode()
342 group = ext2fs_group_of_blk2(fs, (ext2fs_blocks_count(fs->super) - in write_journal_inode()
343 fs->super->s_first_data_block) / 2); in write_journal_inode()
344 log_flex = 1 << fs->super->s_log_groups_per_flex; in write_journal_inode()
345 if (fs->super->s_log_groups_per_flex && (group > log_flex)) { in write_journal_inode()
383 fs->super->s_feature_ro_compat |= in write_journal_inode()
394 memcpy(fs->super->s_jnl_blocks, inode.i_block, EXT2_N_BLOCKS*4); in write_journal_inode()
395 fs->super->s_jnl_blocks[15] = inode.i_size_high; in write_journal_inode()
[all …]
Di_block.c34 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE) in ext2fs_iblk_add_blocks()
37 if (!(fs->super->s_feature_ro_compat & in ext2fs_iblk_add_blocks()
45 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE) in ext2fs_iblk_add_blocks()
58 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE) in ext2fs_iblk_sub_blocks()
61 if (!(fs->super->s_feature_ro_compat & in ext2fs_iblk_sub_blocks()
72 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE) in ext2fs_iblk_sub_blocks()
80 if (!(fs->super->s_feature_ro_compat & in ext2fs_iblk_set()
87 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE) in ext2fs_iblk_set()
Dalloc_stats.c23 if (ino > fs->super->s_inodes_count) { in ext2fs_inode_alloc_stats2()
40 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in ext2fs_inode_alloc_stats2()
42 ext2_ino_t first_unused_inode = fs->super->s_inodes_per_group - in ext2fs_inode_alloc_stats2()
44 group * fs->super->s_inodes_per_group + 1; in ext2fs_inode_alloc_stats2()
47 …ext2fs_bg_itable_unused_set(fs, group, group * fs->super->s_inodes_per_group + fs->super->s_inodes… in ext2fs_inode_alloc_stats2()
51 fs->super->s_free_inodes_count -= inuse; in ext2fs_inode_alloc_stats2()
66 if (blk >= ext2fs_blocks_count(fs->super)) { in ext2fs_block_alloc_stats2()
80 ext2fs_free_blocks_count_add(fs->super, in ext2fs_block_alloc_stats2()
/external/clang/test/SemaObjC/
Dsuper.m24 [super iMethod]; // expected-warning{{'A' may not respond to 'iMethod'}}
26 // Use of super in a block is ok and does codegen to the right thing.
29 [super instanceMethod];
34 [super cMethod]; // expected-warning{{method '+cMethod' not found (return type defaults to 'id')}}
36 id X[] = { [ super superClassMethod] };
38 [ super.superClassMethod iMethod],
39 super.superClassMethod,
40 (id)super.superClassMethod // not a cast of super: rdar://7853261
50 void f(id super) {
51 [super m];
[all …]
Dattr-designated-init.m63 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
67 return [super initB1];
69 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
70 …return [super initB2]; // expected-warning {{designated initializer invoked a non-designated initi…
72 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
73 … expected-warning {{designated initializer should only invoke a designated initializer on 'super'}}
94 return [super initB1];
107 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
108 …return [super initB1]; // expected-warning {{designated initializer invoked a non-designated initi…
118 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
[all …]
Dcall-super-2.m39 …return i + (size_t)[super class_func0]; // expected-warning {{class method '+class_func0' not fo…
44 …i += [(id <Func>)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an expre…
46 …return i + [(Class <Func>)super class_func0]; // // expected-error {{cannot cast 'super' (it isn't…
50 …return [(Object <Func> *)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an…
54 …return [(Derived <Func> *)super class_func0]; // expected-error {{cannot cast 'super' (it isn't an…
72 …return i + (size_t)[super instance_func0]; // expected-warning {{'Object' may not respond to 'inst…
76 …return [(id <Func>)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't an exp…
80 …return [(Object <Func> *)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't …
84 …return [(Derived <Func> *)super instance_func0]; // expected-error {{cannot cast 'super' (it isn't…
102 if (self = [super initWithInt: i]) {
Dwarn-missing-super.m36 [super dealloc]; // Shouldn't warn
39 [super finalize]; // Shouldn't warn
44 // CHECK: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
48 // CHECK-GC: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call
49 // CHECK-GC: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] call
53 // CHECK-GC-ONLY: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] ca…
57 // CHECK-ARC: warn-missing-super.m:36:10: error: ARC forbids explicit message send of 'dealloc'
Dsuper-dealloc-attribute.m35 [super MyDealloc];
40 [super MyDealloc];
41 } // expected-warning {{method possibly missing a [super XXX] call}}
44 - (void) AnnotMyDeallocMeth{} // expected-warning {{method possibly missing a [super AnnotMyDealloc…
47 + (void)registerClass:(id)name {} // expected-warning {{method possibly missing a [super registerCl…
54 - (void) MyDeallocMeth {} // expected-warning {{method possibly missing a [super MyDeallocMeth] cal…
55 - (void) AnnotMyDeallocMeth{} // expected-warning {{method possibly missing a [super AnnotMyDealloc…
56 - (void) AnnotMeth{}; // expected-warning {{method possibly missing a [super AnnotMeth] call}}
65 - (void) MyDeallocMeth {} // expected-warning {{method possibly missing a [super MyDeallocMeth] cal…
66 - (void) AnnotMyDeallocMeth{} // expected-warning {{method possibly missing a [super AnnotMyDealloc…
[all …]
Dsuper-property-notation.m17 return super.classGetter;
21 int x = super.getter;
38 super.foo = foo; // expected-error {{'ClassBase' cannot use 'super' because it is a root class}}
39 …[super setFoo:foo]; // expected-error {{'ClassBase' cannot use 'super' because it is a root class}}
49 super.foo = foo; // must work with no warning
50 [super setFoo:foo]; // works with no warning
56 return super.foo; // expected-error {{expected identifier or '('}}
/external/e2fsprogs/resize/
Dresize2fs.c110 fs->super->s_state |= EXT2_ERROR_FS; in resize_fs()
135 *new_size = ext2fs_blocks_count(rfs->new_fs->super); in resize_fs()
146 ext2fs_free_blocks_count(rfs->old_fs->super), in resize_fs()
147 ext2fs_free_blocks_count(rfs->new_fs->super), in resize_fs()
193 rfs->new_fs->super->s_state &= ~EXT2_ERROR_FS; in resize_fs()
232 if (!(EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in fix_uninit_block_bitmaps()
283 (blk < ext2fs_blocks_count(fs->super))) { in free_gdp_blocks()
290 (blk < ext2fs_blocks_count(fs->super))) { in free_gdp_blocks()
297 (blk >= ext2fs_blocks_count(fs->super))) in free_gdp_blocks()
302 if (blk >= ext2fs_blocks_count(fs->super)) in free_gdp_blocks()
[all …]
/external/clang/test/Analysis/
Dsuperclass.m72 // Warn if UIViewController is our superclass and we do not call super
81 …ller:' instance method in UIViewController subclass 'TestB' is missing a [super addChildViewContro…
82 …pear:' instance method in UIViewController subclass 'TestB' is missing a [super viewDidAppear:] ca…
83 …pear:' instance method in UIViewController subclass 'TestB' is missing a [super viewDidDisappear:]…
84 …nload' instance method in UIViewController subclass 'TestB' is missing a [super viewDidUnload] cal…
85 …dLoad' instance method in UIViewController subclass 'TestB' is missing a [super viewDidLoad] call}}
86 …nload' instance method in UIViewController subclass 'TestB' is missing a [super viewWillUnload] ca…
87 …pear:' instance method in UIViewController subclass 'TestB' is missing a [super viewWillAppear:] c…
88 …pear:' instance method in UIViewController subclass 'TestB' is missing a [super viewWillDisappear:…
89 …rning' instance method in UIViewController subclass 'TestB' is missing a [super didReceiveMemoryWa…
[all …]
Dself-init.m87 self = [super init];
95 [super init];
99 …return self; // expected-warning {{Returning 'self' while it is not set to the result of '[(super
103 if ((self = [super init]))
130 if ((self = [super init])) {
152 [super init];
157 if (self == [super init]) {
170 [super init];
172 …return self; // expected-warning {{Returning 'self' while it is not set to the result of '[(super
176 if (!(self = [super init]))
[all …]
/external/e2fsprogs/e2fsck/
Dpass5.c110 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) { in e2fsck_discard_inodes()
142 EXT2_INODES_PER_BLOCK(fs->super)); in e2fsck_discard_inodes()
143 count -= (blk * EXT2_INODES_PER_BLOCK(fs->super) - start); in e2fsck_discard_inodes()
145 num = count / EXT2_INODES_PER_BLOCK(fs->super); in e2fsck_discard_inodes()
201 blk64_t first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps()
226 if ((B2C(fs->super->s_first_data_block) < in check_block_bitmaps()
228 (B2C(ext2fs_blocks_count(fs->super)-1) > in check_block_bitmaps()
231 pctx.blk = B2C(fs->super->s_first_data_block); in check_block_bitmaps()
232 pctx.blk2 = B2C(ext2fs_blocks_count(fs->super) - 1); in check_block_bitmaps()
241 if ((B2C(fs->super->s_first_data_block) < in check_block_bitmaps()
[all …]
Dsuper.c81 if ((blk < fs->super->s_first_data_block) || in release_inode_block()
82 (blk >= ext2fs_blocks_count(fs->super))) { in release_inode_block()
238 if ((ino = fs->super->s_last_orphan) == 0) in release_orphan_inodes()
245 fs->super->s_last_orphan = 0; in release_orphan_inodes()
253 if (fs->super->s_state & EXT2_ERROR_FS) in release_orphan_inodes()
256 if ((ino < EXT2_FIRST_INODE(fs->super)) || in release_orphan_inodes()
257 (ino > fs->super->s_inodes_count)) { in release_orphan_inodes()
280 ((next_ino < EXT2_FIRST_INODE(fs->super)) || in release_orphan_inodes()
281 (next_ino > fs->super->s_inodes_count))) { in release_orphan_inodes()
332 if (!(fs->super->s_feature_compat & in check_resize_inode()
[all …]
/external/e2fsprogs/ext2ed/
Dsuper_com.c27 struct ext2_super_block *super; in type_ext2_super_block___show() local
28 super=&type_data.u.t_ext2_super_block; in type_ext2_super_block___show()
32 if (ext2fs_blocks_count(super) != 0) { in type_ext2_super_block___show()
33 …w (show_pad,"%2.2f%%",100*(float) ext2fs_r_blocks_count(super)/ (float) ext2fs_blocks_count(super)… in type_ext2_super_block___show()
34 …show_pad,"%2.2f%%",100*(float) ext2fs_free_blocks_count(super)/ (float) ext2fs_blocks_count(super)… in type_ext2_super_block___show()
37 if (super->s_inodes_count != 0) { in type_ext2_super_block___show()
38 …(show_pad,4,40);wprintw (show_pad,"%2.2f%%",100*(float) super->s_free_inodes_count/ (float) super-… in type_ext2_super_block___show()
42 switch (super->s_log_block_size) { in type_ext2_super_block___show()
/external/smali/smali/src/test/resources/LexerTest/
DDirectiveTest.tokens2 SUPER_DIRECTIVE(".super")
35 SUPER_DIRECTIVE(".super")
38 SUPER_DIRECTIVE(".super")
41 SUPER_DIRECTIVE(".super")
44 SUPER_DIRECTIVE(".super")
47 SUPER_DIRECTIVE(".super")
55 SUPER_DIRECTIVE(".super")
57 SUPER_DIRECTIVE(".super")
58 SUPER_DIRECTIVE(".super")
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DASTParser.stg16 <super.tokenRef(...)>
23 tokenRefBang(token,label,elementIndex,terminalOptions) ::= "<super.tokenRef(...)>"
26 <super.tokenRef(...)>
49 <super.matchSet(postmatchCode={<gatedAction({@adaptor.add_child( root_0, <createNodeFromToken(...)>…
58 matchSetBang(s,label,elementIndex,postmatchCode) ::= "<super.matchSet(...)>"
63 <super.matchSet(postmatchCode={<gatedAction({root_0 = @adaptor.become_root( <createNodeFromToken(..…
73 <super.ruleRef(...)>
79 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>"
84 <super.ruleRef(...)>
110 <super.wildcard(...)>
[all …]
/external/e2fsprogs/misc/
Ddumpe2fs.c123 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) in print_bg_opts()
144 } else if (fs->super->s_feature_incompat & in print_bg_rel_offset()
162 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block); in list_desc()
166 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in list_desc()
170 block_nbytes = EXT2_CLUSTERS_PER_GROUP(fs->super) / 8; in list_desc()
171 inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in list_desc()
178 inode_blocks_per_group = ((fs->super->s_inodes_per_group * in list_desc()
179 EXT2_INODE_SIZE(fs->super)) + in list_desc()
180 EXT2_BLOCK_SIZE(fs->super) - 1) / in list_desc()
181 EXT2_BLOCK_SIZE(fs->super); in list_desc()
[all …]
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3commontree.c203 tree->baseTree.super = tree; in newPoolTree()
226 ((pANTLR3_COMMON_TREE)(newTree->super))->token = tree->token; in newFromTree()
246 ((pANTLR3_COMMON_TREE)(newTree->super))->token = token; in newFromToken()
299 tree->baseTree.super = tree; in antlr3SetCTAPI()
376 …children = ((pANTLR3_COMMON_TREE)(tree->super))->factory->vFactory->newVector(((pANTLR3_COMMON_TRE… in createChildrenList()
389 return ((pANTLR3_COMMON_TREE)(tree->super))->token; in getToken()
400 theOld = (pANTLR3_COMMON_TREE)(tree->super); in dupNode()
412 if (((pANTLR3_COMMON_TREE)(tree->super))->token == NULL) in isNilNode()
427 theTree = (pANTLR3_COMMON_TREE)(tree->super); in getType()
450 cTree = (pANTLR3_COMMON_TREE)(tree->super); in getLine()
[all …]

12345678910>>...58