Home
last modified time | relevance | path

Searched refs:StringToInt (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/04.Names_Declarations_and_Scopes/4.8.5.Rest_Parameter/
DRestParamsTest_PassLambdas_1.sts28 type StringToInt = (val: String) => int;
32 public callLambda(prefix: String, ...lValues: StringToInt[]): int {
40 public callLambda(...lValues: StringToInt[]): int {
56 let l1: StringToInt = (str: String) => { return str.length as int }
57 …st.callLambda("Hello", l1, l1, (str: String) => { return str.length as int }, null as StringToInt);
DRestParamsTest_PassLambdas_0.sts27 type StringToInt = (val: String) => int;
31 public callLambda(...lValues: StringToInt[]): int {
39 public callLambda(prefix: String, ...lValues: StringToInt[]): int {
53 let l1: StringToInt = (str: String) => { return str.length as int }
54 …sult = test.callLambda(l1, l1, (str: String) => { return str.length as int }, null as StringToInt);
DRestParamsTest_PassLambdasArrayAndSpread.sts28 type StringToInt = (val: String) => int;
30 type StringToIntN = StringToInt|null;
56 let l1: StringToInt = (str: String) => { return str.length as int }
57 let larr: StringToInt[] = [l1, l1, (str: String) => { return str.length as int }];
DRestParamsTest_PassTwoArgs.sts30 type StringToInt = (val: String) => int;
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp852 int NumberHelper::StringToInt(const uint8_t *start, const uint8_t *end) in StringToInt() function in panda::ecmascript::base::NumberHelper
879 int num = StringToInt((start + pos), end); in FastStringToNumber()