Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 14 of 14) sorted by relevance

/system/core/libziparchive/
Dzip_archive_private.h37 uint16_t num_entries; member
50 num_entries(0), in ZipArchive()
Dzip_archive.cc295 archive->num_entries = eocd->num_records; in MapCentralDirectory0()
366 const uint16_t num_entries = archive->num_entries; in ParseZipArchive() local
373 archive->hash_table_size = RoundUpPower2(1 + (num_entries * 4) / 3); in ParseZipArchive()
383 for (uint16_t i = 0; i < num_entries; i++) { in ParseZipArchive()
431 ALOGV("+++ zip good scan %" PRIu16 " entries", num_entries); in ParseZipArchive()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp1082 size_t num_entries = 5; in TEST() local
1085 size_t num_data = num_entries * data_per_entry; in TEST()
1089 add_test_metadata(m, num_entries); in TEST()
1090 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()
1095 num_entries--; in TEST()
1098 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()
1106 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()
1111 for (size_t i = 0; i < num_entries; i++) { in TEST()
1129 num_entries++; in TEST()
1131 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()
[all …]
/system/core/fs_mgr/
Dfs_mgr_fstab.c288 fstab->num_entries = entries; in fs_mgr_read_fstab()
290 fstab->recs = calloc(fstab->num_entries, sizeof(struct fstab_rec)); in fs_mgr_read_fstab()
393 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_free_fstab()
419 int n = fstab->num_entries; in fs_mgr_add_entry()
437 fstab->num_entries++; in fs_mgr_add_entry()
454 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_get_entry_for_mount_point_after()
463 for (; i < fstab->num_entries; i++) { in fs_mgr_get_entry_for_mount_point_after()
Dfs_mgr_slotselect.c47 for (n = 0; n < fstab->num_entries; n++) { in get_active_slot_suffix_from_misc()
117 for (n = 0; n < fstab->num_entries; n++) { in fs_mgr_update_for_slotselect()
Dfs_mgr.c313 if (!end_idx || !attempted_idx || start_idx >= fstab->num_entries) { in mount_with_alternatives()
323 … i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point); in mount_with_alternatives()
355 if (i < fstab->num_entries) --i; in mount_with_alternatives()
505 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_mount_all()
674 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_do_mount()
799 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_swapon_all()
878 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_get_crypt_info()
Dfs_mgr_verity.cpp766 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_load_verity_state()
835 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_update_verity_state()
/system/media/alsa_utils/
Dalsa_device_profile.c238 unsigned num_entries = 0; in profile_enum_sample_rates() local
242 num_entries < ARRAY_SIZE(profile->sample_rates) - 1; in profile_enum_sample_rates()
246 profile->sample_rates[num_entries++] = std_sample_rates[index]; in profile_enum_sample_rates()
249 profile->sample_rates[num_entries] = 0; /* terminate */ in profile_enum_sample_rates()
250 return num_entries; /* return # of supported rates */ in profile_enum_sample_rates()
/system/core/fs_mgr/include/
Dfs_mgr.h49 int num_entries; member
/system/core/adb/
Dset_verity_enable_state_service.cpp123 for (i = 0; i < fstab->num_entries; i++) { in set_verity_enabled_state_service()
/system/vold/
DTrimTask.cpp72 for (int i = 0; i < fstab->num_entries; i++) { in addFromFstab()
Dmain.cpp220 for (int i = 0; i < fstab->num_entries; i++) { in process_config()
Dcryptfs.c3625 unsigned int num_entries; local
3645 num_entries = 1;
3647 num_entries = (strlen(value) + (PROPERTY_VALUE_MAX - 1) - 1) / (PROPERTY_VALUE_MAX - 1);
3651 if (num_entries > 1) {
3653 max_keylen += 1 + log10(num_entries);
3661 if (persist_data->persist_valid_entries + num_entries - persist_count_keys(fieldname) >
3677 for (field_id = 1; field_id < num_entries; field_id++) {
/system/extras/tests/fstest/
Drecovery_test.cpp201 for (int i = 0; i < fstab->num_entries; ++i) { in setCacheInfoFromFstab()