36 references to Zero
System.Private.CoreLib (36)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (2)
107if (!notEquals.Equals(TVector.Zero)) 134if (!notEquals.Equals(TVector.Zero))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
264static virtual TSelf CreateScalar(T value) => TSelf.WithElement(TSelf.Zero, 0, value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (31)
114Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 120Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 138TVectorDouble result = TVectorDouble.Zero; 288Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 294Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 302TVectorSingle result = TVectorSingle.Zero; 429TVectorDouble result = TVectorDouble.Zero; 574TVectorDouble expResult = TVectorDouble.Zero; 978if (specialMask != TVectorUInt64.Zero) 1158if (specialMask != TVectorUInt32.Zero) 1296if (specialMask != TVectorUInt64.Zero) 1472if (specialMask != TVectorUInt32.Zero) 1750TVectorDouble result = TVectorDouble.Zero; 1933Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 1939Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 1947Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 1953Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 1979TVectorDouble sinResult = TVectorDouble.Zero; 1980TVectorDouble cosResult = TVectorDouble.Zero; 2110Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2116Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2124Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2130Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 2140TVectorSingle sinResult = TVectorSingle.Zero; 2141TVectorSingle cosResult = TVectorSingle.Zero; 2244Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2252Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2270TVectorDouble result = TVectorDouble.Zero; 2416Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2424Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2432TVectorSingle result = TVectorSingle.Zero;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
2245return !(vector & TVectorByte.Create((byte)0x80)).Equals(TVectorByte.Zero);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf16Utility.cs (1)
292return (vec & TVector.Create(unchecked((ushort)~0x007F))) == TVector.Zero;