Searched refs:entries (Results 1 – 15 of 15) sorted by relevance
/system/extras/ext4_utils/ |
D | make_ext4fs.c | 105 int entries = 0; in build_directory_structure() local 117 entries = scandir(full_path, &namelist, filter_dot, (void*)alphasort); in build_directory_structure() 118 if (entries < 0) { in build_directory_structure() 126 for (i = 0; i < entries; i++) in build_directory_structure() 129 if (i == entries) in build_directory_structure() 133 dentries = calloc(entries, sizeof(struct dentry)); in build_directory_structure() 137 for (i = 0; i < entries; i++) { in build_directory_structure() 151 entries--; in build_directory_structure() 205 entries--; in build_directory_structure() 212 struct dentry *tmp = calloc(entries + 1, sizeof(struct dentry)); in build_directory_structure() [all …]
|
D | contents.c | 34 static u32 dentry_size(u32 entries, struct dentry *dentries) in dentry_size() argument 40 for (i = 0; i < entries; i++) { in dentry_size() 86 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries, in make_directory() argument 98 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size); in make_directory() 145 for (i = 0; i < entries; i++) { in make_directory() 148 if (offset > len || (offset == len && i != entries - 1)) in make_directory()
|
D | contents.h | 35 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
|
/system/core/cpio/ |
D | mkbootfs.c | 168 int entries = 0; in _archive_dir() local 182 if (entries >= size) { in _archive_dir() 191 names[entries] = strdup(de->d_name); in _archive_dir() 192 if (names[entries] == NULL) { in _archive_dir() 197 ++entries; in _archive_dir() 200 qsort(names, entries, sizeof(char*), compare); in _archive_dir() 202 for (i = 0; i < entries; ++i) { in _archive_dir()
|
/system/core/libzipfile/ |
D | zipfile.c | 33 Zipentry* entry = file->entries; in release_zipfile() 46 Zipentry* entry = file->entries; in lookup_zipentry() 135 Zipentry* entry = zip->entries; in dump_zipfile() 153 *cookie = zip->entries; in iterate_zipfile()
|
D | private.h | 36 Zipentry* entries; member
|
D | centraldir.c | 246 entry->next = file->entries; in read_central_dir() 247 file->entries = entry; in read_central_dir()
|
/system/extras/fatblock/ |
D | import.c | 307 d->entries = malloc(sizeof(struct fat_dirent) * (count + (is_root ? 0 : 2))); in import_dir() 308 assert(d->entries); in import_dir() 313 ch_dirent = &d->entries[i + (is_root ? 0 : 2)]; in import_dir() 328 fat_dirent_set(&d->entries[0], in import_dir() 331 out->dot_dot_dirent = &d->entries[0]; /* will set first_cluster */ in import_dir() 333 fat_dirent_set(&d->entries[1], in import_dir()
|
D | fatblock.h | 62 struct fat_dirent *entries; member
|
D | read.c | 131 return buffer_read((char*)d->entries, d->size, buf, off, len); in dir_read()
|
/system/core/fs_mgr/ |
D | fs_mgr.c | 233 int cnt, entries; in read_fstab() local 249 entries = 0; in read_fstab() 264 entries++; in read_fstab() 267 if (!entries) { in read_fstab() 272 fstab = calloc(entries + 1, sizeof(struct fstab_rec)); in read_fstab() 297 if (cnt >= entries) { in read_fstab()
|
/system/core/rootdir/ |
D | ueventd.rc | 12 # group, then they'll only see log entries for their UID.
|
/system/extras/tests/fstest/ |
D | README | 1 All files and directories will be matched against entries taken from
|
/system/core/logcat/ |
D | event.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names.
|
/system/core/sh/ |
D | TOUR | 36 C source files for entries looking like:
|