Lines Matching defs:length
46 size_t length = len * base::kUC16Size;
50 offset_a, offset_b, length, isolate)
52 offset_a, offset_b, length, isolate);
319 // Returns true iff 0 <= index < length.
320 bool IndexIsInBounds(int index, int length) {
321 DCHECK_GE(length, 0);
322 return static_cast<uintptr_t>(index) < static_cast<uintptr_t>(length);
370 DCHECK(base::IsInRange(current, 0, subject.length())); \
580 if (pos >= subject.length() || pos < 0) {
596 if (pos + 2 > subject.length() || pos < 0) {
615 if (pos + 4 > subject.length() || pos < 0) {
804 if (current + len > subject.length() ||
832 if (current + len > subject.length() ||
846 if (current + len > subject.length() ||
906 if (subject.length() - current > by) {
907 SET_CURRENT_POSITION(subject.length() - by);
914 if (pos > subject.length() || pos < 0) {
925 while (IndexIsInBounds(current + load_offset, subject.length())) {
943 static_cast<uintptr_t>(subject.length())) {
960 static_cast<uintptr_t>(subject.length())) {
975 while (IndexIsInBounds(current + load_offset, subject.length())) {
991 while (IndexIsInBounds(current + load_offset, subject.length())) {
1011 while (IndexIsInBounds(current + load_offset, subject.length())) {