| /external/clang/test/SemaCXX/ |
| D | attr-flatten.cpp | 3 int i __attribute__((flatten)); // expected-error {{'flatten' attribute only applies to functions}} 5 void f1() __attribute__((flatten)); 6 void f2() __attribute__((flatten(1))); // expected-error {{'flatten' attribute takes no arguments}} 9 void tf1() __attribute__((flatten)); 11 int f3(int __attribute__((flatten)), int); // expected-error{{'flatten' attribute only applies to f… 14 …int f __attribute__((flatten)); // expected-error{{'flatten' attribute only applies to functions}} 15 void mf1() __attribute__((flatten)); 16 static void mf2() __attribute__((flatten)); 19 int ci [[gnu::flatten]]; // expected-error {{'flatten' attribute only applies to functions}} 21 [[gnu::flatten]] void cf1(); [all …]
|
| /external/rust/android-crates-io/crates/quiche/src/ |
| D | ranges.rs | 113 self.flatten().next() in first() 117 self.flatten().next_back() in last() 130 pub fn flatten(&self) -> Flatten { in flatten() method 131 Flatten { in flatten() 221 pub struct Flatten<'a> { struct 227 impl<'a> Iterator for Flatten<'a> { implementation 245 impl<'a> DoubleEndedIterator for Flatten<'a> { implementation 274 assert_eq!(&r.flatten().collect::<Vec<u64>>(), &empty); in insert_non_overlapping() 278 assert_eq!(&r.flatten().collect::<Vec<u64>>(), &[4, 5, 6]); in insert_non_overlapping() 282 assert_eq!(&r.flatten().collect::<Vec<u64>>(), &[4, 5, 6, 9, 10, 11]); in insert_non_overlapping() [all …]
|
| /external/pigweed/pw_presubmit/py/ |
| D | tools_test.py | 23 """Tests the flatten function, which flattens iterables.""" 26 self.assertEqual([], list(tools.flatten())) 27 self.assertEqual([], list(tools.flatten([]))) 28 self.assertEqual([], list(tools.flatten([], ()))) 29 self.assertEqual([], list(tools.flatten([[], (), [[]]], ((), [])))) 33 ['a', 'bcd', 123, 45.6], list(tools.flatten('a', 'bcd', 123, 45.6)) 37 list(tools.flatten(['a', 'bcd', 123, 45.6])), 41 list(tools.flatten(['a', 'bcd'], [123, 45.6])), 47 list(tools.flatten('a', ['bcd'], [123], 45.6)), 51 list(tools.flatten([['a', ('bcd', [123])], 45.6])), [all …]
|
| /external/rust/android-crates-io/crates/darling_core/src/options/ |
| D | input_field.rs | 23 pub flatten: Flag, field 48 flatten: self.flatten.is_present(), in as_codegen_field() 72 flatten: Default::default(), in new() 137 if self.flatten.is_present() { in parse_nested() 139 Error::custom("`flatten` and `rename` cannot be used together").with_span(mi), in parse_nested() 154 if self.flatten.is_present() { in parse_nested() 156 Error::custom("`flatten` and `with` cannot be used together").with_span(mi), in parse_nested() 166 if self.skip.map(|v| *v).unwrap_or_default() && self.flatten.is_present() { in parse_nested() 168 Error::custom("`flatten` and `skip` cannot be used together").with_span(mi), in parse_nested() 196 if self.multiple == Some(true) && self.flatten.is_present() { in parse_nested() [all …]
|
| /external/rust/android-crates-io/crates/darling/tests/compile-fail/ |
| D | flatten_multiple_fields.stderr | 1 error: `#[darling(flatten)]` can only be applied to one field 4 13 | #[darling(flatten)] 7 error: `#[darling(flatten)]` can only be applied to one field 10 15 | #[darling(flatten)] 13 error: `#[darling(flatten)]` can only be applied to one field 16 22 | #[darling(flatten)] 19 error: `#[darling(flatten)]` can only be applied to one field 22 24 | #[darling(flatten)]
|
| D | flatten_meta_conflicts.stderr | 1 error: `flatten` and `multiple` cannot be used together 4 11 | #[darling(flatten, multiple, with = demo, skip = true)] 7 error: `flatten` and `with` cannot be used together 10 11 | #[darling(flatten, multiple, with = demo, skip = true)] 13 error: `flatten` and `skip` cannot be used together 16 11 | #[darling(flatten, multiple, with = demo, skip = true)]
|
| D | flatten_multiple_fields.rs | 1 //! Test that multiple fields cannot be marked `flatten` at once. 13 #[darling(flatten)] 15 #[darling(flatten)] 22 #[darling(flatten)] 24 #[darling(flatten)]
|
| /external/rust/android-crates-io/crates/vulkano/out/ |
| D | properties.rs | 949 …flatten () . next () . and_then (< usize > :: from_vulkan) , acceleration_structure_descriptor_siz… in from()
|
| D | features.rs | 11555 .flatten() in write() 11565 .flatten() in write() 11575 .flatten() in write() 11585 .flatten() in write() 11595 .flatten() in write() 11611 .flatten() in write() 11621 .flatten() in write() 11631 .flatten() in write() 11641 .flatten() in write() 11651 .flatten() in write() [all …]
|
| /external/tensorflow/tensorflow/python/data/util/ |
| D | sparse.py | 33 return any(c is sparse_tensor.SparseTensor for c in nest.flatten(classes)) 50 for shape, c in zip(nest.flatten(shapes), nest.flatten(classes)) 69 for ty, c in zip(nest.flatten(types), nest.flatten(classes)) 91 nest.flatten(tensors), nest.flatten(types), nest.flatten(shapes), 92 nest.flatten(classes)) 111 for tensor in nest.flatten(tensors) 128 for tensor in nest.flatten(tensors) 146 for tensor in nest.flatten(tensors)
|
| /external/sdv/vsomeip/third_party/boost/proto/doc/reference/ |
| D | fusion.xml | 15 <!-- proto::functional::flatten --> 16 <struct name="flatten"> 57 <type><classname>proto::result_of::flatten</classname>< Expr ></type> 62 … <type>typename <classname>proto::result_of::flatten</classname>< Expr >::type const</type> 76 …<type>typename <classname>proto::result_of::flatten</classname>< Expr const >::type const</t… 95 <!-- proto::result_of::flatten --> 96 <struct name="flatten"> 101 … <functionname alt="proto::flatten">proto::flatten()</functionname></computeroutput></purpose> 109 <!-- proto::flatten() --> 110 <overloaded-function name="flatten"> [all …]
|
| /external/python/cpython3/Lib/test/test_email/ |
| D | test_generator.py | 92 g.flatten(msg) 99 g.flatten(msg) 107 g.flatten(msg) 115 g.flatten(msg) 123 g.flatten(msg) 132 g.flatten(msg) 141 g.flatten(msg, linesep='\n') 152 g.flatten(msg) 158 g.flatten(msg) 169 g.flatten(msg) [all …]
|
| /external/pytorch/test/distributed/_tensor/ |
| D | test_view_ops.py | 21 Flatten, 46 Split(Flatten((InputDim(0), InputDim(1))), (3, 2), 0), 47 Split(Flatten((InputDim(0), InputDim(1))), (3, 2), 1), 52 (Flatten((InputDim(0), InputDim(1))), InputDim(2)), 58 Flatten( 71 Flatten( 88 Split(Flatten((InputDim(0), InputDim(1), InputDim(2))), (3, 8), 0), 89 Split(Flatten((InputDim(0), InputDim(1), InputDim(2))), (3, 8), 1), 90 Split(Flatten((InputDim(3), InputDim(4))), (7, 5), 0), 91 Split(Flatten((InputDim(3), InputDim(4))), (7, 5), 1), [all …]
|
| /external/angle/src/tests/compiler_tests/ |
| D | UnrollFlatten_test.cpp | 7 // Test for the outputting of [[unroll]] and [[flatten]] for the D3D compiler. 41 // Ignore the beginning of the shader to avoid the definitions of LOOP and FLATTEN in compile() 47 const char *badPatterns[] = {UNROLL, FLATTEN}; in expect() 77 static const char *FLATTEN; member in __anon319afe2c0111::UnrollFlattenTest 88 const char *UnrollFlattenTest::FLATTEN = "FLATTEN"; member in __anon319afe2c0111::UnrollFlattenTest 115 // 2 - no FLATTEN because does not contain discont loop in TEST_F() 118 // 5 - no FLATTEN because does not contain loop with a gradient in TEST_F() 120 // 7 - no FLATTEN in TEST_F() 155 // 5 - no FLATTEN because doesn't contain loop with a gradient in TEST_F() 158 // 8 - FLATTEN because it contains a loop with a gradient in TEST_F() [all …]
|
| /external/rust/android-crates-io/crates/rayon/src/iter/ |
| D | flatten.rs | 4 /// `Flatten` turns each element to a parallel iterator, then flattens these iterators 5 /// together. This struct is created by the [`flatten()`] method on [`ParallelIterator`]. 7 /// [`flatten()`]: trait.ParallelIterator.html#method.flatten 11 pub struct Flatten<I: ParallelIterator> { struct 15 impl<I> Flatten<I> argument 20 /// Creates a new `Flatten` iterator. 22 Flatten { base } in new() 26 impl<I> ParallelIterator for Flatten<I> implementation
|
| /external/sdv/vsomeip/third_party/boost/proto/test/ |
| D | flatten.cpp | 81 using boost::proto::flatten; in test1() 97 boost::fusion::for_each(flatten(!!!!(a_ >> b_)), to_string(sout)); in test1() 102 boost::fusion::for_each(flatten(a_ >> b_ >> c_), to_string(sout)); in test1() 106 boost::fusion::for_each(flatten(a_ | b_ | c_), to_string(sout)); in test1() 110 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_), to_string(sout)); in test1() 114 boost::fusion::for_each(flatten(a_ | b_ >> c_ | d_), to_string(sout)); in test1() 118 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_ | e_ >> f_ >> g_), to_string(sout)); in test1() 122 boost::fusion::for_each(flatten(a_ >> b_ | c_ >> d_ | e_ >> (f_ | g_) >> h_), to_string(sout)); in test1() 127 boost::fusion::for_each(flatten(a_(b_(c_ >> d_, e_ | f_), g_ >> h_)(i_)), to_string(sout)); in test1() 149 using boost::proto::flatten; in test2() [all …]
|
| /external/sdv/vsomeip/third_party/boost/fusion/test/algorithm/ |
| D | flatten.cpp | 20 #include <boost/fusion/algorithm/transformation/flatten.hpp> 31 BOOST_TEST((boost::fusion::size(flatten(seq)) == 5)); in main() 37 std::cout << flatten(seq) << std::endl; in main() 38 BOOST_TEST((flatten(seq) == make_vector(1, 2, 3, 4, 5))); in main() 42 std::cout << flatten(make_vector(1, 2, make_vector(3, 4), 5)) << std::endl; in main() 43 … BOOST_TEST((flatten(make_vector(1, 2, make_vector(3, 4), 5)) == make_vector(1, 2, 3, 4, 5))); in main() 49 result_of::flatten<sequence_type>::type flat(flatten(seq)); in main()
|
| /external/rust/android-crates-io/crates/darling/tests/ |
| D | flatten.rs | 16 #[darling(flatten)] 46 /// This test demonstrates flatten being used recursively. 61 #[darling(flatten)] in recursive_flattening() 69 #[darling(flatten)] in recursive_flattening() 76 #[darling(flatten)] in recursive_flattening() 100 /// be used with `flatten`. 108 #[darling(flatten)] in flattening_into_hashmap() 135 #[darling(flatten)] 184 /// Make sure that flatten works with smart pointer types, e.g. `Box`. 186 /// The generated `flatten` impl directly calls `FromMeta::from_list` [all …]
|
| /external/rust/android-crates-io/crates/futures-util/src/stream/stream/ |
| D | flatten.rs | 10 /// Stream for the [`flatten`](super::StreamExt::flatten) method. 13 pub struct Flatten<St, U> { 21 impl<St, U> Flatten<St, U> { impl 29 impl<St> FusedStream for Flatten<St, St::Item> implementation 39 impl<St> Stream for Flatten<St, St::Item> implementation 66 impl<S, Item> Sink<Item> for Flatten<S, S::Item> implementation
|
| /external/chromium-crossbench/tests/crossbench/probes/ |
| D | test_helper.py | 215 def flatten(self, *data, key_fn=None, sort: bool = True): member in TestFlatten 216 return helper.Flatten(*data, key_fn=key_fn, sort=sort).data 223 flattened = self.flatten(data) 231 flattened_keys = tuple(self.flatten(data, sort=True).keys()) 233 flattened_keys = tuple(self.flatten(data, sort=False).keys()) 244 flattened = self.flatten(data) 252 flattened = self.flatten(data, key_fn=lambda path: "prefix_" + path[0]) 263 flattened = self.flatten( 280 self.flatten(data, key_fn=lambda path: "prefix_" + path[0]) 282 flattened = self.flatten( [all …]
|
| /external/flatbuffers/tests/flatc/ |
| D | flatc_cpp_tests.py | 19 def Flatten(self): member in CppTests 20 # Generate just foo with a "flatten" import of bar. 23 # Foo should be generated in place and include bar flatten 27 # Generate just foo with a "flatten" import of bar. 30 # Foo should be generated in place and include bar flatten 34 # Generate just foo with a "flatten" import of bar. 41 # Generate just foo with a "flatten" import of bar. 44 # Foo should be generated in the out path and include bar flatten to the out path. 48 # Generate just foo with a "flatten" import of bar. 51 # Foo should be generated in the out path and include bar flatten to the out path. [all …]
|
| /external/rust/android-crates-io/crates/pest/src/iterators/ |
| D | flat_pairs.rs | 20 /// An iterator over [`Pair`]s. It is created by [`Pairs::flatten`]. 23 /// [`Pairs::flatten`]: struct.Pairs.html#method.flatten 67 /// let tokens: Vec<_> = pairs.flatten().tokens().collect(); 102 // Tokens len is exactly twice as flatten pairs len in len() 183 pairs.flatten().map(|p| p.as_rule()).collect::<Vec<Rule>>(), in iter_for_flat_pairs() 193 .flatten() in double_ended_iter_for_flat_pairs() 203 let mut pairs = AbcParser::parse(Rule::a, "abcNe\nabcde").unwrap().flatten(); in test_line_col() 223 let pairs = AbcParser::parse(Rule::a, "abc\nefgh").unwrap().flatten(); in exact_size_iter_for_pairs() 226 let pairs = AbcParser::parse(Rule::a, "我很漂亮efgh").unwrap().flatten(); in exact_size_iter_for_pairs() 229 let pairs = AbcParser::parse(Rule::a, "abc\nefgh").unwrap().flatten(); in exact_size_iter_for_pairs() [all …]
|
| /external/nanopb-c/tests/typename_mangling/ |
| D | SConscript | 17 env.Command("flatten.options", "with_package.options", set_mangling("M_FLATTEN")) 18 env.Command("flatten.proto", "with_package.proto", Copy("$TARGET", "$SOURCE")) 19 env.NanopbProto(["flatten", "flatten.options"]) 20 env.Program(["test_flatten.c", "flatten.pb.c"])
|
| /external/tensorflow/tensorflow/lite/kernels/internal/ |
| D | transpose_utils.h | 36 // Flatten finds the dimensions that can be flatten, shrinks the given shapes 37 // and the given perm parameter to reflect the non-flatten dimensions, and 38 // returns the total size of the non-flatten dimensions. 40 // E.g, in perm [0, 1, 3, 2] case, the first two dimensions can be flatten and 42 size_t Flatten(const RuntimeShape& input_shape,
|
| /external/pdfium/public/ |
| D | fpdf_flatten.h | 13 // Flatten operation failed. 15 // Flatten operation succeed. 20 // Flatten for normal display. 22 // Flatten for print. 29 // Flatten annotations and form fields into the page contents.
|