Home
last modified time | relevance | path

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

12345678910>>...126

/external/e2fsprogs/lib/ext2fs/
Dinitialize.c60 struct ext2_super_block *sb = fs->super; in calc_reserved_gdt_blocks()
94 struct ext2_super_block *super; in ext2fs_initialize() local
148 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize()
151 fs->super = super; in ext2fs_initialize()
153 memset(super, 0, SUPERBLOCK_SIZE); in ext2fs_initialize()
155 #define set_field(field, default) (super->field = param->field ? \ in ext2fs_initialize()
157 #define assign_field(field) (super->field = param->field) in ext2fs_initialize()
159 super->s_magic = EXT2_SUPER_MAGIC; in ext2fs_initialize()
160 super->s_state = EXT2_VALID_FS; in ext2fs_initialize()
167 set_field(s_log_cluster_size, super->s_log_block_size+4); in ext2fs_initialize()
[all …]
Dblknum.c22 return (blk - fs->super->s_first_data_block) / in ext2fs_group_of_blk2()
23 fs->super->s_blocks_per_group; in ext2fs_group_of_blk2()
31 return fs->super->s_first_data_block + in ext2fs_group_first_block2()
32 EXT2_GROUPS_TO_BLOCKS(fs->super, group); in ext2fs_group_first_block2()
41 ext2fs_blocks_count(fs->super) - 1 : in ext2fs_group_last_block2()
43 (fs->super->s_blocks_per_group - 1)); in ext2fs_group_last_block2()
54 num_blocks = (ext2fs_blocks_count(fs->super) - in ext2fs_group_blocks_count()
55 fs->super->s_first_data_block) % in ext2fs_group_blocks_count()
56 fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
58 num_blocks = fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
[all …]
Dopenfs.c50 if (!ext2fs_has_feature_meta_bg(fs->super) || in ext2fs_descriptor_block_loc2()
51 (i < fs->super->s_first_meta_bg)) in ext2fs_descriptor_block_loc2()
54 bg = EXT2_DESC_PER_BLOCK(fs->super) * i; in ext2fs_descriptor_block_loc2()
66 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2()
67 ((ret_blk + has_super + fs->super->s_blocks_per_group) < in ext2fs_descriptor_block_loc2()
68 ext2fs_blocks_count(fs->super))) { in ext2fs_descriptor_block_loc2()
69 ret_blk += fs->super->s_blocks_per_group; in ext2fs_descriptor_block_loc2()
179 retval = io_channel_alloc_buf(fs->io, -SUPERBLOCK_SIZE, &fs->super); in ext2fs_open2()
224 fs->super); in ext2fs_open2()
228 memcpy(fs->orig_super, fs->super, SUPERBLOCK_SIZE); in ext2fs_open2()
[all …]
Dclosefs.c40 if (ext2fs_has_feature_sparse_super2(fs->super)) { in ext2fs_bg_has_super()
41 if (group == fs->super->s_backup_bgs[0] || in ext2fs_bg_has_super()
42 group == fs->super->s_backup_bgs[1]) in ext2fs_bg_has_super()
46 if ((group <= 1) || !ext2fs_has_feature_sparse_super(fs->super)) in ext2fs_bg_has_super()
88 if (ext2fs_has_feature_meta_bg(fs->super)) in ext2fs_super_and_bgd_loc2()
89 old_desc_blocks = fs->super->s_first_meta_bg; in ext2fs_super_and_bgd_loc2()
92 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; in ext2fs_super_and_bgd_loc2()
100 meta_bg_size = EXT2_DESC_PER_BLOCK(fs->super); in ext2fs_super_and_bgd_loc2()
103 if (!ext2fs_has_feature_meta_bg(fs->super) || in ext2fs_super_and_bgd_loc2()
104 (meta_bg < fs->super->s_first_meta_bg)) { in ext2fs_super_and_bgd_loc2()
[all …]
Dmkjournal.c71 memcpy(jsb->s_uuid, fs->super->s_uuid, sizeof(fs->super->s_uuid)); in ext2fs_create_journal_superblock()
76 if (ext2fs_has_feature_journal_dev(fs->super)) { in ext2fs_create_journal_superblock()
239 group = ext2fs_group_of_blk2(fs, (ext2fs_blocks_count(fs->super) - in get_midpoint_journal_block()
240 fs->super->s_first_data_block) / 2); in get_midpoint_journal_block()
241 log_flex = 1 << fs->super->s_log_groups_per_flex; in get_midpoint_journal_block()
242 if (fs->super->s_log_groups_per_flex && (group > log_flex)) { in get_midpoint_journal_block()
292 if (ext2fs_has_feature_extents(fs->super)) in write_journal_inode()
322 memcpy(fs->super->s_jnl_blocks, inode.i_block, EXT2_N_BLOCKS*4); in write_journal_inode()
323 fs->super->s_jnl_blocks[15] = inode.i_size_high; in write_journal_inode()
324 fs->super->s_jnl_blocks[16] = inode.i_size; in write_journal_inode()
[all …]
Dmmp.c48 if ((mmp_blk <= fs->super->s_first_data_block) || in ext2fs_mmp_read()
49 (mmp_blk >= ext2fs_blocks_count(fs->super))) in ext2fs_mmp_read()
122 if (fs->super->s_mmp_block < fs->super->s_first_data_block || in ext2fs_mmp_write()
123 fs->super->s_mmp_block > ext2fs_blocks_count(fs->super)) in ext2fs_mmp_write()
205 mmp_s->mmp_check_interval = fs->super->s_mmp_update_interval; in ext2fs_mmp_reset()
209 retval = ext2fs_mmp_write(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_reset()
239 struct ext2_super_block *sb = fs->super; in ext2fs_mmp_init()
289 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
295 mmp_check_interval = fs->super->s_mmp_update_interval; in ext2fs_mmp_start()
321 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_start()
[all …]
Dalloc.c70 ino = (group * fs->super->s_inodes_per_group) + 1; in check_inode_uninit()
71 for (i=0; i < fs->super->s_inodes_per_group; i++, ino++) in check_inode_uninit()
105 group = (dir - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()
106 start_inode = (group * EXT2_INODES_PER_GROUP(fs->super)) + 1; in ext2fs_new_inode()
108 if (start_inode < EXT2_FIRST_INODE(fs->super)) in ext2fs_new_inode()
109 start_inode = EXT2_FIRST_INODE(fs->super); in ext2fs_new_inode()
110 if (start_inode > fs->super->s_inodes_count) in ext2fs_new_inode()
114 ino_in_group = (i - 1) % EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()
115 group = (i - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()
118 upto = i + (EXT2_INODES_PER_GROUP(fs->super) - ino_in_group); in ext2fs_new_inode()
[all …]
/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.m64 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
68 return [super initB1];
70 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
71 …return [super initB2]; // expected-warning {{designated initializer invoked a non-designated initi…
73 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
74 … expected-warning {{designated initializer should only invoke a designated initializer on 'super'}}
95 return [super initB1];
108 …ected-warning {{designated initializer missing a 'super' call to a designated initializer of the s…
109 …return [super initB1]; // expected-warning {{designated initializer invoked a non-designated initi…
119 …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]) {
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 …]
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'
/external/e2fsprogs/resize/
Dresize2fs.c127 fs->super->s_state |= EXT2_ERROR_FS; in resize_fs()
169 *new_size = ext2fs_blocks_count(rfs->new_fs->super); in resize_fs()
180 ext2fs_free_blocks_count(rfs->old_fs->super), in resize_fs()
181 ext2fs_free_blocks_count(rfs->new_fs->super), in resize_fs()
235 rfs->new_fs->super->s_state &= ~EXT2_ERROR_FS; in resize_fs()
271 if (ext2fs_has_feature_resize_inode(fs->super) && in adjust_reserved_gdt_blocks()
275 new = ((int) fs->super->s_reserved_gdt_blocks) + in adjust_reserved_gdt_blocks()
281 fs->super->s_reserved_gdt_blocks = new; in adjust_reserved_gdt_blocks()
296 if (new_size != ext2fs_blocks_count(rfs->new_fs->super) || in resize_group_descriptors()
297 ext2fs_blocks_count(rfs->new_fs->super) >= (1ULL << 32) || in resize_group_descriptors()
[all …]
/external/clang/test/Analysis/
DDeallocUseAfterFreeErrors.m22 // Check that 'self' is not referenced after calling '[super dealloc]'.
31 self = [super init];
38 [super dealloc]; // expected-note {{[super dealloc] called here}}
51 self = [super init];
58 [super dealloc]; // expected-note {{[super dealloc] called here}}
76 [super dealloc]; // expected-note {{[super dealloc] called here}}
95 [super dealloc]; // expected-note {{[super dealloc] called here}}
108 [super dealloc]; // expected-note {{[super dealloc] called here}}
120 self = [super init];
127 [super dealloc]; // expected-note {{[super dealloc] called here}}
[all …]
Dsuperclass.m91 // Warn if UIViewController is our superclass and we do not call super
100 …ller:' instance method in UIViewController subclass 'TestB' is missing a [super addChildViewContro…
101 …pear:' instance method in UIViewController subclass 'TestB' is missing a [super viewDidAppear:] ca…
102 …pear:' instance method in UIViewController subclass 'TestB' is missing a [super viewDidDisappear:]…
103 …nload' instance method in UIViewController subclass 'TestB' is missing a [super viewDidUnload] cal…
104 …dLoad' instance method in UIViewController subclass 'TestB' is missing a [super viewDidLoad] call}}
105 …nload' instance method in UIViewController subclass 'TestB' is missing a [super viewWillUnload] ca…
106 …pear:' instance method in UIViewController subclass 'TestB' is missing a [super viewWillAppear:] c…
107 …pear:' instance method in UIViewController subclass 'TestB' is missing a [super viewWillDisappear:…
108 …rning' instance method in UIViewController subclass 'TestB' is missing a [super didReceiveMemoryWa…
[all …]
DDeallocMissingRelease.m29 self = [super init];
40 [super dealloc];
55 self = [super init];
61 [super dealloc];
89 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass1' was copied by a synt…
102 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass2' was retained by a sy…
118 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass3' was retained by a sy…
141super dealloc]; // expected-warning {{The '_blockPropertyIvar' ivar in 'MyPropertyClass4' was copi…
157 [super dealloc]; // no-warning because it is a weak property
174 …ReturnInDealloc' was retained by a synthesized property but not released before '[super dealloc]'}}
[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/
Dsuper.c82 if ((blk < fs->super->s_first_data_block) || in release_inode_block()
83 (blk >= ext2fs_blocks_count(fs->super))) { in release_inode_block()
239 if ((ino = fs->super->s_last_orphan) == 0) in release_orphan_inodes()
246 fs->super->s_last_orphan = 0; in release_orphan_inodes()
254 if (fs->super->s_state & EXT2_ERROR_FS) in release_orphan_inodes()
257 if ((ino < EXT2_FIRST_INODE(fs->super)) || in release_orphan_inodes()
258 (ino > fs->super->s_inodes_count)) { in release_orphan_inodes()
281 ((next_ino < EXT2_FIRST_INODE(fs->super)) || in release_orphan_inodes()
282 (next_ino > fs->super->s_inodes_count))) { in release_orphan_inodes()
333 if (!ext2fs_has_feature_resize_inode(fs->super)) { in check_resize_inode()
[all …]
Dpass5.c93 if (!ext2fs_has_feature_metadata_csum(ctx->fs->super)) in check_inode_bitmap_checksum()
100 nbytes = (size_t)(EXT2_INODES_PER_GROUP(ctx->fs->super) / 8); in check_inode_bitmap_checksum()
147 if (!ext2fs_has_feature_metadata_csum(ctx->fs->super)) in check_block_bitmap_checksum()
154 nbytes = (size_t)(EXT2_CLUSTERS_PER_GROUP(ctx->fs->super) / 8); in check_block_bitmap_checksum()
168 ctx->fs->super->s_first_data_block) + in check_block_bitmap_checksum()
228 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) { in e2fsck_discard_inodes()
260 EXT2_INODES_PER_BLOCK(fs->super)); in e2fsck_discard_inodes()
261 count -= (blk * EXT2_INODES_PER_BLOCK(fs->super) - start); in e2fsck_discard_inodes()
263 num = count / EXT2_INODES_PER_BLOCK(fs->super); in e2fsck_discard_inodes()
319 blk64_t first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps()
[all …]
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
Dast.py35 super(NodeListBase, self).__init__(**kwargs)
54 return super(NodeListBase, self).__eq__(other) and \
101 super(Attribute, self).__init__(**kwargs)
106 return super(Attribute, self).__eq__(other) and \
126 super(Const, self).__init__(name, **kwargs)
131 return super(Const, self).__eq__(other) and \
142 super(Enum, self).__init__(name, **kwargs)
147 return super(Enum, self).__eq__(other) and \
160 super(EnumValue, self).__init__(name, **kwargs)
165 return super(EnumValue, self).__eq__(other) and \
[all …]
/external/python/cpython3/Lib/test/
Dtest_super.py18 return super().f() + 'B'
21 return (cls, super().cm(), 'B')
25 return super().f() + 'C'
28 return (cls, super().cm(), 'C')
32 return super().f() + 'D'
34 return (cls, super().cm(), 'D')
86 return super().f() + 'E'
94 return super().f()
156 self = super().__new__(cls, name, bases, namespace)
199 return super().mro()
[all …]
/external/python/cpython3/Lib/unittest/test/
Dsupport.py43 super().__init__()
47 super().startTest(test)
51 super().startTestRun()
55 super().stopTest(test)
59 super().stopTestRun()
63 super().addFailure(*args)
67 super().addSuccess(*args)
71 super().addError(*args)
75 super().addSkip(*args)
79 super().addExpectedFailure(*args)
[all …]
/external/e2fsprogs/misc/
Dtune2fs.c203 if (!ext2fs_has_feature_journal_dev(jfs->super)) { in get_journal_sb()
254 uuid_unparse(fs->super->s_journal_uuid, buf); in remove_journal_device()
259 ext2fs_find_block_device(fs->super->s_journal_dev); in remove_journal_device()
291 if (!journal_user(fs->super->s_uuid, jsb->s_users, nr_users)) { in remove_journal_device()
321 fs->super->s_journal_dev = 0; in remove_journal_device()
322 memset(fs->super->s_jnl_blocks, 0, sizeof(fs->super->s_jnl_blocks)); in remove_journal_device()
323 uuid_clear(fs->super->s_journal_uuid); in remove_journal_device()
346 ext2fs_free_blocks_count_add(fs->super, EXT2FS_CLUSTER_RATIO(fs)); in release_blocks_proc()
357 ino_t ino = fs->super->s_journal_inum; in remove_journal_inode()
391 fs->super->s_journal_inum = 0; in remove_journal_inode()
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_errors.py38 super(CommandFailedError, self).__init__(message)
41 return (super(CommandFailedError, self).__eq__(other)
67 super(_BaseCommandFailedError, self).__init__(message, device_serial)
70 return (super(_BaseCommandFailedError, self).__eq__(other)
81 super_result = super(_BaseCommandFailedError, self).__reduce__()
96 super(AdbCommandFailedError, self).__init__(
106 super(FastbootCommandFailedError, self).__init__(
115 super(DeviceVersionError, self).__init__(message, device_serial)
136 super(AdbShellCommandFailedError, self).__init__(
142 super_result = super(AdbShellCommandFailedError, self).__reduce__()
[all …]
/external/e2fsprogs/ext2ed/
Dsuper_com.c28 struct ext2_super_block *super; in type_ext2_super_block___show() local
29 super=&type_data.u.t_ext2_super_block; in type_ext2_super_block___show()
33 if (ext2fs_blocks_count(super) != 0) { in type_ext2_super_block___show()
34 …w (show_pad,"%2.2f%%",100*(float) ext2fs_r_blocks_count(super)/ (float) ext2fs_blocks_count(super)… in type_ext2_super_block___show()
35 …show_pad,"%2.2f%%",100*(float) ext2fs_free_blocks_count(super)/ (float) ext2fs_blocks_count(super)… in type_ext2_super_block___show()
38 if (super->s_inodes_count != 0) { in type_ext2_super_block___show()
39 …(show_pad,4,40);wprintw (show_pad,"%2.2f%%",100*(float) super->s_free_inodes_count/ (float) super-… in type_ext2_super_block___show()
43 switch (super->s_log_block_size) { in type_ext2_super_block___show()

12345678910>>...126