Home
last modified time | relevance | path

Searched refs:intValues (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/tests/sksl/intrinsics/
DMinInt.glsl7 ivec4 intValues = ivec4(testInputs * 100.0);
11intValues.x, 50) == expectedA.x && min(intValues.xy, 50) == expectedA.xy) && min(intValues.xyz, 50…
DMaxInt.glsl7 ivec4 intValues = ivec4(testInputs * 100.0);
11intValues.x, 50) == expectedA.x && max(intValues.xy, 50) == expectedA.xy) && max(intValues.xyz, 50…
DClampInt.glsl7 ivec4 intValues = ivec4(testInputs * 100.0);
12intValues.x, -100, 100) == expectedA.x && clamp(intValues.xy, -100, 100) == expectedA.xy) && clamp…
DClampInt.metal17 int4 intValues = int4(_uniforms.testInputs * 100.0h);
22intValues.x, -100, 100) == expectedA.x && all(clamp(intValues.xy, -100, 100) == expectedA.xy)) && …
DMaxInt.metal17 int4 intValues = int4(_uniforms.testInputs * 100.0h);
21intValues.x, 50) == expectedA.x && all(max(intValues.xy, 50) == expectedA.xy)) && all(max(intValue…
DMinInt.metal17 int4 intValues = int4(_uniforms.testInputs * 100.0h);
21intValues.x, 50) == expectedA.x && all(min(intValues.xy, 50) == expectedA.xy)) && all(min(intValue…
DMaxInt.asm.frag14 OpName %intValues "intValues"
99 %intValues = OpVariable %_ptr_Function_v4int Function
116 OpStore %intValues %44
132 %69 = OpLoad %v4int %intValues
141 %77 = OpLoad %v4int %intValues
155 %90 = OpLoad %v4int %intValues
169 %103 = OpLoad %v4int %intValues
219 %141 = OpLoad %v4int %intValues
233 %152 = OpLoad %v4int %intValues
248 %164 = OpLoad %v4int %intValues
[all …]
DMinInt.asm.frag14 OpName %intValues "intValues"
97 %intValues = OpVariable %_ptr_Function_v4int Function
114 OpStore %intValues %44
130 %68 = OpLoad %v4int %intValues
139 %76 = OpLoad %v4int %intValues
153 %89 = OpLoad %v4int %intValues
167 %102 = OpLoad %v4int %intValues
217 %140 = OpLoad %v4int %intValues
231 %151 = OpLoad %v4int %intValues
246 %163 = OpLoad %v4int %intValues
[all …]
DClampInt.asm.frag14 OpName %intValues "intValues"
103 %intValues = OpVariable %_ptr_Function_v4int Function
121 OpStore %intValues %44
126 %63 = OpLoad %v4int %intValues
135 %71 = OpLoad %v4int %intValues
150 %85 = OpLoad %v4int %intValues
165 %99 = OpLoad %v4int %intValues
216 %138 = OpLoad %v4int %intValues
228 %147 = OpLoad %v4int %intValues
241 %159 = OpLoad %v4int %intValues
[all …]
/third_party/skia/resources/sksl/intrinsics/
DMinInt.sksl5 int4 intValues = int4(testInputs * 100);
12 return (min(intValues.x, 50) == expectedA.x &&
13 min(intValues.xy, 50) == expectedA.xy &&
14 min(intValues.xyz, 50) == expectedA.xyz &&
15 min(intValues.xyzw, 50) == expectedA.xyzw &&
20 min(intValues.x, intGreen.x) == expectedB.x &&
21 min(intValues.xy, intGreen.xy) == expectedB.xy &&
22 min(intValues.xyz, intGreen.xyz) == expectedB.xyz &&
23 min(intValues.xyzw, intGreen.xyzw) == expectedB.xyzw &&
DMaxInt.sksl5 int4 intValues = int4(testInputs * 100);
12 return (max(intValues.x, 50) == expectedA.x &&
13 max(intValues.xy, 50) == expectedA.xy &&
14 max(intValues.xyz, 50) == expectedA.xyz &&
15 max(intValues.xyzw, 50) == expectedA.xyzw &&
20 max(intValues.x, intGreen.x) == expectedB.x &&
21 max(intValues.xy, intGreen.xy) == expectedB.xy &&
22 max(intValues.xyz, intGreen.xyz) == expectedB.xyz &&
23 max(intValues.xyzw, intGreen.xyzw) == expectedB.xyzw &&
DClampInt.sksl5 int4 intValues = int4(testInputs * 100);
14 return (clamp(intValues.x, -100, 100) == expectedA.x &&
15 clamp(intValues.xy, -100, 100) == expectedA.xy &&
16 clamp(intValues.xyz, -100, 100) == expectedA.xyz &&
17 clamp(intValues.xyzw, -100, 100) == expectedA.xyzw &&
22 clamp(intValues.x, clampLow.x, clampHigh.x ) == expectedB.x &&
23 clamp(intValues.xy, clampLow.xy, clampHigh.xy ) == expectedB.xy &&
24 clamp(intValues.xyz, clampLow.xyz, clampHigh.xyz ) == expectedB.xyz &&
25 clamp(intValues.xyzw, clampLow.xyzw, clampHigh.xyzw) == expectedB.xyzw &&
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DComplexUnitsConverter.java179 List<BigInteger> intValues = new ArrayList<>(unitsConverters_.size() - 1); in convert() local
191 intValues.add(flooredQuantity); in convert()
204 quantity = applyRounder(intValues, quantity, rounder); in convert()
216 … Measure measure = new Measure(intValues.get(i).multiply(sign), units_.get(i).unitImpl.build()); in convert()
235 …private BigDecimal applyRounder(List<BigInteger> intValues, BigDecimal quantity, Precision rounder… in applyRounder() argument
244 if (intValues.size() == 0) { in applyRounder()
257 intValues.set(lastIndex - 1, intValues.get(lastIndex - 1).add(carry.toBigInteger())); in applyRounder()
262 .convertInverse(BigDecimal.valueOf(intValues.get(j).longValue())) in applyRounder()
268intValues.set(j, intValues.get(j).subtract(unitsConverters_.get(j).convert(carry).toBigInteger())); in applyRounder()
269 intValues.set(j - 1, intValues.get(j - 1).add(carry.toBigInteger())); in applyRounder()
/third_party/node/deps/icu-small/source/i18n/
Dunits_complexconverter.cpp156 MaybeStackArray<int64_t, 5> intValues(unitsConverters_.length() - 1, status); in convert() local
160 uprv_memset(intValues.getAlias(), 0, (unitsConverters_.length() - 1) * sizeof(int64_t)); in convert()
174 intValues[i] = flooredQuantity; in convert()
189 applyRounder(intValues, quantity, rounder, status); in convert()
201 Formattable formattableQuantity(intValues[i] * sign); in convert()
224 void ComplexUnitsConverter::applyRounder(MaybeStackArray<int64_t, 5> &intValues, double &quantity, in applyRounder() argument
252 intValues[lastIndex - 1] += carry; in applyRounder()
256 …<int64_t>(floor(unitsConverters_[j]->convertInverse(static_cast<double>(intValues[j])) * (1 + DBL_… in applyRounder()
260intValues[j] -= static_cast<int64_t>(round(unitsConverters_[j]->convert(static_cast<double>(carry)… in applyRounder()
261 intValues[j - 1] += carry; in applyRounder()
Dunits_complexconverter.h125 void applyRounder(MaybeStackArray<int64_t, 5> &intValues, double &quantity,
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_complexconverter.cpp156 MaybeStackArray<int64_t, 5> intValues(unitsConverters_.length() - 1, status); in convert() local
160 uprv_memset(intValues.getAlias(), 0, (unitsConverters_.length() - 1) * sizeof(int64_t)); in convert()
174 intValues[i] = flooredQuantity; in convert()
189 applyRounder(intValues, quantity, rounder, status); in convert()
201 Formattable formattableQuantity(intValues[i] * sign); in convert()
224 void ComplexUnitsConverter::applyRounder(MaybeStackArray<int64_t, 5> &intValues, double &quantity, in applyRounder() argument
252 intValues[lastIndex - 1] += carry; in applyRounder()
256 carry = floor(unitsConverters_[j]->convertInverse(intValues[j]) * (1 + DBL_EPSILON)); in applyRounder()
260 intValues[j] -= round(unitsConverters_[j]->convert(carry)); in applyRounder()
261 intValues[j - 1] += carry; in applyRounder()
Dunits_complexconverter.h125 void applyRounder(MaybeStackArray<int64_t, 5> &intValues, double &quantity,
/third_party/icu/icu4c/source/i18n/
Dunits_complexconverter.cpp156 MaybeStackArray<int64_t, 5> intValues(unitsConverters_.length() - 1, status); in convert() local
160 uprv_memset(intValues.getAlias(), 0, (unitsConverters_.length() - 1) * sizeof(int64_t)); in convert()
174 intValues[i] = flooredQuantity; in convert()
189 applyRounder(intValues, quantity, rounder, status); in convert()
201 Formattable formattableQuantity(intValues[i] * sign); in convert()
224 void ComplexUnitsConverter::applyRounder(MaybeStackArray<int64_t, 5> &intValues, double &quantity, in applyRounder() argument
252 intValues[lastIndex - 1] += carry; in applyRounder()
256 carry = floor(unitsConverters_[j]->convertInverse(intValues[j]) * (1 + DBL_EPSILON)); in applyRounder()
260 intValues[j] -= round(unitsConverters_[j]->convert(carry)); in applyRounder()
261 intValues[j - 1] += carry; in applyRounder()
Dunits_complexconverter.h125 void applyRounder(MaybeStackArray<int64_t, 5> &intValues, double &quantity,
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DVertexAttribute.inc30 inline void VertexAttribCurrentValueData::setIntValues(const GLint intValues[4])
34 Values.IntValues[valueIndex] = intValues[valueIndex];
DVertexAttribute.h128 void setIntValues(const GLint intValues[4]);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVertexAttribute.inc30 inline void VertexAttribCurrentValueData::setIntValues(const GLint intValues[4])
34 Values.IntValues[valueIndex] = intValues[valueIndex];
DVertexAttribute.h128 void setIntValues(const GLint intValues[4]);
/third_party/skia/src/sksl/ir/
DSkSLSwitchStatement.cpp53 SkTHashSet<SKSL_INT> intValues; in find_duplicate_case_values() local
74 if (intValues.contains(intValue)) { in find_duplicate_case_values()
78 intValues.add(intValue); in find_duplicate_case_values()