| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | boxing.sts | 29 assert global_Int_.intValue() == 2_000_000; 30 assert (global_Object_Int_ as Int).intValue() == 2_000_001; 31 assert const_global_Int_.intValue() == 2_000_002; 32 assert (const_global_Object_Int_ as Int).intValue() == 2_000_003; 34 assert A.Int_.intValue() == 2_000_004; 35 assert (A.Object_Int_ as Int).intValue() == 2_000_005; 36 assert A.readonly_Int_.intValue() == 2_000_006; 37 assert (A.readonly_Object_Int_ as Int).intValue() == 2_000_007;
|
| D | UpdateExpression.sts | 58 assert a.intValue() == 41; 60 assert b.intValue() == 40; 62 assert (a++).intValue() == 41; 64 assert a.intValue() == 42; 66 assert b.intValue() == 40; 74 assert a.intValue() == 51; 76 assert b.intValue() == 50;
|
| D | RecordKeyTypeCheck.sts | 28 this.value = value.intValue(); 39 public override intValue(): int {
|
| D | UnaryExpression.sts | 67 assert a.intValue() == -40;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Int.sts | 46 this.value = value.intValue(); 113 public override intValue(): int { 205 return Int.valueOf((this.value + other.intValue()) as int) 216 return Int.valueOf((this.value - other.intValue()) as int) 227 return Int.valueOf((this.value * other.intValue()) as int) 238 return Int.valueOf((this.value / other.intValue()) as int) 249 return this.value < other.intValue(); 260 return this.value <= other.intValue(); 271 return this.value > other.intValue(); 282 return this.value >= other.intValue();
|
| D | Value.sts | 156 return new IntValue(IntType.VAL, v) 190 return new IntValue(IntType.REF, v) 226 return new IntValue(IntType.REF, o as Int) 358 return new IntValue(ft as IntType, ValueAPIGetFieldInt(this.data, i)) 386 return new IntValue(ft as IntType, ValueAPIGetFieldByNameInt(this.data, name)) 428 } else if (ft instanceof IntType && val instanceof IntValue) { 429 ValueAPISetFieldByNameInt(this.data, name, (val as IntValue).getValueData()) 484 } else if (ft instanceof IntType && val instanceof IntValue) { 485 ValueAPISetFieldInt(this.data, i, (val as IntValue).getValueData()) 583 return new IntValue(et as IntType, ValueAPIGetElementInt(this.data, i)) [all …]
|
| D | Numeric.sts | 35 public abstract intValue(): int;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/obj_call/ |
| D | obj_call.sts | 20 intValue: int; 22 this.intValue = value; 38 if (obj.intValue != 5) {
|
| D | obj_call.js | 17 obj.intValue = 5;
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluereffoundationvalue_fuzzer/ |
| D | jsvaluereffoundationvalue_fuzzer.cpp | 45 Local<IntegerRef> intValue = IntegerRef::New(vm, key); in JSValueRefIsNumberValueFuzzTest() local 57 intValue->IsNumber(); in JSValueRefIsNumberValueFuzzTest() 175 Local<IntegerRef> intValue = IntegerRef::New(vm, key); in JSValueRefIsDateValueFuzzTest() local 194 intValue->IsDate(vm); in JSValueRefIsDateValueFuzzTest() 218 Local<IntegerRef> intValue = IntegerRef::New(vm, key); in JSValueRefIsErrorValueFuzzTest() local 227 intValue->IsError(vm); in JSValueRefIsErrorValueFuzzTest() 251 Local<IntegerRef> intValue = IntegerRef::New(vm, key); in JSValueRefToStringValueFuzzTest() local 264 intValue->ToString(vm); in JSValueRefToStringValueFuzzTest()
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/js/ |
| D | BasicDataTypesTest.js | 19 const intValue = 123456789; constant 35 console.log('Int value: ' + intValue);
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/ts/ |
| D | BasicDataTypesTest.ts | 19 const intValue: number = 123456789; constant 35 console.log('Int value: ' + intValue);
|
| /arkcompiler/ets_runtime/test/fuzztest/jsnapiisconstructor_fuzzer/ |
| D | jsnapiisconstructor_fuzzer.cpp | 34 Local<IntegerRef> intValue = IntegerRef::New(vm_, (int)size); in JSNApiIsConstructorFuzzTest() local 35 intValue->IsConstructor(vm_); in JSNApiIsConstructorFuzzTest()
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/test_cases/java_test_framework/java_cases/ |
| D | BasicDataTypesTest.java | 26 int intValue = 123456789; in main() local 42 System.out.println("Int value: " + intValue); in main()
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefnullvalue_fuzzer/ |
| D | jsvaluerefnullvalue_fuzzer.cpp | 34 Local<PrimitiveRef> intValue = IntegerRef::New(vm, 0); in JSValueRefNullValueFuzzTest() local 35 intValue->Null(vm); in JSValueRefNullValueFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | mir_const.h | 404 return value.intValue; in GetIntValue() 426 return ((static_cast<uint32>(value.intValue) & 0x80000000) == 0x80000000); in IsNeg() 453 int32 intValue; member 469 auto unsignVal = static_cast<uint64>(value.intValue); in GetIntLow32() 475 auto unsignVal = static_cast<uint64>(value.intValue); in GetIntHigh32() 481 return value.intValue; in GetIntValue() 508 … return ((static_cast<uint64>(value.intValue) & 0x8000000000000000LL) == 0x8000000000000000LL); in IsNeg() 535 int64 intValue; member
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | elements.cpp | 241 int intValue = value.GetInt(); in MigrateFromHeapValueToRawValue() local 242 convertedValue = base::bit_cast<JSTaggedType>(static_cast<double>(intValue)); in MigrateFromHeapValueToRawValue() 260 int intValue = static_cast<int>(elements->Get(i).GetRawData()); in MigrateFromHoleIntToHoleNumber() local 261 double convertedValue = static_cast<double>(intValue); in MigrateFromHoleIntToHoleNumber() 275 double intValue = base::bit_cast<double>(elements->Get(i).GetRawData()); in MigrateFromHoleNumberToHoleInt() local 276 int64_t convertedValue = static_cast<int64_t>(intValue); in MigrateFromHoleNumberToHoleInt()
|
| D | element_accessor-inl.h | 75 int intValue = rawValue.GetInt(); in FastSet() local 77 … base::bit_cast<JSTaggedType>(static_cast<double>(intValue))); in FastSet()
|
| D | element_accessor.cpp | 140 int intValue = rawValue.GetInt(); in ConvertTaggedValueWithElementsKind() local 141 convertedValue = base::bit_cast<JSTaggedType>(static_cast<double>(intValue)); in ConvertTaggedValueWithElementsKind()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_math.cpp | 224 auto intValue = ToUint32(val); in StdMathClz32Double() local 225 if (intValue != 0) { in StdMathClz32Double() 226 return static_cast<double>(Clz(intValue)); in StdMathClz32Double()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
| D | mir_const.cpp | 159 return (floatConst.value.intValue == value.intValue); in operator ==() 181 return (floatConst.value.intValue == value.intValue); in operator ==()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/17.Experimental_Features/Iterable_Types/ |
| D | for-of-s01-array-08.sts | 35 if (tmp.intValue != expectedArray[index]) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/es_object/to_string/ |
| D | test_to_string_method.js | 40 exports.IntValue = function () { class in exports
|
| /arkcompiler/ets_runtime/test/fuzztest/jsvaluerefobject_fuzzer/ |
| D | jsvaluerefobject_fuzzer.cpp | 53 Local<IntegerRef> intValue = IntegerRef::New(vm, input); in JSValueRefIsBigIntFuzzTest() local 54 [[maybe_unused]]bool res = intValue->IsBigInt(vm); in JSValueRefIsBigIntFuzzTest()
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | ffi_workload.cpp | 1429 Local<IntegerRef> intValue = IntegerRef::New(vm_, num); in HWTEST_F_L0() local 1430 EXPECT_EQ(intValue->Value(), num); in HWTEST_F_L0() 1431 Local<JSValueRef> jsValue = intValue->GetValue(vm_); in HWTEST_F_L0() 1453 Local<IntegerRef> intValue = IntegerRef::New(vm_, num); in HWTEST_F_L0() local 1454 EXPECT_EQ(intValue->Value(), num); in HWTEST_F_L0() 1455 Local<JSValueRef> jsValue = intValue->GetValue(vm_); in HWTEST_F_L0() 1475 Local<IntegerRef> intValue = IntegerRef::New(vm_, 0); in HWTEST_F_L0() local 1476 EXPECT_EQ(intValue->Value(), 0); in HWTEST_F_L0() 1477 Local<JSValueRef> jsValue = intValue->GetValue(vm_); in HWTEST_F_L0() 1499 Local<IntegerRef> intValue = IntegerRef::New(vm_, 0); in HWTEST_F_L0() local [all …]
|