Lines Matching refs:gs
490 GString *gs = g_string_new (NULL); in get_font() local
500 g_string_append_len (gs, buf, ret); in get_font()
502 len = gs->len; in get_font()
503 font_data = g_string_free (gs, false); in get_font()
643 gs = g_string_new (NULL); in get_line()
646 g_string_set_size (gs, 0); in get_line()
652 g_string_append_len (gs, buf, bytes); in get_line()
655 g_string_append_len (gs, buf, bytes); in get_line()
660 *len = gs->len; in get_line()
661 return !*len && feof (fp) ? NULL : gs->str; in get_line()
728 GString *gs) in serialize_unicode() argument
733 g_string_append_c (gs, '<'); in serialize_unicode()
737 g_string_append_c (gs, ','); in serialize_unicode()
738 g_string_append_printf (gs, "U+%04X", info->codepoint); in serialize_unicode()
741 g_string_append_c (gs, '>'); in serialize_unicode()
749 GString *gs) in serialize_glyphs() argument
751 g_string_append_c (gs, '['); in serialize_glyphs()
763 g_string_append (gs, buf); in serialize_glyphs()
765 g_string_append_c (gs, ']'); in serialize_glyphs()
769 GString *gs) in serialize_line_no() argument
772 g_string_append_printf (gs, "%d: ", line_no); in serialize_line_no()
780 GString *gs) in serialize_buffer_of_text() argument
783 serialize_line_no (line_no, gs); in serialize_buffer_of_text()
784 g_string_append_c (gs, '('); in serialize_buffer_of_text()
785 g_string_append_len (gs, text, text_len); in serialize_buffer_of_text()
786 g_string_append_c (gs, ')'); in serialize_buffer_of_text()
787 g_string_append_c (gs, '\n'); in serialize_buffer_of_text()
791 serialize_line_no (line_no, gs); in serialize_buffer_of_text()
792 serialize_unicode (buffer, gs); in serialize_buffer_of_text()
793 g_string_append_c (gs, '\n'); in serialize_buffer_of_text()
799 GString *gs) in serialize_message() argument
801 serialize_line_no (line_no, gs); in serialize_message()
802 g_string_append_printf (gs, "%s", msg); in serialize_message()
803 g_string_append_c (gs, '\n'); in serialize_message()
813 GString *gs) in serialize_buffer_of_glyphs() argument
815 serialize_line_no (line_no, gs); in serialize_buffer_of_glyphs()
816 serialize_glyphs (buffer, font, output_format, format_flags, gs); in serialize_buffer_of_glyphs()
817 g_string_append_c (gs, '\n'); in serialize_buffer_of_glyphs()