Home
last modified time | relevance | path

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

/arkcompiler/toolchain/build/prebuilts_download/
Dutil.py59 def write_json_file(output_file, content, check_changes=False): argument
60 file_dir = os.path.dirname(os.path.abspath(output_file))
65 changed = __check_changes(output_file, content)
69 with open(output_file, 'w') as output_f:
73 def __check_changes(output_file, content): argument
74 if os.path.exists(output_file) and os.path.isfile(output_file):
77 sha256_obj.update(str(read_json_file(output_file)).encode())
89 def write_file(output_file, content): argument
90 file_dir = os.path.dirname(os.path.abspath(output_file))
94 with open(output_file, 'w') as output_f:
[all …]
/arkcompiler/toolchain/build/templates/cxx/
Dexternal_deps_handler.py25 def __check_changes(output_file, content): argument
26 if os.path.exists(output_file) and os.path.isfile(output_file):
29 sha256_obj.update(str(read_json_file(output_file)).encode())
57 def write_json_file(output_file, content, check_changes=False): argument
58 file_dir = os.path.dirname(os.path.abspath(output_file))
63 changed = __check_changes(output_file, content)
67 with open(output_file, 'w') as output_f:
/arkcompiler/runtime_core/disassembler/
Ddisasm.cpp31 void Disassemble(const std::string &input_file, const std::string &output_file, const bool verbose,… in Disassemble() argument
45 res_pa.open(output_file, std::ios::trunc | std::ios::out); in Disassemble()
51 const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &debug, in ProcessArgs() argument
66 if (input_file.GetValue().empty() || output_file.GetValue().empty() || help.GetValue()) { in ProcessArgs()
102 … panda::PandArg<std::string> output_file("output_file", "", "Path to the generated assembly code"); in main() local
116 pa_parser.PushBackTail(&output_file); in main()
119 …if (!ProcessArgs(pa_parser, input_file, output_file, debug, debug_file, help, version, argc, argv)… in main()
123 Disassemble(input_file.GetValue(), output_file.GetValue(), verbose.GetValue(), quiet.GetValue(), in main()
DBUILD.gn170 output_file = "$target_gen_dir/type_to_pandasm_type.cpp"
178 output_file = "$target_gen_dir/disasm_plugins.inc"
186 output_file = "$target_gen_dir/get_language_specific_metadata.inc"
/arkcompiler/ets_frontend/ts2panda/scripts/
Dgen_diagnostic.rb61 output_file = File.open(options.output, 'w')
71 output_file.write(t.result(create_sandbox))
72 output_file.close
/arkcompiler/runtime_core/
Dark_config.gni68 # output_file -- output file full name
74 assert(defined(invoker.output_file), "output_file is required!")
98 rebase_path(invoker.output_file),
112 outputs = [ invoker.output_file ]
119 assert(defined(invoker.output_file), "output_file is required!")
127 outputs = [ invoker.output_file ]
136 rebase_path(invoker.output_file, root_build_dir),
149 assert(defined(invoker.output_file), "output_file is required!")
157 outputs = [ invoker.output_file ]
170 rebase_path(invoker.output_file, root_build_dir),
[all …]
DBUILD.gn252 output_file = "$target_gen_dir/plugin_options.yaml"
270 output_file = "$target_gen_dir/compiler/generated/inst_templates.yaml"
/arkcompiler/runtime_core/gn/ark/runtime_core/
Dark_config.gni73 # output_file -- output file full name
79 assert(defined(invoker.output_file), "output_file is required!")
103 rebase_path(invoker.output_file),
114 outputs = [ invoker.output_file ]
121 assert(defined(invoker.output_file), "output_file is required!")
129 outputs = [ invoker.output_file ]
138 rebase_path(invoker.output_file, root_build_dir),
151 assert(defined(invoker.output_file), "output_file is required!")
159 outputs = [ invoker.output_file ]
172 rebase_path(invoker.output_file, root_build_dir),
[all …]
/arkcompiler/runtime_core/assembler/
Dpandasm.cpp63 … const panda::PandArg<std::string> &output_file, const panda::PandArg<std::string> &log_file, in PrepareArgs() argument
78 if (input_file.GetValue().empty() || output_file.GetValue().empty() || help.GetValue()) { in PrepareArgs()
159 … const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &optimize, in EmitProgramInBinary() argument
168 …if (!panda::pandasm::AsmEmitter::Emit(output_file.GetValue(), program, statp, mapsp, emit_debug_in… in EmitProgramInBinary()
191 const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &optimize, in BuildFiles() argument
198 if (!EmitProgramInBinary(program, pa_parser, output_file, optimize, size_stat)) { in BuildFiles()
220 panda::PandArg<std::string> output_file("OUTPUT_FILE", "", "Path to the generated binary code"); in main() local
230 pa_parser.PushBackTail(&output_file); in main()
235 …if (!panda::pandasm::PrepareArgs(pa_parser, input_file, output_file, log_file, help, verbose, vers… in main()
266 …if (!panda::pandasm::BuildFiles(program, pa_parser, output_file, optimize, size_stat, scopes_file)… in main()
Dpandasm.h28 … const panda::PandArg<std::string> &output_file, const panda::PandArg<std::string> &log_file,
42 … const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &optimize,
46 const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &optimize,
DBUILD.gn195 output_file = "$target_gen_dir/meta_gen.h"
203 output_file = "$target_gen_dir/register_extensions.h"
/arkcompiler/runtime_core/compiler/
DBUILD.gn260 output_file = "$target_gen_dir/generated/compiler_options_gen.h"
267 output_file = "$target_gen_dir/generated/cpu_features.inc"
274 output_file = "$target_gen_dir/generated/compiler_events_gen.h"
282 output_file = "$target_gen_dir/generated/compiler_logger_components.inc"
289 output_file = "$target_gen_dir/generated/intrinsics_stub.inl"
296 output_file = "$target_gen_dir/generated/intrinsics_stub.inl.h"
304 output_file = "$target_gen_dir/generated/intrinsics_codegen_ext.inl.h"
311 output_file = "$target_gen_dir/generated/intrinsics_inline.inl"
318 output_file = "$target_gen_dir/generated/intrinsics_ir_build.inl.h"
326 output_file = "$target_gen_dir/generated/intrinsics_ir_build_static_call.inl"
[all …]
/arkcompiler/ets_runtime/test/quickfix/
Dgenerate_merge_file.py35 with open(args.input, 'r') as input_file, open(args.output, 'w') as output_file:
38 output_file.write(output_line)
/arkcompiler/ets_frontend/es2panda/lexer/scripts/
Dkeywords.rb213 def generate(keywords, template_file, output_file) argument
224 File.open(output_file, "w") do |file|
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Dexecution.py38 output_file = get_compile_output_file_path(task, is_debug)
39 output_dir = os.path.dirname(output_file)
40 output_file_name = os.path.basename(output_file)
527 output_file = get_compile_output_file_path(task, True)
528 output_dir = os.path.dirname(output_file)
529 output_file_name = os.path.basename(output_file)
715 output_file = ''
718 output_file = os.path.join(
721 output_file = os.path.join(
724 return output_file
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
DBUILD.gn117 output_file = "$target_gen_dir/generated/bytecodeopt_options_gen.h"
125 output_file = "$target_gen_dir/generated/reg_encoder_visitors.inc"
133 output_file = "$target_gen_dir/generated/codegen_visitors.inc"
141 output_file = "$target_gen_dir/generated/codegen_intrinsics.cpp"
/arkcompiler/runtime_core/docs/
Dtracing.md46 sudo scripts/trace_enable.sh <output_file> <trace_time_in_seconds>
53 4. Load <output_file> in Chrome at `chrome://tracing` address.
/arkcompiler/runtime_core/libpandabase/
DBUILD.gn40 output_file = "$target_gen_dir/events_gen.h"
47 output_file = "$target_gen_dir/generated/base_options.h"
253 output_file = "$target_gen_dir/include/logger_enum_gen.h"
261 output_file = "$target_gen_dir/include/logger_impl_gen.inc"
/arkcompiler/runtime_core/cmake/
DCommonTesting.cmake161 set(output_file "${ARG_OUTPUT_DIRECTORY}/${ARG_NAME}_gtest_output.txt") variable
168 >${output_file} 2>&1
169 || (cat ${output_file} && false)
DPandaAssembly.cmake190 set(output_file "${build_dir}/run.out") variable
196 set(${ARG_OUTPUT_FILE_VARIABLE} "${output_file}" PARENT_SCOPE)
340 "1>\"${output_file}\""
446 set(output_file "${build_dir}/verify.out") variable
452 set(${ARG_OUTPUT_FILE_VARIABLE} "${output_file}" PARENT_SCOPE)
497 "1>\"${output_file}\""
/arkcompiler/runtime_core/libpandafile/
DBUILD.gn147 output_file = "$target_gen_dir/type.h"
170 output_file = "$target_gen_dir/include/source_lang_enum.h"
/arkcompiler/ets_frontend/es2panda/test/
Dtest262util.py97 def create_file(self, input_file, output_file, harness, test262_dir): argument
117 with open(output_file, 'w') as o:
/arkcompiler/ets_frontend/test262/
Drun_sunspider.py263 output_file = os.path.splitext(dependency.replace(DATA_DIR, BASE_OUT_DIR))[0]
283 proto_bin_file = output_file + "." + PROTO_BIN_SUFFIX
300 output_file = os.path.splitext(dependency.replace(DATA_DIR, BASE_OUT_DIR))[0]
/arkcompiler/runtime_core/tests/
DCMakeLists.txt121 set(output_file) variable
128 OUTPUT_FILE_VARIABLE output_file
144 set(expected_output_file "${output_file}.expected")
149 … COMMAND ${CMAKE_COMMAND} -E compare_files "${output_file}" "${expected_output_file}"
224 set(output_file) variable
242 OUTPUT_FILE_VARIABLE output_file
252 set(expected_output_file "${output_file}.expected")
257 … COMMAND ${CMAKE_COMMAND} -E compare_files "${output_file}" "${expected_output_file}"
/arkcompiler/ets_frontend/ts2panda/
DBUILD.gn151 output_file = "$src_dir/irnodes.ts"