Lines Matching refs:separator_length
355 int separator_length = separator->length(); in RUNTIME_FUNCTION() local
356 CHECK(separator_length > 0); in RUNTIME_FUNCTION()
358 (String::kMaxLength + separator_length - 1) / separator_length; in RUNTIME_FUNCTION()
362 int length = (array_length - 1) * separator_length; in RUNTIME_FUNCTION()
396 DCHECK(sink + separator_length <= end); in RUNTIME_FUNCTION()
397 String::WriteToFlat(separator_raw, sink, 0, separator_length); in RUNTIME_FUNCTION()
398 sink += separator_length; in RUNTIME_FUNCTION()
442 int separator_length = separator->length(); in JoinSparseArrayWithSeparator() local
443 DCHECK_LT(0, separator_length); in JoinSparseArrayWithSeparator()
452 separator_length); in JoinSparseArrayWithSeparator()
453 cursor += repeat * separator_length; in JoinSparseArrayWithSeparator()
465 WriteRepeatToFlat<Char>(separator, buffer, cursor, repeat, separator_length); in JoinSparseArrayWithSeparator()
466 cursor += repeat * separator_length; in JoinSparseArrayWithSeparator()
509 int separator_length = separator->length(); in RUNTIME_FUNCTION() local
510 if (!overflow && separator_length > 0) { in RUNTIME_FUNCTION()
514 if ((remaining_length / separator_length) >= separator_count) { in RUNTIME_FUNCTION()
515 string_length += separator_length * (array_length - 1); in RUNTIME_FUNCTION()