Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/tests/cts-generator/generator/
Dcommand.rb79 file_name = "#{test_dir}/#{@test_name}_#{sig_name}_#{idx1}_#{index}.pa"
80 …process_case_values file_name, current_case, index, sig_name, test_dir, template, bugids, ignore, …
88 file_name = "#{test_dir}/#{@test_name}_#{sig_name}_#{index}.pa"
90 … process_case_values file_name, current_case, index, sig_name, test_dir, template, [], false, []
97 …def process_case_values(file_name, current_case, index, sig_name, test_dir, template, bugids, igno… argument
99 File.open(file_name, 'w') do |test_file|
109 file_name = @command[Generator::COMMAND_FILE_NAME]
111 File.open("#{test_dir}/#{@test_name}_#{file_name}.pa", 'w') do |test_file|
Dparser.rb44 file_name = test[Generator::TESTS_INCLUDE]
45 included_data = YAML.load_file("#{@src_dir}/#{file_name}")
49 puts "Template '#{file_name}' contains several errors:"
51 …raise "Schema validation error, please update template '#{file_name}' to match schema to generate …
/arkcompiler/runtime_core/panda/
Dpanda.cpp48 const panda_file::File *GetPandaFile(const ClassLinker &class_linker, std::string_view file_name) in GetPandaFile() argument
51 class_linker.EnumerateBootPandaFiles([&res, file_name](const panda_file::File &pf) { in GetPandaFile()
52 if (pf.GetFilename() == file_name) { in GetPandaFile()
191 … [&](auto &file_name) { return file_name == file.GetValue(); }); in Main() argument
211 std::string file_name = file.GetValue(); in Main() local
222 auto res = runtime.ExecutePandaFile(file_name, entry, arguments); in Main()
224 …std::cerr << "Cannot execute panda file '" << file_name << "' with entry '" << entry << "'" << std… in Main()
/arkcompiler/ets_frontend/test/scripts/
Dsend_email.py27 def add_content(content, file_name, test_part): argument
28 if file_name == "":
31 if not os.path.exists(file_name):
34 with open(file_name, 'r', encoding='utf-8') as f:
/arkcompiler/runtime_core/compiler/tests/
Dunit_test.cpp86 …:unique_ptr<const panda_file::File> AsmTest::ParseToFile(const char *source, const char *file_name) in ParseToFile() argument
89 auto res = parser.Parse(source, file_name); in ParseToFile()
99 bool AsmTest::Parse(const char *source, const char *file_name) in Parse() argument
101 auto pfile = ParseToFile(source, file_name); in Parse()
Dunit_test.h325 …std::unique_ptr<const panda_file::File> ParseToFile(const char *source, const char *file_name = "t…
326 bool Parse(const char *source, const char *file_name = "test.pb");
352 explicit TmpFile(const char *file_name) : file_name_(file_name) {} in TmpFile()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dnative_stack.cpp25 bool ReadOsFile(const std::string &file_name, std::string *result) in ReadOsFile() argument
27 …panda::os::unix::file::File cmdfile = panda::os::file::Open(file_name, panda::os::file::Mode::READ… in ReadOsFile()
Dnative_stack.h26 bool ReadOsFile(const std::string &file_name, std::string *result);
/arkcompiler/runtime_core/libpandafile/
Dfile_writer.cpp21 FileWriter::FileWriter(const std::string &file_name) : checksum_(adler32(0, nullptr, 0)) in FileWriter() argument
29 file_ = fopen(file_name.c_str(), mode); in FileWriter()
Dfile.cpp97 InsertResult Insert(const std::string &file_name, const std::string &anon_mem_name) in Insert() argument
99 return mem_name_set_.emplace(file_name, anon_mem_name).first; in Insert()
102 void Remove(const std::string &file_name) in Remove() argument
104 auto it = mem_name_set_.find(file_name); in Remove()
Dfile_writer.h180 explicit FileWriter(const std::string &file_name);
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_item_container_test.cpp87 const std::string file_name = "test_file_open.panda"; variable
88 auto writer = FileWriter(file_name);
93 EXPECT_NE(File::Open(file_name), nullptr);
98 const std::string file_name = "test_file_format_version_too_old.abc"; variable
101 auto writer = FileWriter(file_name);
122 EXPECT_EQ(File::Open(file_name), nullptr);
127 const std::string file_name = "test_rewrite_checksum.abc"; variable
130 auto writer = FileWriter(file_name);
149 const auto &file = File::Open(file_name);
156 const std::string file_name = "test_reserve_buffer_capacity.abc"; variable
[all …]
Dfile_test.cpp224 const char *file_name = "test_file_empty.panda"; variable
226 auto writer = FileWriter(file_name);
229 auto pf = OpenPandaFile(file_name);
234 auto writer = FileWriter(file_name);
259 remove(file_name);
/arkcompiler/runtime_core/libpandabase/os/
Dnative_stack.cpp21 bool ReadOsFile([[maybe_unused]] const std::string &file_name, [[maybe_unused]] std::string *result) in ReadOsFile() argument
Dnative_stack.h36 bool ReadOsFile(const std::string &file_name, std::string *result);
/arkcompiler/ets_frontend/es2panda/test/
Drunner.py890 file_name = path.split(sub_path)[1]
892 return [file_absolute_path, file_name]
897 [file_absolute_path, file_name] = self.get_file_absolute_path_and_name(runner)
901 test_abc_name = ("%s.abc" % (path.splitext(file_name)[0]))
932 [file_absolute_path, file_name] = self.get_file_absolute_path_and_name(runner)
935 test_abc_name = ("%s.abc" % (path.splitext(file_name)[0]))
962 [file_absolute_path, file_name] = self.get_file_absolute_path_and_name(runner)
964 entry_point_name = path.splitext(file_name)[0]
1000 file_name = self.path[:self.path.find(".d.ts")]
1001 return "%s-expected.txt" % file_name
[all …]
/arkcompiler/runtime_core/assembler/
Dassembly-parser.h66 Expected<Program, Error> Parse(TokenSet &vectors_tokens, const std::string &file_name = "");
72 Expected<Program, Error> Parse(const std::string &source, const std::string &file_name = "");
208 Expected<Program, Error> ParseAfterMainLoop(const std::string &file_name);
Dassembly-parser.cpp962 Expected<Program, Error> Parser::ParseAfterMainLoop(const std::string &file_name) in ParseAfterMainLoop() argument
980 func.second.source_file = file_name; in ParseAfterMainLoop()
986 rec.second.source_file = file_name; in ParseAfterMainLoop()
993 Expected<Program, Error> Parser::Parse(TokenSet &vectors_tokens, const std::string &file_name) in Parse() argument
1050 return ParseAfterMainLoop(file_name); in Parse()
1053 Expected<Program, Error> Parser::Parse(const std::string &source, const std::string &file_name) in Parse() argument
1070 return Parse(v, file_name); in Parse()
/arkcompiler/ets_frontend/test262/
Drun_test262.py202 for file_name in file_names:
203 if file_name.startswith('.') or not file_name.endswith(".js"):
206 yield os.path.join(root, file_name)
363 for file_name in file_names:
364 with open(file_name, 'r', encoding='utf-8') as file:
367 files.append(file_name.split(origin_dir)[1])
Drun_sunspider.py358 file_name = os.path.basename(js_file)
375 if (file_name in self.module_list or file_name in self.dynamicImport_list):
/arkcompiler/runtime_core/scripts/
Dgc_pause_stats.py49 def save_pause_stats(gc_log_path: str, file_name: str, stats: dict) -> None:
51 with open(file_name, 'a') as file:
/arkcompiler/toolchain/build/third_party_gn/musl/
DBUILD.gn195 file_name = "asm-arm"
197 file_name = "asm-arm64"
199 sources = [ "${uapi_dir}/${file_name}/asm" ]
/arkcompiler/runtime_core/tests/benchmarks/
DCMakeLists.txt59 set(file_name "${PANDA_BENCHMARKS_DIR}/${name}.pa") variable
61 set_source_files_properties(${file_name} PROPERTIES
71 list(APPEND PANDA_BENCHMARKS ${file_name})
/arkcompiler/runtime_core/libpandabase/utils/
Dlogger.cpp80 const std::string &file_name = options.GetLogFile(); in Initialize() local
81 …Logger::InitializeFileLogging(file_name, level, component_mask, options.GetLogStream() == "fast-fi… in Initialize()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dcommon.h184 …ToGraph(const std::string &source, const std::string &func_name, const char *file_name = "test.pb")
187 auto res = parser.Parse(source, file_name);

12