| /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()
|
| H A D | qconf.cc | 1114 struct gstr help_gstr = str_new(); in menuInfo()
|
| /openbmc/qemu/hw/uefi/ |
| H A D | var-service-json.c | 157 GString *gstr; in uefi_vars_to_json() local 166 gstr = qobject_to_json_pretty(qobj, true); in uefi_vars_to_json() 169 return gstr; in uefi_vars_to_json() 181 g_autoptr(GString) gstr = NULL; in uefi_vars_json_save() 188 gstr = uefi_vars_to_json(uv); in uefi_vars_json_save() 202 rc = write(uv->jsonfd, gstr->str, gstr->len); in uefi_vars_json_save() 203 if (rc != gstr->len) { in uefi_vars_json_save()
|
| /openbmc/qemu/tests/unit/ |
| H A D | check-qjson.c | 1111 static void gen_test_json(GString *gstr, int nest_level_max, in gen_test_json() argument 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() 1122 g_string_append_printf(gstr, ", "); in gen_test_json() 1125 g_string_append(gstr, "]"); in gen_test_json() 1129 g_string_append(gstr, "{"); in gen_test_json() 1131 g_string_append_printf(gstr, "'key%d': ", i); 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() [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/include/qobject/ |
| H A D | qstring.h | 30 QString *qstring_from_gstring(GString *gstr);
|
| /openbmc/qemu/system/ |
| H A D | qtest.c | 892 static GString *gstr; in qtest_server_inproc_recv() local 893 if (!gstr) { in qtest_server_inproc_recv() 894 gstr = g_string_new(NULL); in qtest_server_inproc_recv() 896 g_string_append(gstr, buf); in qtest_server_inproc_recv() 897 if (gstr->str[gstr->len - 1] == '\n') { in qtest_server_inproc_recv() 898 qtest_process_inbuf(NULL, gstr); in qtest_server_inproc_recv() 899 g_string_truncate(gstr, 0); in qtest_server_inproc_recv()
|