Home
last modified time | relevance | path

Searched refs:partition_name (Results 1 – 19 of 19) sorted by relevance

/external/avb/libavb_user/
Davb_user_verity.c133 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verity_get() local
139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { in avb_user_verity_get()
145 partition_name, in avb_user_verity_get()
169 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verity_set() local
177 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verity_set()
183 partition_name, in avb_user_verity_set()
200 partition_name, in avb_user_verity_set()
205 avb_errorv("Error writing to partition '", partition_name, "'\n", NULL); in avb_user_verity_set()
Davb_user_verification.c133 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verification_get() local
139 ops, ab_suffix, vbmeta_image, partition_name, NULL)) { in avb_user_verification_get()
145 partition_name, in avb_user_verification_get()
170 char partition_name[AVB_PART_NAME_MAX_SIZE]; /* 32 bytes. */ in avb_user_verification_set() local
178 ops, ab_suffix, vbmeta_image, partition_name, &vbmeta_offset)) { in avb_user_verification_set()
184 partition_name, in avb_user_verification_set()
201 partition_name, in avb_user_verification_set()
206 avb_errorv("Error writing to partition '", partition_name, "'\n", NULL); in avb_user_verification_set()
/external/autotest/client/cros/faft/utils/
Dcgpt_handler.py84 def get_partition(self, device, partition_name): argument
97 result = self.devices[device][partition_name]
100 (partition_name, device))
103 def set_partition(self, device, partition_name, partition_value): argument
119 current = self.get_partition(device, partition_name)
/external/avb/examples/uefi/
Duefi_avb_ops.c74 const char* partition_name, in find_partition_entry_by_name() argument
112 partition_name_bytes = avb_strlen(partition_name); in find_partition_entry_by_name()
122 if (!uefi_avb_utf8_to_ucs2((const uint8_t*)partition_name, in find_partition_entry_by_name()
177 const char* partition_name, in read_from_partition() argument
187 avb_assert(partition_name != NULL); in read_from_partition()
192 data->block_io, partition_name, &partition_entry); in read_from_partition()
239 const char* partition_name, in write_to_partition() argument
248 avb_assert(partition_name != NULL); in write_to_partition()
252 data->block_io, partition_name, &partition_entry); in write_to_partition()
299 const char* partition_name, in get_size_of_partition() argument
[all …]
Duefi_avb_boot.c144 if (avb_strcmp(boot->partition_name, "boot") != 0) { in uefi_avb_boot_kernel()
146 "Unexpected partition name '", boot->partition_name, "'.\n", NULL); in uefi_avb_boot_kernel()
/external/avb/libavb/
Davb_slot_verify.c467 loaded_partition->partition_name = avb_strdup(found); in load_and_verify_hash_partition()
533 loaded_partition->partition_name = avb_strdup(requested_partitions[n]); in load_requested_partitions()
534 if (loaded_partition->partition_name == NULL) { in load_requested_partitions()
565 const char* partition_name, in load_and_verify_vbmeta() argument
610 if (avb_strncmp(partition_name, "vbmeta", avb_strlen("vbmeta")) == 0) { in load_and_verify_vbmeta()
614 if (!avb_validate_utf8((const uint8_t*)partition_name, partition_name_len)) { in load_and_verify_vbmeta()
623 partition_name, in load_and_verify_vbmeta()
906 vbmeta_image_data->partition_name = avb_strdup(partition_name); in load_and_verify_vbmeta()
1512 if (avb_strcmp(slot_data->vbmeta_images[0].partition_name, "vbmeta") != 0) { in avb_slot_verify()
1514 avb_strcmp(slot_data->vbmeta_images[0].partition_name, "boot") == 0); in avb_slot_verify()
[all …]
Davb_slot_verify.h157 char* partition_name; member
177 char* partition_name; member
/external/avb/
Davbtool.py1408 self.partition_name = data[
1434 self.partition_name = ''
1461 o.write(' Partition Name: {}\n'.format(self.partition_name))
1473 partition_name_encoded = self.partition_name.encode('utf-8')
1505 if not self.partition_name:
1509 image_filename = os.path.join(image_dir, self.partition_name + image_ext)
1534 .format(self.partition_name))
1541 .format(self.partition_name, self.hash_algorithm, image.filename,
1601 self.partition_name = data[
1618 self.partition_name = ''
[all …]
Davbtool1408 self.partition_name = data[
1434 self.partition_name = ''
1461 o.write(' Partition Name: {}\n'.format(self.partition_name))
1473 partition_name_encoded = self.partition_name.encode('utf-8')
1505 if not self.partition_name:
1509 image_filename = os.path.join(image_dir, self.partition_name + image_ext)
1534 .format(self.partition_name))
1541 .format(self.partition_name, self.hash_algorithm, image.filename,
1601 self.partition_name = data[
1618 self.partition_name = ''
[all …]
DREADME.md390 --partition_name PARTNAME --partition_size SIZE \
414 --partition_name PARTNAME --partition_size SIZE \
838 value `avb.persistent_digest.$(partition_name)` instead of in the
/external/avb/test/
Davb_slot_verify_unittest.cc559 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
627 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
717 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
728 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
813 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
824 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1071 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
1079 EXPECT_EQ("boot", std::string(slot_data->vbmeta_images[1].partition_name)); in TEST_F()
1115 std::string(slot_data->loaded_partitions[0].partition_name)); in TEST_F()
1381 EXPECT_EQ("vbmeta", std::string(slot_data->vbmeta_images[0].partition_name)); in TEST_F()
[all …]
Davb_aftl_verify_unittest.cc87 asv_test_data_->vbmeta_images[0].partition_name = in SetUp()
118 asv_test_data_->vbmeta_images[0].partition_name = (char*)"do-no-exist"; in TEST_F()
Dfake_avb_ops.h164 const std::string& partition_name, in set_expected_public_key_for_partition() argument
167 expected_public_key_for_partition_map_[partition_name] = in set_expected_public_key_for_partition()
169 rollback_index_location_for_partition_map_[partition_name] = in set_expected_public_key_for_partition()
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.cc715 void PartitionRootGeneric::DumpStats(const char* partition_name, in DumpStats() argument
776 dumper->PartitionsDumpBucketStats(partition_name, &bucket_stats[i]); in DumpStats()
790 dumper->PartitionsDumpBucketStats(partition_name, &mapped_stats); in DumpStats()
796 dumper->PartitionDumpTotals(partition_name, &stats); in DumpStats()
799 void PartitionRoot::DumpStats(const char* partition_name, in DumpStats() argument
839 dumper->PartitionsDumpBucketStats(partition_name, &memory_stats[i]); in DumpStats()
842 dumper->PartitionDumpTotals(partition_name, &stats); in DumpStats()
Dpartition_alloc.h132 void DumpStats(const char* partition_name,
172 void DumpStats(const char* partition_name,
215 virtual void PartitionDumpTotals(const char* partition_name,
219 virtual void PartitionsDumpBucketStats(const char* partition_name,
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcluster_tf_ops_pass.cc91 llvm::StringRef partition_name; member
248 metadata.partition_name = func_op.getName(); in CreateFunctions()
280 metadata.partition_name, in CreateRemoteRunCalls()
/external/avb/libavb_aftl/
Davb_aftl_verify.c157 pname = slot_verify_data->vbmeta_images[i].partition_name; in aftl_slot_verify()
/external/autotest/client/cros/faft/
Drpc_functions.py475 for partition_name in partitions.keys():
476 partition = partitions[partition_name]
485 rootdev, 'KERN-%s' % partition_name, attributes_to_set)
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session.cc1357 const string& partition_name = iter->first; in CreateExecutors() local
1361 TF_RETURN_IF_ERROR(device_mgr_->LookupDevice(partition_name, &device)); in CreateExecutors()
1365 auto lib = func_info->proc_flr->GetFLR(partition_name); in CreateExecutors()
1367 return errors::Internal("Could not find device: ", partition_name); in CreateExecutors()
1717 const string& partition_name = partition.first; in CreateGraphs() local
1721 << partition_name; in CreateGraphs()
1725 s = device_mgr_->LookupDevice(partition_name, &d); in CreateGraphs()