Home
last modified time | relevance | path

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

12

/system/core/libutils/binder/
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
342 SharedBuffer* sb = SharedBuffer::alloc(new_allocation_size); in setCapacity() local
367 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage); in release_storage() local
414 SharedBuffer* sb = cur_sb->editResize(new_alloc_size); in _grow() local
421 SharedBuffer* sb = SharedBuffer::alloc(new_alloc_size); in _grow() local
481 SharedBuffer* sb = cur_sb->editResize(new_capacity * mItemSize); in _shrink() local
488 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_sb.cpp21 int ext4_parse_sb(struct ext4_super_block* sb, struct fs_info* info) { in ext4_parse_sb()
Dext4_utils.cpp85 void read_sb(int fd, struct ext4_super_block* sb) { in read_sb()
166 void ext4_parse_sb_info(struct ext4_super_block* sb) { in ext4_parse_sb_info()
278 struct ext4_super_block sb; in read_ext() local
/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
Dneverallow.c463 struct stat sb; in check_neverallows_file() local
/system/core/libprocessgroup/cgrouprc/
Dcgroup_file.cpp37 struct stat sb; in LoadRcFile() local
/system/extras/f2fs_utils/
Df2fs_sparseblock.c40 static void dbg_print_raw_sb_info(struct f2fs_super_block* sb) { in dbg_print_raw_sb_info()
187 static int read_f2fs_sb(int fd, struct f2fs_super_block* sb) { in read_f2fs_sb()
204 struct f2fs_super_block sb; in get_f2fs_filesystem_size_sec() local
254 int get_valid_checkpoint_info(int fd, struct f2fs_super_block* sb, struct f2fs_checkpoint** cp, in get_valid_checkpoint_info()
373 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
Dashmem-dev.cpp434 struct stat sb; in ashmem_get_size_region() local
/system/core/fastboot/
Dutil.cpp106 struct stat sb; in get_file_size() local
/system/core/fs_mgr/
Dfs_mgr.cpp318 static bool read_ext4_superblock(const std::string& blk_device, struct ext4_super_block* sb, in read_ext4_superblock()
351 ext4_super_block sb; in fs_mgr_is_ext4() local
372 const struct ext4_super_block* sb, int* fs_stat) { in tune_quota()
413 const struct ext4_super_block* sb, int* fs_stat) { in tune_reserved_size()
455 const struct ext4_super_block* sb, int* fs_stat) { in tune_encrypt()
500 const struct ext4_super_block* sb, int* fs_stat) { in tune_verity()
537 const struct ext4_super_block* sb, int* fs_stat) { in tune_casefold()
577 const struct ext4_super_block* sb, int* fs_stat) { in tune_metadata_csum()
651 __le32 sb; in fs_mgr_is_f2fs() local
754 struct ext4_super_block sb; in prepare_fs_for_mount() local
[all …]
/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.h396 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & EXT4_MOUNT_##opt) argument
487 #define EXT4_SB(sb) (sb) argument
505 #define EXT4_HAS_COMPAT_FEATURE(sb, mask) \ argument
507 #define EXT4_HAS_RO_COMPAT_FEATURE(sb, mask) \ argument
509 #define EXT4_HAS_INCOMPAT_FEATURE(sb, mask) \ argument
511 #define EXT4_SET_COMPAT_FEATURE(sb, mask) EXT4_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask) argument
512 #define EXT4_SET_RO_COMPAT_FEATURE(sb, mask) \ argument
514 #define EXT4_SET_INCOMPAT_FEATURE(sb, mask) \ argument
516 #define EXT4_CLEAR_COMPAT_FEATURE(sb, mask) \ argument
518 #define EXT4_CLEAR_RO_COMPAT_FEATURE(sb, mask) \ argument
[all …]
/system/libziparchive/
Dziptool.cpp107 struct stat sb; in MakeDirectoryHierarchy() local
282 struct stat sb; in ExtractOne() local
/system/core/init/
Dmount_handler.cpp115 struct stat sb; in SetMountProperty() local
Dpersistent_properties.cpp80 struct stat sb; in LoadLegacyPersistentProperties() local
Dutil_test.cpp106 struct stat sb; in TEST() local
/system/security/identity/util/src/java/com/android/security/identity/internal/
DUtil.java110 StringBuilder sb = new StringBuilder(); in cborPrettyPrint() local
140 public static void cborPrettyPrintDataItem(StringBuilder sb, int indent, DataItem dataItem) { in cborPrettyPrintDataItem()
714 StringBuilder sb = new StringBuilder(); in replaceLine() local
1112 StringBuilder sb = new StringBuilder(); in hexdump() local
/system/core/fs_mgr/libfiemap/
Dfiemap_writer.cpp172 struct stat sb; in GetBlockDeviceForFile() local
227 struct stat sb; in GetFileSize() local
/system/sepolicy/tools/
Dsepolicy-check.c190 struct stat sb; in load_policy() local

12