Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 78) sorted by relevance

1234

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DtypeInferenceFBoundedTypeParams.ts40 function append<a, b extends a>(values: a[], value: b): a[] { function
51 AssertType(fold( [1, 2, 3], [] as [string, string][], (result, value) => append( re…
64 (result, value) => append(
65 AssertType((result, value) => append( result, ["", ""] ), "([string, string][], nu…
68 AssertType(append( result, ["", ""] ), "[string, string][]");
69 AssertType(append, "<a, b extends a>(a[], b) => a[]");
DdeclarationEmitFBoundedTypeParams.ts23 function append<a, b extends a>(result: a[], value: b): a[] {
Dfind_ts_files.py30 arr.append(path)
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_profiler.cpp235 filename.append(GetTimeStamp()); in GenDumpFileName()
238 filename.append("unimplemented"); in GenDumpFileName()
241 filename.append("unimplemented"); in GenDumpFileName()
244 filename.append("unimplemented"); in GenDumpFileName()
247 filename.append(".heapsnapshot"); in GenDumpFileName()
263 stamp.append(ToCString(timeData->tm_year + TIME_START)) in GetTimeStamp()
264 .append("-") in GetTimeStamp()
265 .append(ToCString(timeData->tm_mon + 1)) in GetTimeStamp()
266 .append("-") in GetTimeStamp()
267 .append(ToCString(timeData->tm_mday)) in GetTimeStamp()
[all …]
Dheap_snapshot.cpp48 arrayName.append(ToCString(array->GetLength())); in GetArrayString()
49 arrayName.append("]"); in GetArrayString()
103 GetString(CString("HeapVerify:").append(ToCString(totalNodesSize_))); in Verify()
303 jsArrayName.append(ToCString(jsArray->GetLength())); in GenerateNodeName()
304 jsArrayName.append("]"); in GenerateNodeName()
570 return GetString(CString("UnKnownType").append(std::to_string(static_cast<int>(type)))); in GenerateNodeName()
643 primitiveName.append("Int:"); in GenerateNode()
645 primitiveName.append(ToCString(entry.GetInt())); in GenerateNode()
651 primitiveName.append("Double:"); in GenerateNode()
653 primitiveName.append(FloatToCString(entry.GetDouble())); in GenerateNode()
[all …]
/arkcompiler/runtime_core/libpandabase/utils/
Dpandargs.h498 errstr_.append("pandargs: Invalid option \""); in FindArg()
499 errstr_.append(arg_name); in FindArg()
500 errstr_.append("\"\n"); in FindArg()
512 errstr_.append("pandargs: Invalid sub-argument \""); in ParseSubArgument()
513 errstr_.append(arg_name); in ParseSubArgument()
514 errstr_.append("\"\n"); in ParseSubArgument()
526 errstr_.append("pandargs: Only boolean arguments might have no value \""); in ParseSubArgument()
527 errstr_.append(arg_name); in ParseSubArgument()
528 errstr_.append("\"\n"); in ParseSubArgument()
601 errstr_.append("pandargs: Compound option can not be explicitly set \""); in ParseNextRegularArg()
[all …]
/arkcompiler/runtime_core/assembler/
Dmeta.cpp239 return Error(std::string("Unexpected attribute '").append(attribute) + in Store()
255 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpRecordAttribute()
269 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpIdAttribute()
275 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpIdAttribute()
289 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementNameAttribute()
295 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementNameAttribute()
309 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementTypeAttribute()
315 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementTypeAttribute()
329 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementArrayComponentTypeAttribute()
335 …return Error(std::string("Unexpected attribute '").append(attribute) + "'. Annotation element type… in MeetExpElementArrayComponentTypeAttribute()
[all …]
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/
Dgenerate_abc_file.py50 cmd.append('-m')
54 cmd.append('-o')
55 cmd.append(os.path.join(out_dir, tc_name + '.abc'))
57 cmd.append(tc_path)
/arkcompiler/ets_frontend/testTs/
Drun_testTs.py123 result_path.append(result)
127 result_path.append(result)
137 result_path.append(result)
141 result_path.append(result)
151 result_path.append(result)
155 result_path.append(result)
168 out_list.append(''.join(out_content.split('\n')))
185 out_text_list.append(out_txt)
189 out_text_list.append(c)
221 expectcontlist.append(i)
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Dpath_helper.cpp51 res.append(e); in NormalizePath()
54 res.append(1, SLASH_TAG).append(e); in NormalizePath()
/arkcompiler/toolchain/build/templates/cxx/
Dexternal_deps_handler.py94 deps.append(get_full_path_from_target_name(config_info, target_name))
98 deps.append(get_full_path_from_target_name(config_info, target_name))
102 deps.append(get_full_path_from_target_name(config_info, target_name))
106 deps.append(get_full_path_from_target_name(config_info, target_name))
/arkcompiler/ets_frontend/merge_abc/src/
DmergeProgram.cpp39 if ((handle = _findfirst(path.assign(protoBinPath).append("\\*").c_str(), &fileInfo)) == -1) { in GetProtoFiles()
47 … if (!GetProtoFiles(path.assign(protoBinPath).append("\\").append(fileInfo.name), protoBinSuffix, in GetProtoFiles()
55 … directoryFiles.emplace_back(path.assign(protoBinPath).append("\\").append(fileName)); in GetProtoFiles()
Dmain.cpp81 std::string outputFileName = outputFilePath.append(panda::os::file::File::GetPathDelim()). in Run()
82 append(options->outputFileName()); in Run()
/arkcompiler/ets_frontend/es2panda/test/
Drunner.py194 cmd.append(self.path)
248 cmd.append('--opt-level=2')
252 cmd.append("--module")
258 cmd.append(self.path)
392 test_options[opt].append(value)
414 cmd.append('--module')
415 cmd.append(self.path)
483 results.append(res)
507 fail_list.append(test)
509 success_list.append(test)
[all …]
/arkcompiler/ets_frontend/test262/
Drun_test262.py182 SKIP_LIST_FILES.append(ES2ABC_SKIP_LIST_FILE)
184 SKIP_LIST_FILES.append(TS2ABC_SKIP_LIST_FILE)
367 files.append(file_name.split(origin_dir)[1])
640 test_cmd.append(f"--hostType={host_type}")
641 test_cmd.append(f"--hostPath={host_path}")
643 test_cmd.append(f"--hostArgs='{host_args}'")
644 test_cmd.append(f"--threads={threads}")
645 test_cmd.append(f"--mode={run_test262_mode(args)}")
646 test_cmd.append(f"--timeout={timeout}")
653 test_cmd.append(f"--tempDir={BASE_OUT_DIR}")
[all …]
/arkcompiler/ets_runtime/test/
Drun_ts_test262.py67 allfiles.append(file_or_dir_path)
167 contents.append('\n')
169 contents.append('\n')
196 content.append('\n')
199 c.append('}')
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Dresult.py156 test_result.failed.append(task)
158 test_result.passed.append(task)
177 passed_task_name_list.append(task.name)
180 failed_task_name_list.append(task.name)
253 time_size_data.append(task_time_size_data)
254 result_data.append(task_result_data)
/arkcompiler/toolchain/build/toolchain/
Dgcc_solink_wrapper.py29 implibs.append(arg)
31 result.append(arg)
/arkcompiler/ets_runtime/ecmascript/js_vm/
Dmain.cpp47 str.append(COMMON_HELP_HEAD_MSG); in GetHelper()
48 str.append(HELP_OPTION_MSG); in GetHelper()
Dcontext_main.cpp47 str.append(COMMON_HELP_HEAD_MSG); in GetHelper()
48 str.append(HELP_OPTION_MSG); in GetHelper()
/arkcompiler/toolchain/build/prebuilts_download/
Dutil.py51 data.append(line.rstrip('\n'))
99 cmd.append(output_file)
/arkcompiler/runtime_core/scripts/
Dgc_pause_stats.py35 stats_list.append(trig_type)
44 stats_info.append(sort_one_gc_stat(stats, gc_type))
196 gc_log_paths.append(log_path)
/arkcompiler/ets_frontend/es2panda/binder/
DtsBinding.h37 return std::string {TS_PREFIX}.append(name.Utf8()); in ToTSBinding()
/arkcompiler/ets_frontend/test/scripts/performance_test/
Dperformance_build.py57 dic[key].append(value)
248 total_raw_size.append(0)
249 total_compressed_size.append(0)
339 content_list.append(first_line)
341 content_list.append(key)
343 content_list.append(",")
344 content_list.append(str(v))
345 content_list.append("\n")
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dnative_stack.cpp33 result->append(&buffer[0], res.Value()); in ReadOsFile()

1234