Searched refs:gs (Results 1 – 7 of 7) sorted by relevance
| /scripts/kconfig/ |
| D | util.c | 51 struct gstr gs; in str_new() local 52 gs.s = xmalloc(sizeof(char) * 64); in str_new() 53 gs.len = 64; in str_new() 54 gs.max_width = 0; in str_new() 55 strcpy(gs.s, "\0"); in str_new() 56 return gs; in str_new() 60 void str_free(struct gstr *gs) in str_free() argument 62 free(gs->s); in str_free() 63 gs->s = NULL; in str_free() 64 gs->len = 0; in str_free() [all …]
|
| 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);
|
| D | preprocess.h | 12 void env_write_dep(struct gstr *gs);
|
| 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 …]
|
| D | expr.h | 303 void expr_gstr_print(const struct expr *e, struct gstr *gs); 304 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs,
|
| D | symbol.c | 362 struct gstr gs = str_new(); in sym_warn_unmet_dep() local 364 str_printf(&gs, in sym_warn_unmet_dep() 367 str_printf(&gs, in sym_warn_unmet_dep() 370 expr_gstr_print(sym->dir_dep.expr, &gs); in sym_warn_unmet_dep() 371 str_printf(&gs, "\n"); in sym_warn_unmet_dep() 373 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, yes, in sym_warn_unmet_dep() 375 expr_gstr_print_revdep(sym->rev_dep.expr, &gs, mod, in sym_warn_unmet_dep() 378 fputs(str_get(&gs), stderr); in sym_warn_unmet_dep() 379 str_free(&gs); in sym_warn_unmet_dep()
|
| /scripts/gcc-plugins/ |
| D | gcc-common.h | 188 inline bool is_a_helper<const gassign *>::test(const_gimple gs) in test() argument 190 return gs->code == GIMPLE_ASSIGN; in test() 353 inline bool is_a_helper<const ggoto *>::test(const_gimple gs) in test() argument 355 return gs->code == GIMPLE_GOTO; in test() 360 inline bool is_a_helper<const greturn *>::test(const_gimple gs) in test() argument 362 return gs->code == GIMPLE_RETURN; in test()
|