Home
last modified time | relevance | path

Searched full:variant (Results 1 – 25 of 216) sorted by relevance

123456789

/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks/js/
DUsingLib.js32 this.variant;
41 switch (this.variant) {
49 'Invalid test variant: ' + this.variant);
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dcpp_function.rb48 def variant(name, &block) method in CppFunction
60 @variants.each do |variant|
61 next if variant.cond == :default
62 Output.scoped_puts "if (#{variant.cond}) {" do
63 Output << "return #{variant.name}(inst);"
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_imm_valid.h94 // For the 32-bit variant: is the bitmask immediate
111 // For the 64-bit variant: is the bitmask immediate
130 // For the 32-bit variant: is the shift amount, in the range 0 to 31, opnd input is bitshiftopnd
137 // For the 64-bit variant: is the shift amount, in the range 0 to 63, opnd input is bitshiftopnd
144 // For the 32-bit variant: is the shift amount, in the range 0 to 31, opnd input is immopnd
151 // For the 64-bit variant: is the shift amount, in the range 0 to 63, opnd input is immopnd
172 // For the 32-bit variant: is the bit number of the lsb of the source bitfield, in the range 0 to 31
179 // For the 32-bit variant: is the width of the bitfield, in the range 1 to 32-<lsb>
186 // For the 32-bit variant: is the width of the bitfield, in the range 1 to 32, is used for only wid…
193 // For the 64-bit variant: is the bit number of the lsb of the source bitfield, in the range 0 to 63
[all …]
/arkcompiler/runtime_core/libabckit/src/
Dmetadata_inspect_impl.h21 #include <variant>
85 std::variant<panda::pandasm::Record *, ark::pandasm::Record *> impl;
111 std::variant<std::unique_ptr<AbckitArktsAnnotationInterface>> impl;
143 std::variant<std::unique_ptr<AbckitArktsAnnotationInterfaceField>> impl;
170 std::variant<std::unique_ptr<AbckitArktsAnnotationElement>> impl;
190 std::variant<AbckitCoreClass *, AbckitCoreFunction *> owner;
202 std::variant<std::unique_ptr<AbckitArktsAnnotation>> impl;
214 std::variant<panda::pandasm::Function *, ark::pandasm::Record *> cl;
280 std::variant<std::unique_ptr<AbckitJsClass>, std::unique_ptr<AbckitArktsClass>> impl;
310 std::variant<panda::pandasm::Function *, ark::pandasm::Function *> impl;
[all …]
/arkcompiler/toolchain/tooling/static/types/
Dremote_object_type.h23 #include <variant>
30 using NumberT = std::variant<int32_t, double>;
60 …using TypeValue = std::variant<std::monostate, std::nullptr_t, bool, NumberT, BigIntT, std::string…
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dremote_object_type.h23 #include <variant>
30 using NumberT = std::variant<int32_t, double>;
60 …using TypeValue = std::variant<std::monostate, std::nullptr_t, bool, NumberT, BigIntT, std::string…
/arkcompiler/ets_frontend/es2panda/binder/
DenumMemberResult.h21 #include <variant>
26 using EnumMemberResult = std::variant<double, util::StringView, bool>;
DtsBinding.h21 #include <variant>
25 using EnumMemberResult = std::variant<double, util::StringView, bool>;
/arkcompiler/ets_frontend/ets2panda/varbinder/
DenumMemberResult.h21 #include <variant>
25 using EnumMemberResult = std::variant<double, util::StringView, bool>;
DtsBinding.h21 #include <variant>
25 using EnumMemberResult = std::variant<double, util::StringView, bool>;
/arkcompiler/runtime_core/libpandabase/os/
Derror.h20 #include <variant>
40 std::variant<int, std::string> err_;
/arkcompiler/runtime_core/static_core/libpandabase/os/
Derror.h20 #include <variant>
40 std::variant<int, std::string> err_;
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dloop_optimization_test.cpp160 auto variant = builder.Int32Add(*sum, builder.Int32(2)); in HWTEST_F_L0() local
161 sum = variant; in HWTEST_F_L0()
171 EXPECT_EQ(acc.GetOpCode(linearizer.GetStateOfSchedulableGate(variant)), OpCode::LOOP_BACK); in HWTEST_F_L0()
176 EXPECT_EQ(acc.GetOpCode(linearizer2.GetStateOfSchedulableGate(variant)), OpCode::LOOP_BACK); in HWTEST_F_L0()
211 …auto variant = builder.LoadWithoutBarrier(VariableType::INT32(), arg1, builder.PtrAdd(arg2, *index… in HWTEST_F_L0() local
212 sum = builder.Int32Add(*sum, variant); in HWTEST_F_L0()
222 EXPECT_EQ(acc.GetOpCode(linearizer.GetStateOfSchedulableGate(variant)), OpCode::LOOP_BACK); in HWTEST_F_L0()
227 EXPECT_EQ(acc.GetOpCode(linearizer2.GetStateOfSchedulableGate(variant)), OpCode::LOOP_BACK); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/static_linker/
Dlinker_context.h57 …std::variant<IndexedChange, StringChange, LiteralArrayChange, std::string, std::function<bool(bool…
262 using InfoType = std::variant<const panda_file::BaseItem *, std::string>;
318 …std::variant<std::monostate, panda_file::FieldItem *, panda_file::ForeignClassItem *> TryFindField(
322 std::variant<bool, panda_file::MethodItem *> TryFindMethod(panda_file::BaseClassItem *klass,
326 …std::variant<panda_file::AnnotationItem *, ErrorDetail> AnnotFromOld(panda_file::AnnotationItem *o…
328 std::variant<panda_file::ValueItem *, ErrorDetail> ArrayValueFromOld(panda_file::ValueItem *oi);
330 std::variant<panda_file::ValueItem *, ErrorDetail> ValueFromOld(panda_file::ValueItem *oi);
332 … std::variant<panda_file::BaseItem *, ErrorDetail> ScalarValueIdFromOld(panda_file::BaseItem *oi);
/arkcompiler/runtime_core/common_interfaces/objects/
Dbase_type.h20 #include <variant>
43 using BaseType = std::variant<std::monostate, bool, int8_t, uint8_t, int16_t, uint16_t, int32_t, ui…
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dtype_converter.h24 #include <variant>
51 std::variant<double, uint64_t> GetValue() const;
67 std::variant<double, uint64_t> value_;
/arkcompiler/runtime_core/libpandabase/utils/
Dtype_converter.h24 #include <variant>
51 std::variant<double, uint64_t> GetValue() const;
67 std::variant<double, uint64_t> value_;
/arkcompiler/ets_frontend/merge_abc/
DHowToWriteProtoForAssemblyStuff.md225 ## std::variant
227 通过oneof关键字实现std::variant
231 std::variant<uint64_t, float, double, std::string, pandasm::Type, AnnotationData> value_;
/arkcompiler/runtime_core/static_core/verification/util/tests/
Denvironment.h21 #include <variant>
25 using OptionValue = std::variant<std::string, int, bool>;
/arkcompiler/runtime_core/libpandafile/
Dmodule_data_accessor.h21 #include <variant>
66 using ModuleValue = std::variant<uint32_t, StringData>;
/arkcompiler/runtime_core/libabckit/src/wrappers/
Dpandasm_wrapper.h23 #include <variant>
70 std::variant<bool, uint8_t, uint16_t, uint32_t, uint64_t, float, double, std::string> value;
140 using IType = std::variant<int64_t, double>;
175 using ArgTypes = std::variant<uint8_t, int64_t, double, uint64_t, uint32_t, std::string>;
/arkcompiler/ets_frontend/ets2panda/lsp/include/
Dcreate_type_help_items.h27 #include <variant>
50 using Invocation = std::variant<CallInvocation, TypeArgsInvocation, ContextualInvocation>;
/arkcompiler/runtime_core/static_core/verification/value/
Dabstract_value.h23 #include <variant>
29 using ContentsData = std::variant<None, Variables::Var>;
/arkcompiler/ets_frontend/ets2panda/ir/
DsrcDump.h25 #include <variant>
38 std::variant<std::monostate, const ark::es2panda::ir::ClassDefinition *,
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
Darray_buffer_helper.h21 #include <variant>
45 using Result = std::variant<T, Err<PandaString>>;

123456789