Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 25 of 75) sorted by relevance

123

/u-boot/lib/efi_loader/
A Defi_hii.c83 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 Df_dfu.c35 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 Dusbstring.c49 for (s = table->strings; s && s->s; s++) in usb_gadget_get_string()
A Dg_dnl.c85 .strings = g_dnl_string_defs,
288 .strings = g_dnl_composite_strings,
A Dcomposite.c628 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 Dusb-emul-uclass.c30 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 Dvboot_forge.py180 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 Davb_util.c236 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 Dcomposite.h146 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 Defi_selftest_fdt.c60 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 Dimage-host.c651 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 Dstrings.c42 strings, 3, 1, do_strings,
/u-boot/arch/x86/include/asm/
A Dcoreboot_tables.h70 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 Dimage-fit-sig.c251 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 Dnvidia,tegra186-hsp.txt15 Array of strings.
20 Array of strings.
A Dmailbox.txt25 - mbox-names: List of identifier strings for each mailbox channel.
/u-boot/doc/
A DREADME.kwbimage53 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 DREADME.commands.itest2 support for comparing strings as well :-))
A DREADME.ublimage45 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 Dfdt.py69 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 Dsoc-framework.rst29 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 Decho.rst34 Observe how variables included in strings are handled:
/u-boot/tools/scripts/
A Ddefine2mk.sed21 # Assume strings as default - add quotes around values
/u-boot/doc/device-tree-bindings/pwm/
A Dpwm-sifive.txt14 Supported compatible strings are: "sifive,fu540-c000-pwm" for the SiFive
/u-boot/doc/device-tree-bindings/i2c/
A Dnvidia,tegra186-bpmp-i2c.txt17 Array of strings.

Completed in 32 milliseconds

123