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/ |
| D | RestParamsTest_PassLambdas_1.sts | 28 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);
|
| D | RestParamsTest_PassLambdas_0.sts | 27 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);
|
| D | RestParamsTest_PassLambdasArrayAndSpread.sts | 28 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 }];
|
| D | RestParamsTest_PassTwoArgs.sts | 30 type StringToInt = (val: String) => int;
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | number_helper.cpp | 852 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()
|