Lines Matching refs:array_length
275 int32_t array_length; in RUNTIME_FUNCTION() local
276 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION()
283 CHECK_GE(array_length, 0); in RUNTIME_FUNCTION()
284 CHECK(static_cast<size_t>(array_length) <= actual_array_length); in RUNTIME_FUNCTION()
303 if (fixed_array->length() < array_length) { in RUNTIME_FUNCTION()
304 array_length = fixed_array->length(); in RUNTIME_FUNCTION()
307 if (array_length == 0) { in RUNTIME_FUNCTION()
309 } else if (array_length == 1) { in RUNTIME_FUNCTION()
314 array_length, &one_byte); in RUNTIME_FUNCTION()
330 array_length); in RUNTIME_FUNCTION()
338 array_length); in RUNTIME_FUNCTION()
347 int32_t array_length; in RUNTIME_FUNCTION() local
348 if (!args[1]->ToInt32(&array_length)) { in RUNTIME_FUNCTION()
353 CHECK_GE(array_length, 0); in RUNTIME_FUNCTION()
356 if (fixed_array->length() < array_length) { in RUNTIME_FUNCTION()
357 array_length = fixed_array->length(); in RUNTIME_FUNCTION()
360 if (array_length == 0) { in RUNTIME_FUNCTION()
362 } else if (array_length == 1) { in RUNTIME_FUNCTION()
372 if (max_nof_separators < (array_length - 1)) { in RUNTIME_FUNCTION()
375 int length = (array_length - 1) * separator_length; in RUNTIME_FUNCTION()
376 for (int i = 0; i < array_length; i++) { in RUNTIME_FUNCTION()
408 for (int i = 1; i < array_length; i++) { in RUNTIME_FUNCTION()
450 uint32_t array_length, in JoinSparseArrayWithSeparator() argument
473 int last_array_index = static_cast<int>(array_length - 1); in JoinSparseArrayWithSeparator()
476 DCHECK_LE(array_length, 0x7FFFFFFF); // Is int32_t. in JoinSparseArrayWithSeparator()
487 CONVERT_NUMBER_CHECKED(uint32_t, array_length, Uint32, args[1]); in RUNTIME_FUNCTION()
494 CHECK_GT(array_length, 0); in RUNTIME_FUNCTION()
523 if (array_length <= 0x7FFFFFFFu) { in RUNTIME_FUNCTION()
524 int separator_count = static_cast<int>(array_length) - 1; in RUNTIME_FUNCTION()
527 string_length += separator_length * (array_length - 1); in RUNTIME_FUNCTION()
552 array_length, *separator, in RUNTIME_FUNCTION()
561 array_length, *separator, in RUNTIME_FUNCTION()