Home
last modified time | relevance | path

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

12345678910>>...136

/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_value.h116 ARK_INLINE constexpr explicit JSTaggedValue(bool v) in JSTaggedValue()
169 ARK_INLINE bool IsWeak() const in IsWeak()
174 ARK_INLINE bool IsDouble() const in IsDouble()
179 ARK_INLINE bool IsInt() const in IsInt()
184 ARK_INLINE bool IsSpecial() const in IsSpecial()
189 ARK_INLINE bool IsObject() const in IsObject()
199 ARK_INLINE bool IsHeapObject() const in IsHeapObject()
204 ARK_INLINE bool IsInvalidValue() const in IsInvalidValue()
209 ARK_INLINE bool HasReadBarrierDFXTag() const in HasReadBarrierDFXTag()
284 ARK_INLINE bool IsFalse() const in IsFalse()
[all …]
Djs_runtime_options.h84 bool enableAsm {false};
296 bool ParseCommand(const int argc, const char** argv);
297 bool SetDefaultValue(char* argv);
300 bool EnableArkTools() const in EnableArkTools()
305 void SetEnableArkTools(bool value) in SetEnableArkTools()
310 bool WasSetEnableArkTools() const in WasSetEnableArkTools()
315 bool IsOpenArkTools() const in IsOpenArkTools()
320 void SetOpenArkTools(bool value) in SetOpenArkTools()
325 bool WasSetOpenArkTools() const in WasSetOpenArkTools()
330 bool IsEnableRuntimeStat() const in IsEnableRuntimeStat()
[all …]
/arkcompiler/ets_frontend/ets2panda/lsp/include/formatting/
Dformatting_settings.h51 bool GetConvertTabsToSpaces() const in GetConvertTabsToSpaces()
61 bool GetTrimTrailingWhitespace() const in GetTrimTrailingWhitespace()
86 void SetConvertTabsToSpaces(bool value) in SetConvertTabsToSpaces()
96 void SetTrimTrailingWhitespace(bool value) in SetTrimTrailingWhitespace()
106 bool convertTabsToSpaces_ = true;
108 bool trimTrailingWhitespace_ = true;
115 bool GetInsertSpaceAfterCommaDelimiter() const in GetInsertSpaceAfterCommaDelimiter()
120 bool GetInsertSpaceAfterSemicolonInForStatements() const in GetInsertSpaceAfterSemicolonInForStatements()
125 bool GetInsertSpaceBeforeAndAfterBinaryOperators() const in GetInsertSpaceBeforeAndAfterBinaryOperators()
130 bool GetInsertSpaceAfterConstructor() const in GetInsertSpaceAfterConstructor()
[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_frontend/ets2panda/lsp/include/
Duser_preferences.h78 bool disableSuggestions_ = false;
79 bool includeCompletionsForModuleExports_ = false;
80 bool includeCompletionsForImportStatements_ = false;
81 bool includeCompletionsWithSnippetText_ = false;
82 bool includeCompletionsChainCompletions_ = false;
83 bool includeCompletionsWithInsertText_ = false;
84 bool includeCompletionsClassMemberSnippets_ = false;
85 bool includeCompletionsWithObjectLiteralMethodSnippets_ = false;
86 bool useLabelDetailsIncompletionsEntries_ = false;
87 bool allowIncompleteCompletions_ = false;
[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/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/runtime_core/static_core/assembler/
Dassembly-parser.h86 inline bool IsUnderscoreOrDollarOrHyphen(char c) in IsUnderscoreOrDollarOrHyphen()
91 inline bool IsAlphaNumeric(char c) in IsAlphaNumeric()
96 inline bool IsNonDigit(char c) in IsNonDigit()
108 bool isConstArray_ = false;
111 std::map<std::pair<std::string, bool>, ark::pandasm::Function> ambiguousFunctionTable_;
117 bool open_ = false; /* flag of being in a code section */
118 bool recordDef_ = false;
119 bool arrayDef_ = false;
120 bool funcDef_ = false;
130 bool IsAllowAngleBrackets(BracketOptions options) in IsAllowAngleBrackets()
[all …]
/arkcompiler/runtime_core/assembler/
Dassembly-parser.h100 bool set_label_;
107 bool open_ = false; /* flag of being in a code section */
108 bool record_def_ = false;
109 bool array_def_ = false;
110 bool func_def_ = false;
131 SourcePosition GetCurrentPosition(bool left_bound) const in GetCurrentPosition()
139 bool LabelValidName();
140 bool TypeValidName();
141 bool RegValidName();
142 bool ParamValidName();
[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/static_core/plugins/ets/tests/interop_js/tests/test_esvalue2/
Desvalue_def_test.cpp25 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkGetUndefined")); in TEST_F()
30 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkGetNull")); in TEST_F()
35 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapBoolean")); in TEST_F()
40 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapString")); in TEST_F()
45 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapNumber")); in TEST_F()
50 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapByte")); in TEST_F()
55 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapBigInt")); in TEST_F()
60 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapShort")); in TEST_F()
65 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapInt")); in TEST_F()
70 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapLong")); 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,…
42 template <bool INTERRUPTIBLE, typename Handler>
43 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/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/test_esvalue/
Desvalue_def_test.cpp25 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkGetUndefined")); in TEST_F()
30 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkGetNull")); in TEST_F()
35 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapBoolean")); in TEST_F()
40 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapString")); in TEST_F()
45 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapNumber")); in TEST_F()
50 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapByte")); in TEST_F()
55 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapBigInt")); in TEST_F()
60 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapShort")); in TEST_F()
65 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapInt")); in TEST_F()
70 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkWrapLong")); in TEST_F()
[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, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterInt")); in TEST_F()
30 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterString")); in TEST_F()
35 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterBool")); in TEST_F()
40 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterArr")); in TEST_F()
45 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterObj")); in TEST_F()
50 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterUnion")); in TEST_F()
55 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterTuple")); in TEST_F()
60 … ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterExplicitCallInt")); in TEST_F()
65 …ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterExplicitCallString")… in TEST_F()
70 … ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkAnyTypeParameterExplicitCallBool")); in TEST_F()
[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, CallEtsFunction<bool>(GetPackageName(), "checkConversionIntToArrayInt")); in TEST_F()
30 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionIntToArrayNumber")); in TEST_F()
35 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionIntToArrayFloat")); in TEST_F()
40 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionIntToArrayByte")); in TEST_F()
45 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionIntToArrayShort")); in TEST_F()
50 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionIntToArrayLong")); in TEST_F()
55 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionIntToArrayDouble")); in TEST_F()
60 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionIntToArrayChar")); in TEST_F()
65 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionBinaryToArrayInt")); in TEST_F()
70 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkConversionBinaryToArrayNumber")); in TEST_F()
[all …]
/arkcompiler/toolchain/tooling/hybrid_step/
Ddebug_step_flags.h24 void SetDyn2StatInto(bool value);
25 void SetDyn2StatOut(bool value);
26 void SetDyn2StatOver(bool value);
27 void SetStat2DynInto(bool value);
28 void SetStat2DynOut(bool value);
29 void SetStat2DynOver(bool value);
31 bool GetDyn2StatInto();
32 bool GetDyn2StatOut();
33 bool GetDyn2StatOver();
34 bool GetStat2DynInto();
[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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/array/ts_to_ets/
Dts_array.cpp25 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "indexAccess")); in TEST_F()
30 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "testLength")); in TEST_F()
35 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "typeofArray")); in TEST_F()
40 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "instanceofArray")); in TEST_F()
45 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "instanceofArrayObject")); in TEST_F()
50 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "testAt")); in TEST_F()
55 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "testConcat")); in TEST_F()
60 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "testCopyWithin")); in TEST_F()
65 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "testEvery")); in TEST_F()
70 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "testFill")); in TEST_F()
[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/runtime_core/static_core/plugins/ets/tests/interop_js/tests/getter/ts_to_ets/
Dgetter.cpp25 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkGetterPublicClass")); in TEST_F()
30 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkCreatePublicGetterClassFromTs")); in TEST_F()
35 … ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkPublicGetterInstanceClassFromTs")); in TEST_F()
40 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkUnionTypeGetterClassInt")); in TEST_F()
45 …ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkCreateUnionTypeGetterClassFromTsInt"… in TEST_F()
50 …ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkInstanceUnionTypeGetterClassFromTsIn… in TEST_F()
55 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkUnionTypeGetterClassString")); in TEST_F()
60 …ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkCreateUnionTypeGetterClassFromTsStri… in TEST_F()
65 …ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkInstanceUnionTypeGetterClassFromTsSt… in TEST_F()
70 ASSERT_EQ(true, CallEtsFunction<bool>(GetPackageName(), "checkLiteralTypeGetterClassInt")); in TEST_F()
[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 …]

12345678910>>...136