/external/e2fsprogs/lib/ext2fs/ |
D | initialize.c | 60 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 …]
|
D | blknum.c | 22 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 …]
|
D | openfs.c | 49 if (!ext2fs_has_feature_meta_bg(fs->super) || in ext2fs_descriptor_block_loc2() 50 (i < fs->super->s_first_meta_bg)) in ext2fs_descriptor_block_loc2() 53 bg = EXT2_DESC_PER_BLOCK(fs->super) * i; in ext2fs_descriptor_block_loc2() 65 if (group_block != fs->super->s_first_data_block && in ext2fs_descriptor_block_loc2() 66 ((ret_blk + has_super + fs->super->s_blocks_per_group) < in ext2fs_descriptor_block_loc2() 67 ext2fs_blocks_count(fs->super))) { in ext2fs_descriptor_block_loc2() 68 ret_blk += fs->super->s_blocks_per_group; in ext2fs_descriptor_block_loc2() 180 retval = io_channel_alloc_buf(fs->io, -SUPERBLOCK_SIZE, &fs->super); in ext2fs_open2() 225 fs->super); in ext2fs_open2() 229 memcpy(fs->orig_super, fs->super, SUPERBLOCK_SIZE); in ext2fs_open2() [all …]
|
D | closefs.c | 40 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 …]
|
/external/llvm-project/clang/test/SemaObjC/ |
D | super.m | 24 [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 …]
|
D | attr-designated-init.m | 64 …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 …]
|
D | call-super-2.m | 39 …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]) { [all …]
|
/external/clang/test/SemaObjC/ |
D | super.m | 24 [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 …]
|
D | attr-designated-init.m | 64 …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 …]
|
D | call-super-2.m | 39 …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]) {
|
/external/clang/test/Analysis/ |
D | DeallocUseAfterFreeErrors.m | 22 // 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 …]
|
D | superclass.m | 91 // 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 …]
|
D | DeallocMissingRelease.m | 29 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… 141 …super 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 …]
|
/external/llvm-project/clang/test/Analysis/ |
D | DeallocUseAfterFreeErrors.m | 22 // 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 …]
|
D | superclass.m | 91 // 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 …]
|
D | DeallocMissingRelease.m | 30 self = [super init]; 41 [super dealloc]; 56 self = [super init]; 62 [super dealloc]; 90 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass1' was copied by a synt… 103 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass2' was retained by a sy… 119 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass3' was retained by a sy… 142 …super dealloc]; // expected-warning {{The '_blockPropertyIvar' ivar in 'MyPropertyClass4' was copi… 158 [super dealloc]; // no-warning because it is a weak property 175 …ReturnInDealloc' was retained by a synthesized property but not released before '[super dealloc]'}} [all …]
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 127 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/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | objc-super-self.m | 1 // RUN: %check_clang_tidy %s objc-super-self %t 14 return [super self]; 15 …cation of 'self' in initializer; did you mean to invoke a superclass initializer? [objc-super-self] 16 // CHECK-FIXES: return [super init]; 20 self = [super self]; 21 …cation of 'self' in initializer; did you mean to invoke a superclass initializer? [objc-super-self] 22 // CHECK-FIXES: self = [super init]; 29 #define INITIALIZE() [super self] category 33 …cation of 'self' in initializer; did you mean to invoke a superclass initializer? [objc-super-self] 37 #define INITIALIZER_IMPL() return [super self] [all …]
|
/external/e2fsprogs/e2fsck/ |
D | super.c | 111 if ((blk < fs->super->s_first_data_block) || in release_inode_block() 112 (blk >= ext2fs_blocks_count(fs->super))) { in release_inode_block() 272 if (!ext2fs_has_feature_quota(ctx->fs->super)) in e2fsck_read_all_quotas() 280 qf_ino = *quota_sb_inump(ctx->fs->super, qtype); in e2fsck_read_all_quotas() 299 if (!ext2fs_has_feature_quota(ctx->fs->super)) in e2fsck_write_all_quotas() 328 if ((ino = fs->super->s_last_orphan) == 0) in release_orphan_inodes() 342 fs->super->s_last_orphan = 0; in release_orphan_inodes() 350 if (fs->super->s_state & EXT2_ERROR_FS) { in release_orphan_inodes() 356 if ((ino < EXT2_FIRST_INODE(fs->super)) || in release_orphan_inodes() 357 (ino > fs->super->s_inodes_count)) { in release_orphan_inodes() [all …]
|
D | pass5.c | 91 if (!ext2fs_has_feature_metadata_csum(ctx->fs->super)) in check_inode_bitmap_checksum() 98 nbytes = (size_t)(EXT2_INODES_PER_GROUP(ctx->fs->super) / 8); in check_inode_bitmap_checksum() 145 if (!ext2fs_has_feature_metadata_csum(ctx->fs->super)) in check_block_bitmap_checksum() 152 nbytes = (size_t)(EXT2_CLUSTERS_PER_GROUP(ctx->fs->super) / 8); in check_block_bitmap_checksum() 166 ctx->fs->super->s_first_data_block) + in check_block_bitmap_checksum() 226 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) { in e2fsck_discard_inodes() 258 EXT2_INODES_PER_BLOCK(fs->super)); in e2fsck_discard_inodes() 259 count -= (blk * EXT2_INODES_PER_BLOCK(fs->super) - start); in e2fsck_discard_inodes() 261 num = count / EXT2_INODES_PER_BLOCK(fs->super); in e2fsck_discard_inodes() 317 blk64_t first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps() [all …]
|
/external/libcups/scheduler/ |
D | filter.c | 64 src, src ? src->super : "???", src ? src->type : "???", in mimeAddFilter() 65 dst, dst ? dst->super : "???", dst ? dst->type : "???", in mimeAddFilter() 149 src, src ? src->super : "???", src ? src->type : "???", in mimeFilter() 150 dst, dst ? dst->super : "???", dst ? dst->type : "???", in mimeFilter() 178 src, src ? src->super : "???", src ? src->type : "???", in mimeFilter2() 180 dst, dst ? dst->super : "???", dst ? dst->type : "???", in mimeFilter2() 220 DEBUG_printf(("1mimeFilter2: %s/%s %s/%s %d %s", filter->src->super, in mimeFilter2() 221 filter->src->type, filter->dst->super, filter->dst->type, in mimeFilter2() 244 src, src ? src->super : "???", src ? src->type : "???", in mimeFilterLookup() 245 dst, dst ? dst->super : "???", dst ? dst->type : "???")); in mimeFilterLookup() [all …]
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/ |
D | ast.py | 35 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 \ 127 super(Const, self).__init__(mojom_name, **kwargs) 133 return super(Const, self).__eq__(other) and \ 145 super(Enum, self).__init__(mojom_name, **kwargs) 150 return super(Enum, self).__eq__(other) and \ 163 super(EnumValue, self).__init__(mojom_name, **kwargs) 168 return super(EnumValue, self).__eq__(other) and \ [all …]
|
/external/bcc/src/lua/bcc/vendor/ |
D | middleclass.lua | 63 if f == nil and aClass.super then 64 f = aClass.super.__instanceDict[name] 73 local function _createClass(name, super) 77 local aClass = { name = name, super = super, static = {}, 81 if super then 82 …setmetatable(aClass.static, { __index = function(_,k) return rawget(dict,k) or super.static[k] end… 157 type(self.super) == 'table' and 158 ( self.super == other or 159 type(self.super.isSubclassOf) == 'function' and 160 self.super:isSubclassOf(other) ) [all …]
|
/external/libgav1/libgav1/src/utils/ |
D | vector.h | 287 using super = internal::VectorBase<T>; in resize() local 288 if (super::num_items_ < new_num_items) { in resize() 289 if (super::capacity_ < new_num_items) { in resize() 290 if (!super::reserve(internal::NextCapacity(new_num_items))) { in resize() 294 super::num_items_ = new_num_items; in resize() 296 while (super::num_items_ > new_num_items) { in resize() 297 --super::num_items_; in resize() 298 super::items_[super::num_items_].~T(); in resize() 312 using super = internal::VectorBase<T>; in resize() local 313 if (super::num_items_ < new_num_items) { in resize() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_errors.py | 41 super(CommandFailedError, self).__init__(message) 44 return (super(CommandFailedError, self).__eq__(other) 74 super(_BaseCommandFailedError, self).__init__(message, device_serial) 77 return (super(_BaseCommandFailedError, self).__eq__(other) 87 super_result = super(_BaseCommandFailedError, self).__reduce__() 105 super(AdbCommandFailedError, self).__init__( 122 super(FastbootCommandFailedError, self).__init__( 134 super(DeviceVersionError, self).__init__(message, device_serial) 147 super(AdbVersionError, 171 super(AdbShellCommandFailedError, self).__init__( [all …]
|