Home
last modified time | relevance | path

Searched refs:isInteger (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dcfg_primitive_types.h39 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 DfindIndex.js33 print(Array.prototype.findIndex.call(arrayLike, (x) => !Number.isInteger(x)));
/arkcompiler/ets_runtime/test/moduletest/arrayfind/
H A Darrayfind.js27 console.log(Array.prototype.find.call(arrayLike, (x) => !Number.isInteger(x)));
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dbuiltins_lowering.cpp519 Label isInteger(env); in LowerNumberConstructor()
520 BRANCH_CIR(builder_.IsIntegerString(param), &isInteger, &notString); in LowerNumberConstructor()
521 builder_.Bind(&isInteger); in LowerNumberConstructor()
H A Dcircuit_builder.cpp858 Label isInteger(env_); in GetObjectFromConstPool()
859 BRANCH_CIR2(TaggedIsInt(*result), &isInteger, &exit); in GetObjectFromConstPool()
860 Bind(&isInteger); in GetObjectFromConstPool()
H A Dmcr_circuit_builder.cpp1219 void CircuitBuilder::SetRawHashcode(GateRef glue, GateRef str, GateRef rawHashcode, GateRef isInteger) in SetRawHashcode() argument
1228 BRANCH_CIR2(isInteger, &integer, &notInteger); in SetRawHashcode()
H A Dstub_builder-inl.h3598 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 Dcircuit_builder.h768 void SetRawHashcode(GateRef glue, GateRef str, GateRef rawHashcode, GateRef isInteger);
H A Dstub_builder.h529 inline void SetRawHashcode(GateRef glue, GateRef str, GateRef rawHashcode, GateRef isInteger);
H A Dstub_builder.cpp2177 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 Decma_string.h200 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 Decma_string.cpp881 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 Disel.cpp71 bool isInteger = IsPrimitiveInteger(type); in GetFastIselMop() local
75 return funcIt(isInteger, dTy, sTy); in GetFastIselMop()
/arkcompiler/runtime_core/static_core/libllvmbackend/lowering/
H A Dllvm_ir_constructor.cpp785 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 Dcocos_worker_test.js10378 } 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...]

Completed in 88 milliseconds