Home
last modified time | relevance | path

Searched refs:sampleValue (Results 1 – 8 of 8) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DFieldCodecTest.cs113 private readonly T sampleValue; field in Google.Protobuf.FieldCodecTest.FieldCodecTestData
116 public FieldCodecTestData(FieldCodec<T> codec, T sampleValue, string name) in FieldCodecTestData() argument
119 this.sampleValue = sampleValue; in FieldCodecTestData()
131 codec.ValueWriter(ref ctx, sampleValue); in TestRoundTripRaw()
141 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripRaw()
149 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag()
154 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripWithTag()
162 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag()
164 Assert.AreEqual(stream.Position, codec.CalculateSizeWithTag(sampleValue)); in TestCalculateSizeWithTag()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DFieldCodecTest.cs113 private readonly T sampleValue; field in Google.Protobuf.FieldCodecTest.FieldCodecTestData
116 public FieldCodecTestData(FieldCodec<T> codec, T sampleValue, string name) in FieldCodecTestData() argument
119 this.sampleValue = sampleValue; in FieldCodecTestData()
131 codec.ValueWriter(ref ctx, sampleValue); in TestRoundTripRaw()
140 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripRaw()
148 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag()
153 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripWithTag()
161 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag()
163 Assert.AreEqual(stream.Position, codec.CalculateSizeWithTag(sampleValue)); in TestCalculateSizeWithTag()
/third_party/skia/third_party/externals/icu/source/i18n/
Dplurrule.cpp417 double sampleValue = fixed.source; in getSamplesFromString() local
418 if (fixed.visibleDecimalDigitCount == 0 || sampleValue != floor(sampleValue)) { in getSamplesFromString()
419 destDbl[sampleCount++] = sampleValue; in getSamplesFromString()
448 double sampleValue = n/scale; in getSamplesFromString() local
455 … if (!(sampleValue == floor(sampleValue) && fixedLo.visibleDecimalDigitCount > 0)) { in getSamplesFromString()
456 destDbl[sampleCount++] = sampleValue; in getSamplesFromString()
461 FixedDecimal newSample = FixedDecimal::createWithExponent(sampleValue, v, e); in getSamplesFromString()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DOverlayDraw.comp251 const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLayer);
254 color = mix(color, textWidgetsData[textWidget].color, sampleValue);
/third_party/skia/third_party/externals/oboe/docs/
DGettingStarted.md277 float sampleValue = kAmplitude * sinf(mPhase);
279 floatData[i * kChannelCount + j] = sampleValue;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/gen/
DOverlayDraw.comp.00000001.inc384 // const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLay…
387 // color = mix(color, textWidgetsData[textWidget]. color, sampleValue);
DOverlayDraw.comp.00000000.inc384 // const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLay…
387 // color = mix(color, textWidgetsData[textWidget]. color, sampleValue);
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderImage.cpp440 auto sampleValue = Operand(this, state, instruction.sampleId); in callSamplerFunction() local
441 in[i] = As<SIMD::Float>(sampleValue.Int(0)); in callSamplerFunction()