/system/media/camera/src/ |
D | camera_metadata.c | 98 metadata_size_t entry_count; member 150 _Static_assert(offsetof(camera_metadata_t, entry_count) == 12, 283 metadata->entry_count = 0; in place_camera_metadata() 302 size_t calculate_camera_metadata_size(size_t entry_count, in calculate_camera_metadata_size() argument 307 memory_needed += sizeof(camera_metadata_buffer_entry_t[entry_count]); in calculate_camera_metadata_size() 325 return calculate_camera_metadata_size(metadata->entry_count, in get_camera_metadata_compact_size() 330 return metadata->entry_count; in get_camera_metadata_entry_count() 357 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); in copy_camera_metadata() 360 metadata->entry_count = src->entry_count; in copy_camera_metadata() 365 sizeof(camera_metadata_buffer_entry_t[metadata->entry_count])); in copy_camera_metadata() [all …]
|
/system/libufdt/utils/src/ |
D | mkdtimg_core.c | 58 uint32_t entry_count; member 179 uint32_t entry_count, uint32_t total_size, in output_img_header() argument 184 header.dt_entry_count = cpu_to_fdt32(entry_count); in output_img_header() 242 struct dt_image_writer *dt_image_writer_start(FILE *img_fp, uint32_t entry_count) { in dt_image_writer_start() argument 249 fdt_infos = malloc(sizeof(struct dt_image_writer_fdt_info) * entry_count); in dt_image_writer_start() 256 writer->entry_count = entry_count; in dt_image_writer_start() 259 writer->entry_offset + sizeof(struct dt_table_entry) * entry_count; in dt_image_writer_start() 435 writer->entry_count, in dt_image_writer_end() 441 printf("Total %d entries.\n", writer->entry_count); in dt_image_writer_end()
|
D | mkdtimg_create.c | 57 int entry_count = calculate_args_entry_count(argc, argv, arg_start); in output_img_with_args() local 58 struct dt_image_writer *writer = dt_image_writer_start(img_fp, entry_count); in output_img_with_args()
|
D | mkdtimg_core.h | 31 struct dt_image_writer *dt_image_writer_start(FILE *img_fp, uint32_t entry_count);
|
D | mkdtimg_cfg_create.c | 74 int entry_count = parse_config_entry_count(cfg_fp); in output_img_with_config() local 75 struct dt_image_writer *writer = dt_image_writer_start(img_fp, entry_count); in output_img_with_config()
|
D | mkdtimg_dump.c | 177 uint32_t entry_count = fdt32_to_cpu(header.dt_entry_count); in dump_image_from_fp() local 179 for (i = 0; i < entry_count; i++) { in dump_image_from_fp()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_messages.cpp | 482 for (size_t i = 0; i < certificate_chain.entry_count; ++i) in ~AttestKeyResponse() 488 bool AttestKeyResponse::AllocateChain(size_t entry_count) { in AllocateChain() argument 489 if (entry_count > kMaxChainEntryCount) in AllocateChain() 493 for (size_t i = 0; i < certificate_chain.entry_count; ++i) in AllocateChain() 498 certificate_chain.entry_count = entry_count; in AllocateChain() 499 certificate_chain.entries = new (std::nothrow) keymaster_blob_t[entry_count]; in AllocateChain() 501 certificate_chain.entry_count = 0; in AllocateChain() 505 memset(certificate_chain.entries, 0, sizeof(certificate_chain.entries[0]) * entry_count); in AllocateChain() 511 for (size_t i = 0; i < certificate_chain.entry_count; ++i) { in NonErrorSerializedSize() 519 buf = append_uint32_to_buf(buf, end, certificate_chain.entry_count); in NonErrorSerialize() [all …]
|
/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 136 **cert_chain = { new keymaster_blob_t[cchain.entry_count], cchain.entry_count }; in GenerateAttestation() 137 for (size_t i = 0; i < cchain.entry_count; ++i) { in GenerateAttestation()
|
D | soft_keymaster_device.cpp | 1101 malloc(rsp_chain.entry_count * sizeof(*cert_chain->entries))); in attest_key() 1104 cert_chain->entry_count = rsp_chain.entry_count; in attest_key() 1105 for (keymaster_blob_t& entry : array_range(cert_chain->entries, cert_chain->entry_count)) in attest_key() 1110 for (keymaster_blob_t& entry : array_range(rsp_chain.entries, rsp_chain.entry_count)) { in attest_key()
|
/system/keymaster/km_openssl/ |
D | attestation_utils.cpp | 94 for (size_t i = 0; i < chain.entry_count; ++i) { in certCopier() 102 for (size_t i = 0; i < chain.entry_count; ++i) { in certCopier() 107 chain.entry_count = 0; in certCopier() 130 inline size_t noOfCert(const keymaster_cert_chain_t& cert_chain) { return cert_chain.entry_count; } in noOfCert() 160 result->entry_count = certCount(forward<CERTS>(certs)...); in makeCertChain() 384 if (attestation_chain.entry_count < 1) { in generate_attestation_common()
|
/system/security/keystore/ |
D | legacy_keymaster_device_wrapper.cpp | 152 if (!cert_chain || cert_chain->entry_count == 0 || !cert_chain->entries) return result; in kmCertChain2Hidl() 154 result.resize(cert_chain->entry_count); in kmCertChain2Hidl() 155 for (size_t i = 0; i < cert_chain->entry_count; ++i) { in kmCertChain2Hidl()
|
/system/core/trusty/keymaster/3.0/ |
D | TrustyKeymaster3Device.cpp | 145 if (!cert_chain.entry_count || !cert_chain.entries) return result; in kmCertChain2Hidl() 147 result.resize(cert_chain.entry_count); in kmCertChain2Hidl() 148 for (size_t i = 0; i < cert_chain.entry_count; ++i) { in kmCertChain2Hidl()
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 157 if (!cert_chain.entry_count || !cert_chain.entries) return result; in kmCertChain2Hidl() 159 result.resize(cert_chain.entry_count); in kmCertChain2Hidl() 160 for (size_t i = 0; i < cert_chain.entry_count; ++i) { in kmCertChain2Hidl()
|
D | AndroidKeymaster4Device.cpp | 109 if (!cert_chain.entry_count || !cert_chain.entries) in kmCertChain2Hidl() 112 result.resize(cert_chain.entry_count); in kmCertChain2Hidl() 113 for (size_t i = 0; i < cert_chain.entry_count; ++i) { in kmCertChain2Hidl()
|
/system/media/camera/include/system/ |
D | camera_metadata.h | 217 size_t calculate_camera_metadata_size(size_t entry_count,
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive.h | 190 uint64_t entry_count; member
|
/system/core/libunwindstack/tests/fuzz/ |
D | UnwinderComponentCreator.cpp | 114 uint8_t entry_count = data_provider->ConsumeIntegralInRange<uint8_t>(0, kMaxMapEntryCount); in GetMaps() local 115 for (uint8_t i = 0; i < entry_count; i++) { in GetMaps()
|
/system/core/trusty/keymaster/4.0/ |
D | TrustyKeymaster4Device.cpp | 197 if (!cert_chain.entry_count || !cert_chain.entries) return result; in kmCertChain2Hidl() 199 result.resize(cert_chain.entry_count); in kmCertChain2Hidl() 200 for (size_t i = 0; i < cert_chain.entry_count; ++i) { in kmCertChain2Hidl()
|
/system/libziparchive/ |
D | ziptool.cpp | 138 info.archive_size, info.entry_count); in MaybeShowHeader()
|
D | zip_archive.cc | 614 result.entry_count = archive->num_entries; in GetArchiveInfo()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 419 for (size_t i = 0; i < p->entry_count; ++i) in operator()
|
D | android_keymaster_messages.h | 626 certificate_chain.entry_count = 0; in KeymasterResponse() 631 bool AllocateChain(size_t entry_count);
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 590 EXPECT_EQ(3U, chain->entry_count); in TEST()
|
D | android_keymaster_test.cpp | 3939 for (size_t i = 0; i < chain.entry_count - 1; ++i) { in verify_chain() 4065 ASSERT_EQ(3U, cert_chain.entry_count); in TEST_P() 4103 ASSERT_EQ(3U, cert_chain.entry_count); in TEST_P()
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 370 void add_test_metadata(camera_metadata_t *m, int entry_count) { in add_test_metadata() argument 378 for (int i=0; i < entry_count; i++ ) { in add_test_metadata()
|