Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 25 of 31) sorted by relevance

12

/system/core/fastbootd/commands/
Dpartitions.c120 table->partition_table_size = ROUND_UP(content->header.entries_count * sizeof(*table->entries), in GPT_map_from_content()
130 table->entries = (struct GPT_entry_raw *) table->entries_map.ptr; in GPT_map_from_content()
316 struct GPT_entry_raw *entries = table->entries; in GPT_add_entry() local
319 if (!entries[i].type_guid[0]) { in GPT_add_entry()
322 memcpy(&entries[i], entry, sizeof(entries[i])); in GPT_add_entry()
351 (char *) table->entries[current].partition_guid, 16) == 0) { in GPT_get_pointer_by_guid()
352 return &table->entries[current]; in GPT_get_pointer_by_guid()
391 if (strncmp_UTF16_char(table->entries[current].name, in GPT_get_pointer_by_name()
393 return &table->entries[current]; in GPT_get_pointer_by_name()
406 if (strncmp_UTF16(table->entries[current].name, in GPT_get_pointer_by_UTFname()
[all …]
Dpartitions.h71 struct GPT_entry_raw *entries; member
100 struct GPT_entry_raw *entries; member
/system/media/camera/docs/
Dmetadata_model_test.py36 combined_ent = [i for i in combined_children_namespace.entries]
46 self.assertIn(entry1, new_ins.entries)
47 self.assertIn(entry2, new_ins.entries)
83 self.assertIn(entry1, combined_kind.entries)
84 self.assertIn(entry2, combined_kind.entries)
116 combined_ent = [i for i in combined_children_kind.entries]
126 self.assertIn(entry1, new_ins.entries)
127 self.assertIn(entry2, new_ins.entries)
Dmetadata_model.py386 if p not in tag.entries:
396 if p not in type_node.entries:
551 entry_dict = self._dictionary_by_name(parent.entries)
564 if entry not in parent.entries:
610 def entries(self): member in Tag
640 def entries(self): member in Typedef
757 combined._entries.extend(k.entries)
786 def entries(self): member in Kind
791 for i in self.entries:
801 for i in self.entries:
[all …]
Dmetadata_helpers.py100 for entry in i.entries:
980 def filter_visibility(entries, visibilities): argument
991 return (e for e in entries if e.applied_visibility in visibilities)
993 def remove_synthetic(entries): argument
1003 return (e for e in entries if not e.synthetic)
Dcamera_metadata_tags.mako71 * Main enum for defining camera metadata tags. New entries must always go
92 * Enumeration definitions for the various entries that need them
DCameraMetadataEnums.mako56 % for entry in filter_visibility(inner_namespace.entries, ('hidden','public')):
65 get_children_by_filtering_kind(section, xml_name, 'entries'), \
DCaptureResultTest.mako18 * The key entries below this point are generated from metadata
DCameraMetadataKeys.mako22 * The key entries below this point are generated from metadata
/system/extras/ext4_utils/
Dmake_ext4fs.c132 int entries = 0; in build_directory_structure() local
144 entries = scandir(full_path, &namelist, filter_dot, (void*)alphasort); in build_directory_structure()
145 if (entries < 0) { in build_directory_structure()
153 for (i = 0; i < entries; i++) in build_directory_structure()
156 if (i == entries) in build_directory_structure()
160 dentries = calloc(entries, sizeof(struct dentry)); in build_directory_structure()
164 for (i = 0; i < entries; i++) { in build_directory_structure()
178 entries--; in build_directory_structure()
236 entries--; in build_directory_structure()
243 struct dentry *tmp = calloc(entries + 1, sizeof(struct dentry)); in build_directory_structure()
[all …]
Dcontents.c47 static u32 dentry_size(u32 entries, struct dentry *dentries) in dentry_size() argument
53 for (i = 0; i < entries; i++) { in dentry_size()
99 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries, in make_directory() argument
111 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size); in make_directory()
158 for (i = 0; i < entries; i++) { in make_directory()
161 if (offset > len || (offset == len && i != entries - 1)) in make_directory()
Dcontents.h36 u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
/system/core/cpio/
Dmkbootfs.c170 int entries = 0; in _archive_dir() local
184 if (entries >= size) { in _archive_dir()
193 names[entries] = strdup(de->d_name); in _archive_dir()
194 if (names[entries] == NULL) { in _archive_dir()
199 ++entries; in _archive_dir()
202 qsort(names, entries, sizeof(char*), compare); in _archive_dir()
204 for (i = 0; i < entries; ++i) { in _archive_dir()
/system/core/libzipfile/
Dzipfile.c33 Zipentry* entry = file->entries; in release_zipfile()
46 Zipentry* entry = file->entries; in lookup_zipentry()
134 Zipentry* entry = zip->entries; in dump_zipfile()
152 *cookie = zip->entries; in iterate_zipfile()
Dprivate.h36 Zipentry* entries; member
Dcentraldir.c215 entry->next = file->entries; in read_central_dir()
216 file->entries = entry; in read_central_dir()
/system/core/fs_mgr/
Dfs_mgr_fstab.c182 int cnt, entries; in fs_mgr_read_fstab() local
199 entries = 0; in fs_mgr_read_fstab()
213 entries++; in fs_mgr_read_fstab()
216 if (!entries) { in fs_mgr_read_fstab()
223 fstab->num_entries = entries; in fs_mgr_read_fstab()
249 if (cnt >= entries) { in fs_mgr_read_fstab()
/system/extras/tests/mmc_tracepoints/
DREADME25 It includes read, write and discard entries. The discard entries came from
/system/core/fastbootd/other/
Dgptedit.c175 struct GPT_entry_raw *entry = table->entries; in printGPT()
195 struct GPT_entry_raw *entry = table->entries; in configPrintGPT()
/system/core/logd/
Devent.logtags1 # The entries in this file map a sparse set of log tag numbers to tag names.
/system/media/camera/src/
Dcamera_metadata.c388 camera_metadata_buffer_entry_t *entries = get_entries(metadata); in validate_camera_metadata_structure() local
392 if ((uintptr_t)&entries[i] != ALIGN_TO(&entries[i], ENTRY_ALIGNMENT)) { in validate_camera_metadata_structure()
395 __FUNCTION__, i, &entries[i], ENTRY_ALIGNMENT); in validate_camera_metadata_structure()
399 camera_metadata_buffer_entry_t entry = entries[i]; in validate_camera_metadata_structure()
/system/core/adb/
DSYNC.TXT40 respond with zero or more directory entries or "dents".
42 The directory entries will be returned in the following form
/system/extras/f2fs_utils/
Df2fs_sparseblock.c26 #define segno_in_journal(sum, i) (sum->sit_j.entries[i].segno)
28 #define sit_in_journal(sum, i) (sum->sit_j.entries[i].se)
513 … sit_entry = &info->sit_blocks[sit_block_num_cur].entries[segnum % SIT_ENTRY_PER_BLOCK]; in run_on_used_blocks()
/system/core/rootdir/
Dueventd.rc17 # group, then they'll only see log entries for their UID.
/system/extras/tests/fstest/
DREADME1 All files and directories will be matched against entries taken from

12