Home
last modified time | relevance | path

Searched refs:ordinal (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparserEnums.cpp223 ir::NumberLiteral *ordinal; in ParseNumberEnum()
243 ordinal = ParseNumberLiteral()->AsNumberLiteral(); in ParseNumberEnum()
245 ordinal->Number().Negate(); in ParseNumberEnum()
247 if (!ordinal->Number().CanGetValue<checker::ETSIntEnumType::ValueType>()) { in ParseNumberEnum()
251 currentValue = ordinal->Number().GetValue<checker::ETSIntEnumType::ValueType>(); in ParseNumberEnum()
253 endLoc = ordinal->End(); in ParseNumberEnum()
258 ordinal = AllocNode<ir::NumberLiteral>(lexer::Number(currentValue)); in ParseNumberEnum()
263 auto *const member = AllocNode<ir::TSEnumMember>(ident, ordinal); in ParseNumberEnum()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
H A DetsEnumType.h41 explicit ETSEnumType(const ir::TSEnumDeclaration *enumDecl, UType ordinal, const ir::TSEnumMember *member,
207 explicit ETSIntEnumType(const ir::TSEnumDeclaration *enumDecl, UType ordinal, in ETSIntEnumType() argument
209 : ETSEnumType(enumDecl, ordinal, member, TypeFlag::ETS_INT_ENUM) in ETSIntEnumType()
222 explicit ETSStringEnumType(const ir::TSEnumDeclaration *enumDecl, UType ordinal, in ETSStringEnumType() argument
224 : ETSEnumType(enumDecl, ordinal, member, TypeFlag::ETS_STRING_ENUM) in ETSStringEnumType()
H A DetsEnumType.cpp26 ETSEnumType::ETSEnumType(const ir::TSEnumDeclaration *const enumDecl, UType ordinal, in ETSEnumType() argument
28 : Type(typeFlag), decl_(enumDecl), ordinal_ {ordinal}, member_(member) in ETSEnumType()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
H A Dheap_sampling.h34 Sample(size_t size, uint32_t nodeId, uint64_t ordinal, unsigned int count) in Sample()
37 ordinal_(ordinal), in Sample()
/arkcompiler/ets_runtime/ecmascript/module/
H A Djs_module_manager.h119 uint32_t ordinal = nextModuleAsyncEvaluatingOrdinal_++; in NextModuleAsyncEvaluatingOrdinal() local
120 return ordinal; in NextModuleAsyncEvaluatingOrdinal()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DtypeCreation.cpp234 checker::ETSEnumType::UType ordinal = -1; in CreateEnumTypeFromEnumDeclaration() local
235 auto *const enumType = Allocator()->New<EnumType>(enumDecl, ordinal++); in CreateEnumTypeFromEnumDeclaration()
274 auto *const enumLiteralType = Allocator()->New<EnumType>(enumDecl, ordinal++, member->AsTSEnumMember()); in CreateEnumTypeFromEnumDeclaration()
/arkcompiler/toolchain/tooling/test/
H A Ddebugger_types_test.cpp1700 // abnormal params of params.sub-key = [ "size"="Test","nodeId"="Test","ordinal"="Test"]
1702 "size":"Test","nodeId":"Test","ordinal":"Test"}})";
1706 // abnormal params of params.sub-key = [ "size"={"xx":"yy"},"nodeId"={"xx":"yy"},"ordinal"={"xx":"yy"}]
1708 "size":{"xx":"yy"},"nodeId":{"xx":"yy"},"ordinal":{"xx":"yy"}}})";
1712 // abnormal params of params.sub-key = [ "size"=100,"nodeId"=1,"ordinal"=10]
1713 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"size":100,"nodeId":1,"ordinal":10}})";
1729 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"size":100,"nodeId":1,"ordinal":10}})";
1741 ret = json->GetInt("ordinal", &tmpInt);
1877 "samples":[{"size":100, "nodeId":1, "ordinal":10}]
1926 "samples":[{"size":100, "nodeId":1, "ordinal"
[all...]
H A Dpt_types_test.cpp889 int64_t ordinal = sampData->data()->get()->GetOrdinal(); in HWTEST_F_L0() local
890 ASSERT_TRUE(ordinal == sampleInfo.ordinal_); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/base/
H A Dpt_types.h1786 SamplingHeapProfileSample &SetOrdinal(int64_t ordinal) in SetOrdinal() argument
1788 ordinal_ = ordinal; in SetOrdinal()
H A Dpt_types.cpp2123 int32_t ordinal; in Create() local
2124 ret = params.GetInt("ordinal", &ordinal); in Create()
2126 samplingHeapProfileSample->ordinal_ = ordinal; in Create()
2128 error += "Unknown or wrong type of 'ordinal';"; in Create()
2144 result->Add("ordinal", ordinal_); in ToJson()

Completed in 18 milliseconds