tool 540 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to_end (struct utf8_tool *tool) tool 542 lib/strutil/strutilutf8.c tool->compose = FALSE; tool 544 lib/strutil/strutilutf8.c while (tool->checked[0] != '\0') tool 549 lib/strutil/strutilutf8.c uni = g_utf8_get_char (tool->checked); tool 550 lib/strutil/strutilutf8.c tool->compose = tool->compose || str_unichar_iscombiningmark (uni); tool 552 lib/strutil/strutilutf8.c if (tool->remain <= left) tool 554 lib/strutil/strutilutf8.c left = g_unichar_to_utf8 (uni, tool->actual); tool 555 lib/strutil/strutilutf8.c tool->actual += left; tool 556 lib/strutil/strutilutf8.c tool->remain -= left; tool 557 lib/strutil/strutilutf8.c tool->checked = g_utf8_next_char (tool->checked); tool 568 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to (struct utf8_tool *tool, int to_ident) tool 570 lib/strutil/strutilutf8.c tool->compose = FALSE; tool 572 lib/strutil/strutilutf8.c while (tool->checked[0] != '\0') tool 578 lib/strutil/strutilutf8.c uni = g_utf8_get_char (tool->checked); tool 580 lib/strutil/strutilutf8.c tool->compose = TRUE; tool 586 lib/strutil/strutilutf8.c if (tool->ident + w > to_ident) tool 591 lib/strutil/strutilutf8.c if (tool->remain <= left) tool 593 lib/strutil/strutilutf8.c left = g_unichar_to_utf8 (uni, tool->actual); tool 594 lib/strutil/strutilutf8.c tool->actual += left; tool 595 lib/strutil/strutilutf8.c tool->remain -= left; tool 596 lib/strutil/strutilutf8.c tool->checked = g_utf8_next_char (tool->checked); tool 597 lib/strutil/strutilutf8.c tool->ident += w; tool 607 lib/strutil/strutilutf8.c utf8_tool_insert_space (struct utf8_tool *tool, int count) tool 611 lib/strutil/strutilutf8.c if (tool->remain <= (gsize) count) tool 614 lib/strutil/strutilutf8.c memset (tool->actual, ' ', count); tool 615 lib/strutil/strutilutf8.c tool->actual += count; tool 616 lib/strutil/strutilutf8.c tool->remain -= count; tool 624 lib/strutil/strutilutf8.c utf8_tool_insert_char (struct utf8_tool *tool, char ch) tool 626 lib/strutil/strutilutf8.c if (tool->remain <= 1) tool 629 lib/strutil/strutilutf8.c tool->actual[0] = ch; tool 630 lib/strutil/strutilutf8.c tool->actual++; tool 631 lib/strutil/strutilutf8.c tool->remain--; tool 640 lib/strutil/strutilutf8.c utf8_tool_skip_chars_to (struct utf8_tool *tool, int to_ident) tool 644 lib/strutil/strutilutf8.c while (to_ident > tool->ident && tool->checked[0] != '\0') tool 646 lib/strutil/strutilutf8.c uni = g_utf8_get_char (tool->checked); tool 649 lib/strutil/strutilutf8.c tool->ident++; tool 651 lib/strutil/strutilutf8.c tool->ident++; tool 653 lib/strutil/strutilutf8.c tool->checked = g_utf8_next_char (tool->checked); tool 656 lib/strutil/strutilutf8.c uni = g_utf8_get_char (tool->checked); tool 659 lib/strutil/strutilutf8.c tool->checked = g_utf8_next_char (tool->checked); tool 660 lib/strutil/strutilutf8.c uni = g_utf8_get_char (tool->checked); tool 685 lib/strutil/strutilutf8.c struct utf8_tool tool; tool 688 lib/strutil/strutilutf8.c tool.checked = pre_form->text; tool 689 lib/strutil/strutilutf8.c tool.actual = result; tool 690 lib/strutil/strutilutf8.c tool.remain = sizeof (result); tool 691 lib/strutil/strutilutf8.c tool.compose = FALSE; tool 699 lib/strutil/strutilutf8.c tool.ident = (width - pre_form->width) / 2; tool 702 lib/strutil/strutilutf8.c tool.ident = width - pre_form->width; tool 705 lib/strutil/strutilutf8.c tool.ident = 0; tool 709 lib/strutil/strutilutf8.c utf8_tool_insert_space (&tool, tool.ident); tool 710 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to_end (&tool); tool 711 lib/strutil/strutilutf8.c utf8_tool_insert_space (&tool, width - pre_form->width - tool.ident); tool 715 lib/strutil/strutilutf8.c tool.ident = 0; tool 716 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to (&tool, width / 2); tool 717 lib/strutil/strutilutf8.c utf8_tool_insert_char (&tool, '~'); tool 719 lib/strutil/strutilutf8.c tool.ident = 0; tool 720 lib/strutil/strutilutf8.c utf8_tool_skip_chars_to (&tool, pre_form->width - width + 1); tool 721 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to_end (&tool); tool 722 lib/strutil/strutilutf8.c utf8_tool_insert_space (&tool, width - (pre_form->width - tool.ident + 1)); tool 729 lib/strutil/strutilutf8.c tool.ident = (width - pre_form->width) / 2; tool 732 lib/strutil/strutilutf8.c tool.ident = width - pre_form->width; tool 735 lib/strutil/strutilutf8.c tool.ident = 0; tool 739 lib/strutil/strutilutf8.c utf8_tool_skip_chars_to (&tool, 0); tool 740 lib/strutil/strutilutf8.c utf8_tool_insert_space (&tool, tool.ident); tool 741 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to (&tool, width); tool 742 lib/strutil/strutilutf8.c utf8_tool_insert_space (&tool, width - tool.ident); tool 745 lib/strutil/strutilutf8.c tool.actual[0] = '\0'; tool 746 lib/strutil/strutilutf8.c if (tool.compose) tool 758 lib/strutil/strutilutf8.c struct utf8_tool tool; tool 768 lib/strutil/strutilutf8.c tool.checked = pre_form->text; tool 769 lib/strutil/strutilutf8.c tool.actual = result; tool 770 lib/strutil/strutilutf8.c tool.remain = sizeof (result); tool 771 lib/strutil/strutilutf8.c tool.compose = FALSE; tool 774 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to_end (&tool); tool 777 lib/strutil/strutilutf8.c memset (tool.actual, '.', width); tool 778 lib/strutil/strutilutf8.c tool.actual += width; tool 779 lib/strutil/strutilutf8.c tool.remain -= width; tool 783 lib/strutil/strutilutf8.c memset (tool.actual, '.', 3); tool 784 lib/strutil/strutilutf8.c tool.actual += 3; tool 785 lib/strutil/strutilutf8.c tool.remain -= 3; tool 787 lib/strutil/strutilutf8.c tool.ident = 0; tool 788 lib/strutil/strutilutf8.c utf8_tool_skip_chars_to (&tool, pre_form->width - width + 3); tool 789 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to_end (&tool); tool 792 lib/strutil/strutilutf8.c tool.actual[0] = '\0'; tool 793 lib/strutil/strutilutf8.c if (tool.compose) tool 835 lib/strutil/strutilutf8.c struct utf8_tool tool; tool 839 lib/strutil/strutilutf8.c tool.checked = pre_form->text; tool 840 lib/strutil/strutilutf8.c tool.actual = result; tool 841 lib/strutil/strutilutf8.c tool.remain = sizeof (result); tool 842 lib/strutil/strutilutf8.c tool.compose = FALSE; tool 844 lib/strutil/strutilutf8.c tool.ident = -start; tool 845 lib/strutil/strutilutf8.c utf8_tool_skip_chars_to (&tool, 0); tool 846 lib/strutil/strutilutf8.c if (tool.ident < 0) tool 847 lib/strutil/strutilutf8.c tool.ident = 0; tool 848 lib/strutil/strutilutf8.c utf8_tool_insert_space (&tool, tool.ident); tool 850 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to (&tool, width); tool 851 lib/strutil/strutilutf8.c utf8_tool_insert_space (&tool, width - tool.ident); tool 853 lib/strutil/strutilutf8.c tool.actual[0] = '\0'; tool 854 lib/strutil/strutilutf8.c if (tool.compose) tool 866 lib/strutil/strutilutf8.c struct utf8_tool tool; tool 870 lib/strutil/strutilutf8.c tool.checked = pre_form->text; tool 871 lib/strutil/strutilutf8.c tool.actual = result; tool 872 lib/strutil/strutilutf8.c tool.remain = sizeof (result); tool 873 lib/strutil/strutilutf8.c tool.compose = FALSE; tool 876 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to_end (&tool); tool 879 lib/strutil/strutilutf8.c tool.ident = 0; tool 880 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to (&tool, width / 2); tool 881 lib/strutil/strutilutf8.c utf8_tool_insert_char (&tool, '~'); tool 883 lib/strutil/strutilutf8.c tool.ident = 0; tool 884 lib/strutil/strutilutf8.c utf8_tool_skip_chars_to (&tool, pre_form->width - width + 1); tool 885 lib/strutil/strutilutf8.c utf8_tool_copy_chars_to_end (&tool); tool 888 lib/strutil/strutilutf8.c tool.actual[0] = '\0'; tool 889 lib/strutil/strutilutf8.c if (tool.compose)