Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 7398) sorted by relevance

12345678910>>...296

/third_party/boost/libs/intrusive/test/
Dslist_test.cpp68 ::test_all (ValueContainer& values) in test_all() argument
71 list_type list(values.begin(), values.end()); in test_all()
74 list.insert(list.end(), values.begin(), values.end()); in test_all()
75 test::test_sequence_container(list, values); in test_all()
78 list_type list(values.begin(), values.end()); in test_all()
81 test_front(values); in test_all()
82 test_back(values, detail::bool_< list_type::cache_last >()); in test_all()
83 test_sort(values); in test_all()
84 test_merge (values); in test_all()
85 test_remove_unique(values); in test_all()
[all …]
Dlist_test.cpp63 void test_list< ListType, ValueContainer >::test_all(ValueContainer& values) in test_all() argument
66 list_type list(values.begin(), values.end()); in test_all()
69 list.insert(list.end(), values.begin(), values.end()); in test_all()
70 test::test_sequence_container(list, values); in test_all()
73 list_type list(values.begin(), values.end()); in test_all()
77 test_front_back(values); in test_all()
78 test_sort(values); in test_all()
79 test_merge(values); in test_all()
80 test_remove_unique(values); in test_all()
81 test_insert(values); in test_all()
[all …]
Dgeneric_set_test.hpp54 value_cont_type values(6); in test_all() local
56 (&values[i])->value_ = random_init[i]; in test_all()
59 set_type testset(values.begin(), values.end()); in test_all()
62 testset.insert(values.begin(), values.end()); in test_all()
63 test::test_common_unordered_and_associative_container(testset, values); in test_all()
65 testset.insert(values.begin(), values.end()); in test_all()
66 test::test_associative_container(testset, values); in test_all()
68 testset.insert(values.begin(), values.end()); in test_all()
69 test::test_unique_container(testset, values); in test_all()
72 test_sort(values); in test_all()
[all …]
Dgeneric_multiset_test.hpp46 value_cont_type values (6); in test_all() local
48 (&values[i])->value_ = random_init[i]; in test_all()
52 multiset_type testset(values.begin(), values.end()); in test_all()
55 testset.insert(values.begin(), values.end()); in test_all()
56 test::test_common_unordered_and_associative_container(testset, values); in test_all()
58 testset.insert(values.begin(), values.end()); in test_all()
59 test::test_associative_container(testset, values); in test_all()
61 testset.insert(values.begin(), values.end()); in test_all()
62 test::test_non_unique_container(testset, values); in test_all()
64 test_sort(values); in test_all()
[all …]
Dgeneric_assoc_test.hpp59 test_container_from_iterator(value_cont_type& values, detail::true_type) in test_container_from_iterator() argument
63 assoc_type testset(values.begin(), values.end()); in test_container_from_iterator()
86 value_cont_type values(MaxValues); in test_insert_erase_burst() local
88 (&values[i])->value_ = i; in test_insert_erase_burst()
96 assoc_type testset (values.begin(), values.begin() + values.size()); in test_insert_erase_burst()
101 BOOST_TEST(&*it == &values[i]); in test_insert_erase_burst()
113 for(vec_iterator it(values.begin()), itend(values.end()) in test_insert_erase_burst()
134 void test_generic_assoc<ContainerDefiner>::test_all(value_cont_type& values) in test_all() argument
138 test_root(values); in test_all()
139 test_clone(values); in test_all()
[all …]
/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel.js292 function writeRepeatedMessage(writer, fieldNumber, values) { argument
293 for (const value of values) {
304 function writeRepeatedGroup(writer, fieldNumber, values) { argument
305 for (const value of values) {
2080 addRepeatedBoolIterable_(fieldNumber, values, encoder) { argument
2081 const array = [...this.getRepeatedBoolArray_(fieldNumber), ...values];
2095 fieldNumber, [value], (writer, fieldNumber, values) => {
2096 writer.writePackedBool(fieldNumber, values);
2106 addPackedBoolIterable(fieldNumber, values) { argument
2108 fieldNumber, values, (writer, fieldNumber, values) => {
[all …]
Dwriter.js481 writeRepeatedBool(fieldNumber, values) { argument
482 values.forEach(val => this.writeBool(fieldNumber, val));
490 writePackedBool(fieldNumber, values) { argument
492 fieldNumber, values, val => this.writeBoolValue_(val), 1);
500 writeRepeatedDouble(fieldNumber, values) { argument
501 values.forEach(val => this.writeDouble(fieldNumber, val));
509 writePackedDouble(fieldNumber, values) { argument
511 fieldNumber, values, val => this.writeDoubleValue_(val), 8);
519 writeRepeatedFixed32(fieldNumber, values) { argument
520 values.forEach(val => this.writeFixed32(fieldNumber, val));
[all …]
/third_party/glib/gio/
Dgioenumtypes.c15 static const GFlagsValue values[] = { in g_app_info_create_flags_get_type() local
23 g_flags_register_static (g_intern_static_string ("GAppInfoCreateFlags"), values); in g_app_info_create_flags_get_type()
36 static const GFlagsValue values[] = { in g_converter_flags_get_type() local
43 g_flags_register_static (g_intern_static_string ("GConverterFlags"), values); in g_converter_flags_get_type()
56 static const GEnumValue values[] = { in g_converter_result_get_type() local
64 g_enum_register_static (g_intern_static_string ("GConverterResult"), values); in g_converter_result_get_type()
77 static const GEnumValue values[] = { in g_data_stream_byte_order_get_type() local
84 g_enum_register_static (g_intern_static_string ("GDataStreamByteOrder"), values); in g_data_stream_byte_order_get_type()
97 static const GEnumValue values[] = { in g_data_stream_newline_type_get_type() local
105 g_enum_register_static (g_intern_static_string ("GDataStreamNewlineType"), values); in g_data_stream_newline_type_get_type()
[all …]
/third_party/boost/libs/log/test/run/
Dattr_sets_insertion_lookup.cpp33 void test_insertion_lookup(SetT& values, ValueT const& value) in test_insertion_lookup() argument
45 values.insert(names[17], value); in test_insertion_lookup()
46 values.insert(names[1], value); in test_insertion_lookup()
47 values.insert(names[8], value); in test_insertion_lookup()
48 values.insert(names[9], value); in test_insertion_lookup()
49 values.insert(names[10], value); in test_insertion_lookup()
50 values.insert(names[16], value); in test_insertion_lookup()
51 values.insert(names[0], value); in test_insertion_lookup()
52 values.insert(names[11], value); in test_insertion_lookup()
53 values.insert(names[12], value); in test_insertion_lookup()
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/main/resources/
Dldml2icu_supplemental.txt25 ; /CurrencyMap/$1/<FIFO>/id ; values=$2
27 ; /CurrencyMap/$1/<FIFO>/id ; values=$2
28 ; /CurrencyMap/$1/<FIFO>/tender ; values=false
30 ; /CurrencyMap/$1/<FIFO>/id ; values=$3
31 ; /CurrencyMap/$1/<FIFO>/from:intvector ; values=&date($2, from)
33 ; /CurrencyMap/$1/<FIFO>/id ; values=$3
34 ; /CurrencyMap/$1/<FIFO>/from:intvector ; values=&date($2, from)
35 ; /CurrencyMap/$1/<FIFO>/tender ; values=false
37 ; /CurrencyMap/$1/<FIFO>/id ; values=$4
38 ; /CurrencyMap/$1/<FIFO>/from:intvector ; values=&date($2, from)
[all …]
/third_party/protobuf/js/experimental/runtime/testing/binary/
Dtest_message.js784 addPackedBoolIterable(fieldNumber, values) { argument
785 this.kernel_.addPackedBoolIterable(fieldNumber, values);
800 addUnpackedBoolIterable(fieldNumber, values) { argument
801 this.kernel_.addUnpackedBoolIterable(fieldNumber, values);
818 setPackedBoolIterable(fieldNumber, values) { argument
819 this.kernel_.setPackedBoolIterable(fieldNumber, values);
836 setUnpackedBoolIterable(fieldNumber, values) { argument
837 this.kernel_.setUnpackedBoolIterable(fieldNumber, values);
852 addPackedDoubleIterable(fieldNumber, values) { argument
853 this.kernel_.addPackedDoubleIterable(fieldNumber, values);
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
Dint128_benchmark.cc39 std::vector<std::pair<T, T>> values; in GetRandomClass128SampleUniformDivisor() local
42 values.reserve(kSampleSize); in GetRandomClass128SampleUniformDivisor()
46 values.emplace_back(std::max(a, b), std::max(T(2), std::min(a, b))); in GetRandomClass128SampleUniformDivisor()
48 return values; in GetRandomClass128SampleUniformDivisor()
53 auto values = GetRandomClass128SampleUniformDivisor<T>(); in BM_DivideClass128UniformDivisor() local
54 while (state.KeepRunningBatch(values.size())) { in BM_DivideClass128UniformDivisor()
55 for (const auto& pair : values) { in BM_DivideClass128UniformDivisor()
65 auto values = GetRandomClass128SampleUniformDivisor<T>(); in BM_RemainderClass128UniformDivisor() local
66 while (state.KeepRunningBatch(values.size())) { in BM_RemainderClass128UniformDivisor()
67 for (const auto& pair : values) { in BM_RemainderClass128UniformDivisor()
[all …]
/third_party/abseil-cpp/absl/numeric/
Dint128_benchmark.cc39 std::vector<std::pair<T, T>> values; in GetRandomClass128SampleUniformDivisor() local
42 values.reserve(kSampleSize); in GetRandomClass128SampleUniformDivisor()
46 values.emplace_back(std::max(a, b), std::max(T(2), std::min(a, b))); in GetRandomClass128SampleUniformDivisor()
48 return values; in GetRandomClass128SampleUniformDivisor()
53 auto values = GetRandomClass128SampleUniformDivisor<T>(); in BM_DivideClass128UniformDivisor() local
54 while (state.KeepRunningBatch(values.size())) { in BM_DivideClass128UniformDivisor()
55 for (const auto& pair : values) { in BM_DivideClass128UniformDivisor()
65 auto values = GetRandomClass128SampleUniformDivisor<T>(); in BM_RemainderClass128UniformDivisor() local
66 while (state.KeepRunningBatch(values.size())) { in BM_RemainderClass128UniformDivisor()
67 for (const auto& pair : values) { in BM_RemainderClass128UniformDivisor()
[all …]
/third_party/skia/third_party/externals/tint/src/ast/
Dworkgroup_decoration_test.cc28 auto values = d->Values(); in TEST_F() local
30 ASSERT_TRUE(values[0]->Is<ast::IntLiteralExpression>()); in TEST_F()
31 EXPECT_EQ(values[0]->As<ast::IntLiteralExpression>()->ValueAsU32(), 2u); in TEST_F()
33 EXPECT_EQ(values[1], nullptr); in TEST_F()
34 EXPECT_EQ(values[2], nullptr); in TEST_F()
38 auto values = d->Values(); in TEST_F() local
40 ASSERT_TRUE(values[0]->Is<ast::IntLiteralExpression>()); in TEST_F()
41 EXPECT_EQ(values[0]->As<ast::IntLiteralExpression>()->ValueAsU32(), 2u); in TEST_F()
43 ASSERT_TRUE(values[1]->Is<ast::IntLiteralExpression>()); in TEST_F()
44 EXPECT_EQ(values[1]->As<ast::IntLiteralExpression>()->ValueAsU32(), 4u); in TEST_F()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dmsdk-enums.c42 static const GEnumValue values[] = { in gst_msdkdec_output_order_get_type() local
51 type = g_enum_register_static ("GstMsdkDecOutputOrder", values); in gst_msdkdec_output_order_get_type()
62 static const GEnumValue values[] = { in gst_msdkenc_rate_control_get_type() local
82 type = g_enum_register_static ("GstMsdkEncRateControl", values); in gst_msdkenc_rate_control_get_type()
92 static const GFlagsValue values[] = { in gst_msdkenc_trellis_quantization_get_type() local
101 type = g_flags_register_static ("GstMsdkEncTrellisQuantization", values); in gst_msdkenc_trellis_quantization_get_type()
111 static const GEnumValue values[] = { in gst_msdkenc_rc_lookahead_ds_get_type() local
120 type = g_enum_register_static ("GstMsdkEncRCLookAheadDownsampling", values); in gst_msdkenc_rc_lookahead_ds_get_type()
130 static const GEnumValue values[] = { in gst_msdkenc_mbbrc_get_type() local
138 type = g_enum_register_static ("GstMsdkEncMbBitrateControl", values); in gst_msdkenc_mbbrc_get_type()
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstenumtypes.c90 static const GFlagsValue values[] = { in gst_allocator_flags_get_type() local
96 … GType new_type = g_flags_register_static (g_intern_static_string ("GstAllocatorFlags"), values); in gst_allocator_flags_get_type()
108 static const GFlagsValue values[] = { in gst_bin_flags_get_type() local
115 … GType new_type = g_flags_register_static (g_intern_static_string ("GstBinFlags"), values); in gst_bin_flags_get_type()
127 static const GFlagsValue values[] = { in gst_buffer_flags_get_type() local
145 … GType new_type = g_flags_register_static (g_intern_static_string ("GstBufferFlags"), values); in gst_buffer_flags_get_type()
155 static const GFlagsValue values[] = { in gst_buffer_copy_flags_get_type() local
166 … GType new_type = g_flags_register_static (g_intern_static_string ("GstBufferCopyFlags"), values); in gst_buffer_copy_flags_get_type()
178 static const GFlagsValue values[] = { in gst_buffer_pool_acquire_flags_get_type() local
187 … new_type = g_flags_register_static (g_intern_static_string ("GstBufferPoolAcquireFlags"), values); in gst_buffer_pool_acquire_flags_get_type()
[all …]
/third_party/gn/src/gn/
Dfunction_filter_unittest.cc13 Value values(nullptr, Value::LIST); in TEST() local
14 values.list_value().push_back(Value(nullptr, "foo.cc")); in TEST()
15 values.list_value().push_back(Value(nullptr, "foo.h")); in TEST()
16 values.list_value().push_back(Value(nullptr, "foo.proto")); in TEST()
22 std::vector<Value> args = {values, patterns}; in TEST()
39 Value values(nullptr, Value::LIST); in TEST() local
40 values.list_value().push_back(Value(nullptr, "foo.cc")); in TEST()
41 values.list_value().push_back(Value(nullptr, "foo.h")); in TEST()
42 values.list_value().push_back(Value(nullptr, "foo.proto")); in TEST()
45 std::vector<Value> args = {values}; in TEST()
[all …]
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dpromise_array.js15 function PromiseArray(values) { argument
17 if (values instanceof Promise) {
18 promise._propagateFrom(values, 3);
21 this._values = values;
37 var values = tryConvertToPromise(this._values, this._promise);
38 if (values instanceof Promise) {
39 values = values._target();
40 var bitField = values._bitField;
42 this._values = values;
46 return values._then(
[all …]
/third_party/typescript/tests/baselines/reference/
DsubtypeRelationForNever.types9 function withFew<a, r>(values: a[], haveFew: (values: a[]) => r, haveNone: (reason: string) => r): …
10 >withFew : <a, r>(values: a[], haveFew: (values: a[]) => r, haveNone: (reason: string) => r) => r
11 >values : a[]
12 >haveFew : (values: a[]) => r
13 >values : a[]
17 return values.length > 0 ? haveFew(values) : haveNone('No values.');
18 >values.length > 0 ? haveFew(values) : haveNone('No values.') : r
19 >values.length > 0 : boolean
20 >values.length : number
21 >values : a[]
[all …]
/third_party/protobuf/objectivec/
DGPBCodedOutputStream.h197 values:(GPBDoubleArray *)values
221 values:(GPBFloatArray *)values
245 values:(GPBUInt64Array *)values
269 values:(GPBInt64Array *)values
293 values:(GPBInt32Array *)values
317 values:(GPBUInt32Array *)values
341 values:(GPBUInt64Array *)values
365 values:(GPBUInt32Array *)values
389 values:(GPBInt32Array *)values
413 values:(GPBInt64Array *)values
[all …]
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DJSONTest.kt81 val values = arrayOf( in testDoubles() constant
93 assertEquals(-0.0, parser.parse(values[0]).toDouble()) in testDoubles()
94 assertEquals(1.0, parser.parse(values[1]).toDouble()) in testDoubles()
95 assertEquals(1.7976931348613157, parser.parse(values[2]).toDouble()) in testDoubles()
96 assertEquals(0.0, parser.parse(values[3]).toDouble()) in testDoubles()
97 assertEquals(-0.5, parser.parse(values[4]).toDouble()) in testDoubles()
98 assertEquals(3.141592653589793, parser.parse(values[5]).toDouble()) in testDoubles()
99 assertEquals(2.718281828459045e-3, parser.parse(values[6]).toDouble()) in testDoubles()
100 assertEquals(2.2250738585072014E-308, parser.parse(values[7]).toDouble()) in testDoubles()
101 assertEquals(4.9E-15, parser.parse(values[8]).toDouble()) in testDoubles()
[all …]
/third_party/boost/libs/unordered/test/unordered/
Dequivalent_keys_tests.cpp39 int values[][5] = {{1}, {54, 23}, {-13, 65}, {77, 77}, {986, 25, 986}}; in UNORDERED_AUTO_TEST() local
44 test_equal_insertion<set>(values[0], values[0] + 1); in UNORDERED_AUTO_TEST()
45 test_equal_insertion<set>(values[1], values[1] + 2); in UNORDERED_AUTO_TEST()
46 test_equal_insertion<set>(values[2], values[2] + 2); in UNORDERED_AUTO_TEST()
47 test_equal_insertion<set>(values[3], values[3] + 2); in UNORDERED_AUTO_TEST()
48 test_equal_insertion<set>(values[4], values[4] + 3); in UNORDERED_AUTO_TEST()
50 test_equal_insertion<multiset>(values[0], values[0] + 1); in UNORDERED_AUTO_TEST()
51 test_equal_insertion<multiset>(values[1], values[1] + 2); in UNORDERED_AUTO_TEST()
52 test_equal_insertion<multiset>(values[2], values[2] + 2); in UNORDERED_AUTO_TEST()
53 test_equal_insertion<multiset>(values[3], values[3] + 2); in UNORDERED_AUTO_TEST()
[all …]
/third_party/boost/libs/compute/test/
Dtest_sort_by_key.cpp38 compute::vector<int> values(context); in BOOST_AUTO_TEST_CASE() local
40 BOOST_CHECK_EQUAL(values.size(), size_t(0)); in BOOST_AUTO_TEST_CASE()
42 BOOST_CHECK(compute::is_sorted(values.begin(), values.end()) == true); in BOOST_AUTO_TEST_CASE()
43 compute::sort_by_key(keys.begin(), keys.end(), values.begin(), queue); in BOOST_AUTO_TEST_CASE()
53 compute::vector<int> values(values_data, values_data + 1, queue); in BOOST_AUTO_TEST_CASE() local
56 BOOST_CHECK(compute::is_sorted(values.begin(), values.end(), queue) == true); in BOOST_AUTO_TEST_CASE()
58 compute::sort_by_key(keys.begin(), keys.end(), values.begin(), queue); in BOOST_AUTO_TEST_CASE()
68 compute::vector<int> values(values_data, values_data + 2, queue); in BOOST_AUTO_TEST_CASE() local
71 BOOST_CHECK(compute::is_sorted(values.begin(), values.end(), queue) == false); in BOOST_AUTO_TEST_CASE()
73 compute::sort_by_key(keys.begin(), keys.end(), values.begin(), queue); in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/boost/libs/spirit/test/x3/
Dconfix.cpp53 std::vector<unsigned> values; in main() local
56 BOOST_TEST(test_attr("[0,2,4,6,8]", array[x3::uint_ % ','], values)); in main()
58 values.size() == 5 && in main()
59 values[0] == 0 && in main()
60 values[1] == 2 && in main()
61 values[2] == 4 && in main()
62 values[3] == 6 && in main()
63 values[4] == 8); in main()
66 std::vector<std::vector<unsigned>> values; in main() local
73 values)); in main()
[all …]
/third_party/glib/gobject/
Dgvaluearray.c85 return value_array->values + index; in g_value_array_get_nth()
101 value_array->values = g_renew (GValue, value_array->values, value_array->n_prealloced); in value_array_grow()
104 memset (value_array->values + i, 0, in value_array_grow()
105 (value_array->n_prealloced - i) * sizeof (value_array->values[0])); in value_array_grow()
128 value_array->values = NULL; in g_value_array_new()
152 GValue *value = value_array->values + i; in g_value_array_free()
157 g_free (value_array->values); in g_value_array_free()
182 new_array->values = NULL; in g_value_array_copy()
186 if (G_VALUE_TYPE (value_array->values + i) != 0) in g_value_array_copy()
188 GValue *value = new_array->values + i; in g_value_array_copy()
[all …]

12345678910>>...296