Lines Matching defs:source_start
635 size_t source_start = 0;
639 THROW_AND_RETURN_IF_OOB(ParseArrayIndex(env, args[3], 0, &source_start));
644 if (target_start >= target_length || source_start >= source_end)
647 if (source_start > source.length())
651 if (source_end - source_start > target_length - target_start)
652 source_end = source_start + target_length - target_start;
655 std::min(source_end - source_start, target_length - target_start),
656 source.length() - source_start);
658 memmove(target_data + target_start, source.data() + source_start, to_copy);
823 size_t source_start = 0;
828 THROW_AND_RETURN_IF_OOB(ParseArrayIndex(env, args[3], 0, &source_start));
834 if (source_start > source.length())
841 CHECK_LE(source_start, source_end);
845 std::min(std::min(source_end - source_start, target_end - target_start),
846 source.length() - source_start);
849 memcmp(source.data() + source_start,
852 source_end - source_start,