Lines Matching defs:end
547 size_t end = 0;
549 THROW_AND_RETURN_IF_OOB(ParseArrayIndex(env, args[1], buffer.length(), &end));
550 if (end < start) end = start;
551 THROW_AND_RETURN_IF_OOB(Just(end <= buffer.length()));
552 size_t length = end - start;
672 size_t end;
673 THROW_AND_RETURN_IF_OOB(ParseArrayIndex(env, args[3], 0, &end));
675 size_t fill_length = end - start;
681 if (start > end || fill_length + start > ts_obj_length)
885 // Negative offsets count backwards from the end of the buffer.
899 // Out of buffer bounds, but empty needle: point to end of buffer.
902 // indexOf from past the end of the buffer: no match.
905 // lastIndexOf from past the end of the buffer: search the whole buffer.