Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/rest-params/
DRestParamsTest_PassLambdas_0.ets27 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_PassLambdas_1.ets28 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_PassLambdasArrayAndSpread.ets28 type StringToInt = (val: String) => int;
32 public callLambda(...lValues: StringToInt[]): int {
40 public callLambda(prefix: String, ...lValues: StringToInt[]): int {
54 let l1: StringToInt = (str: String) => { return str.length as int }
55 let larr: StringToInt[] = [l1, l1, (str: String) => { return str.length as int }];
DRestParamsTest_PassTwoArgs.ets30 type StringToInt = (val: String) => int;
/arkcompiler/ets_runtime/ecmascript/extractortool/src/
Dsource_map.cpp70 int32_t StringToInt(const std::string& value) in StringToInt() function
/arkcompiler/ets_runtime/ecmascript/base/
Dnumber_helper.cpp764 int NumberHelper::StringToInt(const uint8_t *start, const uint8_t *end) in StringToInt() function in panda::ecmascript::base::NumberHelper
791 int num = StringToInt((start + pos), end); in FastStringToNumber()