Home
last modified time | relevance | path

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

/external/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()
127 codec.ValueWriter(codedOutput, sampleValue); in TestRoundTripRaw()
131 Assert.AreEqual(sampleValue, codec.ValueReader(codedInput)); in TestRoundTripRaw()
139 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag()
144 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripWithTag()
152 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag()
154 Assert.AreEqual(stream.Position, codec.CalculateSizeWithTag(sampleValue)); in TestCalculateSizeWithTag()
/external/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()
127 codec.ValueWriter(codedOutput, sampleValue); in TestRoundTripRaw()
131 Assert.AreEqual(sampleValue, codec.ValueReader(codedInput)); in TestRoundTripRaw()
139 codec.WriteTagAndValue(codedOutput, sampleValue); in TestRoundTripWithTag()
144 Assert.AreEqual(sampleValue, codec.Read(codedInput)); in TestRoundTripWithTag()
152 codec.WriteTagAndValue(codedOutput, sampleValue); in TestCalculateSizeWithTag()
154 Assert.AreEqual(stream.Position, codec.CalculateSizeWithTag(sampleValue)); in TestCalculateSizeWithTag()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DUnmodifiableCollectionTests.java267 Multimap<K, V> multimap, final K sampleKey, final V sampleValue) { in assertMultimapIsUnmodifiable() argument
273 Collection<V> sampleValueAsCollection = Collections.singleton(sampleValue); in assertMultimapIsUnmodifiable()
294 assertCollectionIsUnmodifiable(values, sampleValue); in assertMultimapIsUnmodifiable()
298 assertCollectionIsUnmodifiable(multimap.entries(), Maps.immutableEntry(sampleKey, sampleValue)); in assertMultimapIsUnmodifiable()
318 assertCollectionIsUnmodifiable(multimap.get(key), sampleValue); in assertMultimapIsUnmodifiable() local
324 multimap.put(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
340 multimap2.put(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
350 multimap.remove(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
383 multimap.asMap().get(presentKey).remove(sampleValue); in assertMultimapIsUnmodifiable()
390 multimap.asMap().values().iterator().next().remove(sampleValue); in assertMultimapIsUnmodifiable()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/
DUnmodifiableCollectionTests.java267 Multimap<K, V> multimap, final K sampleKey, final V sampleValue) { in assertMultimapIsUnmodifiable() argument
273 Collection<V> sampleValueAsCollection = Collections.singleton(sampleValue); in assertMultimapIsUnmodifiable()
294 assertCollectionIsUnmodifiable(values, sampleValue); in assertMultimapIsUnmodifiable()
298 assertCollectionIsUnmodifiable(multimap.entries(), Maps.immutableEntry(sampleKey, sampleValue)); in assertMultimapIsUnmodifiable()
318 assertCollectionIsUnmodifiable(multimap.get(key), sampleValue); in assertMultimapIsUnmodifiable() local
324 multimap.put(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
340 multimap2.put(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
350 multimap.remove(sampleKey, sampleValue); in assertMultimapIsUnmodifiable()
383 multimap.asMap().get(presentKey).remove(sampleValue); in assertMultimapIsUnmodifiable()
390 multimap.asMap().values().iterator().next().remove(sampleValue); in assertMultimapIsUnmodifiable()
[all …]
/external/icu/icu4c/source/i18n/
Dplurrule.cpp349 double sampleValue = fixed.source; in getSamplesFromString() local
350 if (fixed.visibleDecimalDigitCount == 0 || sampleValue != floor(sampleValue)) { in getSamplesFromString()
351 dest[sampleCount++] = sampleValue; in getSamplesFromString()
383 double sampleValue = n/scale; in getSamplesFromString() local
384 if (!(sampleValue == floor(sampleValue) && fixedLo.visibleDecimalDigitCount > 0)) { in getSamplesFromString()
385 dest[sampleCount++] = sampleValue; in getSamplesFromString()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckExemplars.java270 String sampleValue = oparts.getAttributeValue(-1, "sample"); in checkParse() local
271 if (!us.contains(sampleValue)) { in checkParse()
275 .setMessage("ParseLenient sample not in value: {0} ∌ {1}", us, sampleValue); in checkParse()
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/
DOverlayDraw.comp211 const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLayer);
214 color = mix(color, textWidgetsData[textWidget].color, sampleValue);
/external/swiftshader/src/Pipeline/
DSpirvShaderImage.cpp290 auto sampleValue = GenericValue(this, state, sampleId); in EmitImageSample() local
291 in[i] = As<SIMD::Float>(sampleValue.Int(0)); in EmitImageSample()
/external/angle/src/libANGLE/renderer/vulkan/shaders/gen/
DOverlayDraw.comp.00000001.inc507 // const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLay…
510 // color = mix(color, textWidgetsData[textWidget]. color, sampleValue);
DOverlayDraw.comp.00000000.inc507 // const float sampleValue = sampleFont(textChar, coordInWidget, fontGlyphSize, fontLay…
510 // color = mix(color, textWidgetsData[textWidget]. color, sampleValue);