Home
last modified time | relevance | path

Searched refs:variables (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DcapturedVariables.cpp42 // NOTE! For some unknown reasons :) variables exist in scope collections but are not set to identifiers after
58 // We are not interested in variables defined inside arrow function!
68 std::set<varbinder::Variable *> &variables) noexcept
93 variables.insert(var);
105 auto variables = std::set<varbinder::Variable *> {}; variable
106 FindModifiedCaptured(scriptFunction, variables);
108 for (auto *variable : variables) {
112 variables.clear();
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/
H A Dtest_predefined_types.py42 def _code_generator(variables: list[tuple[str, Any, Any, Any]]) -> str:
47 for source_type, source_value, debug_type, debug_value in variables:
78 variables = [
96 code = _code_generator(variables)
99 for i, (source_type, source_value, debug_type, debug_value) in enumerate(variables):
H A Dtest_steps.py127 variables = {prop.name: prop.value.value if prop.value is not None else None for prop in props}
129 log.info("All variables: %r", variables)
130 return variables
156 variables = await _pause_and_get_vars(client, log, script_file, 3)
157 assert variables == {"a": 100}
159 variables = await _pause_and_get_vars(client, log, script_file, 4)
160 assert variables == {"a": 100, "b": 110}
H A Dtest_breaks_props.py34 variables: Dict[str, Any]
/arkcompiler/runtime_core/static_core/verification/absint/tests/
H A Dreg_context_test.cpp40 Variables variables; in TEST_F() local
47 auto nv = [&variables] { return variables.NewVar(); }; in TEST_F()
H A Dexec_context_test.cpp94 Variables variables; in TEST_F() local
101 auto nv = [&variables] { return variables.NewVar(); }; in TEST_F()
/arkcompiler/runtime_core/static_core/verification/value/tests/
H A Dabstract_typed_value_test.cpp38 Variables variables; in TEST_F() local
48 auto nv = [&variables] { return variables.NewVar(); }; in TEST_F()
/arkcompiler/runtime_core/static_core/irtoc/lang/
H A Dbasic_block.rb29 @variables = {}
54 @variables[var.to_sym] = inst
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
H A Dtest_util.cpp44 auto variables = extractor->GetLocalVariableInfo(location.GetMethodId(), location.GetBytecodeOffset()); in GetValueRegister() local
45 for (const auto &var : variables) { in GetValueRegister()
H A Dtest_extractor.cpp97 const std::vector<panda_file::LocalVariableInfo> &variables = langExtractor_->GetLocalVariableTable(methodId); in GetLocalVariableInfo() local
100 for (const auto &variable : variables) { in GetLocalVariableInfo()
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DclassDefinition.cpp607 std::vector<binder::Variable *> variables; in GetDeclNodeFromIdentifier() local
608 variables.reserve(identifier->TSVariables().size() + 1U); in GetDeclNodeFromIdentifier()
609 variables.emplace_back(identifier->Variable()); in GetDeclNodeFromIdentifier()
611 variables.emplace_back(v); in GetDeclNodeFromIdentifier()
614 for (const auto &v : variables) { in GetDeclNodeFromIdentifier()
/arkcompiler/runtime_core/abc2program/
H A Dabc_code_processor.cpp229 const std::vector<panda_file::LocalVariableInfo>& variables = in FillLocalVariableTable() local
232 for (const auto &variable : variables) { in FillLocalVariableTable()
/arkcompiler/runtime_core/verifier/tests/
H A Dpull_hap_files.bat23 @rem Initialize variables
/arkcompiler/runtime_core/libpandafile/tests/
H A Ddebug_info_extractor_test.cpp207 std::string path; // NOLINT(misc-non-private-member-variables-in-classes)
208 size_t line; // NOLINT(misc-non-private-member-variables-in-classes)
273 std::vector<panda_file::LocalVariableInfo> variables = extractor.GetLocalVariableTable(method_id); in GetLocalVariableInfoWrapper() local
276 for (const auto &variable : variables) { in GetLocalVariableInfoWrapper()
/arkcompiler/runtime_core/static_core/libpandafile/tests/
H A Ddebug_info_extractor_test.cpp214 std::string path; // NOLINT(misc-non-private-member-variables-in-classes)
215 size_t line; // NOLINT(misc-non-private-member-variables-in-classes)
280 std::vector<panda_file::LocalVariableInfo> variables = extractor.GetLocalVariableTable(methodId); in GetLocalVariableInfoWrapper() local
283 for (const auto &variable : variables) { in GetLocalVariableInfoWrapper()
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/
H A Ddebug_info_cache.cpp306 auto &variables = debugInfo.GetLocalVariableTable(methodId); in GetLocals() local
308 for (auto &variable : variables) { in GetLocals()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dmemory_coalescing.cpp29 * Basic analysis for variables used in loops. It works as follows:
30 * 1) Identify variables that are derived from another variables and their difference (AddI, SubI supported).
31 * 2) Based on previous step reveal loop variables and their iteration increment if possible.
82 COMPILER_LOG(DEBUG, MEMORY_COALESCING) << "Evolution variables:"; in VariableAnalysis()
87 COMPILER_LOG(DEBUG, MEMORY_COALESCING) << "Loop variables:"; in VariableAnalysis()
136 /// Add derived variables if we can deduce the change from INST
884 VariableAnalysis variables(GetGraph()); in RunImpl()
887 PairCreatorVisitor collector(GetGraph(), aliases, variables, mrk, alignedOnly_); in RunImpl() local

Completed in 9 milliseconds