| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | variance_typeparam_union.ets | 70 …l1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 71 …2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 72 …l3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 73 …3 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 74 …l4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 75 …5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 76 …l6 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 77 …6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 78 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 79 /* @@@ label8 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… [all …]
|
| D | variance_typeparam_array.ets | 45 …l1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 46 …2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 47 …l3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 48 …4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 49 …l5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 50 …6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 51 …l7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 52 …8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 53 …l9 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 54 …0 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ [all …]
|
| D | variance_typeparam_lambda.ets | 45 …1 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 46 …l2 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 47 …l3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 48 …4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 49 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 51 /* @@@ label7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 52 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 53 /* @@@ label9 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 54 … label10 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position. */ [all …]
|
| D | variance_typeparam_class.ets | 52 …l1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 53 …1 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 54 …2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 55 …l2 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 56 /* @@@ label3 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 57 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 58 /* @@@ label4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 59 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 60 /* @@@ label5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 61 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position…
|
| D | variance_typeparam.ets | 45 …l1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 46 …2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 47 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 48 /* @@@ label4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 49 /* @@@ label5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 50 /* @@@ label6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 51 /* @@@ label7 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 52 /* @@@ label8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position…
|
| D | variance_typeparam_tuple.ets | 41 …el1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 42 …l2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 43 …el3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 44 …l4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 45 …el5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 46 …l6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 47 …el7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 48 …l8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */
|
| D | variance_typeparam_transmit.ets | 34 /* @@@ label1 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'in' position… 35 …l2 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 36 /* @@@ label3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'out' position… 37 …l4 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 38 …5 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */
|
| /arkcompiler/ets_frontend/ets2panda/lsp/src/ |
| D | api.cpp | 50 DefinitionInfo GetDefinitionAtPosition(es2panda_Context *context, size_t position) in GetDefinitionAtPosition() argument 52 auto declInfo = GetDefinitionAtPositionImpl(context, position); in GetDefinitionAtPosition() 76 DefinitionInfo GetImplementationAtPosition(es2panda_Context *context, size_t position) in GetImplementationAtPosition() argument 78 return GetDefinitionAtPosition(context, position); in GetImplementationAtPosition() 86 CompletionEntryKind GetAliasScriptElementKind(es2panda_Context *context, size_t position) in GetAliasScriptElementKind() argument 88 auto result = GetAliasScriptElementKindImpl(context, position); in GetAliasScriptElementKind() 97 DeclInfo GetDeclInfo(es2panda_Context *context, size_t position) in GetDeclInfo() argument 103 auto astNode = GetTouchingToken(context, position, false); in GetDeclInfo() 115 bool GetSafeDeleteInfo(es2panda_Context *context, size_t position) in GetSafeDeleteInfo() argument 117 return GetSafeDeleteInfoImpl(context, position); in GetSafeDeleteInfo() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/FixedArray/ |
| D | variance_typeparam_array.ets | 45 …l1 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 46 …2 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 47 …l3 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 48 …4 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 49 …l5 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 50 …6 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 51 …l7 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 52 …8 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ 53 …l9 Error TypeError: Type Parameter 'T1' is declared as 'in' but occurs in 'invariant' position. */ 54 …0 Error TypeError: Type Parameter 'T2' is declared as 'out' but occurs in 'invariant' position. */ [all …]
|
| /arkcompiler/runtime_core/static_core/irtoc/lang/ |
| D | regmask.rb | 72 def []=(position, value) argument 73 position = @regmap[position] if position.is_a? Symbol 74 raise "Wrong `position` type" unless position.is_a? Integer 76 @value |= (1 << position) 78 @value &= ~(1 << position) 82 def [](position) argument 83 position = @regmap[position] if position.is_a? Symbol 84 raise "Wrong `position` type" unless position.is_a? Integer 85 @value & (1 << position) != 0
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | list.h | 228 Iterator InsertAfter(ConstIterator position, ValueType &value) in InsertAfter() argument 231 newNode->next_ = position.node_->next_; in InsertAfter() 232 position.node_->next_ = newNode; in InsertAfter() 236 Iterator InsertAfter(ConstIterator position, InputIterator first, InputIterator last) in InsertAfter() argument 239 position = InsertAfter(position, *first++); in InsertAfter() 241 return Iterator(position.node_); in InsertAfter() 244 Iterator EraseAfter(ConstIterator position) in EraseAfter() argument 246 ConstIterator last = position; in EraseAfter() 249 return EraseAfter(position, last); in EraseAfter() 252 /// Erase elements in range (position, last) [all …]
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | list.h | 234 Iterator InsertAfter(ConstIterator position, ValueType &value) in InsertAfter() argument 237 new_node->next_ = position.node_->next_; in InsertAfter() 238 position.node_->next_ = new_node; in InsertAfter() 242 Iterator InsertAfter(ConstIterator position, InputIterator first, InputIterator last) in InsertAfter() argument 245 position = InsertAfter(position, *first++); in InsertAfter() 247 return Iterator(position.node_); in InsertAfter() 250 Iterator EraseAfter(ConstIterator position) in EraseAfter() argument 252 ConstIterator last = position; in EraseAfter() 255 return EraseAfter(position, last); in EraseAfter() 259 * Erase elements in range (position, last) [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
| D | location_mask.h | 53 void Set(size_t position) in Set() argument 55 ASSERT(position < mask_.size()); in Set() 56 mask_[position] = true; in Set() 57 usage_[position] = true; in Set() 60 void Reset(size_t position) in Reset() argument 62 ASSERT(position < mask_.size()); in Reset() 63 mask_[position] = false; in Reset() 66 bool IsSet(size_t position) const in IsSet() argument 68 ASSERT(position < mask_.size()); in IsSet() 69 return mask_[position]; in IsSet()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
| D | location_mask.h | 51 void Set(size_t position) in Set() argument 53 ASSERT(position < mask_.size()); in Set() 54 mask_[position] = true; in Set() 55 usage_[position] = true; in Set() 58 void Reset(size_t position) in Reset() argument 60 ASSERT(position < mask_.size()); in Reset() 61 mask_[position] = false; in Reset() 64 bool IsSet(size_t position) const in IsSet() argument 66 ASSERT(position < mask_.size()); in IsSet() 67 return mask_[position]; in IsSet()
|
| /arkcompiler/ets_frontend/ets2panda/lsp/include/ |
| D | api.h | 74 typedef struct Position { struct 76 size_t character_; // Character position in the line 78 …Position(unsigned int line_num = 0, unsigned int character_pos = 0) : line_(line_num), character_(… in line_() argument 79 } Position; typedef 82 Position start; // Start position 83 Position end; // End position 85 …Range(Position start_pos = Position(), Position end_pos = Position()) : start(start_pos), end(end_… in start() 161 size_t start; // Start position 162 size_t end; // End position 406 FileDiagnostic(es2panda_AstNode *n, const Diagnostic &diag, Position start, Position end) in FileDiagnostic() [all …]
|
| /arkcompiler/ets_frontend/merge_abc/src/ |
| D | ideHelpersProto.cpp | 39 void SourcePosition::Serialize(const panda::pandasm::SourcePosition &position, in Serialize() argument 42 protoPosition.set_line(position.line); in Serialize() 43 protoPosition.set_column(position.column); in Serialize() 47 panda::pandasm::SourcePosition &position) in Deserialize() argument 49 position.line = protoPosition.line(); in Deserialize() 50 position.column = protoPosition.column(); in Deserialize()
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/lsp/ |
| D | refactors_convert_function_test.cpp | 42 size_t const position = 8; in TEST_F() local 48 refactorContext.span.pos = position; in TEST_F() 65 size_t const position = 11; in TEST_F() local 71 refactorContext.span.pos = position; in TEST_F() 87 size_t const position = 8; in TEST_F() local 93 refactorContext.span.pos = position; in TEST_F() 109 size_t const position = 13; in TEST_F() local 115 refactorContext.span.pos = position; in TEST_F() 131 size_t const position = 41; in TEST_F() local 137 refactorContext.span.pos = position; in TEST_F() [all …]
|
| D | class_hierarchy_test.cpp | 64 const int position = 120; in TEST_F() local 67 auto node = ark::es2panda::lsp::GetTouchingToken(context, position, false); in TEST_F() 70 auto res = ark::es2panda::lsp::GetTypeHierarchiesImpl(context, position); in TEST_F() 111 const int position = 94; in TEST_F() local 114 auto node = ark::es2panda::lsp::GetTouchingToken(context, position, false); in TEST_F() 117 auto res = ark::es2panda::lsp::GetTypeHierarchiesImpl(context, position); in TEST_F() 156 const int position = 20; in TEST_F() local 159 auto node = ark::es2panda::lsp::GetTargetDeclarationNodeByPosition(context, position); in TEST_F() 164 auto res = ark::es2panda::lsp::GetTypeHierarchiesImpl(context5, position, node); in TEST_F() 192 const int position = 26; in TEST_F() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_string_iterator.cpp | 49 // 6. Let position be the value of the [[StringIteratorNextIndex]] internal slot of O. in NextInternal() 50 uint32_t position = thisValue.GetObject<JSStringIterator>()->GetStringIteratorNextIndex(); in NextInternal() local 54 // If position ≥ len, then in NextInternal() 57 if (position >= len) { in NextInternal() 63 // 9. Let first be the code unit value at index position in s. in NextInternal() 64 … uint16_t first = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(thread, position); in NextInternal() 67 …// 10. If first < 0xD800 or first > 0xDBFF or position+1 = len, let resultString be the string con… in NextInternal() 70 if (position + 1 == len || first < common::utf_helper::DECODE_LEAD_LOW || in NextInternal() 81 // a. Let second be the code unit value at index position+1 in the String S. in NextInternal() 85 …t16_t second = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(thread, position + 1); in NextInternal() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | es2pandaMacros.h | 33 #define ES2PANDA_ASSERT_POS(cond, position) \ argument 35 ark::es2panda::CompilerBugAction(position); \ 45 #define ES2PANDA_UNREACHABLE_POS(position) \ argument 46 ark::es2panda::CompilerBugAction(position); \ 56 #define ES2PANDA_ASSERT_POS(cond, position) static_cast<void>(0) argument 62 #define ES2PANDA_UNREACHABLE_POS(position) __builtin_unreachable() argument
|
| D | path.cpp | 89 size_t position = path_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeFileNameWithExtension() local 90 fileNameWithExtension_ = path_.Substr(position + 1, path_.Length()); in InitializeFileNameWithExtension() 106 size_t position = path_.Mutf8().find_last_of('.'); in InitializeFileExtension() local 107 if (position != std::string::npos && position + 1 <= path_.Length()) { in InitializeFileExtension() 108 fileExtension_ = path_.Substr(position + 1, path_.Length()); in InitializeFileExtension() 118 size_t position = absolutePath_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeAbsoluteParentFolder() local 120 absoluteParentFolder_ = absolutePath_.Substr(0, position); in InitializeAbsoluteParentFolder() 129 size_t position = path_.Mutf8().find_last_of(PATH_DELIMITER); in InitializeParentFolder() local 131 parentFolder_ = path_.Substr(0, position); in InitializeParentFolder()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/01.overload-equivalent_signatures/ |
| D | overload_equivalent_example_1.ets | 20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter… 21 same position in S2 is any reference type or type parameter; 22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at… 23 position in S2 is also G with any list of type arguments;
|
| D | overload_equivalent_example_0.ets | 20 …• Parameter type at some position in S1 is a type parameter (see Type Parameters), and a parameter… 21 same position in S2 is any reference type or type parameter; 22 …• Parameter type at some position in S1 is a generic type G <T1, ..., Tn>, and a parameter type at… 23 position in S2 is also G with any list of type arguments;
|
| /arkcompiler/ets_frontend/ets2panda/driver/build_system/src/ |
| D | logger.ts | 121 position: string = '', 125 const data: LogData = new LogData(code, description, cause, position, solutions, moreInfo); 135 position: string; property in LogData 143 position: string = '', 150 this.position = position; 160 if (this.cause || this.position) { 162 if (this.position) { 163 errorString += ` ${this.position}`;
|
| /arkcompiler/runtime_core/taihe/compiler/taihe/codegen/abi/ |
| D | mangle.py | 32 Returns: Mangled name that preserves underscore position information 45 - 'b_c' -> position 1 49 3. Convert to position deltas: 59 - Position encoding uses ULEB128 for compact representation 62 encoded position information 111 start_pos: Starting position in the hex string 127 raise ValueError(f"Invalid hex character at position {pos}") from None 165 # Convert to position deltas 168 deltas.append(special_positions[0]) # First position is absolute
|