Home
last modified time | relevance | path

Searched refs:spec (Results 1 - 25 of 26) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
H A DimportExportDecls.cpp121 for (auto spec : decl->Specifiers()) { in PopulateAliasMap()
122 if (!varbinder_->AddSelectiveExportAlias(path, spec->Local()->Name(), spec->Exported()->Name())) { in PopulateAliasMap()
124 "The given name '" + spec->Local()->Name().Mutf8() + in PopulateAliasMap()
126 spec->Start()); in PopulateAliasMap()
194 for (auto spec : exportDecl->Specifiers()) { in VisitExportNamedDeclaration()
195 auto local = spec->Local(); in VisitExportNamedDeclaration()
209 for (ir::AstNode *spec : importDecl->AsETSImportDeclaration()->Specifiers()) { in VisitETSImportDeclaration()
210 if (spec->IsImportSpecifier()) { in VisitETSImportDeclaration()
211 importedSpecifiersForExportCheck_.emplace(spec in VisitETSImportDeclaration()
[all...]
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/
H A Dsummary.rb19 def initialize(spec)
20 @spec = spec
63 @spec.data['groups'].each do |g|
68 @orphaned = @spec.orphaned.map { |f| f['file'] }.uniq
H A Dfull_md.rb25 def initialize(spec)
27 @full = spec
H A Dspec.rb24 # Full spec object
27 # Array of tests not matching the spec
260 @orphaned << { 'file' => file, 'error' => 'Given description assertion not found in the spec',
283 @orphaned << { 'file' => file, 'error' => 'Given exception assertion not found in the spec',
306 @orphaned << { 'file' => file, 'error' => 'Given verification assertion not found in the spec',
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/bin/
H A Dspectrac.rb29 raise OptionParser::InvalidOption, 'No ISA spec files found' if arr.length.zero?
46 opts.on('-s', '--spec FILE1,FILE2,FILE3', Array, 'ISA spec file(s) (at least one required)')
48 opts.on('-u', '--uncovered [FILE]', 'Output yaml document with ISA spec areas not covered by tests')
49 opts.on('-U', '--uncovered_md [FILE]', 'Output markdown document with ISA spec areas not covered by tests')
50 opts.on('-o', '--orphaned [FILE]', 'Output yaml file with the list of tests not relevant to the spec')
51 opts.on('-O', '--orphaned_md [FILE]', 'Output markdown file with the list of tests not relevant to the spec')
52 opts.on('-f', '--full [FILE]', 'Output spec file with additional coverage-specific fields in yaml')
53 opts.on('-F', '--full_md [FILE]', 'Output spec file with additional coverage-specific fields in markdown')
64 missing = %i[spec testdi
[all...]
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
H A Dtest_metadata.py79 spec: Optional[str] = None
82 if self.spec is None:
84 self.spec = str(self.spec)
85 if not re.match(SPEC_CHAPTER_PATTERN, self.spec):
86 error_message = f"Incorrect format of specification chapter number : {self.spec}"
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/
H A Dspectrac.rb29 raise OptionParser::InvalidOption, 'No ISA spec files found' if arr.length.zero?
46 opts.on('-s', '--spec FILE1,FILE2,FILE3', Array, 'ISA spec file(s) (at least one required)')
48 opts.on('-u', '--uncovered [FILE]', 'Output yaml document with ISA spec areas not covered by tests')
49 opts.on('-U', '--uncovered_md [FILE]', 'Output markdown document with ISA spec areas not covered by tests')
50 opts.on('-o', '--orphaned [FILE]', 'Output yaml file with the list of tests not relevant to the spec')
51 opts.on('-O', '--orphaned_md [FILE]', 'Output markdown file with the list of tests not relevant to the spec')
52 opts.on('-f', '--full [FILE]', 'Output spec file with additional coverage-specific fields in yaml')
53 opts.on('-F', '--full_md [FILE]', 'Output spec file with additional coverage-specific fields in markdown')
64 missing = %i[spec testdi
[all...]
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/
H A Dsummary.rb19 def initialize(spec)
20 @spec = spec
63 @spec.data['groups'].each do |g|
68 @orphaned = @spec.orphaned.map { |f| f['file'] }.uniq
H A Dfull_md.rb25 def initialize(spec)
27 @full = spec
H A Dspec.rb24 # Full spec object
27 # Array of tests not matching the spec
260 @orphaned << { 'file' => file, 'error' => 'Given description assertion not found in the spec',
283 @orphaned << { 'file' => file, 'error' => 'Given exception assertion not found in the spec',
306 @orphaned << { 'file' => file, 'error' => 'Given verification assertion not found in the spec',
/arkcompiler/ets_frontend/ets2panda/ir/module/
H A DexportNamedDeclaration.cpp87 for (const auto *spec : specifiers_) { in Dump()
88 spec->Dump(dumper); in Dump()
90 if (spec != specifiers_.back()) { in Dump()
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DexportNamedDeclarationBuilder.h32 ExportNamedDeclarationBuilder &AddSpecifier(ExportSpecifier *spec) in AddSpecifier() argument
34 specifiers_.emplace_back(spec); in AddSpecifier()
H A DimportDeclarationBuilder.h38 ImportDeclarationBuilder &AddSpecifier(AstNode *spec) in AddSpecifier() argument
40 specifiers_.emplace_back(spec); in AddSpecifier()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/
H A Dpdf_loader.py32 self.spec: SpecNode = SpecNode("SUMMARY", "", "", None) # root node
45 self.__read_list(fields, self.spec)
49 return self.spec
H A Dspec_report.py45 SPEC_CONFIG_FILE = "arkts-spec-config.yaml"
74 # get spec data
76 self.spec: SpecNode = pdf_loader.get_root_node()
135 self.__report_nodes(self.spec.children, lines)
136 lines.append(self.__report_node(self.spec)) # root node - summary line at the bottom
149 'data': self.spec.to_dict()
156 node = self.spec
/arkcompiler/runtime_core/static_core/plugins/ets/snippet_verifier/
H A Dverify.sh17 args=$(getopt -a -o s:b:r --long spec:,build:,rst: -- "$@")
32 -s | --spec)
90 python3 verify.py --spec="$SPEC" 2> ./.verifier_error; fi
H A Dverify.py23 parser.add_argument("--spec", dest="spec", default="", help="path to spec")
27 spec_dir = os.fsencode(args.spec.strip())
286 if args.spec:
293 if args.spec:
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Dhelpers.py113 spec = spec_from_file_location(module_name, path)
114 if spec is None:
116 module = module_from_spec(spec)
117 loader = spec.loader
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dbuild-docs.sh68 * spec
113 # NB! Markdown for the spec is not skipped (mark-up too complex)
114 if [[ "${target}" != "spec" ]]; then
161 spec)
224 echo "spec: Validating ${SCRIPT_DIR}/spec"
225 python3 "${SCRIPT_DIR}/validate_spec.py" "${SCRIPT_DIR}/spec"
226 build_sphinx_document spec "${SCRIPT_DIR}/spec"
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
H A Ddescriptor.py34 self.spec = re.compile(r"spec:\s+(?P<spec>.+)")
73 match = self.spec.search(header)
75 result["spec"] = match.group("spec")
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DentityDeclarator.cpp85 auto *spec = checker->AllocNode<ir::ImportSpecifier>(imported, local); in CreateIrImport() local
86 ArenaVector<ir::AstNode *> specifiers(1, spec, allocator->Adapter()); in CreateIrImport()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_codegen.cpp683 DILineInfoSpecifier spec; in GetCalleeReg2Offset() local
684 spec.FNKind = DINameKind::ShortName; in GetCalleeReg2Offset()
686 DILineInfo info = ctx->getLineInfoForAddress(secAddr, spec); in GetCalleeReg2Offset()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp340 for (auto *spec : exportDecl->Specifiers()) { in VisitExportNamedDeclaration()
342 AddOrGetDecl<varbinder::ExportDecl>(VarBinder(), spec->Local()->Name(), spec, exportDecl->Start(), in VisitExportNamedDeclaration()
343 spec->Exported()->Name(), spec->Local()->Name(), spec); in VisitExportNamedDeclaration()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSGen.cpp2234 } else if (auto spec = SelectLooseObjComparator( // try to select specific type in RefEqualityLoose()
2237 spec.has_value()) { in RefEqualityLoose()
2243 AssumeNonNullish(node, spec->first); in RefEqualityLoose()
2246 AssumeNonNullish(node, spec->first); in RefEqualityLoose()
2247 CallExact(node, spec->second, lhs, rhs); in RefEqualityLoose()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparser.cpp1016 for (auto spec : specs.first) { in ParseExport()
1017 exports.emplace_back(AllocNode<ir::ExportSpecifier>(spec->Local(), spec->Imported())); in ParseExport()

Completed in 17 milliseconds

12