Searched refs:num_entries (Results 1 – 12 of 12) sorted by relevance
1088 size_t num_entries = 5; in TEST() local1091 size_t num_data = num_entries * data_per_entry; in TEST()1095 add_test_metadata(m, num_entries); in TEST()1096 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()1101 num_entries--; in TEST()1104 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()1112 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()1117 for (size_t i = 0; i < num_entries; i++) { in TEST()1135 num_entries++; in TEST()1137 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()[all …]
255 fstab->num_entries = entries; in fs_mgr_read_fstab()257 fstab->recs = calloc(fstab->num_entries, sizeof(struct fstab_rec)); in fs_mgr_read_fstab()354 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_free_fstab()380 int n = fstab->num_entries; in fs_mgr_add_entry()398 fstab->num_entries++; in fs_mgr_add_entry()415 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_get_entry_for_mount_point_after()424 for (; i < fstab->num_entries; i++) { in fs_mgr_get_entry_for_mount_point_after()
308 if (!end_idx || !attempted_idx || start_idx >= fstab->num_entries) { in mount_with_alternatives()318 … i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point); in mount_with_alternatives()350 if (i < fstab->num_entries) --i; in mount_with_alternatives()513 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_mount_all()663 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_do_mount()788 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_swapon_all()866 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_get_crypt_info()
863 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_load_verity_state()931 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_update_verity_state()
221 unsigned num_entries = 0; in profile_enum_sample_rates() local225 num_entries < ARRAY_SIZE(profile->sample_rates) - 1; in profile_enum_sample_rates()229 profile->sample_rates[num_entries++] = std_sample_rates[index]; in profile_enum_sample_rates()232 profile->sample_rates[num_entries] = 0; /* terminate */ in profile_enum_sample_rates()233 return num_entries; /* return # of supported rates */ in profile_enum_sample_rates()
301 uint16_t num_entries; member316 num_entries(0), in ZipArchive()489 archive->num_entries = eocd->num_records; in MapCentralDirectory0()560 const uint16_t num_entries = archive->num_entries; in ParseZipArchive() local567 archive->hash_table_size = RoundUpPower2(1 + (num_entries * 4) / 3); in ParseZipArchive()577 for (uint16_t i = 0; i < num_entries; i++) { in ParseZipArchive()625 ALOGV("+++ zip good scan %" PRIu16 " entries", num_entries); in ParseZipArchive()
49 int num_entries; member
72 for (int i = 0; i < fstab->num_entries; i++) { in addFromFstab()
220 for (int i = 0; i < fstab->num_entries; i++) { in process_config()
3545 unsigned int num_entries; local3565 num_entries = 1;3567 num_entries = (strlen(value) + (PROPERTY_VALUE_MAX - 1) - 1) / (PROPERTY_VALUE_MAX - 1);3571 if (num_entries > 1) {3573 max_keylen += 1 + log10(num_entries);3581 if (persist_data->persist_valid_entries + num_entries - persist_count_keys(fieldname) >3597 for (field_id = 1; field_id < num_entries; field_id++) {
187 for (i = 0; i < fstab->num_entries; i++) { in set_verity_enabled_state_service()
201 for (int i = 0; i < fstab->num_entries; ++i) { in setCacheInfoFromFstab()