Home
last modified time | relevance | path

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

/system/extras/ioshark/
Dioshark_bench_mmap.c52 int num_entries; member
68 assert(mio->num_entries < MMAP_ENTS + 1); in setup_mmap_io_state()
69 mio->table[mio->num_entries].offset = offset; in setup_mmap_io_state()
70 mio->table[mio->num_entries].len = in setup_mmap_io_state()
72 total_len -= mio->table[mio->num_entries].len; in setup_mmap_io_state()
73 offset += mio->table[mio->num_entries].len; in setup_mmap_io_state()
74 mio->num_entries++; in setup_mmap_io_state()
194 assert(mio.num_entries > 0); in ioshark_handle_mmap()
/system/core/libziparchive/
Dzip_archive_private.h103 uint16_t num_entries; member
118 num_entries(0), in ZipArchive()
128 num_entries(0), in ZipArchive()
Dzip_archive.cc300 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()
388 for (uint16_t i = 0; i < num_entries; i++) { in ParseZipArchive()
444 ALOGV("+++ zip good scan %" PRIu16 " entries", num_entries); in ParseZipArchive()
/system/media/camera/tests/
Dcamera_metadata_tests.cpp1084 size_t num_entries = 5; in TEST() local
1087 size_t num_data = num_entries * data_per_entry; in TEST()
1091 add_test_metadata(m, num_entries); in TEST()
1092 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()
1097 num_entries--; in TEST()
1100 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()
1108 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()
1113 for (size_t i = 0; i < num_entries; i++) { in TEST()
1131 num_entries++; in TEST()
1133 EXPECT_EQ(num_entries, get_camera_metadata_entry_count(m)); in TEST()
[all …]
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp498 fstab->num_entries = entries; in fs_mgr_read_fstab_file()
500 calloc(fstab->num_entries, sizeof(struct fstab_rec))); in fs_mgr_read_fstab_file()
607 int total_entries = a->num_entries + b->num_entries; in in_place_merge()
619 for (int i = a->num_entries, j = 0; i < total_entries; i++, j++) { in in_place_merge()
629 a->num_entries = total_entries; in in_place_merge()
721 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_free_fstab()
747 int n = fstab->num_entries; in fs_mgr_add_entry()
765 fstab->num_entries++; in fs_mgr_add_entry()
782 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_get_entry_for_mount_point_after()
791 for (; i < fstab->num_entries; i++) { in fs_mgr_get_entry_for_mount_point_after()
Dfs_mgr_slotselect.cpp45 for (n = 0; n < fstab->num_entries; n++) { in fs_mgr_update_for_slotselect()
Dfs_mgr.cpp536 if (!end_idx || !attempted_idx || start_idx >= fstab->num_entries) { in mount_with_alternatives()
546 … i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point); in mount_with_alternatives()
614 if (i < fstab->num_entries) --i; in mount_with_alternatives()
796 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_mount_all()
1016 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_do_mount()
1173 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_swapon_all()
1266 for (i = 0; i < fstab->num_entries; i++) { in fs_mgr_get_crypt_info()
1301 for (int i = 0; i < fstab->num_entries; i++) { in fs_mgr_load_verity_state()
1349 for (int i = 0; i < fstab->num_entries; i++) { in fs_mgr_update_verity_state()
Dfs_mgr_avb_ops.cpp116 for (int i = 0; i < fstab.num_entries; i++) { in FsManagerAvbOps()
/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/adb/
Dset_verity_enable_state_service.cpp120 for (int i = 0; i < fstab->num_entries; i++) { in set_verity_enabled_state_service()
/system/core/fs_mgr/include/
Dfs_mgr.h62 int num_entries; member
/system/vold/
DTrimTask.cpp72 for (int i = 0; i < fstab->num_entries; i++) { in addFromFstab()
Dmain.cpp226 for (int i = 0; i < fstab->num_entries; i++) { in process_config()
Dcryptfs.cpp3342 unsigned int num_entries; in cryptfs_setfield() local
3362 num_entries = 1; in cryptfs_setfield()
3364 num_entries = (strlen(value) + (PROPERTY_VALUE_MAX - 1) - 1) / (PROPERTY_VALUE_MAX - 1); in cryptfs_setfield()
3368 if (num_entries > 1) { in cryptfs_setfield()
3370 max_keylen += 1 + log10(num_entries); in cryptfs_setfield()
3378 if (persist_data->persist_valid_entries + num_entries - persist_count_keys(fieldname) > in cryptfs_setfield()
3394 for (field_id = 1; field_id < num_entries; field_id++) { in cryptfs_setfield()
/system/extras/tests/fstest/
Drecovery_test.cpp196 for (int i = 0; i < fstab->num_entries; ++i) { in setCacheInfoFromFstab()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.c1066 uint8_t more, num_entries, xx, yy, *pn, tl; in nfc_ncif_proc_get_routing() local
1071 num_entries = *p++; in nfc_ncif_proc_get_routing()
1072 for (xx = 0; xx < num_entries; xx++) { in nfc_ncif_proc_get_routing()
1073 if ((more == false) && (xx == (num_entries - 1))) status = NFC_STATUS_OK; in nfc_ncif_proc_get_routing()