/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_boolean.cpp | 20 // ecma 19.3.1.1 Boolean(value) 26 BUILTINS_API_TRACE(thread, Boolean, Constructor); in BooleanConstructor() 51 BUILTINS_API_TRACE(thread, Boolean, ThisBooleanValue); in ThisBooleanValue() 52 // 1. If Type(value) is Boolean, return value in ThisBooleanValue() 59 // a. Assert: value's [[BooleanData]] internal slot is a Boolean value. in ThisBooleanValue() 70 // ecma 19.3.3.2 Boolean.prototype.toString () 75 BUILTINS_API_TRACE(thread, Boolean, BooleanPrototypeToString); in BooleanPrototypeToString() 86 // ecma 19.3.3.3 Boolean.prototype.valueOf () 91 BUILTINS_API_TRACE(thread, Boolean, BooleanPrototypeValueOf); in BooleanPrototypeValueOf()
|
H A D | builtins.cpp | 116 using Boolean = builtins::BuiltinsBoolean; 1001 // Boolean.prototype in InitializeBoolean() 1007 // Boolean.prototype_or_hclass in InitializeBoolean() 1011 // new Boolean Function() in InitializeBoolean() 1012 JSHandle<JSFunction> booleanFunction = NewBuiltinConstructor(env, booleanFuncPrototype, Boolean::BooleanConstructor, in InitializeBoolean() 1013 "Boolean", FunctionLength::ONE, BUILTINS_STUB_ID(BooleanConstructor)); in InitializeBoolean() 1017 // Boolean.prototype method in InitializeBoolean() 1019 Boolean::BooleanPrototypeToString, FunctionLength::ZERO); in InitializeBoolean() 1021 Boolean::BooleanPrototypeValueOf, FunctionLength::ZERO); in InitializeBoolean()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | ts_hcr_opt_pass.cpp | 87 return builder_.Boolean(false); in VisitStringEqual() 107 return builder_.Boolean(true); in ConvertStringEqualToConst() 109 return builder_.Boolean(false); in ConvertStringEqualToConst()
|
H A D | circuit_builder-inl.h | 29 return Boolean(true); in True() 34 return Boolean(false); in False()
|
H A D | instruction_combine.cpp | 419 return index == 0 ? builder_.Int32(val) : builder_.Boolean(ovf); in VisitExtractValue() 422 return (index == 0 ? m.Left().Gate() : builder_.Boolean(false)); in VisitExtractValue() 431 return index == 0 ? builder_.Int32(val) : builder_.Boolean(ovf); in VisitExtractValue() 434 return (index == 0 ? m.Left().Gate() : builder_.Boolean(false)); in VisitExtractValue() 443 return index == 0 ? builder_.Int32(val) : builder_.Boolean(ovf); in VisitExtractValue() 446 return (index == 0 ? builder_.Int32(0) : builder_.Boolean(false)); in VisitExtractValue() 449 return (index == 0 ? m.Left().Gate() : builder_.Boolean(false)); in VisitExtractValue()
|
H A D | profiler_stub_builder.cpp | 418 return Boolean(true); in IsProfileTypeInfoDumped() 845 DEFVARIABLE(res, VariableType::BOOL(), Boolean(false)); in IsProfileTypeInfoHotAndValid() 883 return Boolean(true); in IsCompiledOrTryCompile() 1132 isJmp = Boolean(offsetInfo.offset == 0); in TryJitCompile()
|
H A D | mcr_lowering.cpp | 432 DEFVALUE(result, (&builder_), VariableType::BOOL(), builder_.Boolean(false)); in ConvertTaggedNumberToBool() 633 builder_.DeoptCheck(builder_.Boolean(support), frameState, DeoptType::NOTINT2); in LowerCheckSupportAndConvert() 636 builder_.DeoptCheck(builder_.Boolean(support), frameState, DeoptType::NOTDOUBLE2); in LowerCheckSupportAndConvert()
|
H A D | number_speculative_retype.cpp | 973 return builder_.Boolean(true); in CheckAndConvertToBool() 1724 result = builder_.Boolean(false); in VisitNumberOrGlobalBuiltin() 1726 result = builder_.Boolean(true); in VisitNumberOrGlobalBuiltin()
|
H A D | stub_builder.cpp | 601 GateRef SCheckModelIsCHECK = Boolean(true); in CreateDataProperty() 2697 SetValueWithElementsKind(glue, receiver, value, index, Boolean(true), in TaggedArraySetValue() 2819 SetValueWithElementsKind(glue, receiver, value, index, Boolean(true), *kind); in ICStoreElement() 2826 SetValueWithElementsKind(glue, receiver, value, index, Boolean(true), in ICStoreElement() 3908 SetValueWithElementsKind(glue, receiver, value, index, Boolean(true), *kind); in AddElementInternal() 3915 SetValueWithElementsKind(glue, receiver, value, index, Boolean(true), *kind); in AddElementInternal() 4094 DEFVARIABLE(result, VariableType::BOOL(), Boolean(true)); in CheckHClassForRep() 4114 result = Boolean(false); in CheckHClassForRep() 4132 result = Boolean(false); in CheckHClassForRep() 4301 SetValueWithElementsKind(glue, *holder, value, index, Boolean(tru in SetPropertyByIndex() [all...] |
H A D | stub_builder-inl.h | 107 inline GateRef StubBuilder::Boolean(bool value) in Boolean() function in panda::ecmascript::kungfu::StubBuilder 109 return env_->GetBuilder()->Boolean(value); in Boolean() 3626 GateRef boolVal = Boolean(isExtensible); in SetExtensibleToBitfield() 3638 GateRef boolVal = Boolean(isCallable); in SetCallableToBitfield()
|
H A D | native_inline_lowering.cpp | 855 acc_.ReplaceHirAndDeleteIfException(gate, builder_.GetStateDepend(), builder_.Boolean(false)); in TryInlineGlobalFiniteBuiltin() 875 acc_.ReplaceHirAndDeleteIfException(gate, builder_.GetStateDepend(), builder_.Boolean(true)); in TryInlineGlobalNanBuiltin()
|
H A D | typed_native_inline_lowering.cpp | 514 DEFVALUE(result, (&builder_), VariableType::BOOL(), builder_.Boolean(true)); in LowerGlobalTNumberIsFinite() 522 result = builder_.Boolean(true); in LowerGlobalTNumberIsFinite() 546 DEFVALUE(result, (&builder_), VariableType::BOOL(), builder_.Boolean(false)); in LowerGlobalTNumberIsNan() 554 result = builder_.Boolean(false); in LowerGlobalTNumberIsNan() 3386 builder_.Boolean(true), in LowerArrayFilter() 3481 builder_.Boolean(true), in LowerArrayMap()
|
H A D | hcr_circuit_builder.cpp | 696 GateRef boolVal = Boolean(isExtensible); in SetExtensibleToBitfield()
|
H A D | circuit_builder.cpp | 402 GateRef CircuitBuilder::Boolean(bool val) in Boolean() function in panda::ecmascript::kungfu::CircuitBuilder
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
H A D | object_repository.cpp | 65 return RemoteObject::Boolean(value.GetAsU1()); in CreateObject() 103 return RemoteObject::Boolean(value.template GetAs<bool>()); in CreateObject() 180 return RemoteObject::Boolean(value.IsTrue()); in CreateObject()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_array_stub_builder.cpp | 132 SetValueWithElementsKind(glue, newArray, *value, *k, Boolean(true), in With() 144 SetValueWithElementsKind(glue, newArray, Undefined(), *k, Boolean(true), in With() 150 SetValueWithElementsKind(glue, newArray, ele, *k, Boolean(true), in With() 251 SetValueWithElementsKind(glue, thisValue, value0, Int64(0), Boolean(false), in Unshift() 259 SetValueWithElementsKind(glue, thisValue, value1, Int64(1), Boolean(false), in Unshift() 270 SetValueWithElementsKind(glue, thisValue, value2, Int64(2), Boolean(false), in Unshift() 352 SetValueWithElementsKind(glue, thisValue, ele, *toKey, Boolean(false), in Shift() 375 SetValueWithElementsKind(glue, thisValue, Hole(), index, Boolean(false), in Shift() 486 SetValueWithElementsKind(glue, newArray, ele, *j, Boolean(true), in Concat() 489 SetValueWithElementsKind(glue, newArray, ele, *j, Boolean(tru in Concat() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | instruction_combine_test.cpp | 848 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(true)); in HWTEST_F_L0() 857 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(false)); in HWTEST_F_L0() 869 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(false)); in HWTEST_F_L0() 893 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(true)); in HWTEST_F_L0() 902 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(false)); in HWTEST_F_L0() 913 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(false)); in HWTEST_F_L0() 937 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(true)); in HWTEST_F_L0() 947 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(false)); in HWTEST_F_L0() 958 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(false)); in HWTEST_F_L0() 969 EXPECT_EQ(instcombie.VisitGate(is_over), b.Boolean(fals in HWTEST_F_L0() [all...] |
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/ |
H A D | remote_object.h | 49 static RemoteObject Boolean(bool boolean) in Boolean() function in ark::tooling::inspector::RemoteObject
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | json_parser_test.cpp | 198 TEST(JsonParser, Boolean) in TEST()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | json_parser_test.cpp | 182 HWTEST(JsonParser, Boolean, testing::ext::TestSize.Level0) in HWTEST()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | runtime_call_id.h | 370 V(Boolean, BooleanPrototypeToString) \ 371 V(Boolean, BooleanPrototypeValueOf) \ 372 V(Boolean, Constructor) \ 373 V(Boolean, ThisBooleanValue) \
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 96 using Boolean = builtins::BuiltinsBoolean; 303 reinterpret_cast<uintptr_t>(Boolean::BooleanConstructor), 304 reinterpret_cast<uintptr_t>(Boolean::BooleanPrototypeToString), 305 reinterpret_cast<uintptr_t>(Boolean::BooleanPrototypeValueOf),
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/ |
H A D | inspector_server.cpp | 621 res.push_back(PropertyDescriptor("preview", RemoteObject::Boolean(need_preview))); in TEST_F()
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.h | 407 static const std::string Boolean; // NOLINT (readability-identifier-naming) member 414 type == Boolean || type == Symbol || type == Bigint || type == Wasm; in Valid()
|
H A D | pt_types.cpp | 31 const std::string ObjectType::Boolean = "boolean"; // NOLINT (readability-identifier-naming) member in panda::ecmascript::tooling::ObjectType 100 "Boolean"; 279 SetType(ObjectType::Boolean) in PrimitiveRemoteObject()
|