Home
last modified time | relevance | path

Searched full:format (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/arkcompiler/ets_runtime/ecmascript/
Decma_isa.yaml37 format: [pref_op_none]
41 format: [pref_op_none]
45 format: [pref_op_none]
49 format: [pref_op_none]
53 format: [pref_op_none]
57 format: [pref_op_none]
61 format: [pref_op_none]
65 format: [pref_op_none]
69 format: [pref_op_none]
73 format: [pref_op_none]
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/
Dold_instruction.h62 Format format = GetFormat(GetOpcode()); in GetId() local
63 if (format == Format::ID16) { in GetId()
66 if (format == Format::ID32) { in GetId()
69 if (format == Format::PREF_ID16_IMM16_IMM16_V8_V8) { in GetId()
72 if (format == Format::PREF_ID16_IMM16_V8) { in GetId()
75 if (format == Format::PREF_ID32) { in GetId()
78 if (format == Format::PREF_ID32_IMM8) { in GetId()
81 if (format == Format::PREF_ID32_V8) { in GetId()
84 if (format == Format::V4_IMM4_ID16) { in GetId()
87 if (format == Format::V4_V4_ID16) { in GetId()
[all …]
/arkcompiler/runtime_core/isa/
Disa.yaml108 # File format and ISA versioning
290 format: [op_none]
294 format: [op_none]
298 format: [op_none]
302 format: [op_none]
306 format: [op_none]
310 format: [op_none]
314 format: [op_none]
318 format: [op_none]
322 format: [op_none]
[all …]
Disapi.rb92 # 'Instruction' instances are created for every format of every isa.yaml
109 fmt = format.pretty
147 # Format instance for raw-data format name
148 def format method in Instruction
149 Panda.format_hash[dig(:format)]
158 ops_encoding = format.encoding
285 # Methods over format names
287 class Format class
304 raise "Incorrect format name #{name}" if bits % 8 != 0
488 # e.g. 'Panda::groups[0].instruction[0].format'
[all …]
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_instruction-inl_gen.h.erb18 constexpr bool BytecodeInst<Mode>::HasId(Format format, size_t idx) {
19 switch (format) {
21 % fmt = i.format
24 case Format::<%= fmt.pretty.upcase %>:
37 constexpr bool BytecodeInst<Mode>::HasVReg(Format format, size_t idx) {
38 switch (format) {
40 % fmt = i.format
43 case Format::<%= fmt.pretty.upcase %>:
56 constexpr bool BytecodeInst<Mode>::HasImm(Format format, size_t idx) {
57 switch (format) {
[all …]
Dbytecode_emitter_gen.h.erb18 template <Format format, typename It, typename... Types>
23 % fmt = i.format
31 if constexpr (format == Format::<%= fmt.pretty.upcase %>) {
48 % FORMAT_TYPE = 'BytecodeInstruction::Format'
55 % FORMAT_TYPE + '::' + i.format.pretty.upcase
60 % formats = group.map(&:format)
74 % format = format_full_name(i)
76 pc_ += Emit<<%= format %>>(std::back_inserter(bytecode_), <%= jmp_args.join(', ') %>);
79 % format = format_full_name(i)
80 pc_ += Emit<<%= format %>>(std::back_inserter(bytecode_), <%= jmp_args.join(', ') %>);
[all …]
/arkcompiler/runtime_core/libpandafile/tests/
Dbytecode_instruction_tests.cpp34 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V4_IMM4, 0>()), 1); in TEST()
35 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V4_IMM4, 0>()), -6); in TEST()
42 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V4_IMM4, 0>()), 0xf); in TEST()
43 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V4_IMM4, 0>()), 0x2); in TEST()
51 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST()
58 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), 0x21); in TEST()
66 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM8, 0>()), 0x12); in TEST()
67 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST()
74 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM8, 0>()), 0xf2); in TEST()
75 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM8, 0>()), 0x12); in TEST()
[all …]
/arkcompiler/runtime_core/docs/
Dfile_format.md1 # Panda Binary File Format
3 This document describes Panda binary file format with the following goals in mind:
16 Current binary file format should extend these limits to conform to the modern requirements.
21 The format uses [TaggedValue](#taggedvalue) which allows to store only information we have and
30 Binary file format should support fast access to information. It means that
31 redundant references should be avoided. Also, if it possible, binary file format should avoid data
32 indexes (like sorted list of strings). However, the described binary format supports one index:
59 To support this feature, the described binary file format uses offsets and doesn't specify how
64 The binary file format supports future changes via version number.
68 Any tool which supports format version `N` must support format version `N - 1` too.
[all …]
/arkcompiler/runtime_core/cmake/
DREADME.md12 …ets (if you have installed additional libraries, like google-test, clang-format, clang-tidy, etc.).
25 …roject and then also build style-checker targets (you must install clang-format and clang-tidy wit…
41 You may force fixes for clang-format issues, with the `make clang_force_format` command.
42 Run `make help | grep clang` to see all possible clang-[format|style] targets.
43 …ponding clang-format target (`make clang_format_opt_opt.cpp`) or the clang-tidy one (`make clang_t…
53 * Clang-format style file - `.clang-format`
54 * Script to show diff through clang-format execution - `scripts/run-clang-format.py`
DCodeStyle.cmake14 # Currently we fix a certain version of clang-format to avoid unstable linting,
16 set(PANDA_CLANG_FORMAT "clang-format-9")
18 # Require clang-format
22 DOC "Path to clang-format executable"
25 message(WARNING "Clang-format not found.")
27 message(STATUS "clang-format found: ${CLANG_FORMAT}")
66 # Also add format-target for headers
84 # Function to check through clang-format
90 COMMAND ${PANDA_ROOT}/scripts/run-clang-format ${PANDA_CLANG_FORMAT} ${src})
96 set(CHECK_CONCURRENCY_FORMAT "${PANDA_ROOT}/scripts/run-check-concurrency-format.sh")
[all …]
/arkcompiler/ets_frontend/test262/
Dintl_tests.txt177 intl402/DateTimeFormat/prototype/format/throws-value-non-finite.js
178 intl402/DateTimeFormat/prototype/format/dayPeriod-short-en.js
179 intl402/DateTimeFormat/prototype/format/dayPeriod-narrow-en.js
180 intl402/DateTimeFormat/prototype/format/taint-Object-prototype.js
181 intl402/DateTimeFormat/prototype/format/builtin.js
182 intl402/DateTimeFormat/prototype/format/name.js
183 intl402/DateTimeFormat/prototype/format/format-function-builtin.js
184 intl402/DateTimeFormat/prototype/format/related-year-zh.js
185 intl402/DateTimeFormat/prototype/format/bound-to-datetimeformat-instance.js
186 intl402/DateTimeFormat/prototype/format/date-constructor-not-called.js
[all …]
/arkcompiler/runtime_core/
DREADME.md26 …ts an ARK bytecode file in text format (*.pa) into a bytecode file in binary format (*.abc). For d…
27 …er, further optimize the ARK bytecode to generate optimized bytecode file in binary format (*.abc).
31 …ler that converts an ARK bytecode file in binary format (*.abc) into an ARK bytecode file in text
32 ├── docs # Language frontend, ARK file format, and runtime design documents.
38 …fect_scan_aux # Vulnerability defect scanning tool for ARK bytecode file in binary format (*.abc).
40 ├── libpandafile # Source code repository of ARK bytecode files (*.abc) in binary format.
42 ├── panda # CLI tool used to execute ARK bytecode files in binary format(*.abc).
75 The ark\_asm assembler converts the text ARK bytecode file into a bytecode file in binary format.
93 … --version | Print version info, including file format version and minimum supported file form…
95 Input file: ARK bytecodes in text format
[all …]
/arkcompiler/runtime_core/disassembler/templates/
Dbc_ins_to_pandasm_ins.cpp.erb26 const BytecodeInstruction::Format format = bc_ins.GetFormat();
28 switch (format) {
33 case BytecodeInstruction::Format::<%=i.format.pretty.upcase%>:
38 ….push_back(static_cast<int64_t>(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upca…
40 …ins.imms.push_back(bc_ins.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upcase%>, <%=imm_…
60 // if format has ID in it - recieve it. else instruction is indirect call and id = method_id
63 if (bc_ins.HasId(format, 0)) {
85 … "between amount of registers specified by instruction format and amount of function's arguments) "
/arkcompiler/runtime_core/libpandafile/templates/tests/
Dbytecode_emitter_tests_gen.h.erb33 template <BytecodeInstruction::Format format, typename It, typename... Types>
39 % fmt = i.format
45 if constexpr (format == BytecodeInstruction::Format::<%= fmt.pretty.upcase %>) {
92 template <BytecodeInstruction::Format format, typename It, typename... Types>
98 % fmt = i.format
112 if constexpr (format == BytecodeInstruction::Format::<%= fmt.pretty.upcase %>) {
141 if constexpr (format == BytecodeInstruction::Format::<%= fmt.pretty.upcase %>) {
160 % FORMAT_TYPE = 'BytecodeInstruction::Format'
167 % FORMAT_TYPE + '::' + i.format.pretty.upcase
172 % formats = group.map(&:format)
[all …]
/arkcompiler/runtime_core/libpandafile/
Dbytecode_instruction.h242 template <Format format, size_t idx = 0>
245 template <Format format, size_t idx = 0>
248 template <Format format, size_t idx = 0>
315 template <Format format>
318 return JumpTo(Size(format)); in GetNext()
370 Format GetFormat() const;
390 static constexpr bool HasId(Format format, size_t idx);
392 static constexpr bool HasVReg(Format format, size_t idx);
394 static constexpr bool HasImm(Format format, size_t idx);
396 static constexpr Format GetFormat(Opcode opcode);
[all …]
/arkcompiler/runtime_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml45 format: [op_v1_8_v2_8, op_v1_16_v2_16]
58 format: [op_v_8]
71 format: [op_v_8]
84 format: [op_imm_32]
88 format: [op_imm_64]
102 format: [op_none]
125 format: [op_imm_4_v1_4_v2_4_v3_4]
129 format: [op_imm_4_v1_4_v2_4_v3_4_v4_4_v5_4]
133 format: [op_imm_16_v_16]
/arkcompiler/toolchain/build/prebuilts_download/
Dutil.py25 print("file '{}' doesn't exist.".format(input_file))
33 print("The file '{}' format is incorrect.".format(input_file))
36 print("read file '{}' failed.".format(input_file))
44 print("file '{}' doesn't exist.".format(input_file))
53 print("read file '{}' failed".format(input_file))
97 # Call gn format to make the output gn file prettier.
98 cmd = ['gn', 'format']
Dprebuilts_download.py86 cmd = 'unzip -o {} -d {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
88 cmd = 'tar -xvzf {} -C {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
90 cmd = 'tar -xvf {} -C {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
96 progress.console.log('Requesting {}'.format(url))
100 progress.console.log("Failed to open {}, HTTPError: {}".format(url, e.code), style='red')
107 progress.console.log("Downloaded {}".format(local_file))
110 progress.console.log("Decompressing {}".format(local_file))
112 progress.console.log("Decompressed {}".format(local_file))
129 … progress.console.log('{}, Sha256 markword check OK.'.format(huaweicloud_url), style='green')
136 … progress.console.log('{}, Sha256 check download OK.'.format(local_file), style='green')
[all …]
/arkcompiler/toolchain/build/templates/cxx/
Dexternal_deps_handler.py43 print("file '{}' doesn't exist.".format(input_file))
51 print("The file '{}' format is incorrect.".format(input_file))
77 …print("Attemp to get a target({}) which is not in the component's inner_kits!".format(target_name))
92 … config_info = read_json_file("{}arkcompiler/ets_runtime/bundle.json".format(args.root_src_dir))
96 … config_info = read_json_file("{}arkcompiler/runtime_core/bundle.json".format(args.root_src_dir))
100 … config_info = read_json_file("{}arkcompiler/ets_frontend/bundle.json".format(args.root_src_dir))
104 … config_info = read_json_file("{}arkcompiler/toolchain/bundle.json".format(args.root_src_dir))
108 …rint("Component in which the external_dep defined is ommited in the logic of {}!".format(__file__))
/arkcompiler/runtime_core/scripts/
Drun-clang-format15 # A very simple wrapper around clang-format:
16 # Compare the original file with what clang-format thinks it should
20 # scripts/run-clang-format /path/to/clang-format /path/to/checked/file
29 echo "FATAL: clang-format binary '$CLANG_FORMAT_BIN' is not found or not executable"
/arkcompiler/ets_runtime/script/
Drun_ark_executable.py33 rsp_file = "{0}{1}".format(script_file, ".rsp")
38 "executable or shared_library depend on its related shared_library!".format(rsp_file))
69 "{}".format(args.qemu_binary_path) + \
70 " -L {}".format(args.qemu_ld_prefix) + \
71 " -E LD_LIBRARY_PATH={}".format(env_path) + \
72 " {}".format(args.script_file)
74 cmd = "{}".format(args.script_file)
75 cmd += " {}".format(args.script_options) if args.script_options else ""
76 cmd += " {}".format(args.script_args) if args.script_args else ""
103 cmd += " {}".format(args.script_options) if args.script_options else ""
[all …]
/arkcompiler/toolchain/build/compile_script/
Dark.py237 "file had not changed!\n".format(
243 … "\nCheck \033[92mdata in file {0}\033[0m against func {1} of class {2} in file {3}!\n".format(
249 …Check \033[92mwhether gn binary and ninja binary are under directory prebuilts\033[0m!\n".format())
284 … print("\"\033[92m{0}\033[0m\" combined with more than 2 flags is not supported.".format(arg))
290 help_msg = "".format()
293 help_msg += "{0}{1}:\n".format(indentation_str_current, key)
297 …help_msg += "{0}{1}: \033[92m{2}\033[0m\n".format(indentation_str_current, key, " ".join(dict_in[k…
299 help_msg += "{0}{1}: {2}\n".format(indentation_str_current, key, dict_in[key])
303 help_msg = "".format()
305 help_msg += "\033[32mCommand template:\033[0m\n{}\n\n".format(
[all …]
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Df32tou32.yaml30 format: [pref_op_none]
64 format: [pref_op_none]
99 format: [pref_op_none]
122 format: [pref_op_none]
145 format: [pref_op_none]
161 format: [pref_op_none]
177 format: [pref_op_none]
201 format: [pref_op_none]
253 format: [pref_op_none]
Df32tou64.yaml30 format: [pref_op_none]
73 format: [pref_op_none]
111 format: [pref_op_none]
137 format: [pref_op_none]
163 format: [pref_op_none]
179 format: [pref_op_none]
195 format: [pref_op_none]
218 format: [pref_op_none]
270 format: [pref_op_none]
Df32toi64.yaml30 format: [pref_op_none]
70 format: [pref_op_none]
117 format: [pref_op_none]
140 format: [pref_op_none]
163 format: [pref_op_none]
179 format: [pref_op_none]
195 format: [pref_op_none]
218 format: [pref_op_none]
270 format: [pref_op_none]

12345678910>>...17