Home
last modified time | relevance | path

Searched full:bool (Results 1 – 25 of 3602) sorted by relevance

12345678910>>...145

/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_value.h114 ARK_INLINE constexpr explicit JSTaggedValue(bool v) in JSTaggedValue()
167 ARK_INLINE bool IsWeak() const in IsWeak()
172 ARK_INLINE bool IsDouble() const in IsDouble()
177 ARK_INLINE bool IsInt() const in IsInt()
182 ARK_INLINE bool IsSpecial() const in IsSpecial()
187 ARK_INLINE bool IsObject() const in IsObject()
197 ARK_INLINE bool IsHeapObject() const in IsHeapObject()
202 ARK_INLINE bool IsInvalidValue() const in IsInvalidValue()
249 ARK_INLINE bool IsFalse() const in IsFalse()
254 ARK_INLINE bool IsTrue() const in IsTrue()
[all …]
Djs_runtime_options.h75 bool enableAsm {false};
244 bool ParseCommand(const int argc, const char** argv);
245 bool SetDefaultValue(char* argv);
247 bool EnableArkTools() const in EnableArkTools()
252 void SetEnableArkTools(bool value) in SetEnableArkTools()
257 bool WasSetEnableArkTools() const in WasSetEnableArkTools()
262 bool IsOpenArkTools() const in IsOpenArkTools()
267 void SetOpenArkTools(bool value) in SetOpenArkTools()
272 bool WasSetOpenArkTools() const in WasSetOpenArkTools()
277 bool IsEnableRuntimeStat() const in IsEnableRuntimeStat()
[all …]
Djs_tagged_value-inl.h39 inline bool JSTaggedValue::IsCallable() const in IsCallable()
44 inline bool JSTaggedValue::IsConstructor() const in IsConstructor()
49 inline bool JSTaggedValue::IsExtensible(JSThread *thread) const in IsExtensible()
62 inline bool JSTaggedValue::IsExactlyZero() const in IsExactlyZero()
67 inline bool JSTaggedValue::IsClassConstructor() const in IsClassConstructor()
72 inline bool JSTaggedValue::IsClassPrototype() const in IsClassPrototype()
77 inline bool JSTaggedValue::IsPropertyKey(const JSHandle<JSTaggedValue> &key) in IsPropertyKey()
82 inline bool JSTaggedValue::SameValue(const JSTaggedValue &x, const JSTaggedValue &y) in SameValue()
104 inline bool JSTaggedValue::SameValue(const JSHandle<JSTaggedValue> &xHandle, const JSHandle<JSTagge… in SameValue()
109 inline bool JSTaggedValue::SameValueZero(const JSTaggedValue &x, const JSTaggedValue &y) in SameValueZero()
[all …]
Djs_object.h71 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c) in PropertyDescriptor()
83 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor()
124 inline bool IsWritable() const in IsWritable()
129 inline void SetWritable(bool flag) in SetWritable()
135 inline bool IsEnumerable() const in IsEnumerable()
140 inline void SetEnumerable(bool flag) in SetEnumerable()
146 inline bool IsConfigurable() const in IsConfigurable()
151 inline void SetConfigurable(bool flag) in SetConfigurable()
157 inline bool HasValue() const in HasValue()
162 inline bool HasWritable() const in HasWritable()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Doption.h56 static bool DumpPhase(const std::string &phase) in DumpPhase()
64 static bool IsSkipPhase(const std::string &phaseName) in IsSkipPhase()
69 static bool DumpFunc() in DumpFunc()
73 static bool IsBigEndian() in IsBigEndian()
78 static bool dumpBefore;
79 static bool dumpAfter;
85 static bool quiet;
86 static bool regNativeFunc;
87 static bool regNativeDynamicOnly;
88 static bool nativeWrapper;
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Doption.cpp20 bool Options::dumpBefore = false;
21 bool Options::dumpAfter = false;
27 bool Options::quiet = false;
28 bool Options::regNativeFunc = false;
29 bool Options::nativeWrapper = true; // Enabled by default
30 bool Options::inlineWithProfile = false;
31 bool Options::useInline = true; // Enabled by default
32 bool Options::enableIPAClone = true;
33 bool Options::useCrossModuleInline = true; // Enabled by default
50 bool Options::profileHotCountSeted = false;
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_as_parameter/ts_to_sts/
Dgeneric_as_parameter.cpp25 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterInt")); in TEST_F()
30 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterString")); in TEST_F()
35 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterBool")); in TEST_F()
40 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterArr")); in TEST_F()
45 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterObj")); in TEST_F()
50 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterUnion")); in TEST_F()
55 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterTuple")); in TEST_F()
60 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterExplicitCallInt")); in TEST_F()
65 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterExplicitCallString")); in TEST_F()
70 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeParameterExplicitCallBool")); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/assembler/
Dassembly-parser.h94 bool isConstArray_ = false;
102 bool open_ = false; /* flag of being in a code section */
103 bool recordDef_ = false;
104 bool arrayDef_ = false;
105 bool funcDef_ = false;
126 SourcePosition GetCurrentPosition(bool leftBound) const in GetCurrentPosition()
134 bool LabelValidName();
135 bool TypeValidName();
136 bool RegValidName();
137 bool ParamValidName();
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnative_inline_lowering.h31 …NativeInlineLowering(Circuit *circuit, CompilationConfig* cmpCfg, PassContext *ctx, bool enableLog, in NativeInlineLowering()
49 std::optional<std::pair<size_t, bool>> GetCallInfo(GateRef gate);
50 void TryInlineStringFromCharCode(GateRef gate, size_t argc, bool skipThis);
51 void TryInlineStringCharCodeAt(GateRef gate, size_t argc, bool skipThis);
52 void TryInlineStringSubstring(GateRef gate, size_t argc, bool skipThis);
53 void TryInlineStringSubStr(GateRef gate, size_t argc, bool skipThis);
54 void TryInlineStringSlice(GateRef gate, size_t argc, bool skipThis);
55 void TryInlineNumberIsFinite(GateRef gate, size_t argc, bool skipThis);
56 void TryInlineNumberIsInteger(GateRef gate, size_t argc, bool skipThis);
57 void TryInlineNumberIsNaN(GateRef gate, size_t argc, bool skipThis);
[all …]
Daot_compiler_preprocessor.h43 void SetIsFastCall(CString fileDesc, uint32_t methodOffset, bool isFastCall);
44 bool IsFastCall(CString fileDesc, uint32_t methodOffset) const;
45 void SetIsAotCompile(CString fileDesc, uint32_t methodOffset, bool isAotCompile);
46 bool IsAotCompile(CString fileDesc, uint32_t methodOffset) const;
47 void SetIsJitCompile(CString fileDesc, uint32_t methodOffset, bool isAotCompile);
48 bool IsJitCompile(CString fileDesc, uint32_t methodOffset) const;
50 std::map<std::pair<CString, uint32_t>, bool> abcIdMethodIdToIsFastCall_ {};
51 std::map<std::pair<CString, uint32_t>, bool> abcIdMethodIdToIsAotCompile_ {};
52 std::map<std::pair<CString, uint32_t>, bool> abcIdMethodIdToIsJitCompile_ {};
65 bool compilerLogTime_;
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_mop_valid.h24 inline bool StrLdr8Valid(Operand *o) in StrLdr8Valid()
32 inline bool StrLdr16Valid(Operand *o) in StrLdr16Valid()
48 inline bool StrLdr32Valid(Operand *o) in StrLdr32Valid()
64 inline bool StrLdr32PairValid(Operand *o) in StrLdr32PairValid()
75 inline bool StrLdr64Valid(Operand *o) in StrLdr64Valid()
91 inline bool StrLdr64PairValid(Operand *o) in StrLdr64PairValid()
102 inline bool StrLdr128Valid(Operand *o) in StrLdr128Valid()
118 inline bool StrLdr128PairValid(Operand *o) in StrLdr128PairValid()
128 inline bool IsOfstZero(Operand *o) in IsOfstZero()
137 inline bool MOP_wmovri32Valid(const MapleVector<Operand *> &opnds) in MOP_wmovri32Valid()
[all …]
/arkcompiler/runtime_core/assembler/
Dassembly-parser.h101 bool open_ = false; /* flag of being in a code section */
102 bool record_def_ = false;
103 bool array_def_ = false;
104 bool func_def_ = false;
125 SourcePosition GetCurrentPosition(bool left_bound) const in GetCurrentPosition()
133 bool LabelValidName();
134 bool TypeValidName();
135 bool RegValidName();
136 bool ParamValidName();
137 bool FunctionValidName();
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/conversion_types/ts_to_sts/conversion_array_int/
Dconversion_array_int.cpp25 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionIntToArrayInt")); in TEST_F()
30 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionIntToArrayNumber")); in TEST_F()
35 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionIntToArrayFloat")); in TEST_F()
40 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionIntToArrayByte")); in TEST_F()
45 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionIntToArrayShort")); in TEST_F()
50 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionIntToArrayLong")); in TEST_F()
55 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionIntToArrayDouble")); in TEST_F()
60 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionIntToArrayChar")); in TEST_F()
65 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionBinaryToArrayInt")); in TEST_F()
70 ASSERT_EQ(true, CallEtsMethod<bool>("checkConversionBinaryToArrayNumber")); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/getter/ts_to_ets/
Dgetter.cpp25 ASSERT_EQ(true, CallEtsMethod<bool>("checkGetterPublicClass")); in TEST_F()
30 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreatePublicGetterClassFromTs")); in TEST_F()
35 ASSERT_EQ(true, CallEtsMethod<bool>("checkPublicGetterInstanceClassFromTs")); in TEST_F()
40 ASSERT_EQ(true, CallEtsMethod<bool>("checkUnionTypeGetterClassInt")); in TEST_F()
45 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateUnionTypeGetterClassFromTsInt")); in TEST_F()
50 ASSERT_EQ(true, CallEtsMethod<bool>("checkInstanceUnionTypeGetterClassFromTsInt")); in TEST_F()
55 ASSERT_EQ(true, CallEtsMethod<bool>("checkUnionTypeGetterClassString")); in TEST_F()
60 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateUnionTypeGetterClassFromTsString")); in TEST_F()
65 ASSERT_EQ(true, CallEtsMethod<bool>("checkInstanceUnionTypeGetterClassFromTsString")); in TEST_F()
70 ASSERT_EQ(true, CallEtsMethod<bool>("checkLiteralTypeGetterClassInt")); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dconst_folding.h21 bool ConstFoldingCast(Inst *inst);
22 bool ConstFoldingNeg(Inst *inst);
23 bool ConstFoldingAbs(Inst *inst);
24 bool ConstFoldingNot(Inst *inst);
25 bool ConstFoldingAdd(Inst *inst);
26 bool ConstFoldingSub(Inst *inst);
27 bool ConstFoldingMul(Inst *inst);
28 bool ConstFoldingBinaryMathWithNan(Inst *inst);
29 bool ConstFoldingDiv(Inst *inst);
30 bool ConstFoldingDivWithNan(Inst *inst);
[all …]
Dinlining.h32 bool chaDevirtualize {false};
33 bool replaceToStatic {false};
39 bool hasRuntimeCalls {false};
48 using FlagPair = std::pair<bool *, bool *>;
51 Inlining(Graph *graph, bool resolveWoInline) : Inlining(graph) in Inlining()
63 bool RunImpl() override;
65 bool IsEnable() const override in IsEnable()
84 virtual bool IsInstSuitableForInline(Inst *inst) const;
85 virtual bool TryInline(CallInst *callInst);
86 bool TryInlineWithInlineCaches(CallInst *callInst);
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/
Dobject-references-iterator.h33 template <bool INTERRUPTIBLE, typename Handler>
34 static bool Iterate(ObjectHeader *obj, Handler *handler, void *begin, void *end);
37 static bool IterateAndDiscoverReferences(GC *gc, ObjectHeader *obj, Handler *handler);
40 …static bool IterateAndDiscoverReferences(GC *gc, ObjectHeader *obj, Handler *handler, void *begin,…
43 template <bool INTERRUPTIBLE, typename Handler>
44 static bool Iterate(Class *cls, ObjectHeader *obj, Handler *handler);
46 template <bool INTERRUPTIBLE, typename Handler>
47 static bool Iterate(Class *cls, ObjectHeader *obj, Handler *handler, void *begin, void *end);
49 template <bool INTERRUPTIBLE, typename Handler>
50 static bool IterateObjectReferences(ObjectHeader *object, Class *objClass, Handler *handler);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_intrins/
Dtest_intrins.cpp52 ASSERT_EQ(true, CallEtsMethod<bool>("testUndefined")); in TEST_F()
53 ASSERT_EQ(true, CallEtsMethod<bool>("testNull")); in TEST_F()
54 ASSERT_EQ(true, CallEtsMethod<bool>("testBoolean")); in TEST_F()
55 ASSERT_EQ(true, CallEtsMethod<bool>("testNumber")); in TEST_F()
56 ASSERT_EQ(true, CallEtsMethod<bool>("testString")); in TEST_F()
57 ASSERT_EQ(true, CallEtsMethod<bool>("testObject")); in TEST_F()
58 ASSERT_EQ(true, CallEtsMethod<bool>("testBigint")); in TEST_F()
61 ASSERT_EQ(true, CallEtsMethod<bool>("testStringOps")); in TEST_F()
66 ASSERT_EQ(true, CallEtsMethod<bool>("testBuiltinArrayAny")); in TEST_F()
67 ASSERT_EQ(true, CallEtsMethod<bool>("testBuiltinArrayBoolean")); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/libllvmbackend/
Dets_llvm_ir_constructor_h_gen.inl16 bool EmitArrayCopyTo(Inst *inst);
17 bool EmitStdStringSubstring(Inst *inst);
18 bool EmitStringBuilderAppendBool(Inst *inst);
19 bool EmitStringBuilderAppendChar(Inst *inst);
20 bool EmitStringBuilderAppendByte(Inst *inst);
21 bool EmitStringBuilderAppendShort(Inst *inst);
22 bool EmitStringBuilderAppendInt(Inst *inst);
23 bool EmitStringBuilderAppendLong(Inst *inst);
24 bool EmitStringBuilderAppendString(Inst *inst);
25 bool EmitStringBuilderAppendStrings(Inst *inst);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/interface/ts_to_ets/
Dinterface_method.cpp25 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassString")); in TEST_F()
30 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassInt")); in TEST_F()
35 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassBool")); in TEST_F()
40 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassArray")); in TEST_F()
45 ASSERT_EQ(true, CallEtsMethod<bool>("checkAnyTypeInterfaceClassObject")); in TEST_F()
50 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodString")); in TEST_F()
55 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodInt")); in TEST_F()
60 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodBool")); in TEST_F()
65 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodArray")); in TEST_F()
70 ASSERT_EQ(true, CallEtsMethod<bool>("checkCreateInterfaceClassAnyTypeMethodObject")); in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dcg_option.h28 bool enable;
130 bool SolveOptions();
160 void SetOrClear(T &dest, uint64 flag, bool truth) const in SetOrClear()
176 bool GenGrootList() const in GenGrootList()
181 bool GenPrimorList() const in GenPrimorList()
186 bool GenYieldPoint() const in GenYieldPoint()
191 bool GenLocalRC() const in GenLocalRC()
196 bool DoEmitCode() const in DoEmitCode()
201 bool GenerateExceptionHandlingCode() const in GenerateExceptionHandlingCode()
206 bool DoLinearScanRegisterAllocation() const in DoLinearScanRegisterAllocation()
[all …]
Dcg_options.h27 extern maplecl::Option<bool> verboseAsm;
28 extern maplecl::Option<bool> verboseCg;
29 extern maplecl::Option<bool> cg;
30 extern maplecl::Option<bool> generalRegOnly;
31 extern maplecl::Option<bool> lazyBinding;
32 extern maplecl::Option<bool> hotFix;
33 extern maplecl::Option<bool> yieldpoint;
34 extern maplecl::Option<bool> localRc;
35 extern maplecl::Option<bool> debug;
36 extern maplecl::Option<bool> gdwarf;
[all …]
/arkcompiler/runtime_core/verifier/
Dverifier.h52 bool &has_slot;
53 bool &is_two_slot;
61 bool Verify();
62 bool CollectIdInfos();
63 bool VerifyChecksum();
64 bool VerifyConstantPool();
65 bool VerifyRegisterIndex();
66 bool VerifyConstantPoolIndex();
67 bool VerifyConstantPoolContent();
69 bool include_literal_array_ids = true;
[all …]
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h135 bool isPrivateIdent {};
136 bool hasSuperClass {};
137 bool isGenerator {};
138 bool invalidComputedProperty {};
139 bool isComputed {};
140 bool isIndexSignature {};
141 bool classMethod {};
142 bool classField {};
200 bool IsDtsFile() const; in DEFINE_BITOPS()
203 bool IsStartOfMappedType() const; in DEFINE_BITOPS()
[all …]
/arkcompiler/runtime_core/libabckit/tests/helpers/
Dhelpers_mode.h25 void TestMode(AbckitInst *(*apiToCheck)(AbckitGraph *graph), bool isDynamic);
26 void TestMode(AbckitInst *(*apiToCheck)(AbckitGraph *graph, uint32_t index), bool isDynamic);
27 void TestMode(AbckitInst *(*apiToCheck)(AbckitGraph *graph, int64_t value), bool isDynamic);
28 void TestMode(AbckitInst *(*apiToCheck)(AbckitGraph *graph, uint64_t value), bool isDynamic);
29 void TestMode(AbckitInst *(*apiToCheck)(AbckitGraph *graph, uint64_t imm0, uint64_t imm1), bool isD…
30 void TestMode(AbckitInst *(*apiToCheck)(AbckitGraph *graph, uint64_t imm, AbckitInst *inst), bool i…
31 …itInst *(*apiToCheck)(AbckitGraph *graph, uint64_t imm, AbckitLiteralArray *inst), bool isDynamic);
33 bool isDynamic);
34 void TestMode(AbckitInst *(*apiToCheck)(AbckitGraph *graph, double value), bool isDynamic);
35 void TestMode(AbckitInst *(*apiToCheck)(AbckitGraph *graph, AbckitString *str), bool isDynamic);
[all …]

12345678910>>...145