Lines Matching refs:end

295 		// partial UTF-8 character split over the end of the buffer from last
332 // Character split past the end of the buffer.
356 // switched back to ASCII at the end (otherwise the last character gets
380 char *charset, *encoding, *end;
404 && (end = strstr(encoding + 3, "?=")) != NULL;
406 // ^charset ^encoding ^end
407 tail = end)
431 // ^charset ^encoding ^end
434 end += 2;
459 if (string != tail && tail != end)
460 memmove(string, tail, end-tail);
461 string += end-tail;
467 int32 srcLen = end - 2 - src;
475 int32 dstLen = end-string + *bufLen-strLen;
491 if (string != tail && tail != end)
492 memmove(string, tail, end-tail);
493 string += end-tail;
521 end = *bufp + (end-head);
528 if (dstLen > end-string) {
530 memmove(string+dstLen, end, strLen - (end-head) + 1);
531 strLen += string+dstLen - end;
532 end = string + dstLen;
616 // Find the end of the word. Leave wordEnd pointing just after the
839 // for the next character, and one for the end of string NUL byte).
851 // Read the next character, or end of file, or IO error.
858 // Really is end of file. Also make it end of line if there is
875 // Convert CRLF end of line to just a LF. Do it before folding, in
923 // for the next character, and one for the end of string NUL byte).
940 // Really is end of file. Also make it end of line if there is
957 // Convert CRLF end of line to just a LF. Do it before folding, in
980 } else // No next line; at the end of the file. Return the line.
1011 // for the next character, and one for the end of string NUL byte).
1024 // Read the next character, or end of file.
1026 // End of file. Also make it end of line if there is some text
1042 // Convert CRLF end of line to just a LF. Do it before folding, in
1255 regs.end = (regoff_t*)malloc(gNsub*sizeof(regoff_t));
1267 string.Remove(start,regs.end[0]-start);
1273 if (regs.end[0] - start <= 1)
1278 free(regs.end);
1383 // Don't include the \n at the end of the buffer.