Lines Matching refs:gs

349   GString *gs = g_string_new (nullptr);  in parse_unicodes()  local
369 g_string_append_unichar (gs, u); in parse_unicodes()
374 text_opts->text_len = gs->len; in parse_unicodes()
375 text_opts->text = g_string_free (gs, FALSE); in parse_unicodes()
775 gs = g_string_new (nullptr); in get_line()
778 g_string_set_size (gs, 0); in get_line()
784 g_string_append_len (gs, buf, bytes); in get_line()
787 g_string_append_len (gs, buf, bytes); in get_line()
792 *len = gs->len; in get_line()
793 return !*len && feof (fp) ? nullptr : gs->str; in get_line()
877 GString *gs) in serialize_unicode() argument
882 g_string_append_c (gs, '<'); in serialize_unicode()
886 g_string_append_c (gs, ','); in serialize_unicode()
887 g_string_append_printf (gs, "U+%04X", info->codepoint); in serialize_unicode()
890 g_string_append_c (gs, '>'); in serialize_unicode()
898 GString *gs) in serialize_glyphs() argument
900 g_string_append_c (gs, '['); in serialize_glyphs()
913 g_string_append (gs, buf); in serialize_glyphs()
915 g_string_append_c (gs, ']'); in serialize_glyphs()
919 GString *gs) in serialize_line_no() argument
922 g_string_append_printf (gs, "%d: ", line_no); in serialize_line_no()
930 GString *gs) in serialize_buffer_of_text() argument
934 serialize_line_no (line_no, gs); in serialize_buffer_of_text()
935 g_string_append_c (gs, '('); in serialize_buffer_of_text()
936 g_string_append_len (gs, text, text_len); in serialize_buffer_of_text()
937 g_string_append_c (gs, ')'); in serialize_buffer_of_text()
938 g_string_append_c (gs, '\n'); in serialize_buffer_of_text()
943 serialize_line_no (line_no, gs); in serialize_buffer_of_text()
944 serialize_unicode (buffer, gs); in serialize_buffer_of_text()
945 g_string_append_c (gs, '\n'); in serialize_buffer_of_text()
952 GString *gs) in serialize_message() argument
954 serialize_line_no (line_no, gs); in serialize_message()
955 g_string_append_printf (gs, "%s: %s", type, msg); in serialize_message()
956 g_string_append_c (gs, '\n'); in serialize_message()
966 GString *gs) in serialize_buffer_of_glyphs() argument
968 serialize_line_no (line_no, gs); in serialize_buffer_of_glyphs()
969 serialize_glyphs (buffer, font, output_format, format_flags, gs); in serialize_buffer_of_glyphs()
970 g_string_append_c (gs, '\n'); in serialize_buffer_of_glyphs()