Home
last modified time | relevance | path

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

/external/v8/src/builtins/
Dbuiltins-arraybuffer.cc162 double relative_end; in SliceHelper() local
164 relative_end = len; in SliceHelper()
169 relative_end = relative_end_obj->Number(); in SliceHelper()
174 double const final_ = (relative_end < 0) ? Max(len + relative_end, 0.0) in SliceHelper()
175 : Min(relative_end, len); in SliceHelper()
Darray-copywithin.tq35 let relative_end: Number = length;
37 relative_end = ToInteger_Inline(context, arguments[2]);
42 const final: Number = ConvertToRelativeIndex(relative_end, length);
Dbuiltins-array-gen.cc1425 VARIABLE(relative_end, MachineRepresentation::kTagged); in TF_BUILTIN()
1427 relative_end.Bind(ToInteger_Inline(context, end)); in TF_BUILTIN()
1430 relative_end.Bind(len.value()); in TF_BUILTIN()
1438 GotoIfNumberGreaterThanOrEqual(relative_end.value(), NumberConstant(0), in TF_BUILTIN()
1440 final.Bind(NumberMax(NumberAdd(len.value(), relative_end.value()), in TF_BUILTIN()
1444 final.Bind(NumberMin(relative_end.value(), len.value())); in TF_BUILTIN()