Lines Matching refs:gs
1175 struct gstr *gs = (struct gstr*)data; in expr_print_gstr_helper() local
1181 if (gs->max_width) { in expr_print_gstr_helper()
1183 const char *last_cr = strrchr(gs->s, '\n'); in expr_print_gstr_helper()
1190 last_cr = gs->s; in expr_print_gstr_helper()
1192 last_line_length = strlen(gs->s) - (last_cr - gs->s); in expr_print_gstr_helper()
1194 if ((last_line_length + extra_length) > gs->max_width) in expr_print_gstr_helper()
1195 str_append(gs, "\\\n"); in expr_print_gstr_helper()
1198 str_append(gs, str); in expr_print_gstr_helper()
1200 str_printf(gs, " [=%s]", sym_str); in expr_print_gstr_helper()
1203 void expr_gstr_print(struct expr *e, struct gstr *gs) in expr_gstr_print() argument
1205 expr_print(e, expr_print_gstr_helper, gs, E_NONE); in expr_gstr_print()