Home
last modified time | relevance | path

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

/external/avb/libavb/
Davb_slot_verify.c48 const char* part_name,
78 const char* part_name, in load_full_partition() argument
92 avb_errorv(part_name, ": Partition size too large to load.\n", NULL); in load_full_partition()
99 ops, part_name, image_size, out_image_buf, &part_num_read); in load_full_partition()
103 avb_errorv(part_name, ": Error loading data from partition.\n", NULL); in load_full_partition()
109 avb_errorv(part_name, ": Read incorrect number of bytes.\n", NULL); in load_full_partition()
124 part_name, in load_full_partition()
132 avb_errorv(part_name, ": Error loading data from partition.\n", NULL); in load_full_partition()
136 avb_errorv(part_name, ": Read incorrect number of bytes.\n", NULL); in load_full_partition()
161 const char* part_name, in read_persistent_digest() argument
[all …]
Davb_cmdline.c58 char part_name[AVB_PART_NAME_MAX_SIZE]; in avb_sub_cmdline() local
69 if (!avb_str_concat(part_name, in avb_sub_cmdline()
70 sizeof part_name, in avb_sub_cmdline()
80 ops, part_name, guid_buf, sizeof guid_buf); in avb_sub_cmdline()
412 const char* part_name, in avb_add_root_digest_substitution() argument
418 size_t part_name_len = avb_strlen(part_name); in avb_add_root_digest_substitution()
438 avb_strdupv(kDigestSubPrefix, part_name, kDigestSubSuffix, NULL); in avb_add_root_digest_substitution()
Davb_cmdline.h86 const char* part_name,
/external/u-boot/lib/libavb/
Davb_slot_verify.c51 const char* part_name, in load_full_partition() argument
65 avb_errorv(part_name, ": Partition size too large to load.\n", NULL); in load_full_partition()
72 ops, part_name, image_size, out_image_buf, &part_num_read); in load_full_partition()
76 avb_errorv(part_name, ": Error loading data from partition.\n", NULL); in load_full_partition()
82 avb_errorv(part_name, ": Read incorrect number of bytes.\n", NULL); in load_full_partition()
97 part_name, in load_full_partition()
105 avb_errorv(part_name, ": Error loading data from partition.\n", NULL); in load_full_partition()
109 avb_errorv(part_name, ": Read incorrect number of bytes.\n", NULL); in load_full_partition()
118 const char* part_name, in read_persistent_digest() argument
126 avb_errorv(part_name, ": Persistent values are not implemented.\n", NULL); in read_persistent_digest()
[all …]
Davb_cmdline.c39 char part_name[AVB_PART_NAME_MAX_SIZE]; in avb_sub_cmdline() local
42 if (!avb_str_concat(part_name, in avb_sub_cmdline()
43 sizeof part_name, in avb_sub_cmdline()
53 ops, part_name, guid_buf, sizeof guid_buf); in avb_sub_cmdline()
372 const char* part_name, in avb_add_root_digest_substitution() argument
378 size_t part_name_len = avb_strlen(part_name); in avb_add_root_digest_substitution()
398 avb_strdupv(kDigestSubPrefix, part_name, kDigestSubSuffix, NULL); in avb_add_root_digest_substitution()
Davb_cmdline.h66 const char* part_name,
/external/u-boot/drivers/fastboot/
Dfb_getvar.c24 static void getvar_partition_type(char *part_name, char *response);
27 static void getvar_partition_size(char *part_name, char *response);
131 static void getvar_has_slot(char *part_name, char *response) in getvar_has_slot() argument
133 if (part_name && (!strcmp(part_name, "boot") || in getvar_has_slot()
134 !strcmp(part_name, "system"))) in getvar_has_slot()
141 static void getvar_partition_type(char *part_name, char *response) in getvar_partition_type() argument
147 r = fastboot_mmc_get_part_info(part_name, &dev_desc, &part_info, in getvar_partition_type()
160 static void getvar_partition_size(char *part_name, char *response) in getvar_partition_size() argument
169 r = fastboot_mmc_get_part_info(part_name, &dev_desc, &part_info, in getvar_partition_size()
177 r = fastboot_nand_get_part_info(part_name, &part_info, response); in getvar_partition_size()
Dfb_mmc.c100 const char *part_name, void *buffer, in write_raw_image() argument
111 pr_err("too large for partition: '%s'\n", part_name); in write_raw_image()
127 part_name); in write_raw_image()
301 int fastboot_mmc_get_part_info(char *part_name, struct blk_desc **dev_desc, in fastboot_mmc_get_part_info() argument
311 if (!part_name) { in fastboot_mmc_get_part_info()
316 r = part_get_info_by_name_or_alias(*dev_desc, part_name, part_info); in fastboot_mmc_get_part_info()
Dfb_nand.c155 int fastboot_nand_get_part_info(char *part_name, struct part_info **part_info, in fastboot_nand_get_part_info() argument
160 return fb_nand_lookup(part_name, &mtd, part_info, response); in fastboot_nand_get_part_info()
/external/u-boot/common/
Dandroid_bootloader.c127 char *part_name; in android_part_get_info_by_name_suffix() local
134 part_name = malloc(part_name_len); in android_part_get_info_by_name_suffix()
135 if (!part_name) in android_part_get_info_by_name_suffix()
137 strcpy(part_name, base_name); in android_part_get_info_by_name_suffix()
139 strcat(part_name, slot_suffix); in android_part_get_info_by_name_suffix()
141 part_num = part_get_info_by_name(dev_desc, part_name, part_info); in android_part_get_info_by_name_suffix()
143 debug("ANDROID: Could not find partition \"%s\"\n", part_name); in android_part_get_info_by_name_suffix()
147 free(part_name); in android_part_get_info_by_name_suffix()
/external/u-boot/cmd/
Dubi.c41 char part_name[80]; member
481 int ubi_part(char *part_name, const char *vid_header_offset) in ubi_part() argument
494 if (find_dev_and_part(part_name, &dev, &pnum, &part)) { in ubi_part()
495 printf("Partition %s not found!\n", part_name); in ubi_part()
501 printf("Partition %s not found on device %s!\n", part_name, in ubi_part()
508 strcpy(ubi_dev.part_name, part_name); in ubi_part()
509 err = ubi_dev_scan(ubi_dev.mtd_info, ubi_dev.part_name, in ubi_part()
550 ubi_dev.nr, ubi_dev.mtd_info->name, ubi_dev.part_name); in do_ubi()
/external/u-boot/lib/
Dimage-sparse.c50 const char *part_name, void *data, char *response) in write_sparse_image() argument
253 printf("........ wrote %u bytes to '%s'\n", bytes_written, part_name); in write_sparse_image()
/external/u-boot/include/
Dfb_nand.h19 int fastboot_nand_get_part_info(char *part_name, struct part_info **part_info,
Dfb_mmc.h17 int fastboot_mmc_get_part_info(char *part_name, struct blk_desc **dev_desc,
Dubi_uboot.h73 extern int ubi_part(char *part_name, const char *vid_header_offset);
Dimage-sparse.h40 int write_sparse_image(struct sparse_storage *info, const char *part_name,
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java666 String part_name = null, file_name = null, content_type = null; in decodeMultipartFormData() local
678 part_name = matcher.group(2); in decodeMultipartFormData()
707 parms.put(part_name, new String(data_bytes, encoding)); in decodeMultipartFormData()
711 if (!files.containsKey(part_name)) { in decodeMultipartFormData()
712 files.put(part_name, path); in decodeMultipartFormData()
715 while (files.containsKey(part_name + count)) { in decodeMultipartFormData()
718 files.put(part_name + count, path); in decodeMultipartFormData()
720 parms.put(part_name, file_name); in decodeMultipartFormData()
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dmoving_average_optimizer_test.py121 def _get_variable(var_name, part_name, ema): argument
126 and (part_name in v.op.name)
/external/avb/
DREADME.md359 [--chain_partition part_name:rollback_index_location:/path/to/key1.bin] \