Searched refs:gs (Results 1 – 7 of 7) sorted by relevance
| /scripts/kconfig/ |
| A D | util.c | 51 struct gstr gs; in str_new() local 53 gs.len = 64; in str_new() 54 gs.max_width = 0; in str_new() 56 return gs; in str_new() 62 free(gs->s); in str_free() 63 gs->s = NULL; in str_free() 64 gs->len = 0; in str_free() 74 gs->s = xrealloc(gs->s, l); in str_append() 75 gs->len = l; in str_append() 77 strcat(gs->s, s); in str_append() [all …]
|
| A D | lkc.h | 69 void str_free(struct gstr *gs); 70 void str_append(struct gstr *gs, const char *s); 71 void str_printf(struct gstr *gs, const char *fmt, ...); 72 char *str_get(const struct gstr *gs);
|
| A D | preprocess.h | 12 void env_write_dep(struct gstr *gs);
|
| A D | expr.c | 1119 struct gstr *gs = (struct gstr*)data; in expr_print_gstr_helper() local 1125 if (gs->max_width) { in expr_print_gstr_helper() 1127 const char *last_cr = strrchr(gs->s, '\n'); in expr_print_gstr_helper() 1134 last_cr = gs->s; in expr_print_gstr_helper() 1136 last_line_length = strlen(gs->s) - (last_cr - gs->s); in expr_print_gstr_helper() 1138 if ((last_line_length + extra_length) > gs->max_width) in expr_print_gstr_helper() 1139 str_append(gs, "\\\n"); in expr_print_gstr_helper() 1142 str_append(gs, str); in expr_print_gstr_helper() 1144 str_printf(gs, " [=%s]", sym_str); in expr_print_gstr_helper() 1147 void expr_gstr_print(const struct expr *e, struct gstr *gs) in expr_gstr_print() argument [all …]
|
| A D | expr.h | 314 void expr_gstr_print(const struct expr *e, struct gstr *gs); 315 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs,
|
| A D | symbol.c | 378 struct gstr gs = str_new(); in sym_warn_unmet_dep() local 380 str_printf(&gs, in sym_warn_unmet_dep() 383 str_printf(&gs, in sym_warn_unmet_dep() 386 expr_gstr_print(sym->dir_dep.expr, &gs); in sym_warn_unmet_dep() 387 str_printf(&gs, "\n"); in sym_warn_unmet_dep() 389 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, in sym_warn_unmet_dep() 391 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, in sym_warn_unmet_dep() 394 fputs(str_get(&gs), stderr); in sym_warn_unmet_dep() 395 str_free(&gs); in sym_warn_unmet_dep()
|
| /scripts/gcc-plugins/ |
| A D | gcc-common.h | 316 inline bool is_a_helper<const ggoto *>::test(const_gimple gs) in test() argument 318 return gs->code == GIMPLE_GOTO; in test() 323 inline bool is_a_helper<const greturn *>::test(const_gimple gs) in test() argument 325 return gs->code == GIMPLE_RETURN; in test()
|
Completed in 12 milliseconds