Home
last modified time | relevance | path

Searched full:signature (Results 1 – 25 of 183) sorted by relevance

12345678

/arkcompiler/runtime_core/compiler/
Dintrinsics.yaml22 signature:
42 signature:
62 signature:
82 signature:
102 signature:
122 signature:
142 signature:
162 signature:
182 signature:
202 signature:
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/types/
DobjectType.h33 class Signature; variable
97 virtual ArenaVector<Signature *> CallSignatures() in DEFINE_BITOPS()
102 virtual ArenaVector<Signature *> ConstructSignatures() in DEFINE_BITOPS()
158 void AddCallSignature(Signature *signature) in DEFINE_BITOPS()
160 desc_->callSignatures.push_back(signature); in DEFINE_BITOPS()
163 void AddConstructSignature(Signature *signature) in DEFINE_BITOPS()
165 desc_->constructSignatures.push_back(signature); in DEFINE_BITOPS()
183 static bool SignatureRelatedToSomeSignature(TypeRelation *relation, Signature *sourceSignature, in DEFINE_BITOPS()
184 ArenaVector<Signature *> *targetSignatures); in DEFINE_BITOPS()
187 … const ArenaVector<Signature *> &sourceSignatures, in DEFINE_BITOPS()
[all …]
Dsignature.h55 class Signature {
57Signature(SignatureInfo *signatureInfo, Type *returnType) : signatureInfo_(signatureInfo), returnT… in Signature() function
61 ~Signature() = default;
62 NO_COPY_SEMANTIC(Signature);
63 NO_MOVE_SEMANTIC(Signature);
115Signature *Copy(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *globalTypes);
118 void Identical(TypeRelation *relation, Signature *other);
119 void AssignmentTarget(TypeRelation *relation, Signature *source);
Dsignature.cpp16 #include "signature.h"
20 Signature *Signature::Copy(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *gl… in Copy()
30 return allocator->New<Signature>(copiedInfo, copiedReturnType); in Copy()
33 void Signature::ToString(std::stringstream &ss, const binder::Variable *variable, bool printAsMetho… in ToString()
76 void Signature::Identical(TypeRelation *relation, Signature *other) in Identical()
102 void Signature::AssignmentTarget(TypeRelation *relation, Signature *source) in AssignmentTarget()
DobjectType.cpp20 #include <typescript/types/signature.h>
26 … const ArenaVector<Signature *> &sourceSignatures, in EachSignatureRelatedToSomeSignature()
27 … const ArenaVector<Signature *> &targetSignatures) in EachSignatureRelatedToSomeSignature()
29 ArenaVector<Signature *> targetCopy = targetSignatures; in EachSignatureRelatedToSomeSignature()
31 …l_of(sourceSignatures.begin(), sourceSignatures.end(), [relation, &targetCopy](Signature *source) { in EachSignatureRelatedToSomeSignature()
36 bool ObjectType::SignatureRelatedToSomeSignature(TypeRelation *relation, Signature *sourceSignature, in SignatureRelatedToSomeSignature()
37 ArenaVector<Signature *> *targetSignatures) in SignatureRelatedToSomeSignature()
157 …ArenaVector<Signature *> targetSignatures = assignCallSignatures ? CallSignatures() : ConstructSig… in AssignSignatures()
158 ArenaVector<Signature *> sourceSignatures = in AssignSignatures()
DinterfaceType.h90 ArenaVector<Signature *> CallSignatures() override in CallSignatures()
92 ArenaVector<Signature *> signatures(allocator_->Adapter()); in CallSignatures()
97 ArenaVector<Signature *> ConstructSignatures() override in ConstructSignatures()
99 ArenaVector<Signature *> signatures(allocator_->Adapter()); in ConstructSignatures()
136 …void CollectSignatures(ArenaVector<Signature *> *collectedSignatures, bool collectCallSignatures) …
DobjectDescriptor.h29 class Signature; variable
53 ArenaVector<Signature *> callSignatures;
54 ArenaVector<Signature *> constructSignatures;
DtypeRelation.h29 class Signature; variable
91 bool IsIdenticalTo(Signature *source, Signature *target);
DinterfaceType.cpp80 const ArenaVector<Signature *> &targetCallSignatures = CallSignatures(); in Identical()
81 const ArenaVector<Signature *> &sourceCallSignatures = otherInterface->CallSignatures(); in Identical()
93 const ArenaVector<Signature *> &targetConstructSignatures = ConstructSignatures(); in Identical()
94 … const ArenaVector<Signature *> &sourceConstructSignatures = otherInterface->ConstructSignatures(); in Identical()
145 void InterfaceType::CollectSignatures(ArenaVector<Signature *> *collectedSignatures, bool collectCa… in CollectSignatures()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinstructions.yaml18 signature
19 Describes signature of the instruction. Properties of the operands are separated by '-' symbol.
53 signature: [d-bool, real, real]
59 signature: [d-int, number, number]
65 signature: [d-bool, any]
71 signature: [d-real, any]
77 signature: [d-any, real]
83 signature: [d-i32-i64-f32-f64]
91 signature: [d-real-any]
99 signature: [d-ref, save_state]
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DfunctionExpressionContextualTyping1.ts22 // is contextually typed (section 4.19) by a type T and a contextual signature S can be extracted f…
26 // A contextual signature S is extracted from a function type T as follows:
27 … a function type with exactly one call signature, and if that call signature is non- generic, S is…
63 // A contextual signature S is extracted from a function type T as follows:
65 // If each type in U has exactly one call signature and that call signature is non- generic,
67 // then S is a signature with the same parameters and a union of the return types.
153 // A contextual signature S is extracted from a function type T as follows:
154 // Otherwise, no contextual signature can be extracted from T and S is undefined.
189 }; // Per spec, no contextual signature can be extracted in this case. (Otherwise…
190 b7 = (j, m) => { }; // Per spec, no contextual signature can be extracted in this case. (Otherwise…
[all …]
DcontextualTypeWithUnionTypeIndexSignatures.ts49 // When an object literal is contextually typed by a type that includes a string index signature,
50 // the resulting type of the object literal includes a string index signature with the union type o…
53 // signature, the resulting type of the object literal includes a numeric index signature with the …
57 // Let S be the set of types in U that has a string index signature.
58 // If S is not empty, U has a string index signature of a union type of
68 …exSignature1 = { foo: a => a }; // a should be number (because of index signature of IWithStringIn…
100 // Let S be the set of types in U that has a numeric index signature.
101 // If S is not empty, U has a numeric index signature of a union type of
111 …ndexSignature1 = { 0: a => a }; // a should be number (because of index signature of IWithNumberIn…
DcommentsOverloads.ts21 /** this is signature 1*/
39 /** this is signature 2*/
72 /** this is signature 4 - with number parameter*/
74 /** this is signature 4 - with string parameter*/
91 /**this signature 1*/
93 /**this is signature 2*/
127 /**this is signature 2*/
138 /**this is signature 1*/
DunionTypeIndexSignature.ts27 // If each type in U has a string index signature,
28 // U has a string index signature of a union type of the types of the string index signatures from …
67 // If each type in U has a numeric index signature,
68 // U has a numeric index signature of a union type of the types of the numeric index signatures fro…
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dcompiler_intrinsics.rb43 TYPES[signature.ret] || "REFERENCE"
47 (signature.args.length() < impl_signature.args.length() ? ["REFERENCE"] : []) +
48 signature.args.map {|arg| TYPES[arg] || "REFERENCE" }
60 signature.ret == "any" || signature.args.include?("any")
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsSignatureDeclaration.cpp72 …"Call signature, which lacks return-type annotation, implicitly has an 'any' return type.", Start(… in Check()
76 …"Construct signature, which lacks return-type annotation, implicitly has an 'any' return type.", S… in Check()
82 auto *signature = checker->Allocator()->New<checker::Signature>(signatureInfo, returnType); in Check() local
87 placeholderObj = checker->CreateObjectTypeWithCallSignature(signature); in Check()
89 placeholderObj = checker->CreateObjectTypeWithConstructSignature(signature); in Check()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrowFunctionExpression.cpp56 auto *signature = in Check() local
57 …checker->Allocator()->New<checker::Signature>(signatureInfo, checker->GlobalResolvingReturnType()); in Check()
58 checker::Type *funcType = checker->CreateFunctionTypeWithSignature(signature); in Check()
64 signature->SetReturnType(checker->HandleFunctionReturn(func_)); in Check()
DfunctionExpression.cpp56 auto *signature = in Check() local
57 …checker->Allocator()->New<checker::Signature>(signatureInfo, checker->GlobalResolvingReturnType()); in Check()
58 checker::Type *funcType = checker->CreateFunctionTypeWithSignature(signature); in Check()
64 signature->SetReturnType(checker->HandleFunctionReturn(func_)); in Check()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/declFileMethods/
DdeclFileMethods_0.ts25 /** This is comment for function signature*/
53 /** This is comment for function signature*/
80 /** This is comment for function signature*/
107 /** This is comment for function signature*/
135 /** This is comment for function signature*/
DdeclFileMethods_1.ts25 /** This is comment for function signature*/
53 /** This is comment for function signature*/
80 /** This is comment for function signature*/
107 /** This is comment for function signature*/
135 /** This is comment for function signature*/
/arkcompiler/ets_frontend/ts2panda/ts2abc/tests/
Dfunctions_test.cpp56 auto signature = function["signature"]; variable
57 EXPECT_EQ(pandaFunc.params.size(), signature["params"].asUInt());
/arkcompiler/ets_frontend/ts2panda/src/
Dpandasm.ts29 export class Signature { class
66 public s: Signature; // signature
83 signature: Signature,
99 this.s = signature;
/arkcompiler/ets_frontend/merge_abc/src/
DassemblyDebugProto.cpp41 protoDebug.set_signature(debug.signature); in Serialize()
52 debug.signature = protoDebug.signature(); in Deserialize()
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_emitter_def_gen.h.erb20 % signature = emitter_signature(group, group.first.jump?)
21 % signature_str = signature.map { |o| "#{o.type} #{o.name}" }.join(', ')
/arkcompiler/ets_runtime/test/aottest/class_method_signature/
Dclass_method_signature.ts103 // one signature but no body
110 return "test one signature but no body";
138 // multi-signature but no body.

12345678