Differences From Artifact [247368600b]:
- File
src/OFMutableString_UTF8.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 20592) [annotate] [blame] [check-ins using]
To Artifact [4a3385c744]:
- File src/OFMutableString_UTF8.m — part of check-in [dbdc125802] at 2017-06-10 11:46:08 on branch trunk — macros.h: Add of_ascii_isspace() (user: js, size: 20058) [annotate] [blame] [check-ins using] [more...]
︙ | |||
75 76 77 78 79 80 81 | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | - - - - - - + - - - - - | for (i = 0; i < _s->cStringLength; i++) { if (isStart) table = startTable; else table = middleTable; |
︙ | |||
123 124 125 126 127 128 129 | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | - - - - - - + - - - - - | _s->cStringLength - i, &c); if (cLen <= 0 || c > 0x10FFFF) { [self freeMemory: unicodeString]; @throw [OFInvalidEncodingException exception]; } |
︙ | |||
744 745 746 747 748 749 750 | 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 | - - - + | } - (void)deleteLeadingWhitespaces { size_t i; for (i = 0; i < _s->cStringLength; i++) |
︙ | |||
773 774 775 776 777 778 779 | 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 | - - + | size_t d; char *p; _s->hashed = false; d = 0; for (p = _s->cString + _s->cStringLength - 1; p >= _s->cString; p--) { |
︙ | |||
801 802 803 804 805 806 807 | 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 | - - + - - - + | size_t d, i; char *p; _s->hashed = false; d = 0; for (p = _s->cString + _s->cStringLength - 1; p >= _s->cString; p--) { |
︙ |