Searched refs:entries (Results 1 - 12 of 12) sorted by last modified time

/system/core/cpio/
H A Dmkbootfs.c168 int entries = 0; local
182 if (entries >= size) {
191 names[entries] = strdup(de->d_name);
192 if (names[entries] == NULL) {
197 ++entries;
200 qsort(names, entries, sizeof(char*), compare);
202 for (i = 0; i < entries; ++i) {
/system/core/fs_mgr/
H A Dfs_mgr.c233 int cnt, entries; local
249 entries = 0;
264 entries++;
267 if (!entries) {
268 ERROR("No entries found in fstab\n");
272 fstab = calloc(entries + 1, sizeof(struct fstab_rec));
297 if (cnt >= entries) {
298 ERROR("Tried to process more entries than counted\n");
/system/core/libzipfile/
H A Dcentraldir.c13 // central directory entries
231 // Loop through and read the central dir entries.
246 entry->next = file->entries;
247 file->entries = entry;
H A Dprivate.h36 Zipentry* entries; member in struct:Zipfile
H A Dzipfile.c33 Zipentry* entry = file->entries;
46 Zipentry* entry = file->entries;
135 Zipentry* entry = zip->entries;
153 *cookie = zip->entries;
/system/extras/ext4_utils/
H A Dcontents.c34 static u32 dentry_size(u32 entries, struct dentry *dentries) argument
40 for (i = 0; i < entries; i++) {
85 /* Creates a directory structure for an array of directory entries, dentries,
91 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries, argument
103 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size);
150 for (i = 0; i < entries; i++) {
153 if (offset > len || (offset == len && i != entries - 1))
H A Dcontents.h35 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
H A Dmake_ext4fs.c105 int entries = 0; local
115 entries = scandir(full_path, &namelist, filter_dot, (void*)alphasort);
116 if (entries < 0) {
121 dentries = calloc(entries, sizeof(struct dentry));
125 for (i = 0; i < entries; i++) {
139 entries--;
193 entries--;
198 inode = make_directory(dir_inode, entries, dentries, dirs);
200 for (i = 0; i < entries; i++) {
/system/extras/fatblock/
H A Dfatblock.h62 struct fat_dirent *entries; member in struct:dir
H A Dimport.c307 d->entries = malloc(sizeof(struct fat_dirent) * (count + (is_root ? 0 : 2)));
308 assert(d->entries);
313 ch_dirent = &d->entries[i + (is_root ? 0 : 2)];
328 fat_dirent_set(&d->entries[0],
331 out->dot_dot_dirent = &d->entries[0]; /* will set first_cluster */
333 fat_dirent_set(&d->entries[1],
H A Dread.c131 return buffer_read((char*)d->entries, d->size, buf, off, len);
/system/media/camera/src/
H A Dcamera_metadata.c44 * A packet of metadata. This is a list of entries, each of which may point to
63 * | (entry_capacity-entry_count) entries |
74 * In short, the entries and data are contiguous in memory after the metadata
83 camera_metadata_buffer_entry_t *entries; member in struct:camera_metadata
152 metadata->entries = (camera_metadata_buffer_entry_t*)(metadata + 1);
158 (uint8_t*)(metadata->entries + metadata->entry_capacity);
229 metadata->entries = (camera_metadata_buffer_entry_t*)
233 metadata->data = (uint8_t *)(metadata->entries + metadata->entry_capacity);
239 memcpy(metadata->entries, src->entries,
[all...]

Completed in 113 milliseconds