| /openbmc/openbmc/meta-hpe/meta-gxp/recipes-connectivity/jsnbd/jsnbd/ |
| H A D | state_hook | 37 mkdir -p strings/0x409 38 echo "OpenBMC" > strings/0x409/manufacturer 39 echo "Virtual Media Device" > strings/0x409/product 40 mkdir -p configs/c.1/strings/0x409 41 echo "config 1" > configs/c.1/strings/0x409/configuration 57 rmdir configs/c.1/strings/0x409 59 rmdir strings/0x409
|
| /openbmc/openbmc/meta-phosphor/recipes-connectivity/jsnbd/jsnbd/ |
| H A D | state_hook | 55 mkdir -p strings/0x409 56 echo "OpenBMC" > strings/0x409/manufacturer 57 echo "Virtual Media Device" > strings/0x409/product 58 mkdir -p configs/c.1/strings/0x409 59 echo "config 1" > configs/c.1/strings/0x409/configuration 75 rmdir configs/c.1/strings/0x409 77 rmdir strings/0x409
|
| /openbmc/openbmc/meta-ufispace/meta-common/recipes-phosphor/network/usb-network/ |
| H A D | usb-network.sh | 11 mkdir -p strings/0x409 12 echo "Linux" > strings/0x409/manufacturer 13 echo "Ethernet/ECM gadget" > strings/0x409/product 17 mkdir -p configs/c.1/strings/0x409 18 echo "ECM" > configs/c.1/strings/0x409/configuration
|
| /openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/network/usb-network/ |
| H A D | usb_network.sh | 11 mkdir -p strings/0x409 12 echo "Linux" > strings/0x409/manufacturer 13 echo "Ethernet/ECM gadget" > strings/0x409/product 17 mkdir -p configs/c.1/strings/0x409 18 echo "ECM" > configs/c.1/strings/0x409/configuration
|
| /openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs/ |
| H A D | android-gadget-setup | 24 mkdir strings/0x409 25 mkdir configs/c.1/strings/0x409 28 echo "$serial" > strings/0x409/serialnumber 29 echo "$manufacturer" > strings/0x409/manufacturer 30 echo "$model" > strings/0x409/product 31 echo "Conf 1" > configs/c.1/strings/0x409/configuration
|
| H A D | android-gadget-cleanup | 17 rmdir configs/c.1/strings/0x409 21 rmdir strings/0x409
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/ |
| H A D | android-gadget-setup | 24 mkdir strings/0x409 25 mkdir configs/c.1/strings/0x409 28 echo "$serial" > strings/0x409/serialnumber 29 echo "$manufacturer" > strings/0x409/manufacturer 30 echo "$model" > strings/0x409/product 31 echo "Conf 1" > configs/c.1/strings/0x409/configuration
|
| H A D | android-gadget-cleanup | 17 rmdir configs/c.1/strings/0x409 21 rmdir strings/0x409
|
| /openbmc/openbmc/meta-hpe/meta-common/recipes-phosphor/recipes-graphics/obmc-ikvm/ |
| H A D | create_usbhid.sh | 18 mkdir strings/0x409 20 echo "OpenBMC" > strings/0x409/manufacturer 21 echo "virtual_input" > strings/0x409/product 22 echo "OBMC0001" > strings/0x409/serialnumber 116 mkdir configs/c.1/strings/0x409 120 echo "" > configs/c.1/strings/0x409/configuration
|
| /openbmc/openbmc/meta-nvidia/recipes-nvidia/usb-ethernet-init/files/ |
| H A D | usb-ethernet-init.sh | 13 mkdir -p strings/0x409 14 echo "OpenBMC" > strings/0x409/manufacturer 15 echo "OpenBMC ECM Ethernet" > strings/0x409/product 17 mkdir -p configs/c.1/strings/0x409 18 echo "Config 1: ECM network" > configs/c.1/strings/0x409/configuration
|
| /openbmc/openbmc/poky/meta/recipes-devtools/go/go/ |
| H A D | 0007-exec.go-filter-out-build-specific-paths-from-linker-.patch | 35 …strings.HasPrefix(flag, "--sysroot") || strings.HasPrefix(flag, "-fmacro-prefix-map") || strings.H… 37 + } else if strings.HasPrefix(flag, "-extldflags") { 40 + var filterd_Extldflags []string = filterLinkerFlags(strings.Split(flags[i+1], " ")) 41 + newflags = append(newflags, strings.Join(filterd_Extldflags, " "))
|
| H A D | 0009-go-Filter-build-paths-on-staticly-linked-arches.patch | 29 + for _, flag := range strings.Fields(flags) { 30 + if strings.HasPrefix(flag, "--sysroot") || strings.HasPrefix(flag, "-fmacro-prefix-map") || stri… 35 + return strings.Join(newflags, " ")
|
| /openbmc/obmc-ikvm/ |
| H A D | create_usbhid.sh | 28 mkdir strings/0x409 30 echo "OpenBMC" > strings/0x409/manufacturer 31 echo "Virtual Keyboard and Mouse" > strings/0x409/product 32 echo "OBMC0001" > strings/0x409/serialnumber 126 mkdir configs/c.1/strings/0x409 130 echo "" > configs/c.1/strings/0x409/configuration
|
| /openbmc/openbmc/meta-quanta/meta-common/recipes-quanta/network/usb-network/ |
| H A D | usb-network.sh | 31 mkdir -p strings/0x409 32 echo "Linux" > strings/0x409/manufacturer 33 echo "Etherned/ECM gadget" > strings/0x409/product 37 mkdir -p configs/c.1/strings/0x409 38 echo "ECM" > configs/c.1/strings/0x409/configuration
|
| /openbmc/phosphor-logging/lib/ |
| H A D | lg2_logger.cpp | 251 std::vector<std::string> strings{static_locs}; in do_log() local 256 strings[pos_fmtmsg] = "LOG2_FMTMSG="s + m; in do_log() 257 strings[pos_prio] = "PRIORITY="s + std::to_string(static_cast<uint64_t>(l)); in do_log() 258 strings[pos_file] = "CODE_FILE="s + s.file_name(); in do_log() 259 strings[pos_line] = "CODE_LINE="s + std::to_string(s.line()); in do_log() 260 strings[pos_func] = "CODE_FUNC="s + s.function_name(); in do_log() 311 strings.emplace_back(h + '=' + value); in do_log() 323 strings[pos_msg] = "MESSAGE="s + message.data(); in do_log() 327 std::ranges::transform(strings, std::back_inserter(iov), [](auto& s) { in do_log() 334 sd_journal_sendv(iov.data(), strings.size()); in do_log()
|
| /openbmc/u-boot/lib/efi_loader/ |
| H 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() 201 if (!stbl->strings[idx].string) { in add_strings_package() 231 free(stbl->strings[--idx].string); in add_strings_package() 232 free(stbl->strings); in add_strings_package() 868 buf = realloc(stbl->strings, in new_string() [all …]
|
| /openbmc/phosphor-misc/usb-ctrl/ |
| H A D | usb-ctrl | 180 mkdir strings/0x409 187 echo "$serial" > strings/0x409/serialnumber 188 echo "OpenBMC" > strings/0x409/manufacturer 189 echo "OpenBMC USB Device" > strings/0x409/product 214 mkdir configs/c.1/strings/0x409 216 echo "Conf 1" > configs/c.1/strings/0x409/configuration
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | f_dfu.c | 33 struct usb_string *strings; member 99 .strings = strings_dfu_generic, 226 f_dfu->usb_function.strings = dfu_strings; in to_dfu_mode() 234 f_dfu->usb_function.strings = NULL; in to_runtime_mode() 628 f_dfu->strings = calloc(sizeof(struct usb_string), n + 1); in dfu_prepare_strings() 629 if (!f_dfu->strings) in dfu_prepare_strings() 634 f_dfu->strings[i].s = de->name; in dfu_prepare_strings() 637 f_dfu->strings[i].id = 0; in dfu_prepare_strings() 638 f_dfu->strings[i].s = NULL; in dfu_prepare_strings() 716 f_dfu->strings[i].id = id; in dfu_bind() [all …]
|
| /openbmc/u-boot/drivers/usb/emul/ |
| H A D | usb-emul-uclass.c | 29 static int usb_emul_get_string(struct usb_string *strings, int index, in usb_emul_get_string() argument 40 } else if (strings) { in usb_emul_get_string() 43 for (ptr = strings; ptr->s; ptr++) { in usb_emul_get_string() 87 return usb_emul_get_string(plat->strings, index, buffer, in usb_emul_get_descriptor() 259 int usb_emul_setup_device(struct udevice *dev, struct usb_string *strings, in usb_emul_setup_device() argument 267 plat->strings = strings; in usb_emul_setup_device()
|
| /openbmc/u-boot/lib/libavb/ |
| H A D | avb_util.c | 234 const char* avb_strv_find_str(const char* const* strings, in avb_strv_find_str() argument 238 for (n = 0; strings[n] != NULL; n++) { in avb_strv_find_str() 239 if (avb_strlen(strings[n]) == str_size && in avb_strv_find_str() 240 avb_memcmp(strings[n], str, str_size) == 0) { in avb_strv_find_str() 241 return strings[n]; in avb_strv_find_str() 328 const char* strings[AVB_STRDUPV_MAX_NUM_STRINGS]; in avb_strdupv() local 339 strings[num_strings] = str; in avb_strdupv() 361 avb_memcpy(dest, strings[n], lengths[n]); in avb_strdupv()
|
| /openbmc/u-boot/include/linux/usb/ |
| H A D | composite.h | 95 struct usb_gadget_strings **strings; member 199 struct usb_gadget_strings **strings; member 267 struct usb_gadget_strings **strings; member
|
| /openbmc/openbmc/poky/meta/recipes-support/libunistring/ |
| H A D | libunistring_1.3.bb | 1 SUMMARY = "Library for manipulating C and Unicode strings" 11 Unicode strings and for manipulating C strings according to the Unicode\
|
| /openbmc/bmcweb/include/ |
| H A D | str_utility.hpp | 17 inline void split(std::vector<std::string>& strings, std::string_view str, in split() argument 25 strings.emplace_back(str.substr(start, end - start)); in split()
|
| /openbmc/pldm/libpldmresponder/test/ |
| H A D | libpldmresponder_bios_config_test.cpp | 121 std::set<std::string> strings; in TEST_F() local 126 strings.emplace(str); in TEST_F() 129 EXPECT_EQ(strings, expectedStrings); in TEST_F() 184 std::vector<std::string> strings; in TEST_F() local 188 strings.emplace_back(s); in TEST_F() 190 EXPECT_EQ(strings, possibleValues); in TEST_F() 263 std::set<std::string> strings{"pvm_system_name", "pvm_stop_at_standby", in TEST_F() local 267 for (const auto& elem : strings) in TEST_F()
|
| /openbmc/u-boot/tools/ |
| H A D | image-host.c | 356 char **strings; member 369 free(list->strings[i]); in strlist_free() 370 free(list->strings); in strlist_free() 378 list->strings = realloc(list->strings, in strlist_add() 382 list->strings[list->count++] = dup; in strlist_add() 535 count = fdt_find_regions(fit, node_inc.strings, node_inc.count, in fit_config_get_data() 561 debug(" %s\n", node_inc.strings[i]); in fit_config_get_data() 562 len += strlen(node_inc.strings[i]) + 1; in fit_config_get_data() 571 len += strlen(node_inc.strings[i]) + 1, i++) in fit_config_get_data() 572 strcpy(region_prop + len, node_inc.strings[i]); in fit_config_get_data()
|