/openbmc/linux/scripts/kconfig/ |
H A D | lkc.h | 66 struct gstr { struct 75 struct gstr str_new(void); argument 76 void str_free(struct gstr *gs); 77 void str_append(struct gstr *gs, const char *s); 78 void str_printf(struct gstr *gs, const char *fmt, ...); 79 char *str_get(struct gstr *gs); 105 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head); 106 void menu_get_ext_help(struct menu *menu, struct gstr *help);
|
H A D | util.c | 32 struct gstr str_new(void) in str_new() 34 struct gstr gs; in str_new() 43 void str_free(struct gstr *gs) in str_free() 52 void str_append(struct gstr *gs, const char *s) in str_append() 66 void str_printf(struct gstr *gs, const char *fmt, ...) in str_printf() 77 char *str_get(struct gstr *gs) in str_get()
|
H A D | menu.c | 687 static void get_def_str(struct gstr *r, struct menu *menu) in get_def_str() 693 static void get_dep_str(struct gstr *r, struct expr *expr, const char *prefix) in get_dep_str() 707 static void get_prompt_str(struct gstr *r, struct property *prop, in get_prompt_str() 766 static void get_symbol_props_str(struct gstr *r, struct symbol *sym, in get_symbol_props_str() 787 static void get_symbol_str(struct gstr *r, struct symbol *sym, in get_symbol_str() 838 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head) in get_relations_str() 841 struct gstr res = str_new(); in get_relations_str() 852 void menu_get_ext_help(struct menu *menu, struct gstr *help) in menu_get_ext_help()
|
H A D | expr.h | 305 struct gstr; /* forward */ 306 void expr_gstr_print(struct expr *e, struct gstr *gs); 307 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs,
|
H A D | mconf.c | 372 struct gstr help = str_new(); in show_help() 436 struct gstr res; in search_conf() 437 struct gstr title; in search_conf() 441 struct gstr sttext; in search_conf()
|
H A D | nconf.c | 749 struct gstr res; in search_conf() 750 struct gstr title; in search_conf() 1309 struct gstr help; in show_help()
|
H A D | expr.c | 1213 struct gstr *gs = (struct gstr*)data; in expr_print_gstr_helper() 1241 void expr_gstr_print(struct expr *e, struct gstr *gs) in expr_gstr_print() 1270 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs, in expr_gstr_print_revdep()
|
H A D | conf.c | 51 struct gstr help = str_new(); in print_help()
|
H A D | symbol.c | 306 struct gstr gs = str_new(); in sym_warn_unmet_dep()
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | util.c | 81 struct gstr str_new(void) in str_new() 83 struct gstr gs; in str_new() 92 void str_free(struct gstr *gs) in str_free() 101 void str_append(struct gstr *gs, const char *s) in str_append() 115 void str_printf(struct gstr *gs, const char *fmt, ...) in str_printf() 126 const char *str_get(struct gstr *gs) in str_get()
|
H A D | lkc.h | 121 struct gstr { struct 130 struct gstr str_new(void); argument 131 void str_free(struct gstr *gs); 132 void str_append(struct gstr *gs, const char *s); 133 void str_printf(struct gstr *gs, const char *fmt, ...); 134 const char *str_get(struct gstr *gs);
|
H A D | lkc_proto.h | 26 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head); 27 void menu_get_ext_help(struct menu *menu, struct gstr *help);
|
H A D | expr.h | 310 struct gstr; /* forward */ 311 void expr_gstr_print(struct expr *e, struct gstr *gs); 312 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs,
|
H A D | menu.c | 707 static void get_prompt_str(struct gstr *r, struct property *prop, in get_prompt_str() 776 static void get_symbol_props_str(struct gstr *r, struct symbol *sym, in get_symbol_props_str() 797 static void get_symbol_str(struct gstr *r, struct symbol *sym, in get_symbol_str() 846 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head) in get_relations_str() 849 struct gstr res = str_new(); in get_relations_str() 860 void menu_get_ext_help(struct menu *menu, struct gstr *help) in menu_get_ext_help()
|
H A D | mconf.c | 394 struct gstr res; in search_conf() 395 struct gstr title; in search_conf() 399 struct gstr sttext; in search_conf() 791 struct gstr help = str_new(); in show_help()
|
H A D | nconf.c | 694 struct gstr res; in search_conf() 695 struct gstr title; in search_conf() 1223 struct gstr help; in show_help()
|
H A D | expr.c | 1244 struct gstr *gs = (struct gstr*)data; in expr_print_gstr_helper() 1272 void expr_gstr_print(struct expr *e, struct gstr *gs) in expr_gstr_print() 1301 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs, in expr_gstr_print_revdep()
|
H A D | conf.c | 49 struct gstr help = str_new(); in print_help()
|
H A D | symbol.c | 338 struct gstr gs = str_new(); in sym_warn_unmet_dep()
|
H A D | gconf.c | 372 struct gstr help = str_new(); in text_insert_help()
|
/openbmc/qemu/tests/unit/ |
H A D | check-qjson.c | 1116 g_assert(gstr); in gen_test_json() 1118 g_string_append(gstr, "["); in gen_test_json() 1120 g_string_append_printf(gstr, "%d", i); in gen_test_json() 1125 g_string_append(gstr, "]"); in gen_test_json() 1129 g_string_append(gstr, "{"); in gen_test_json() 1132 gen_test_json(gstr, i, elem_count); in gen_test_json() 1134 g_string_append(gstr, ","); in gen_test_json() 1137 g_string_append(gstr, "}"); in gen_test_json() 1142 GString *gstr = g_string_new(""); in large_dict() local 1145 gen_test_json(gstr, 10, 100); in large_dict() [all …]
|
/openbmc/qemu/qobject/ |
H A D | qstring.c | 59 QString *qstring_from_gstring(GString *gstr) in qstring_from_gstring() argument 65 qstring->string = g_string_free(gstr, false); in qstring_from_gstring()
|
/openbmc/qemu/system/ |
H A D | qtest.c | 901 static GString *gstr; in qtest_server_inproc_recv() local 902 if (!gstr) { in qtest_server_inproc_recv() 903 gstr = g_string_new(NULL); in qtest_server_inproc_recv() 905 g_string_append(gstr, buf); in qtest_server_inproc_recv() 906 if (gstr->str[gstr->len - 1] == '\n') { in qtest_server_inproc_recv() 907 qtest_process_inbuf(NULL, gstr); in qtest_server_inproc_recv() 908 g_string_truncate(gstr, 0); in qtest_server_inproc_recv()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | qstring.h | 30 QString *qstring_from_gstring(GString *gstr);
|
/openbmc/linux/drivers/usb/gadget/ |
H A D | composite.c | 2346 struct usb_gadget_strings *gstr = cdev->driver->strings[0]; in __composite_unbind() local 2347 struct usb_string *dev_str = gstr->strings; in __composite_unbind() 2769 struct usb_gadget_strings *gstr = cdev->driver->strings[0]; in usb_composite_overwrite_options() local 2770 struct usb_string *dev_str = gstr->strings; in usb_composite_overwrite_options()
|