Home
last modified time | relevance | path

Searched refs:intStart (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dnative_inline_lowering.cpp522 GateRef intStart = tacc.GetArg0(); in TryInlineStringSubStr() local
529 auto param_check = builder_.TaggedIsNumber(intStart); in TryInlineStringSubStr()
532 ret = builder_.StringSubStr(thisValue, intStart, lengthTag); in TryInlineStringSubStr()
535 GateRef intStart = acc_.GetValueIn(gate, 1); in TryInlineStringSubStr() local
542 auto param_check = LogicAndBuilder(&env).And(builder_.TaggedIsNumber(intStart)) in TryInlineStringSubStr()
546 ret = builder_.StringSubStr(thisValue, intStart, lengthTag); in TryInlineStringSubStr()
H A Dtyped_native_inline_lowering.cpp2272 GateRef intStart = acc_.GetValueIn(gate, 1); // 1: the second parameter in LowerStringSubStr() local
2291 if (acc_.GetMachineType(intStart) == MachineType::I64) { in LowerStringSubStr()
2292 BRANCH_CIR(builder_.TaggedIsInt(intStart), &intStartIsInt, &intStartNotInt); in LowerStringSubStr()
2294 start = builder_.GetInt32OfTInt(intStart); in LowerStringSubStr()
2300 BRANCH_CIR(BuildTaggedPointerOverflowInt32(intStart), &slowPath, &fastPath); in LowerStringSubStr()
2308 start = builder_.DoubleToInt(glue, builder_.GetDoubleOfTDouble(intStart), base::INT32_BITS); in LowerStringSubStr()
2313 start = NumberToInt32(intStart); in LowerStringSubStr()
H A Dmcr_circuit_builder.cpp1778 GateRef CircuitBuilder::StringSubStr(GateRef thisValue, GateRef intStart, GateRef lengthTag) in StringSubStr() argument
1785 { currentControl, currentDepend, thisValue, intStart, lengthTag }, GateType::AnyType()); in StringSubStr()
H A Dcircuit_builder.h772 GateRef StringSubStr(GateRef thisValue, GateRef intStart, GateRef lengthTag);
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_string_stub_builder.cpp613 GateRef intStart = GetCallArg0(numArgs); in SubStr() local
614 BRANCH(TaggedIsNumber(intStart), &intStartIsNumber, slowPath); in SubStr()
616 BRANCH(TaggedIsInt(intStart), &intStartIsInt, slowPath); in SubStr()
619 start = GetInt32OfTInt(intStart); in SubStr()
H A Dbuiltins_array_stub_builder.cpp3087 GateRef intStart = GetInt32OfTInt(taggedStart); in Splice() local
3088 start = CalArrayRelativePos(intStart, arrayLen); in Splice()
3317 GateRef intStart = GetInt32OfTInt(taggedStart); in ToSpliced() local
3318 actualStart = CalArrayRelativePos(intStart, thisLen); in ToSpliced()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_string.cpp2153 JSHandle<JSTaggedValue> intStart = GetCallArg(argv, 0); in SubStr() local
2154 // 4. Let intStart be ToInteger(start). in SubStr()
2155 JSTaggedNumber numStart = JSTaggedValue::ToInteger(thread, intStart); in SubStr()
2156 // 5. ReturnIfAbrupt(intStart). in SubStr()
2172 // 9. If intStart < 0, let intStart be max(size + intStart,0). in SubStr()
2176 // 10. Let resultLength be min(max(end,0), size – intStart). in SubStr()

Completed in 34 milliseconds