Home
last modified time | relevance | path

Searched refs:fname (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/
H A Des2panda.cpp65 void Compiler::CheckOptionsAndFileForAbcInput(const std::string &fname, const CompilerOptions &options) in CheckOptionsAndFileForAbcInput() argument
68 throw Error(ErrorType::GENERIC, "\"--enable-abc-input\" is not enabled, abc file " + fname + in CheckOptionsAndFileForAbcInput()
80 if (!abcToAsmCompiler_->OpenAbcFile(fname)) { in CheckOptionsAndFileForAbcInput()
81 throw Error(ErrorType::GENERIC, "Open abc file " + fname + " failed."); in CheckOptionsAndFileForAbcInput()
85 throw Error(ErrorType::GENERIC, "The input abc file '" + fname + "' owns a higher api version or a higher " + in CheckOptionsAndFileForAbcInput()
90 panda::pandasm::Program *Compiler::CompileAbcFile(const std::string &fname, const CompilerOptions &options) in CompileAbcFile() argument
93 CheckOptionsAndFileForAbcInput(fname, options); in CompileAbcFile()
97 std::cerr << " [" << fname << "]" << std::endl; in CompileAbcFile()
137 std::string fname(input.fileName); in Compile()
145 if (fname in Compile()
[all...]
H A Des2panda.h239 panda::pandasm::Program *CompileAbcFile(const std::string &fname, const CompilerOptions &options);
259 void CheckOptionsAndFileForAbcInput(const std::string &fname, const CompilerOptions &options);
/arkcompiler/runtime_core/scripts/
H A Dinstall-deps-qemu115 for fname in "$prefix"/bin/qemu-*; do
116 local lname="/usr/bin/$(basename "$fname")"
118 ln -s "$fname" "$lname"
120 echo "WARNING: Unable to symlink $fname to $lname: $lname already exists"
H A Dinstall-deps-ubuntu88 local fname=$1
90 if [[ ! -f "$fname" ]] ; then
91 echo "FATAL: Dependency list $fname not found."
95 echo "Processing $fname"
96 grep --color=never -o '^[^#]*' "$fname" | xargs apt install -y --no-install-recommends -o Dpkg::Options::="--force-overwrite"
/arkcompiler/runtime_core/static_core/scripts/
H A Dinstall-deps-qemu121 for fname in "$prefix"/bin/qemu-*; do
122 local lname="/usr/bin/$(basename "$fname")"
124 ln -s "$fname" "$lname"
126 echo "WARNING: Unable to symlink $fname to $lname: $lname already exists"
H A Dinstall-deps-ubuntu134 local fname=$1
136 if [[ ! -f "$fname" ]] ; then
137 echo "FATAL: Dependency list $fname not found."
141 echo "Processing $fname"
142 grep --color=never -o '^[^#]*' "$fname" | xargs apt install -y --no-install-recommends -o Dpkg::Options::="--force-overwrite" -o Acquire::Retries=30 -o Acquire::https::Timeout=600 -o Acquire::http::Timeout=600
147 local fname=$1
149 if [[ ! -f "$fname" ]] ; then
150 echo "FATAL: Dependency list $fname not found."
154 echo "Processing $fname"
155 python3 -m pip install --no-cache-dir --upgrade -r $fname
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dvalidate-recipes208 my $fname = shift;
221 open my $FH_r, '<', $fname or die "Cannot open file: $!";
475 my $fname = sprintf '%s/%03d_%s.ts', $dir_name, $r->{id}, $section;
479 open my $FH_code, '>', $fname;
484 my $tsc_output = `tsc --strict --target ES2020 --lib es2020,dom $fname`;
590 my $fname = shift;
604 open my $FH_csv, '>', $fname or die "Cannot open file: $!";
653 my $fname = (grep /^--recipes=.+$/, @ARGV)[0];
654 die 'No recipes file' unless $fname;
655 ($fname)
[all...]
/arkcompiler/runtime_core/static_core/scripts/code_style/
H A Dcode_style_check.py117 for fname in filenames:
118 if (fname.endswith(src_exts)):
119 full_path = os.path.join(panda_dir, dirpath, fname)
H A Ddoxygen_style_check.py38 for fname in filenames:
39 if (fname.endswith(src_exts)):
40 full_path = os.path.join(panda_dir, dirpath, fname)
/arkcompiler/runtime_core/libpandabase/os/
H A Dstacktrace.cpp35 VmaEntry(uintptr_t param_start_addr, uintptr_t param_end_addr, uintptr_t param_offset, const std::string &fname) in VmaEntry()
36 : start_addr(param_start_addr), end_addr(param_end_addr), offset(param_offset), filename(fname) in VmaEntry()
232 std::stringstream fname; in ScanVma() local
233 fname << "/proc/self/maps"; in ScanVma()
234 std::string filename = fname.str(); in ScanVma()
H A Ddebug_info.cpp333 std::string fname; in TraverseSiblings() local
334 GetFunctionName(die, &fname); in TraverseSiblings()
335 AddFunction(cu, low_pc, high_pc, fname); in TraverseSiblings()
/arkcompiler/runtime_core/static_core/libpandabase/os/
H A Dstacktrace.cpp35 VmaEntry(uintptr_t paramStartAddr, uintptr_t paramEndAddr, uintptr_t paramOffset, const std::string &fname) in VmaEntry()
36 : startAddr(paramStartAddr), endAddr(paramEndAddr), offset(paramOffset), filename(fname) in VmaEntry()
232 std::stringstream fname; in ScanVma() local
233 fname << "/proc/self/maps"; in ScanVma()
234 std::string filename = fname.str(); in ScanVma()
H A Ddebug_info.cpp417 std::string fname; in TraverseSiblings() local
418 GetFunctionName(die, &fname); in TraverseSiblings()
419 AddFunction(cu, lowPc, highPc, fname); in TraverseSiblings()
/arkcompiler/runtime_core/tests/checked/
H A Dchecker.rb87 def self.from_file(fname, name)
88 SearchScope.new(File.readlines(fname), name)
457 fname = @ir_files.detect { |x| File.basename(x).include? pass }
458 raise_error "IR file not found for pass: #{pass}" unless fname
459 @ir_scope = SearchScope.from_file(fname, 'IR')
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Dts2ets_copy.cpp159 auto fname = reinterpret_cast<const char *>(field->GetName().data); variable
161 TYPEVIS_NAPI_CHECK(napi_get_named_property(env_, jsValue_, fname, &subVal));
169 auto fname = reinterpret_cast<const char *>(field->GetName().data); variable
171 TYPEVIS_NAPI_CHECK(napi_get_named_property(env_, jsValue_, fname, &subVal));
296 auto fname = reinterpret_cast<const char *>(field->GetName().data); variable
297 napi_set_named_property(env_, jsValue_, fname, subVis.jsValue_);
305 auto fname = reinterpret_cast<const char *>(field->GetName().data); variable
306 napi_set_named_property(env_, jsValue_, fname, subVis.jsValue_);
/arkcompiler/runtime_core/static_core/irtoc/backend/
H A Ddwarf_builder.cpp265 Dwarf_Unsigned DwarfBuilder::AddFile(const std::string &fname, Dwarf_Unsigned dirIndex) in AddFile() argument
267 if (auto it = sourceFilesMap_.find(fname); it != sourceFilesMap_.end()) { in AddFile()
271 Dwarf_Unsigned index = dwarf_add_file_decl(dwarf_, const_cast<char *>(fname.data()), dirIndex, 0U, 0U, &error); in AddFile()
275 sourceFilesMap_[fname] = index; in AddFile()
H A Ddwarf_builder.h57 Dwarf_Unsigned AddFile(const std::string &fname, Dwarf_Unsigned dirIndex);
/arkcompiler/runtime_core/static_core/plugins/ets/snippet_verifier/
H A Dverify.py181 print("{mark} {fname}::{line_idx} {mark}".format(
182 fname=filename, line_idx=line_idx, mark=mark), end=' ')
243 snippet_name = "{fname}_{first_line_idx}".format(
244 fname=filename, first_line_idx=i
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Doptimize_common.cpp225 const std::string fname, regno_t vReg) in GenerateDot()
231 std::string fileName = GetFileName(mod, (preFix + "-" + fname)); in GenerateDot()
224 GenerateDot(const std::string &preFix, const CGFunc &cgFunc, const MIRModule &mod, const std::string fname, regno_t vReg) GenerateDot() argument
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Doptimize_common.h126 const std::string fname = "", regno_t vReg = 0);
/arkcompiler/runtime_core/static_core/tests/checked/
H A Dchecker.rb123 def self.from_file(fname, name)
124 SearchScope.new(File.readlines(fname), name)
/arkcompiler/runtime_core/static_core/disassembler/
H A Ddisassembler.h70 PANDA_PUBLIC_API void SetProfile(std::string_view fname);
H A Ddisassembler.cpp84 void Disassembler::SetProfile(std::string_view fname) in SetProfile() argument
86 std::ifstream stm(fname.data(), std::ios::binary); in SetProfile()
/arkcompiler/runtime_core/static_core/runtime/
H A Druntime.cpp796 for (auto &fname : aotFiles) { in HandleAotOptions()
797 auto res = FileManager::LoadAnFile(fname, true); in HandleAotOptions()
802 LOG(FATAL, AOT) << "Failed to load '" << fname << "' with unknown reason"; in HandleAotOptions()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparser.h527 SavedFormattingFileName(ETSParser *parser, std::string_view fname) in SavedFormattingFileName() argument
530 parser->SetFormattingFileName(fname); in SavedFormattingFileName()

Completed in 19 milliseconds

12