Home
last modified time | relevance | path

Searched refs:values (Results 76 - 100 of 2938) sorted by relevance

12345678910>>...118

/third_party/vk-gl-cts/modules/glshared/
H A DglsStateChangePerfTestCases.cpp65 ResultStats calculateStats (const vector<deUint64>& values) in calculateStats() argument
71 for (int i = 0; i < (int)values.size(); i++) in calculateStats()
72 sum += values[i]; in calculateStats()
74 result.mean = ((double)sum) / (double)values.size(); in calculateStats()
76 for (int i = 0; i < (int)values.size(); i++) in calculateStats()
78 const double val = (double)values[i]; in calculateStats()
82 result.variance /= (double)values.size(); in calculateStats()
85 const int n = (int)(values.size()/2); in calculateStats()
87 vector<deUint64> sortedValues = values; in calculateStats()
94 for (int i = 0; i < (int)values in calculateStats()
166 calculateVariance(const vector<deUint64>& values, double avg) calculateVariance() argument
179 findMin(const vector<deUint64>& values) findMin() argument
189 findMax(const vector<deUint64>& values) findMax() argument
201 vector<deUint64> values = v; findMedian() local
677 calculateAverage(const vector<deUint64>& values) calculateAverage() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Dgrf.c24 const struct rockchip_grf_value *values; member
39 .values = px30_defaults,
54 .values = rk3036_defaults,
65 .values = rk3128_defaults,
76 .values = rk3228_defaults,
89 .values = rk3288_defaults,
100 .values = rk3328_defaults,
111 .values = rk3308_defaults,
122 .values = rk3368_defaults,
133 .values
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/soc/rockchip/
H A Dgrf.c24 const struct rockchip_grf_value *values; member
39 .values = px30_defaults,
54 .values = rk3036_defaults,
65 .values = rk3128_defaults,
76 .values = rk3228_defaults,
89 .values = rk3288_defaults,
100 .values = rk3328_defaults,
111 .values = rk3308_defaults,
122 .values = rk3368_defaults,
133 .values
[all...]
/third_party/pulseaudio/src/tests/
H A Dvolume-test.c67 for (cv.values[0] = PA_VOLUME_MUTED; cv.values[0] <= PA_VOLUME_NORM*2; cv.values[0] += 4096) in START_TEST()
68 for (cv.values[1] = PA_VOLUME_MUTED; cv.values[1] <= PA_VOLUME_NORM*2; cv.values[1] += 4096) { in START_TEST()
76 for (cv.values[0] = PA_VOLUME_MUTED+4096; cv.values[0] <= PA_VOLUME_NORM*2; cv.values[0] += 4096) in START_TEST()
77 for (cv.values[ in START_TEST()
[all...]
/third_party/mesa3d/src/intel/common/tests/
H A Dmi_builder_test.cpp630 uint64_t values[8] = {
640 memcpy(input, values, sizeof(values));
642 for (unsigned i = 0; i < ARRAY_SIZE(values); i++) {
643 for (unsigned j = 0; j < ARRAY_SIZE(values); j++) {
657 for (unsigned i = 0; i < ARRAY_SIZE(values); i++) {
658 for (unsigned j = 0; j < ARRAY_SIZE(values); j++) {
660 EXPECT_EQ_IMM(out_u64[0], mi_ult(&b, mi_imm(values[i]),
661 mi_imm(values[j])));
662 EXPECT_EQ_IMM(out_u64[1], mi_uge(&b, mi_imm(values[
[all...]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dframe_buffer.cc200 auto* values = info->buffer->ValuePtr(); in CopyImagesToBuffers() local
201 values->resize(info->buffer->GetSizeInBytes()); in CopyImagesToBuffers()
202 std::memcpy(values->data(), img->HostAccessibleMemoryPtr(), in CopyImagesToBuffers()
209 auto* values = info->buffer->ValuePtr(); in CopyImagesToBuffers() local
210 values->resize(info->buffer->GetSizeInBytes()); in CopyImagesToBuffers()
211 std::memcpy(values->data(), img->HostAccessibleMemoryPtr(), in CopyImagesToBuffers()
216 auto* values = depth_stencil_attachment_.buffer->ValuePtr(); in CopyImagesToBuffers() local
217 values->resize(depth_stencil_attachment_.buffer->GetSizeInBytes()); in CopyImagesToBuffers()
218 std::memcpy(values->data(), depth_stencil_image_->HostAccessibleMemoryPtr(), in CopyImagesToBuffers()
235 auto* values in CopyBuffersToImages() local
247 auto* values = info->buffer->ValuePtr(); CopyBuffersToImages() local
257 auto* values = depth_stencil_attachment_.buffer->ValuePtr(); CopyBuffersToImages() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/
H A Dhash_testing.h56 // Ideally, the values passed should provide enough coverage of the `==`
59 // the values.
62 // not enough for the values provided.
82 // The values do not have to have the same type. This can be useful for
145 VerifyTypeImplementsAbslHashCorrectly(const Container& values);
149 VerifyTypeImplementsAbslHashCorrectly(const Container& values, Eq equals);
153 VerifyTypeImplementsAbslHashCorrectly(std::initializer_list<T> values);
157 VerifyTypeImplementsAbslHashCorrectly(std::initializer_list<T> values,
188 VerifyTypeImplementsAbslHashCorrectly(const Container& values, Eq equals) { in VerifyTypeImplementsAbslHashCorrectly() argument
203 // Gather the values i in VerifyTypeImplementsAbslHashCorrectly()
345 VerifyTypeImplementsAbslHashCorrectly(const Container& values) VerifyTypeImplementsAbslHashCorrectly() argument
353 VerifyTypeImplementsAbslHashCorrectly(const Container& values, Eq equals) VerifyTypeImplementsAbslHashCorrectly() argument
360 VerifyTypeImplementsAbslHashCorrectly(std::initializer_list<T> values) VerifyTypeImplementsAbslHashCorrectly() argument
368 VerifyTypeImplementsAbslHashCorrectly(std::initializer_list<T> values, Eq equals) VerifyTypeImplementsAbslHashCorrectly() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DPropertiesTest.java175 // Load values into p3 and p4 for clear() behavior test in testFieldCoverage()
197 // fields.length unique values. in testFieldCoverage()
213 * are limited possible values.
236 CompactStyle[] values = CompactStyle.values(); in getSampleValueForType()
237 return values[seed % values.length]; in getSampleValueForType()
254 CurrencyUsage[] values = CurrencyUsage.values(); in getSampleValueForType()
255 return values[see in getSampleValueForType()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DPropertiesTest.java172 // Load values into p3 and p4 for clear() behavior test in testFieldCoverage()
194 // fields.length unique values. in testFieldCoverage()
210 * are limited possible values.
233 CompactStyle[] values = CompactStyle.values(); in getSampleValueForType()
234 return values[seed % values.length]; in getSampleValueForType()
251 CurrencyUsage[] values = CurrencyUsage.values(); in getSampleValueForType()
252 return values[see in getSampleValueForType()
[all...]
/third_party/vk-gl-cts/framework/platform/win32/
H A DtcuWGL.cpp309 int values[DE_LENGTH_OF_ARRAY(attribs)]; in getPixelFormats() local
311 if (!wgl.getPixelFormatAttribivARB(deviceCtx, 0, 0, DE_LENGTH_OF_ARRAY(attribs), &attribs[0], &values[0])) in getPixelFormats()
314 std::vector<int> pixelFormats(values[0]); in getPixelFormats()
315 for (int i = 0; i < values[0]; i++) in getPixelFormats()
346 std::vector<int> values (numAttribs); in getPixelFormatAttribs()
348 if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, numAttribs, &attribs[0], &values[0])) in getPixelFormatAttribs()
352 (*dst)[attribs[ndx]] = values[ndx]; in getPixelFormatAttribs()
385 std::map<int, int> values; in getPixelFormatInfo() local
387 getPixelFormatAttribs(wgl, deviceCtx, pixelFormat, static_cast<int>(s_attribsToQuery.size()), s_attribsToQuery.data(), &values); in getPixelFormatInfo()
389 // Translate values in getPixelFormatInfo()
[all...]
/kernel/linux/linux-5.10/drivers/auxdisplay/
H A Dhd44780.c64 DECLARE_BITMAP(values, 10); /* for DATA[0-7], RS, RW */ in hd44780_write_gpio8()
67 values[0] = val; in hd44780_write_gpio8()
68 __assign_bit(8, values, rs); in hd44780_write_gpio8()
72 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], NULL, values); in hd44780_write_gpio8()
80 DECLARE_BITMAP(values, 6); /* for DATA[4-7], RS, RW */ in hd44780_write_gpio4()
84 values[0] = val >> 4; in hd44780_write_gpio4()
85 __assign_bit(4, values, rs); in hd44780_write_gpio4()
89 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA4], NULL, values); in hd44780_write_gpio4()
94 values[0] &= ~0x0fUL; in hd44780_write_gpio4()
95 values[ in hd44780_write_gpio4()
[all...]
/kernel/linux/linux-5.10/net/ax25/
H A Dax25_dev.c66 ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE; in ax25_dev_device_up()
67 ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE; in ax25_dev_device_up()
68 ax25_dev->values[AX25_VALUES_BACKOFF] = AX25_DEF_BACKOFF; in ax25_dev_device_up()
69 ax25_dev->values[AX25_VALUES_CONMODE] = AX25_DEF_CONMODE; in ax25_dev_device_up()
70 ax25_dev->values[AX25_VALUES_WINDOW] = AX25_DEF_WINDOW; in ax25_dev_device_up()
71 ax25_dev->values[AX25_VALUES_EWINDOW] = AX25_DEF_EWINDOW; in ax25_dev_device_up()
72 ax25_dev->values[AX25_VALUES_T1] = AX25_DEF_T1; in ax25_dev_device_up()
73 ax25_dev->values[AX25_VALUES_T2] = AX25_DEF_T2; in ax25_dev_device_up()
74 ax25_dev->values[AX25_VALUES_T3] = AX25_DEF_T3; in ax25_dev_device_up()
75 ax25_dev->values[AX25_VALUES_IDL in ax25_dev_device_up()
[all...]
/kernel/linux/linux-6.6/net/ax25/
H A Dax25_dev.c68 ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE; in ax25_dev_device_up()
69 ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE; in ax25_dev_device_up()
70 ax25_dev->values[AX25_VALUES_BACKOFF] = AX25_DEF_BACKOFF; in ax25_dev_device_up()
71 ax25_dev->values[AX25_VALUES_CONMODE] = AX25_DEF_CONMODE; in ax25_dev_device_up()
72 ax25_dev->values[AX25_VALUES_WINDOW] = AX25_DEF_WINDOW; in ax25_dev_device_up()
73 ax25_dev->values[AX25_VALUES_EWINDOW] = AX25_DEF_EWINDOW; in ax25_dev_device_up()
74 ax25_dev->values[AX25_VALUES_T1] = AX25_DEF_T1; in ax25_dev_device_up()
75 ax25_dev->values[AX25_VALUES_T2] = AX25_DEF_T2; in ax25_dev_device_up()
76 ax25_dev->values[AX25_VALUES_T3] = AX25_DEF_T3; in ax25_dev_device_up()
77 ax25_dev->values[AX25_VALUES_IDL in ax25_dev_device_up()
[all...]
/kernel/linux/linux-5.10/tools/gpio/
H A Dgpio-hammer.c28 struct gpio_v2_line_values values; in hammer_device() local
46 values.mask = 0; in hammer_device()
47 values.bits = 0; in hammer_device()
49 gpiotools_set_bit(&values.mask, i); in hammer_device()
51 ret = gpiotools_get_values(fd, &values); in hammer_device()
63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); in hammer_device()
74 gpiotools_change_bit(&values.bits, i); in hammer_device()
76 ret = gpiotools_set_values(fd, &values); in hammer_device()
80 /* Re-read values to get status */ in hammer_device()
81 ret = gpiotools_get_values(fd, &values); in hammer_device()
[all...]
/kernel/linux/linux-6.6/tools/gpio/
H A Dgpio-hammer.c28 struct gpio_v2_line_values values; in hammer_device() local
46 values.mask = 0; in hammer_device()
47 values.bits = 0; in hammer_device()
49 gpiotools_set_bit(&values.mask, i); in hammer_device()
51 ret = gpiotools_get_values(fd, &values); in hammer_device()
63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); in hammer_device()
74 gpiotools_change_bit(&values.bits, i); in hammer_device()
76 ret = gpiotools_set_values(fd, &values); in hammer_device()
80 /* Re-read values to get status */ in hammer_device()
81 ret = gpiotools_get_values(fd, &values); in hammer_device()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsm64bitCompareTests.cpp216 layout(binding = 0) buffer Input1 { double values[]; } input1;
217 layout(binding = 1) buffer Input2 { double values[]; } input2;
218 layout(binding = 2) buffer Output1 { int values[]; } output1;
223 output1.values[i] = int(input1.values[i] == input2.values[i]);
240 OpMemberName %Output1 0 "values"
243 OpMemberName %Input1 0 "values"
246 OpMemberName %Input2 0 "values"
328 layout(binding = 0) buffer Input1 { dvec4 values[]; } input
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsm64bitCompareTests.cpp216 layout(binding = 0) buffer Input1 { double values[]; } input1;
217 layout(binding = 1) buffer Input2 { double values[]; } input2;
218 layout(binding = 2) buffer Output1 { int values[]; } output1;
223 output1.values[i] = int(input1.values[i] == input2.values[i]);
240 OpMemberName %Output1 0 "values"
243 OpMemberName %Input1 0 "values"
246 OpMemberName %Input2 0 "values"
328 layout(binding = 0) buffer Input1 { dvec4 values[]; } input
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
H A DWriteRawPrimitivesBenchmark.cs49 // key is the encodedSize of varint values
56 // key is the encodedSize of string values
59 // key is the encodedSize of string values
62 // key is the encodedSize of string values
124 var values = varint32Values[encodedSize]; in WriteRawVarint32_CodedOutputStream()
126 for (int i = 0; i < values.Length; i++) in WriteRawVarint32_CodedOutputStream()
128 cos.WriteRawVarint32(values[i]); in WriteRawVarint32_CodedOutputStream()
142 var values = varint32Values[encodedSize]; in WriteRawVarint32_WriteContext()
145 for (int i = 0; i < values.Length; i++) in WriteRawVarint32_WriteContext()
147 ctx.WriteUInt32(values[ in WriteRawVarint32_WriteContext()
[all...]
/third_party/python/Lib/test/
H A Dtest_fstring.py22 # values with assertRaisesRegex, but without it it's way too easy to
99 self.assertEqual(len(t.body[1].value.values), 1)
100 self.assertEqual(type(t.body[1].value.values[0]), ast.FormattedValue)
103 self.assertEqual(t.body[1].value.values[0].lineno, 3)
105 binop = t.body[1].value.values[0].value
119 f'no formatted values'
131 self.assertEqual(len(t.body[1].value.values), 4)
132 self.assertEqual(type(t.body[1].value.values[0]), ast.Constant)
133 self.assertEqual(type(t.body[1].value.values[0].value), str)
134 self.assertEqual(type(t.body[1].value.values[
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DAbstractMessageLite.java141 protected static <T> void addAll(final Iterable<T> values, final Collection<? super T> list) { in addAll() argument
142 Builder.addAll(values, (List) list); in addAll()
145 protected static <T> void addAll(final Iterable<T> values, final List<? super T> list) { in addAll() argument
146 Builder.addAll(values, list); in addAll()
366 // We check nulls as we iterate to avoid iterating over values twice.
367 private static <T> void addAllCheckingNulls(Iterable<T> values, List<? super T> list) { in addAllCheckingNulls() argument
368 if (list instanceof ArrayList && values instanceof Collection) { in addAllCheckingNulls()
369 ((ArrayList<T>) list).ensureCapacity(list.size() + ((Collection<T>) values).size()); in addAllCheckingNulls()
372 for (T value : values) { in addAllCheckingNulls()
393 protected static <T> void addAll(final Iterable<T> values, fina argument
404 addAll(final Iterable<T> values, final List<? super T> list) addAll() argument
[all...]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
H A DIcuDataSubject.java39 public void hasValuesFor(String rbPath, String... values) { in hasValuesFor() argument
40 hasValuesFor(rbPath, RbValue.of(values)); in hasValuesFor()
43 public void hasValuesFor(String rbPath, RbValue... values) { in hasValuesFor() argument
44 hasValuesFor(RbPath.parse(rbPath), values); in hasValuesFor()
47 public void hasValuesFor(RbPath p, String... values) { in hasValuesFor() argument
48 hasValuesFor(p, RbValue.of(values)); in hasValuesFor()
51 public void hasValuesFor(RbPath p, RbValue... values) { in hasValuesFor() argument
54 check("get('%s')", p).that(rbValues).containsExactlyElementsIn(values).inOrder(); in hasValuesFor()
/third_party/lzma/CPP/7zip/UI/Common/
H A DSetProperties.cpp33 CPropVariant *values; member
36 values = new CPropVariant[num]; in CPropPropetiesVector()
40 delete []values; in ~CPropPropetiesVector()
56 CPropPropetiesVector values(properties.Size()); in SetProperties()
80 values.values[i] = propVariant; in SetProperties()
86 return setProperties->SetProperties(&names.Front(), values.values, names.Size()); in SetProperties()
/third_party/node/test/parallel/
H A Dtest-internal-iterable-weak-map.js29 const values = [...wm];
30 deepStrictEqual(values, ['hello', 'goodbye']);
44 const values = [...wm];
45 deepStrictEqual(values, ['hello', 'goodnight']);
60 const values = [...wm];
61 deepStrictEqual(values, ['hello', 'goodbye']);
75 const values = [...wm];
76 deepStrictEqual(values, ['hello', 'goodbye']);
/kernel/linux/linux-6.6/drivers/soc/rockchip/
H A Dgrf.c24 const struct rockchip_grf_value *values; member
39 .values = rk3036_defaults,
50 .values = rk3128_defaults,
61 .values = rk3228_defaults,
74 .values = rk3288_defaults,
85 .values = rk3328_defaults,
96 .values = rk3368_defaults,
107 .values = rk3399_defaults,
120 .values = rk3566_defaults,
131 .values
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBlendMinMaxTest.cpp32 float values[4]; member
61 colors[i].values[j] = in runTest()
71 glUniform4f(mColorLocation, color.values[0], color.values[1], color.values[2], in runTest()
72 color.values[3]); in runTest()
104 getExpected(blendMin, color.values[componentIdx], prevColor[componentIdx]), in runTest()
107 << " color.values[0]=" << color.values[0] in runTest()
109 << " color.values[ in runTest()
[all...]

Completed in 13 milliseconds

12345678910>>...118