Lines Matching refs:offset
133 int32 offset = 0;
138 while (offset <= charCount) {
146 // _CopySpan(text, start, offset);
147 // if (offset + 1 < charCount && c[0] == '\n') {
149 // offset += 1;
154 // start = offset + 1;
158 _CopySpan(text, start, offset);
159 if (offset > 0 && c[-1] != ' ')
160 _FinishParagraph(offset >= charCount);
161 start = offset + 1;
165 _CopySpan(text, start, offset);
167 start = offset + 1;
171 if (offset + 2 < charCount && c[0] == '\'') {
178 _CopySpan(text, start, offset);
186 offset += tickCount - 1;
187 start = offset + 1;
194 if (offset == start
196 && offset + 2 < charCount
202 offset += 2;
205 start = offset + 1;
206 } else if (offset > start
207 && offset + 2 < charCount
210 _CopySpan(text, start, offset - 1);
212 offset += 2;
215 _FinishParagraph(offset >= charCount);
217 start = offset + 1;
223 if (offset == start
225 && offset + 2 < charCount
230 offset += 2;
233 start = offset + 1;
240 if (offset == start
242 && offset + 1 < charCount
247 offset += 1;
250 start = offset + 1;
258 offset++;