Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 46) sorted by relevance

12

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DnestedThisContainer.ts28 AssertType(foo.bar = function () { const self: Foo = this;}, "() => void"); constant
30 AssertType(function () { const self: Foo = this;}, "() => void"); constant
32 const self: Foo = this; constant
39 AssertType(foo.zab = (function () { const self: Foo = this;}), "() => void"); constant
41 AssertType((function () { const self: Foo = this;}), "() => void"); constant
42 AssertType(function () { const self: Foo = this;}, "() => void"); constant
44 const self: Foo = this; constant
/arkcompiler/ets_frontend/es2panda/test/
Drunner.py171 def __init__(self, test_path, flags): argument
180 def log_cmd(self, cmd): argument
183 def get_path_to_expected(self): argument
188 def run(self, runner): argument
221 def __init__(self, test_path, flags, test_id, with_optimizer): argument
235 def run(self, runner): argument
374 def __init__(self, test_path, flags): argument
378 def parse_options(self): argument
410 def run(self, runner): argument
432 def __init__(self, args, name): argument
[all …]
Dtest262util.py26 def __init__(self): argument
37 def generate(self, revision, build_dir, harness_path, show_progress): argument
97 def create_file(self, input_file, output_file, harness, test262_dir): argument
120 def get_header(self, content): argument
125 def parse_descriptor(self, header): argument
170 def validate_runtime_result(self, return_code, std_err, desc, out): argument
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dperformance_build.py32 def __init__(self, config_input, mail_obj): argument
47 def start(self): argument
59 def init(self): argument
110 def add_incremental_code(self, lines): argument
117 def revert_incremental_code(self): argument
120 def reset(self): argument
128 def clean_project(self): argument
135 def get_bytecode_size(self, is_debug): argument
153 def start_build(self, is_debug): argument
194 def get_millisecond(self, time_string): argument
[all …]
Dperformance_entry.py30 def __init__(self): argument
64 def create(self, prj_name): argument
68 def create_table(self, prj_name): argument
89 def add_msg(self, msg): argument
92 def add_failed_project(self, prj_name, build_mode, log_type, aot_type): argument
101 def add_logs_file(self, filename, buffer): argument
104 def add_pic_data(self, prj_name, is_debug, data_list): argument
114 def create_msg_file(self): argument
128 def create_logs_file(self): argument
154 def create_pic(self): argument
[all …]
/arkcompiler/ets_frontend/test262/
Drun_sunspider.py173 def __init__(self, args): argument
193 def proce_parameters(self): argument
234 def check_compile_mode(self, file): argument
252 def get_all_skip_force_gc_tests(self): argument
261 def gen_dependency_proto(self, dependency): argument
295 def gen_apart_abc(self, dependencies): argument
314 def gen_merged_abc(self, dependencies, file_name_pre, proto_bin_file): argument
355 def gen_abc(self): argument
461 def compile_aot(self): argument
484 def execute_aot(self): argument
[all …]
Drun_test262.py220 def __init__(self, args): argument
225 def prepare_test262_code(self): argument
244 def prepare_clean_data(self): argument
248 def patching_the_plugin(self): argument
257 def prepare_args_es51_es2021(self): argument
286 def prepare_out_dir(self): argument
304 def prepare_args_testdir(self): argument
325 def copyfile(self, file, all_skips): argument
353 def collect_tests(self): argument
370 def get_tests_from_file(self, file): argument
[all …]
Dutils.py42 def __init__(self): argument
45 def debug(self, info): argument
50 def info(self, info): argument
62 def __init__(self, cmd): argument
65 def run(self): argument
78 def __init__(self, cmds, cwd): argument
82 def run(self): argument
/arkcompiler/ets_frontend/ts2panda/scripts/
Drun_tests.py65 def __init__(self, args): argument
72 def proce_parameters(self): argument
85 def copy_node_modules(self): argument
98 def copy_tests(self): argument
103 def run_build(self): argument
120 def run_tests(self): argument
/arkcompiler/ets_runtime/test/
Druntest.py116 def __init__(self, args): argument
293 def run_cmd(self, cmd): argument
300 def run_test(self, file): argument
414 def run_test_on_device(self, file): argument
439 def judge_test(self, file, out): argument
458 def report_test(self): argument
470 def find_file(self, dir, postfix_list): argument
487 def test_hap(self): argument
503 def sign_hap(self, hap_name): argument
544 def test(self): argument
/arkcompiler/toolchain/build/compile_script/
Dark.py222 def get_binaries(self): argument
260 …def which_dict_flags_match_arg(self, dict_including_dicts_to_match: dict, arg_to_match: str) -> st… argument
266 def dict_in_os_cpu_mode_match_arg(self, arg: str) -> [bool, str, str]: argument
289 …def get_help_msg_of_dict(self, dict_in: dict, indentation_str_current: str, indentation_str_per_le… argument
302 def get_help_msg_of_all(self) -> str: argument
325 def clean(self, out_path: str): argument
337 def build_for_gn_target(self, out_path: str, gn_args: list, arg_list: list, log_file_name: str): argument
372 def build_for_test262(self, out_path, gn_args: list, arg_list: list, log_file_name: str): argument
405 def build_for_unittest(self, out_path: str, gn_args: list, log_file_name:str): argument
411 def build(self, out_path: str, gn_args: list, arg_list: list): argument
[all …]
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Doptions.py42 def __init__(self): argument
50 def __init__(self): argument
56 def __init__(self): argument
63 def __init__(self): argument
72 def __init__(self): argument
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_vector.cpp58 JSHandle<JSTaggedValue> self = GetThis(argv); in Add() local
80 JSHandle<JSTaggedValue> self = GetThis(argv); in Insert() local
107 JSHandle<JSTaggedValue> self = GetThis(argv); in SetLength() local
134 JSHandle<JSTaggedValue> self = GetThis(argv); in GetCapacity() local
155 JSHandle<JSTaggedValue> self = GetThis(argv); in IncreaseCapacityTo() local
182 JSHandle<JSTaggedValue> self = GetThis(argv); in Get() local
208 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIndexOf() local
230 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIndexFrom() local
258 JSHandle<JSTaggedValue> self = GetThis(argv); in IsEmpty() local
278 JSHandle<JSTaggedValue> self = GetThis(argv); in GetLastElement() local
[all …]
Dcontainers_lightweightmap.cpp66 JSHandle<JSTaggedValue> self = GetThis(argv); in Length() local
87 JSHandle<JSTaggedValue> self = GetThis(argv); in HasAll() local
124 JSHandle<JSTaggedValue> self = GetThis(argv); in HasKey() local
146 JSHandle<JSTaggedValue> self = GetThis(argv); in HasValue() local
168 JSHandle<JSTaggedValue> self = GetThis(argv); in IncreaseCapacityTo() local
203 JSHandle<JSTaggedValue> self = GetThis(argv); in Entries() local
215 JSHandle<JSTaggedValue> self = GetThis(argv); in Get() local
238 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIndexOfKey() local
262 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIndexOfValue() local
286 JSHandle<JSTaggedValue> self = GetThis(argv); in IsEmpty() local
[all …]
Dcontainers_arraylist.cpp59 JSHandle<JSTaggedValue> self = GetThis(argv); in Add() local
81 JSHandle<JSTaggedValue> self = GetThis(argv); in Insert() local
114 JSHandle<JSTaggedValue> self = GetThis(argv); in Clear() local
137 JSHandle<JSTaggedValue> self = GetThis(argv); in Clone() local
160 JSHandle<JSTaggedValue> self = GetThis(argv); in Has() local
185 JSHandle<JSTaggedValue> self = GetThis(argv); in GetCapacity() local
207 JSHandle<JSTaggedValue> self = GetThis(argv); in IncreaseCapacityTo() local
241 JSHandle<JSTaggedValue> self = GetThis(argv); in TrimToCurrentLength() local
264 JSHandle<JSTaggedValue> self = GetThis(argv); in Get() local
289 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIndexOf() local
[all …]
Dcontainers_treemap.cpp78 JSHandle<JSTaggedValue> self = GetThis(argv); in Set() local
106 JSHandle<JSTaggedValue> self(GetThis(argv)); in Get() local
127 JSHandle<JSTaggedValue> self = GetThis(argv); in Remove() local
150 JSHandle<JSTaggedValue> self(GetThis(argv)); in HasKey() local
175 JSHandle<JSTaggedValue> self(GetThis(argv)); in HasValue() local
197 JSHandle<JSTaggedValue> self(GetThis(argv)); in GetFirstKey() local
218 JSHandle<JSTaggedValue> self(GetThis(argv)); in GetLastKey() local
239 JSHandle<JSTaggedValue> self(GetThis(argv)); in SetAll() local
280 JSHandle<JSTaggedValue> self(GetThis(argv)); in Clear() local
301 JSHandle<JSTaggedValue> self(GetThis(argv)); in GetLowerKey() local
[all …]
Dcontainers_linked_list.cpp58 JSHandle<JSTaggedValue> self = GetThis(argv); in Add() local
81 JSHandle<JSTaggedValue> self = GetThis(argv); in AddFirst() local
104 JSHandle<JSTaggedValue> self = GetThis(argv); in GetFirst() local
124 JSHandle<JSTaggedValue> self = GetThis(argv); in GetLast() local
144 JSHandle<JSTaggedValue> self = GetThis(argv); in Length() local
164 JSHandle<JSTaggedValue> self = GetThis(argv); in Insert() local
201 JSHandle<JSTaggedValue> self = GetThis(argv); in Clear() local
222 JSHandle<JSTaggedValue> self = GetThis(argv); in Clone() local
244 JSHandle<JSTaggedValue> self = GetThis(argv); in Has() local
265 JSHandle<JSTaggedValue> self = GetThis(argv); in Get() local
[all …]
Dcontainers_lightweightset.cpp61 JSHandle<JSTaggedValue> self = GetThis(argv); in Add() local
82 JSHandle<JSTaggedValue> self = GetThis(argv); in AddAll() local
116 JSHandle<JSTaggedValue> self = GetThis(argv); in IsEmpty() local
136 JSHandle<JSTaggedValue> self = GetThis(argv); in GetValueAt() local
166 JSHandle<JSTaggedValue> self = GetThis(argv); in HasAll() local
199 JSHandle<JSTaggedValue> self = GetThis(argv); in Has() local
220 JSHandle<JSTaggedValue> self = GetThis(argv); in HasHash() local
241 JSHandle<JSTaggedValue> self = GetThis(argv); in Equal() local
261 JSHandle<JSTaggedValue> self = GetThis(argv); in IncreaseCapacityTo() local
292 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIteratorObj() local
[all …]
Dcontainers_treeset.cpp78 JSHandle<JSTaggedValue> self = GetThis(argv); in Add() local
102 JSHandle<JSTaggedValue> self = GetThis(argv); in Remove() local
124 JSHandle<JSTaggedValue> self(GetThis(argv)); in Has() local
149 JSHandle<JSTaggedValue> self(GetThis(argv)); in GetFirstValue() local
170 JSHandle<JSTaggedValue> self(GetThis(argv)); in GetLastValue() local
191 JSHandle<JSTaggedValue> self(GetThis(argv)); in Clear() local
212 JSHandle<JSTaggedValue> self(GetThis(argv)); in GetLowerValue() local
243 JSHandle<JSTaggedValue> self(GetThis(argv)); in GetHigherValue() local
274 JSHandle<JSTaggedValue> self(GetThis(argv)); in PopFirst() local
295 JSHandle<JSTaggedValue> self(GetThis(argv)); in PopLast() local
[all …]
Dcontainers_hashmap.cpp65 JSHandle<JSTaggedValue> self = GetThis(argv); in Keys() local
86 JSHandle<JSTaggedValue> self = GetThis(argv); in Values() local
107 JSHandle<JSTaggedValue> self = GetThis(argv); in Entries() local
181 JSHandle<JSTaggedValue> self = GetThis(argv); in Set() local
205 JSHandle<JSTaggedValue> self = GetThis(argv); in SetAll() local
242 JSHandle<JSTaggedValue> self = GetThis(argv); in Get() local
263 JSHandle<JSTaggedValue> self = GetThis(argv); in Remove() local
285 JSHandle<JSTaggedValue> self = GetThis(argv); in HasKey() local
307 JSHandle<JSTaggedValue> self = GetThis(argv); in HasValue() local
329 JSHandle<JSTaggedValue> self = GetThis(argv); in Replace() local
[all …]
Dcontainers_plainarray.cpp59 JSHandle<JSTaggedValue> self = GetThis(argv); in Add() local
89 JSHandle<JSTaggedValue> self = GetThis(argv); in Clear() local
110 JSHandle<JSTaggedValue> self = GetThis(argv); in Clone() local
131 JSHandle<JSTaggedValue> self = GetThis(argv); in Has() local
162 JSHandle<JSTaggedValue> self = GetThis(argv); in Get() local
193 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIteratorObj() local
241 JSHandle<JSTaggedValue> self = GetThis(argv); in ToString() local
260 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIndexOfKey() local
290 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIndexOfValue() local
311 JSHandle<JSTaggedValue> self = GetThis(argv); in IsEmpty() local
[all …]
Dcontainers_list.cpp60 JSHandle<JSTaggedValue> self = GetThis(argv); in Add() local
83 JSHandle<JSTaggedValue> self = GetThis(argv); in Insert() local
115 JSHandle<JSTaggedValue> self = GetThis(argv); in GetFirst() local
135 JSHandle<JSTaggedValue> self = GetThis(argv); in GetLast() local
155 JSHandle<JSTaggedValue> self = GetThis(argv); in Has() local
176 JSHandle<JSTaggedValue> self = GetThis(argv); in IsEmpty() local
196 JSHandle<JSTaggedValue> self = GetThis(argv); in Get() local
225 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIndexOf() local
246 JSHandle<JSTaggedValue> self = GetThis(argv); in GetLastIndexOf() local
267 JSHandle<JSTaggedValue> self = GetThis(argv); in Set() local
[all …]
Dcontainers_deque.cpp59 JSHandle<JSTaggedValue> self = GetThis(argv); in InsertFront() local
84 JSHandle<JSTaggedValue> self = GetThis(argv); in InsertEnd() local
108 JSHandle<JSTaggedValue> self = GetThis(argv); in GetFirst() local
131 JSHandle<JSTaggedValue> self = GetThis(argv); in GetLast() local
154 JSHandle<JSTaggedValue> self = GetThis(argv); in Has() local
179 JSHandle<JSTaggedValue> self = GetThis(argv); in PopFirst() local
202 JSHandle<JSTaggedValue> self = GetThis(argv); in PopLast() local
280 JSHandle<JSTaggedValue> self = GetThis(argv); in GetIteratorObj() local
302 JSHandle<JSTaggedValue> self = GetThis(argv); in GetSize() local
/arkcompiler/runtime_core/scripts/
Dmemdump.py62 def __init__(self, stacktrace): argument
67 def alloc(self, size): argument
73 def free(self, size): argument
83 def __init__(self, space, strfilter): argument
87 def filter(self, space, stacktrace): argument
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_map.cpp73 JSHandle<JSTaggedValue> self = GetThis(argv); in Set() local
95 JSHandle<JSTaggedValue> self = GetThis(argv); in Clear() local
112 JSHandle<JSTaggedValue> self = GetThis(argv); in Delete() local
130 JSHandle<JSTaggedValue> self(GetThis(argv)); in Has() local
148 JSHandle<JSTaggedValue> self(GetThis(argv)); in Get() local
166 JSHandle<JSTaggedValue> self = GetThis(argv); in ForEach() local
226 JSHandle<JSTaggedValue> self(GetThis(argv)); in GetSize() local
243 JSHandle<JSTaggedValue> self = GetThis(argv); in Entries() local
254 JSHandle<JSTaggedValue> self = GetThis(argv); in Keys() local
265 JSHandle<JSTaggedValue> self = GetThis(argv); in Values() local

12