Lines Matching refs:gs
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
1149 expr_print(e, expr_print_gstr_helper, gs, E_NONE); in expr_gstr_print()
1176 void expr_gstr_print_revdep(struct expr *e, struct gstr *gs, in expr_gstr_print_revdep() argument
1179 expr_print_revdep(e, expr_print_gstr_helper, gs, pr_type, &title); in expr_gstr_print_revdep()