Home
last modified time | relevance | path

Searched defs:sb (Results 1 – 25 of 52) sorted by relevance

123

/system/core/libutils/
DSharedBuffer.cpp37 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size)); in alloc() local
60 SharedBuffer* sb = alloc(mSize); in edit() local
84 SharedBuffer* sb = alloc(newSize); in editResize() local
104 SharedBuffer* sb = alloc(new_size); in reset() local
DVectorImpl.cpp88 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in editArrayImpl() local
344 SharedBuffer* sb = SharedBuffer::alloc(new_allocation_size); in setCapacity() local
369 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in release_storage() local
416 SharedBuffer* sb = cur_sb->editResize(new_alloc_size); in _grow() local
423 SharedBuffer* sb = SharedBuffer::alloc(new_alloc_size); in _grow() local
483 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _shrink() local
490 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); in _shrink() local
/system/extras/squashfs_utils/
Dsquashfs_utils.c43 const struct squashfs_super_block *sb = in squashfs_parse_sb_buffer() local
63 struct squashfs_super_block sb; in squashfs_parse_sb() local
/system/extras/ext4_utils/
Dext4_utils.cpp94 void read_sb(int fd, struct ext4_super_block *sb) in read_sb()
188 void ext4_parse_sb_info(struct ext4_super_block *sb) in ext4_parse_sb_info()
272 struct ext4_super_block sb; in read_ext() local
Dext4_sb.cpp21 int ext4_parse_sb(struct ext4_super_block *sb, struct fs_info *info) in ext4_parse_sb()
/system/extras/tests/fstest/
Drecovery_test.cpp81 bool getSuperBlock(const int blk_fd, struct ext4_super_block* sb) { in getSuperBlock()
102 struct ext4_super_block sb; in setSbErrorBit() local
132 struct ext4_super_block sb; in corruptGdtFreeBlock() local
312 struct ext4_super_block sb; in TEST_F() local
/system/core/fs_mgr/libvbmeta/
Dutility.cpp33 struct stat sb; in GetFileSize() local
/system/extras/pagecache/
Ddumpcache.c75 static int store_num_cached(const char* fpath, const struct stat *sb) { in store_num_cached()
110 static int scan_entry(const char *fpath, const struct stat *sb, int typeflag, in scan_entry()
/system/sepolicy/tools/sepolicy-analyze/
Dutils.c28 struct stat sb; in load_policy() local
/system/core/libprocessgroup/cgrouprc/
Dcgroup_file.cpp37 struct stat sb; in LoadRcFile() local
/system/extras/f2fs_utils/
Df2fs_sparseblock.c35 static void dbg_print_raw_sb_info(struct f2fs_super_block *sb) in dbg_print_raw_sb_info()
189 static int read_f2fs_sb(int fd, struct f2fs_super_block *sb) in read_f2fs_sb()
208 struct f2fs_super_block sb; in get_f2fs_filesystem_size_sec() local
262 int get_valid_checkpoint_info(int fd, struct f2fs_super_block *sb, struct f2fs_checkpoint **cp, st… in get_valid_checkpoint_info()
381 struct f2fs_super_block *sb = NULL; in generate_f2fs_info() local
/system/core/libcutils/
Dfs.cpp50 struct stat sb; in fs_prepare_path_impl() local
208 struct stat sb; in fs_mkdirs() local
/system/core/fs_mgr/
Dfs_mgr.cpp310 struct ext4_super_block* sb, int* fs_stat) { in read_ext4_superblock()
364 ext4_super_block sb; in fs_mgr_is_ext4() local
385 const struct ext4_super_block* sb, int* fs_stat) { in tune_quota()
426 const struct ext4_super_block* sb, int* fs_stat) { in tune_reserved_size()
468 const struct ext4_super_block* sb, int* fs_stat) { in tune_encrypt()
513 const struct ext4_super_block* sb, int* fs_stat) { in tune_verity()
549 static void tune_casefold(const std::string& blk_device, const struct ext4_super_block* sb, in tune_casefold()
590 const struct ext4_super_block* sb, int* fs_stat) { in tune_metadata_csum()
663 __le32 sb; in fs_mgr_is_f2fs() local
688 struct ext4_super_block sb; in prepare_fs_for_mount() local
[all …]
/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc.c135 OI_UINT sb; in computeBitneed() local
337 OI_UINT sb; in oneChannelBitAllocation() local
/system/core/adb/
Dadb_utils.cpp77 struct stat sb; in directory_exists() local
124 struct stat sb; in mkdirs() local
/system/core/adb/client/
Dadb_install.cpp198 struct stat sb; in install_app_streamed() local
552 struct stat sb; in install_multiple_app_streamed() local
611 struct stat sb; in install_multiple_app_streamed() local
867 struct stat sb; in install_multi_package() local
/system/vold/
DUtils.cpp229 struct stat sb; in CreateDir() local
559 struct statvfs sb; in GetFreeBytes() local
738 struct stat sb; in BuildDataUserCePath() local
754 struct stat sb; in GetDevice() local
964 struct stat sb; in WaitForFile() local
/system/libziparchive/
Dziptool.cpp103 struct stat sb; in MakeDirectoryHierarchy() local
239 struct stat sb; in ExtractOne() local
/system/core/init/
Dmount_handler.cpp83 struct stat sb; in SetMountProperty() local
Dpersistent_properties.cpp79 struct stat sb; in LoadLegacyPersistentProperties() local
Dfirmware_handler.cpp218 struct stat sb; in ProcessFirmwareEvent() local
/system/timezone/input_tools/android/common/src/main/java/com/android/libcore/timezone/util/
DErrors.java79 StringBuilder sb = new StringBuilder(); in asString() local
/system/extras/ext4_utils/include/ext4_utils/
Dext4.h363 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & EXT4_MOUNT_##opt) argument
454 #define EXT4_SB(sb) (sb) argument
472 #define EXT4_HAS_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask… argument
473 #define EXT4_HAS_RO_COMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le3… argument
474 #define EXT4_HAS_INCOMPAT_FEATURE(sb,mask) ((EXT4_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(… argument
475 #define EXT4_SET_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) argument
476 #define EXT4_SET_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32… argument
477 #define EXT4_SET_INCOMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(m… argument
478 #define EXT4_CLEAR_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(ma… argument
479 #define EXT4_CLEAR_RO_COMPAT_FEATURE(sb,mask) EXT4_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_l… argument
[all …]
/system/apex/apexd/
Dapexd_utils.h213 struct stat sb; in WaitForFile() local
/system/core/fs_mgr/libfiemap/
Dfiemap_writer.cpp172 struct stat sb; in GetBlockDeviceForFile() local
227 struct stat sb; in GetFileSize() local

123