Home
last modified time | relevance | path

Searched refs:isZero (Results 1 - 25 of 209) sorted by relevance

123456789

/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DShaderCompileTreeTest.cpp77 bool isZero = false; variable
81 isZero = (node->getFConst(i) == 0.0f);
84 isZero = (node->getIConst(i) == 0);
87 isZero = (node->getUConst(i) == 0u);
90 isZero = (node->getBConst(i) == false);
96 if (!isZero)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp27 return CF->isZero() && CF->isNegative(); in isIdempotentRMW()
29 return CF->isZero() && !CF->isNegative(); in isIdempotentRMW()
43 return C->isZero(); in isIdempotentRMW()
83 return C->isZero(); in isSaturating()
/third_party/skia/src/gpu/tessellate/
H A DStrokeIterator.h292 if (!lastTangent.isZero()) { in fillSquareCapPoints()
299 if (!lastTangent.isZero()) { in fillSquareCapPoints()
305 SkASSERT(!lastTangent.isZero()); in fillSquareCapPoints()
322 if (firstTangent.isZero()) { in fillSquareCapPoints()
326 if (firstTangent.isZero()) { in fillSquareCapPoints()
329 SkASSERT(!firstTangent.isZero()); in fillSquareCapPoints()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DBasicPeriodFormatter.java119 boolean isZero = true; in format()
122 isZero = false; in format()
131 if (!customs.displayLimit || isZero) { in format()
138 if (!customs.displayDirection || isZero) { in format()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/
H A DBasicPeriodFormatter.java120 boolean isZero = true; in format()
123 isZero = false; in format()
132 if (!customs.displayLimit || isZero) { in format()
139 if (!customs.displayDirection || isZero) { in format()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DAPFloat.h350 bool isZero() const { return category == fcZero; } in isZero() function in llvm::detail::final
373 bool isFiniteNonZero() const { return isFinite() && !isZero(); } in isFiniteNonZero()
374 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero()
375 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
1163 bool isZero() const { return getCategory() == fcZero; } in isZero() function in llvm::APFloat
1176 bool isNonZero() const { return !isZero(); } in isNonZero()
1177 bool isFiniteNonZero() const { return isFinite() && !isZero(); } in isFiniteNonZero()
1178 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero()
1179 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
1274 if (A.isZero() in minimum()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DAPFloat.h367 bool isZero() const { return category == fcZero; } in isZero() function in llvm::detail::final
390 bool isFiniteNonZero() const { return isFinite() && !isZero(); } in isFiniteNonZero()
391 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero()
392 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
1031 bool isZero() const { return getCategory() == fcZero; } in isZero() function in llvm::APFloat
1044 bool isNonZero() const { return !isZero(); } in isNonZero()
1045 bool isFiniteNonZero() const { return isFinite() && !isZero(); } in isFiniteNonZero()
1046 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero()
1047 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
H A DDecimalQuantity_ByteArrayBCD.java190 boolean isZero = true; in compact()
193 isZero = false; in compact()
197 if (isZero) { in compact()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
H A DDecimalQuantity_ByteArrayBCD.java193 boolean isZero = true; in compact()
196 isZero = false; in compact()
200 if (isZero) { in compact()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DScaledNumber.h542 bool isZero() const { return !Digits; } in isZero() function in llvm::ScaledNumber
574 bool operator!() const { return isZero(); } in operator !()
639 /// by value. Does nothing if \a isZero() for either.
642 /// \a isZero().
802 if (isZero()) in operator *=()
804 if (X.isZero()) in operator *=()
819 if (isZero()) in operator /=()
821 if (X.isZero()) in operator /=()
834 if (!Shift || isZero()) in shiftLeft()
864 if (!Shift || isZero()) in shiftRight()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp30 if (LocA.Size.isZero() || LocB.Size.isZero()) in alias()
H A DLint.cpp550 static bool isZero(Value *V, const DataLayout &DL, DominatorTree *DT, in isZero() function
559 return Known.isZero(); in isZero()
578 if (Known.isZero()) in isZero()
586 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitSDiv()
591 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitUDiv()
596 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitSRem()
601 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitURem()
/third_party/skia/include/core/
H A DSkSize.h25 bool isZero() const { return 0 == fWidth && 0 == fHeight; } in isZero() function
65 bool isZero() const { return 0 == fWidth && 0 == fHeight; } in isZero() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DConstantFold.cpp1128 if (CI2->isZero()) return C1; // X + 0 == X in ConstantFoldBinaryInstruction()
1131 if (CI2->isZero()) return C1; // X - 0 == X in ConstantFoldBinaryInstruction()
1134 if (CI2->isZero()) return C2; // X * 0 == 0 in ConstantFoldBinaryInstruction()
1142 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
1149 if (CI2->isZero()) in ConstantFoldBinaryInstruction()
1153 if (CI2->isZero()) return C2; // X & 0 == 0 in ConstantFoldBinaryInstruction()
1210 if (CI2->isZero()) return C1; // X | 0 == X in ConstantFoldBinaryInstruction()
1215 if (CI2->isZero()) return C1; // X ^ 0 == X in ConstantFoldBinaryInstruction()
1258 assert(!CI2->isZero() && "Div by zero handled above"); in ConstantFoldBinaryInstruction()
1261 assert(!CI2->isZero() in ConstantFoldBinaryInstruction()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp136 if (Const->isZero()) { in convertFCmp()
247 if (Pred == CmpInst::ICMP_SLT && Const->isZero()) { in convertICmp()
264 if (!Const->isZero()) in convertICmp()
/third_party/skia/docs/examples/
H A DIPoint_isZero.cpp8 SkDebugf("pt.isZero() == %s\n", pt.isZero() ? "true" : "false"); in REG_FIDDLE()
H A DPoint_isZero.cpp10 SkDebugf("pt.isZero() == %s\n", pt.isZero() ? "true" : "false"); in REG_FIDDLE()
/third_party/typescript/tests/baselines/reference/
H A DnarrowingUnionToUnion.js82 declare function isZero(value: number): value is 0;
112 if (isZero(value)) {
289 if (isZero(value)) {
409 declare function isZero(value: number): value is 0;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmGraphicsShaderTestUtil.cpp2568 if (originalFloat.isZero()) in compare16BitFloat()
2570 if (returnedFloat.isZero()) in compare16BitFloat()
2578 if (originalFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
2610 if (expectedFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
2627 if (originalFloat.isZero()) in compare16BitFloat()
2629 if (returnedFloat.isZero()) in compare16BitFloat()
2638 if (originalFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
2675 if (originalFloat.isZero()) in compare16BitFloat()
2677 if (returnedFloat.isZero()) in compare16BitFloat()
2685 if (originalFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmGraphicsShaderTestUtil.cpp2565 if (originalFloat.isZero()) in compare16BitFloat()
2567 if (returnedFloat.isZero()) in compare16BitFloat()
2575 if (originalFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
2607 if (expectedFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
2624 if (originalFloat.isZero()) in compare16BitFloat()
2626 if (returnedFloat.isZero()) in compare16BitFloat()
2635 if (originalFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
2672 if (originalFloat.isZero()) in compare16BitFloat()
2674 if (returnedFloat.isZero()) in compare16BitFloat()
2682 if (originalFloat.isDenorm() && returnedFloat.isZero()) in compare16BitFloat()
[all...]
/third_party/skia/modules/skparagraph/src/
H A DTextShadow.cpp23 if (!fOffset.isZero()) return true; in hasShadow()
/third_party/decimal.js/
H A Ddecimal.js160 * isZero
339 if (!x.isFinite() || x.isZero()) return new Ctor(x);
557 if (x.isZero()) return one;
628 if (!x.isFinite() || x.isZero()) return new Ctor(x);
695 if (x.isZero()) return new Ctor(x);
741 if (x.isZero()) return getPi(Ctor, pr + 4, rm).times(0.5);
822 if (!x.isFinite() || x.isZero()) return new Ctor(x);
865 if (x.e >= 0) return new Ctor(x.abs().eq(1) ? x.s / 0 : x.isZero() ? x : NaN);
916 if (x.isZero()) return new Ctor(x);
981 } else if (x.isZero()) {
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp186 assert(Count.isZero()); in write()
200 assert(Count.isZero()); in write()
/third_party/icu/icu4c/source/i18n/
H A Dnumber_decnum.h57 bool isZero() const;
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_decnum.h57 bool isZero() const;

Completed in 27 milliseconds

123456789