/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | cfg_primitive_types.h | 39 PrimitiveTypeProperty(PrimType type, bool isInteger, bool isUnsigned, bool isAddress, bool isFloat, bool isPointer, in PrimitiveTypeProperty() 42 isInteger(isInteger), in PrimitiveTypeProperty() 53 return isInteger; in IsInteger() 99 bool isInteger; member
|
/arkcompiler/ets_runtime/test/moduletest/arrayFindIndexCase/ |
H A D | findIndex.js | 33 print(Array.prototype.findIndex.call(arrayLike, (x) => !Number.isInteger(x)));
|
/arkcompiler/ets_runtime/test/moduletest/arrayfind/ |
H A D | arrayfind.js | 27 console.log(Array.prototype.find.call(arrayLike, (x) => !Number.isInteger(x)));
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | builtins_lowering.cpp | 519 Label isInteger(env); in LowerNumberConstructor() 520 BRANCH_CIR(builder_.IsIntegerString(param), &isInteger, ¬String); in LowerNumberConstructor() 521 builder_.Bind(&isInteger); in LowerNumberConstructor()
|
H A D | circuit_builder.cpp | 858 Label isInteger(env_); in GetObjectFromConstPool() 859 BRANCH_CIR2(TaggedIsInt(*result), &isInteger, &exit); in GetObjectFromConstPool() 860 Bind(&isInteger); in GetObjectFromConstPool()
|
H A D | mcr_circuit_builder.cpp | 1219 void CircuitBuilder::SetRawHashcode(GateRef glue, GateRef str, GateRef rawHashcode, GateRef isInteger) in SetRawHashcode() argument 1228 BRANCH_CIR2(isInteger, &integer, ¬Integer); in SetRawHashcode()
|
H A D | stub_builder-inl.h | 3598 inline void StubBuilder::SetRawHashcode(GateRef glue, GateRef str, GateRef rawHashcode, GateRef isInteger) in SetRawHashcode() argument 3600 env_->GetBuilder()->SetRawHashcode(glue, str, rawHashcode, isInteger); in SetRawHashcode()
|
H A D | circuit_builder.h | 768 void SetRawHashcode(GateRef glue, GateRef str, GateRef rawHashcode, GateRef isInteger);
|
H A D | stub_builder.h | 529 inline void SetRawHashcode(GateRef glue, GateRef str, GateRef rawHashcode, GateRef isInteger);
|
H A D | stub_builder.cpp | 2177 Label isInteger(env); in TryToGetInteger() 2183 BRANCH(IsIntegerString(string), &isInteger, failed); in TryToGetInteger() local 2184 Bind(&isInteger); in TryToGetInteger()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_string.h | 200 static inline uint32_t MixHashcode(uint32_t hashcode, bool isInteger) 202 return isInteger ? (hashcode | IS_INTEGER_MASK) : (hashcode & (~IS_INTEGER_MASK)); 205 inline void SetRawHashcode(uint32_t hashcode, bool isInteger = false) 208 SetMixHashcode(MixHashcode(hashcode, isInteger)); 321 uint32_t PUBLIC_API ComputeHashcode(uint32_t rawHashSeed, bool isInteger) const; 1334 uint32_t ComputeHashcode(uint32_t rawHashSeed, bool isInteger) in ComputeHashcode() argument 1336 return string_->ComputeHashcode(rawHashSeed, isInteger); in ComputeHashcode()
|
H A D | ecma_string.cpp | 881 auto [hash, isInteger] = ComputeRawHashcode(); in ComputeHashcode() 882 return MixHashcode(hash, isInteger); in ComputeHashcode() 915 uint32_t EcmaString::ComputeHashcode(uint32_t rawHashSeed, bool isInteger) const in ComputeHashcode() 920 return MixHashcode(rawHashSeed, isInteger); in ComputeHashcode() 925 if ((rawHashSeed == 0 || isInteger) && in ComputeHashcode()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | isel.cpp | 71 bool isInteger = IsPrimitiveInteger(type); in GetFastIselMop() local 75 return funcIt(isInteger, dTy, sTy); in GetFastIselMop()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
H A D | llvm_ir_constructor.cpp | 785 auto isInteger = CreateIsInteger(inst, input); in EmitIsSafeInteger() local 794 builder_.CreateCondBr(isInteger, isSafeIntegerBb, continueBb); in EmitIsSafeInteger()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 10378 } else if ("number" == typeof r) e = r; else if ("string" == typeof r && Number.isInteger(parseFloat(n))) continue; 10390 Number.isInteger(s) && e.push({ 10422 } else if ("number" == typeof r) e = r; else if ("string" == typeof r && Number.isInteger(parseFloat(n))) continue; 10444 Number.isInteger(s) && e.push({ 26793 "number" == typeof s ? Number.isInteger(s) ? am(this.setPropertyInt32Array, this, t, e, i) : am(this.setPropertyFloat32Array, this, t, e, i) : s instanceof Qi ? am(this.setPropertyVec2Array, this, t, e, i) : s instanceof Pi ? am(this.setPropertyVec3Array, this, t, e, i) : s instanceof is ? am(this.setPropertyVec4Array, this, t, e, i) : s instanceof Bi ? am(this.setPropertyColorArray, this, t, e, i) : s instanceof Fi ? am(this.setPropertyMat3Array, this, t, e, i) : s instanceof qi ? am(this.setPropertyMat4Array, this, t, e, i) : s instanceof Ui ? am(this.setPropertyQuatArray, this, t, e, i) : s instanceof tm ? am(this.setPropertyTextureBaseArray, this, t, e, i) : s instanceof Yr ? am(this.setPropertyGFXTextureArray, this, t, e, i) : m.error(`Material.setProperty Unknown type: ${e}`); 26794 } else "number" == typeof e ? Number.isInteger(e) ? am(this.setPropertyInt32, this, t, e, i) : am(this.setPropertyFloat32, this, t, e, i) : e instanceof Qi ? am(this.setPropertyVec2, this, t, e, i) : e instanceof Pi ? am(this.setPropertyVec3, this, t, e, i) : e instanceof is ? am(this.setPropertyVec4, this, t, e, i) : e instanceof Bi ? am(this.setPropertyColor, this, t, e, i) : e instanceof Fi ? am(this.setPropertyMat3, this, t, e, i) : e instanceof qi ? am(this.setPropertyMat4, this, t, e, i) : e instanceof Ui ? am(this.setPropertyQuat, this, t, e, i) : e instanceof tm ? am(this.setPropertyTextureBase, this, t, e, i) : e instanceof Yr ? am(this.setPropertyGFXTexture, this, t, e, i) : null === e ? i ? this.setPropertyNull(t, i) : this.setPropertyNull(t) : m.error(`Material.setProperty Unknown type: ${e}`); [all...] |