| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_tagged_value.h | 160 ARK_INLINE constexpr explicit JSTaggedValue(bool v) in JSTaggedValue() 213 ARK_INLINE bool IsWeak() const in IsWeak() 218 ARK_INLINE bool IsDouble() const in IsDouble() 223 ARK_INLINE bool IsInt() const in IsInt() 228 ARK_INLINE bool IsSpecial() const in IsSpecial() 233 ARK_INLINE bool IsObject() const in IsObject() 243 ARK_INLINE bool IsHeapObject() const in IsHeapObject() 248 ARK_INLINE bool IsInvalidValue() const in IsInvalidValue() 289 ARK_INLINE bool IsFalse() const in IsFalse() 294 ARK_INLINE bool IsTrue() const in IsTrue() [all …]
|
| D | js_runtime_options.h | 57 bool enableAsm {false}; 149 bool ParseCommand(const int argc, const char **argv); 150 bool SetDefaultValue(char* argv); 152 bool EnableArkTools() const in EnableArkTools() 158 void SetEnableArkTools(bool value) { in SetEnableArkTools() 162 bool WasSetEnableArkTools() const in WasSetEnableArkTools() 167 bool IsEnableRuntimeStat() const in IsEnableRuntimeStat() 172 void SetEnableRuntimeStat(bool value) in SetEnableRuntimeStat() 177 bool WasSetEnableRuntimeStat() const in WasSetEnableRuntimeStat() 192 bool WasStubFileSet() const in WasStubFileSet() [all …]
|
| D | js_object.h | 62 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c) in PropertyDescriptor() 74 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c) in PropertyDescriptor() 92 inline bool IsWritable() const in IsWritable() 97 inline void SetWritable(bool flag) in SetWritable() 103 inline bool IsEnumerable() const in IsEnumerable() 108 inline void SetEnumerable(bool flag) in SetEnumerable() 114 inline bool IsConfigurable() const in IsConfigurable() 119 inline void SetConfigurable(bool flag) in SetConfigurable() 125 inline bool HasValue() const in HasValue() 130 inline bool HasWritable() const in HasWritable() [all …]
|
| D | js_serializer.h | 111 bool SerializeJSTaggedValue(const JSHandle<JSTaggedValue> &value); 119 bool WriteJSFunction(const JSHandle<JSTaggedValue> &value); 120 bool WriteMethod(const JSHandle<JSTaggedValue> &value); 121 bool WriteConstantPool(const JSHandle<JSTaggedValue> &value); 122 bool WriteTaggedArray(const JSHandle<JSTaggedValue> &value); 123 bool WriteByteArray(const JSHandle<JSTaggedValue> &value, DataViewType viewType); 124 bool WriteTaggedObject(const JSHandle<JSTaggedValue> &value); 125 bool WritePrimitiveValue(const JSHandle<JSTaggedValue> &value); 126 bool WriteInt(int32_t value); 127 bool WriteDouble(double value); [all …]
|
| D | js_tagged_value-inl.h | 44 inline bool JSTaggedValue::ToBoolean() const in ToBoolean() 189 bool signFlag = value->GetSign(); in ToBigUint64() 285 inline bool JSTaggedValue::IsCallable() const in IsCallable() 290 inline bool JSTaggedValue::IsConstructor() const in IsConstructor() 295 inline bool JSTaggedValue::IsExtensible(JSThread *thread) const in IsExtensible() 308 inline bool JSTaggedValue::IsClassConstructor() const in IsClassConstructor() 313 inline bool JSTaggedValue::IsClassPrototype() const in IsClassPrototype() 318 inline bool JSTaggedValue::IsPropertyKey(const JSHandle<JSTaggedValue> &key) in IsPropertyKey() 323 inline bool JSTaggedValue::SameValue(const JSTaggedValue &x, const JSTaggedValue &y) in SameValue() 345 inline bool JSTaggedValue::SameValue(const JSHandle<JSTaggedValue> &xHandle, const JSHandle<JSTagge… in SameValue() [all …]
|
| D | date_parse.h | 24 static bool ParseDateString(const char *str, int length, int *time); 27 static bool IsBetween(int n, int lower, int hign) in IsBetween() 89 bool IsDigit() const in IsDigit() 97 bool IsSign() const in IsSign() 105 bool IsEnd() const in IsEnd() 110 bool IsThisChar(char ch) const in IsThisChar() 115 bool IsAlpha() const in IsAlpha() 123 bool IsSpaceOrTab() const in IsSpaceOrTab() 131 bool IsChar(char ch) in IsChar() 161 bool IsInvalid() const in IsInvalid() [all …]
|
| D | js_thread.h | 196 using CheckSafePointBit = BitField<bool, 0, BOOL_BITFIELD_NUM>; 197 using VMNeedSuspensionBit = BitField<bool, CHECK_SAFEPOINT_BITFIELD_NUM, BOOL_BITFIELD_NUM>; 260 bool DoStackOverflowCheck(const JSTaggedType *sp); 278 void SetIsStartHeapSampling(bool isStart) in SetIsStartHeapSampling() 291 bool PUBLIC_API CpuProfilerCheckJSTaggedType(JSTaggedType value) const; 305 bool HasPendingException() const in HasPendingException() 329 bool IsStableArrayElementsGuardiansInvalid() const in IsStableArrayElementsGuardiansInvalid() 417 bool IsReadyToMark() const in IsReadyToMark() 423 bool IsMarking() const in IsMarking() 429 bool IsMarkFinished() const in IsMarkFinished() [all …]
|
| D | object_operator.h | 73 inline bool IsFound() const in IsFound() 78 inline bool IsFastMode() const in IsFastMode() 83 inline void SetFastMode(bool flag) in SetFastMode() 88 inline bool IsElement() const in IsElement() 93 inline bool IsOnPrototype() const in IsOnPrototype() 98 inline void SetIsOnPrototype(bool flag) in SetIsOnPrototype() 103 inline bool HasReceiver() const in HasReceiver() 108 inline void SetHasReceiver(bool flag) in SetHasReceiver() 113 inline bool IsTransition() const in IsTransition() 118 inline void SetIsTransition(bool flag) in SetIsTransition() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
| D | method_type_infer.h | 39 PassContext *ctx, size_t methodId, bool enableLog, 42 bool enableGlobalTypeInfer); 52 bool IsLogEnabled() const in IsLogEnabled() 67 bool UpdateType(GateRef gate, const GateType type, bool savePreType = true); 68 bool UpdateType(GateRef gate, const GlobalTSTypeRef &typeRef, bool savePreType = true); 70 bool ShouldInfer(const GateRef gate) const; 71 bool Infer(GateRef gate); 72 bool InferPhiGate(GateRef gate); 73 bool SetIntType(GateRef gate); 74 bool SetNumberType(GateRef gate); [all …]
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-parser.h | 101 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/ets_frontend/es2panda/parser/ |
| D | parserImpl.h | 134 bool isPrivateIdent {}; 135 bool hasSuperClass {}; 136 bool isGenerator {}; 137 bool invalidComputedProperty {}; 138 bool isComputed {}; 139 bool isIndexSignature {}; 140 bool classMethod {}; 141 bool classField {}; 192 bool IsDtsFile() const; 193 void SetDebug(bool isDebug) [all …]
|
| /arkcompiler/ets_runtime/ecmascript/napi/include/ |
| D | dfx_jsnapi.h | 53 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, const std::string &path, bool isVmM… 54 bool isPrivate = false, bool captureNumericValue = false); 56 … bool isVmMode = true, bool isPrivate = false, bool captureNumericValue = false); 57 …static void DumpHeapSnapshot(const EcmaVM *vm, int dumpFormat, bool isVmMode = true, bool isPrivat… 58 bool captureNumericValue = false); 61 static bool BuildNativeAndJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr); 62 static bool BuildJsStackTrace(const EcmaVM *vm, std::string &stackTraceStr); 63 static bool StartHeapTracking(const EcmaVM *vm, double timeInterval, bool isVmMode = true, 64 … Stream *stream = nullptr, bool traceAllocation = false, bool newThread = true); 65 static bool UpdateHeapTracking(const EcmaVM *vm, Stream *stream); [all …]
|
| D | jsnapi.h | 73 using ConcurrentCallback = void (*)(Local<JSValueRef> result, bool success, void *taskInfo, void *d… 115 inline bool IsEmpty() const in IsEmpty() 120 inline bool IsNull() const in IsNull() 217 inline bool IsEmpty() const in IsEmpty() 228 bool IsWeak() const; 314 inline bool IsEmpty() const in IsEmpty() 326 bool IsWeak() const; 372 bool alreadyEscape_ = false; 385 bool isRevert_ = false; 395 bool BooleaValue(); [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_json.h | 51 bool Add(const char *key, bool value) const; 52 bool Add(const char *key, int32_t value) const; 53 bool Add(const char *key, int64_t value) const; 54 bool Add(const char *key, uint32_t value) const; 55 bool Add(const char *key, double value) const; 56 bool Add(const char *key, const char *value) const; 57 bool Add(const char *key, const std::unique_ptr<PtJson> &value) const; 60 bool Push(bool value) const; 61 bool Push(int32_t value) const; 62 bool Push(int64_t value) const; [all …]
|
| D | pt_params.h | 48 bool HasMaxScriptsCacheSize() const in HasMaxScriptsCacheSize() 84 std::optional<bool> includeCommandLineAPI_ {}; 85 std::optional<bool> silent_ {}; 86 std::optional<bool> returnByValue_ {}; 87 std::optional<bool> generatePreview_ {}; 88 std::optional<bool> throwOnSideEffect_ {}; 111 bool HasEnd() const in HasEnd() 116 bool GetRestrictToFunction() const in GetRestrictToFunction() 121 bool HasRestrictToFunction() const in HasRestrictToFunction() 132 std::optional<bool> restrictToFunction_ {}; [all …]
|
| /arkcompiler/ets_frontend/ts2panda/ts2abc/ |
| D | ts2abc_options.h | 50 bool GetSizeStatArg() const in GetSizeStatArg() 55 void SetSizeStatArg(bool value) in SetSizeStatArg() 60 bool WasSetSizeStatArg() const in WasSetSizeStatArg() 65 bool GetHelpArg() const in GetHelpArg() 70 void SetHelpArg(bool value) in SetHelpArg() 75 bool WasSetHelpArg() const in WasSetHelpArg() 90 bool WasSetOptLevelArg() const in WasSetOptLevelArg() 105 bool WasSetOptLogLevelArg() const in WasSetOptLogLevelArg() 110 bool GetBcVersionArg() const in GetBcVersionArg() 115 void SetSetBcVersionArg(bool value) in SetSetBcVersionArg() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | bytecodes.h | 82 bool HasAccIn() const in HasAccIn() 87 bool IsNoSideEffects() const in IsNoSideEffects() 92 bool IsNoThrow() const in IsNoThrow() 97 bool HasThisIn() const in HasThisIn() 102 bool HasAccOut() const in HasAccOut() 107 bool HasEnvIn() const in HasEnvIn() 112 bool HasEnvOut() const in HasEnvOut() 117 bool IsNoGC() const in IsNoGC() 122 bool IsMov() const in IsMov() 127 bool IsReturn() const in IsReturn() [all …]
|
| D | ts_hcr_lowering.h | 30 bool enableLog, bool enableTypeLog, in TSHCRLowering() 51 bool RunTSHCRLowering(); 54 bool IsLogEnabled() const in IsLogEnabled() 59 bool IsTypeLogEnabled() const in IsTypeLogEnabled() 64 bool IsProfiling() const in IsProfiling() 69 bool IsVerifyVTbale() const in IsVerifyVTbale() 74 bool IsTraceBC() const in IsTraceBC() 100 void LowerConditionJump(GateRef gate, bool flag); 105 void LowerTypedStObjByName(GateRef gate, bool isThis); 110 bool TryLowerTypedLdObjByNameForArray(GateRef gate, GateType receiverType, JSTaggedValue key); [all …]
|
| D | gate_accessor.h | 133 friend bool operator == (const ConstUseIterator& a, const ConstUseIterator& b) 137 friend bool operator != (const ConstUseIterator& a, const ConstUseIterator& b) 195 friend bool operator == (const UseIterator& a, const UseIterator& b) 199 friend bool operator != (const UseIterator& a, const UseIterator& b) 237 friend bool operator== (const ConstInsIterator& a, const ConstInsIterator& b) 241 friend bool operator!= (const ConstInsIterator& a, const ConstInsIterator& b) 279 friend bool operator== (const InsIterator& a, const InsIterator& b) 283 friend bool operator!= (const InsIterator& a, const InsIterator& b) 378 bool IsGCRelated(GateRef gate) const; 393 bool HasNumberType(GateRef gate) const; [all …]
|
| /arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
| D | heap_profiler.h | 40 std::pair<bool, uint32_t> FindId(Address addr); 41 bool InsertId(Address addr, uint32_t id); 42 bool EraseId(Address addr); 43 bool Move(Address oldAddr, Address forwardAddr); 78 bool DumpHeapSnapshot(DumpFormat dumpFormat, Stream *stream, Progress *progress = nullptr, 79 … bool isVmMode = true, bool isPrivate = false, bool captureNumericValue = false) override; 83 bool StartHeapTracking(double timeInterval, bool isVmMode = true, Stream *stream = nullptr, 84 bool traceAllocation = false, bool newThread = true) override; 85 …bool StopHeapTracking(Stream *stream, Progress *progress = nullptr, bool newThread = true) overrid… 86 bool UpdateHeapTracking(Stream *stream) override; [all …]
|
| /arkcompiler/runtime_core/compiler/ |
| D | compiler.yaml | 20 type: bool 32 type: bool 42 type: bool 46 type: bool 50 type: bool 58 type: bool 62 type: bool 71 type: bool 75 type: bool 79 type: bool [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | js_pandafile_executor.h | 28 static Expected<JSTaggedValue, bool> ExecuteFromFile(JSThread *thread, const CString &filename, 29 … std::string_view entryPoint, bool needUpdate = false, 30 bool excuteFromJob = false); 31 …static Expected<JSTaggedValue, bool> ExecuteFromBuffer(JSThread *thread, const void *buffer, size_… 33 bool needUpdate = false); 34 …static Expected<JSTaggedValue, bool> ExecuteModuleBuffer(JSThread *thread, const void *buffer, siz… 35 … const CString &filename = "", bool needUpdate = false); 36 …static Expected<JSTaggedValue, bool> CommonExecuteBuffer(JSThread *thread, bool isBundle, const CS… 38 static Expected<JSTaggedValue, bool> Execute(JSThread *thread, const JSPandaFile *jsPandaFile, 39 … std::string_view entryPoint, bool excuteFromJob = false); [all …]
|
| /arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
| D | typeGuardOfFormTypeOfBoolean.ts | 26 let bool: boolean; variable 27 AssertType(bool, "boolean"); 61 bool = strOrBool; // boolean 62 AssertType(bool = strOrBool, "boolean"); 63 AssertType(bool, "boolean"); 73 bool = numOrBool; // boolean 74 AssertType(bool = numOrBool, "boolean"); 75 AssertType(bool, "boolean"); 85 bool = strOrNumOrBool; // boolean 86 AssertType(bool = strOrNumOrBool, "boolean"); [all …]
|
| /arkcompiler/runtime_core/assembler/extensions/ |
| D | ecmascript_meta.h | 40 bool IsAnnotation() const override in IsAnnotation() 45 bool IsRuntimeAnnotation() const override in IsRuntimeAnnotation() 51 bool IsAnnotationRecordAttribute([[maybe_unused]] std::string_view attribute) const override in IsAnnotationRecordAttribute() 56 bool IsAnnotationIdAttribute([[maybe_unused]] std::string_view attribute) const override in IsAnnotationIdAttribute() 61 … bool IsAnnotationElementNameAttribute([[maybe_unused]] std::string_view attribute) const override in IsAnnotationElementNameAttribute() 66 … bool IsAnnotationElementTypeAttribute([[maybe_unused]] std::string_view attribute) const override in IsAnnotationElementTypeAttribute() 71 …bool IsAnnotationElementArrayComponentTypeAttribute([[maybe_unused]] std::string_view attribute) c… in IsAnnotationElementArrayComponentTypeAttribute() 76 … bool IsAnnotationElementValueAttribute([[maybe_unused]] std::string_view attribute) const override in IsAnnotationElementValueAttribute() 96 bool IsAnnotationRecordAttribute([[maybe_unused]] std::string_view attribute) const override in IsAnnotationRecordAttribute() 101 bool IsAnnotationIdAttribute([[maybe_unused]] std::string_view attribute) const override in IsAnnotationIdAttribute() [all …]
|
| /arkcompiler/ets_frontend/es2panda/lexer/token/ |
| D | token.h | 104 bool NewLine() const in DEFINE_BITOPS() 109 bool IsAccessability() const; in DEFINE_BITOPS() 110 bool IsAsyncModifier() const; in DEFINE_BITOPS() 111 bool IsStaticModifier() const; in DEFINE_BITOPS() 112 bool IsDeclareModifier() const; in DEFINE_BITOPS() 113 bool IsReadonlyModifier() const; in DEFINE_BITOPS() 114 bool IsUpdate() const; in DEFINE_BITOPS() 115 bool IsUnary() const; in DEFINE_BITOPS() 116 bool IsPropNameLiteral() const; in DEFINE_BITOPS() 117 bool IsKeyword() const; in DEFINE_BITOPS() [all …]
|