/u-boot/lib/efi_loader/ |
A D | efi_hii.c | 83 struct efi_string_info *strings; member 107 free(stbl->strings[i].string); in free_strings_table() 108 free(stbl->strings); in free_strings_table() 174 stbl->strings = calloc(sizeof(stbl->strings[0]), nstrings); in add_strings_package() 175 if (!stbl->strings) { in add_strings_package() 199 stbl->strings[idx].string = in add_strings_package() 232 free(stbl->strings); in add_strings_package() 847 buf = realloc(stbl->strings, in new_string() 856 stbl->strings = buf; in new_string() 955 buf = realloc(stbl->strings, in set_string() [all …]
|
/u-boot/drivers/usb/gadget/ |
A D | f_dfu.c | 35 struct usb_string *strings; member 101 .strings = strings_dfu_generic, 636 if (!f_dfu->strings) in dfu_prepare_strings() 641 f_dfu->strings[i].s = de->name; in dfu_prepare_strings() 644 f_dfu->strings[i].id = 0; in dfu_prepare_strings() 645 f_dfu->strings[i].s = NULL; in dfu_prepare_strings() 723 f_dfu->strings[i].id = id; in dfu_bind() 730 stringtab_dfu.strings = f_dfu->strings; in dfu_bind() 748 if (f_dfu->strings) { in dfu_unbind() 751 f_dfu->strings[--i].s = NULL; in dfu_unbind() [all …]
|
A D | usbstring.c | 49 for (s = table->strings; s && s->s; s++) in usb_gadget_get_string()
|
A D | g_dnl.c | 85 .strings = g_dnl_string_defs, 288 .strings = g_dnl_composite_strings,
|
A D | composite.c | 628 sp = composite->strings; in get_string() 633 sp = c->strings; in get_string() 638 sp = f->strings; in get_string() 668 if (composite->strings) { in get_string() 669 len = lookup_string(composite->strings, buf, language, id); in get_string() 674 if (c->strings) { in get_string() 675 len = lookup_string(c->strings, buf, language, id); in get_string() 680 if (!f->strings) in get_string() 682 len = lookup_string(f->strings, buf, language, id); in get_string()
|
/u-boot/drivers/usb/emul/ |
A D | usb-emul-uclass.c | 30 static int usb_emul_get_string(struct usb_string *strings, int index, in usb_emul_get_string() argument 41 } else if (strings) { in usb_emul_get_string() 44 for (ptr = strings; ptr->s; ptr++) { in usb_emul_get_string() 88 return usb_emul_get_string(plat->strings, index, buffer, in usb_emul_get_descriptor() 262 int usb_emul_setup_device(struct udevice *dev, struct usb_string *strings, in usb_emul_setup_device() argument 270 plat->strings = strings; in usb_emul_setup_device()
|
/u-boot/test/py/tests/ |
A D | vboot_forge.py | 180 def parse_strings(strings): argument 184 strings = strings.split(b'\x00') 185 return StringsBlock(strings) 232 strings = fp.read(header.size_dt_strings) 233 strblock = parse_strings(strings) 315 strings = compose_strings(strblock) 317 header.size_dt_strings = len(strings) 318 fp.write(strings)
|
/u-boot/lib/libavb/ |
A D | avb_util.c | 236 const char* avb_strv_find_str(const char* const* strings, in avb_strv_find_str() argument 240 for (n = 0; strings[n] != NULL; n++) { in avb_strv_find_str() 241 if (avb_strlen(strings[n]) == str_size && in avb_strv_find_str() 242 avb_memcmp(strings[n], str, str_size) == 0) { in avb_strv_find_str() 243 return strings[n]; in avb_strv_find_str() 330 const char* strings[AVB_STRDUPV_MAX_NUM_STRINGS]; in avb_strdupv() local 341 strings[num_strings] = str; in avb_strdupv() 363 avb_memcpy(dest, strings[n], lengths[n]); in avb_strdupv()
|
/u-boot/include/linux/usb/ |
A D | composite.h | 146 struct usb_gadget_strings **strings; member 254 struct usb_gadget_strings **strings; member 324 struct usb_gadget_strings **strings; member
|
/u-boot/lib/efi_selftest/ |
A D | efi_selftest_fdt.c | 60 const char *strings; in get_property() local 76 strings = fdt + f2h(header->off_dt_strings); in get_property() 94 const char *label = &strings[f2h(prop->nameoff)]; in get_property()
|
/u-boot/tools/ |
A D | image-host.c | 651 char **strings; member 664 free(list->strings[i]); in strlist_free() 665 free(list->strings); in strlist_free() 673 list->strings = realloc(list->strings, in strlist_add() 677 list->strings[list->count++] = dup; in strlist_add() 873 count = fdt_find_regions(fit, node_inc.strings, node_inc.count, in fit_config_get_data() 899 debug(" %s\n", node_inc.strings[i]); in fit_config_get_data() 900 len += strlen(node_inc.strings[i]) + 1; in fit_config_get_data() 909 len += strlen(node_inc.strings[i]) + 1, i++) in fit_config_get_data() 910 strcpy(region_prop + len, node_inc.strings[i]); in fit_config_get_data()
|
/u-boot/cmd/ |
A D | strings.c | 42 strings, 3, 1, do_strings,
|
/u-boot/arch/x86/include/asm/ |
A D | coreboot_tables.h | 70 u8 strings[0]; member 295 (((unsigned char *) ((_mb)->strings)) + (_mb)->vendor_idx) 298 (((unsigned char *) ((_mb)->strings)) + (_mb)->part_number_idx)
|
/u-boot/common/ |
A D | image-fit-sig.c | 251 const uint32_t *strings; in fit_config_check_sig() local 344 strings = fdt_getprop(fit, noffset, "hashed-strings", NULL); in fit_config_check_sig() 345 if (strings) { in fit_config_check_sig() 351 fdt_regions[count].size = fdt32_to_cpu(strings[1]); in fit_config_check_sig()
|
/u-boot/doc/device-tree-bindings/mailbox/ |
A D | nvidia,tegra186-hsp.txt | 15 Array of strings. 20 Array of strings.
|
A D | mailbox.txt | 25 - mbox-names: List of identifier strings for each mailbox channel.
|
/u-boot/doc/ |
A D | README.kwbimage | 53 1. Each command line is must have two strings, first one command or address 55 2. Following are the valid command strings and associated data strings:-
|
A D | README.commands.itest | 2 support for comparing strings as well :-))
|
A D | README.ublimage | 45 1. Each command line must have two strings, first one command or address 47 2. Following are the valid command strings and associated data strings:-
|
/u-boot/tools/dtoc/ |
A D | fdt.py | 69 strings = data.split(b'\0') 71 count = len(strings) - 1 72 if count > 0 and not len(strings[-1]): 73 for string in strings[:-1]: 85 return Type.STRING, strings[0].decode() 87 return Type.STRING, [s.decode() for s in strings[:-1]]
|
/u-boot/doc/driver-model/ |
A D | soc-framework.rst | 29 allows drivers to define soc_ops that return identification strings. All 47 strings directly. It also has the ability to return a match from a list of
|
/u-boot/doc/usage/ |
A D | echo.rst | 34 Observe how variables included in strings are handled:
|
/u-boot/tools/scripts/ |
A D | define2mk.sed | 21 # Assume strings as default - add quotes around values
|
/u-boot/doc/device-tree-bindings/pwm/ |
A D | pwm-sifive.txt | 14 Supported compatible strings are: "sifive,fu540-c000-pwm" for the SiFive
|
/u-boot/doc/device-tree-bindings/i2c/ |
A D | nvidia,tegra186-bpmp-i2c.txt | 17 Array of strings.
|