Home
last modified time | relevance | path

Searched refs:start_from (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/runtime/
Druntime-array.cc484 int start_from = Smi::cast(*from_index)->value(); in RUNTIME_FUNCTION() local
485 if (start_from < 0) { in RUNTIME_FUNCTION()
486 index = std::max<int64_t>(len + start_from, 0); in RUNTIME_FUNCTION()
488 index = start_from; in RUNTIME_FUNCTION()
492 double start_from = from_index->Number(); in RUNTIME_FUNCTION() local
493 if (start_from >= len) return isolate->heap()->false_value(); in RUNTIME_FUNCTION()
494 if (V8_LIKELY(std::isfinite(start_from))) { in RUNTIME_FUNCTION()
495 if (start_from < 0) { in RUNTIME_FUNCTION()
496 index = static_cast<int64_t>(std::max<double>(start_from + len, 0)); in RUNTIME_FUNCTION()
498 index = start_from; in RUNTIME_FUNCTION()
[all …]
/external/v8/src/
Delements.cc476 uint32_t start_from, uint32_t length) { in IncludesValueSlowPath() argument
478 for (uint32_t k = start_from; k < length; ++k) { in IncludesValueSlowPath()
497 uint32_t start_from, in IndexOfValueSlowPath() argument
499 for (uint32_t k = start_from; k < length; ++k) { in IndexOfValueSlowPath()
1243 uint32_t start_from, uint32_t length) { in IncludesValueImpl() argument
1244 return IncludesValueSlowPath(isolate, receiver, value, start_from, length); in IncludesValueImpl()
1248 Handle<Object> value, uint32_t start_from, in IncludesValue() argument
1250 return Subclass::IncludesValueImpl(isolate, receiver, value, start_from, in IncludesValue()
1257 uint32_t start_from, uint32_t length) { in IndexOfValueImpl() argument
1258 return IndexOfValueSlowPath(isolate, receiver, value, start_from, length); in IndexOfValueImpl()
[all …]
/external/v8/src/builtins/
Dbuiltins-array.cc1685 Node* const start_from = Parameter(2); in TF_BUILTIN() local
1711 GotoIf(IsUndefined(start_from), &select_loop); in TF_BUILTIN()
1714 Branch(TaggedIsSmi(start_from), &init_k, &call_runtime); in TF_BUILTIN()
1718 CSA_ASSERT(this, TaggedIsSmi(start_from)); in TF_BUILTIN()
1719 Node* const untagged_start_from = SmiToWord(start_from); in TF_BUILTIN()
1985 search_element, start_from)); in TF_BUILTIN()
1996 Node* start_from = assembler.Parameter(2); in Generate_ArrayIndexOf() local
2042 assembler.Branch(assembler.TaggedIsSmi(start_from), &init_k_smi, in Generate_ArrayIndexOf()
2047 start_from_var.Bind(assembler.SmiUntag(start_from)); in Generate_ArrayIndexOf()
2055 assembler.GotoIfNot(assembler.IsUndefined(start_from), &call_runtime); in Generate_ArrayIndexOf()
[all …]