/external/llvm-project/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/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/crates/quiche/src/ |
D | ranges.rs | 116 self.flatten().next() in first() 120 self.flatten().next_back() in last() 133 pub fn flatten(&self) -> Flatten { in flatten() method 134 Flatten { in flatten() 224 pub struct Flatten<'a> { struct 230 impl<'a> Iterator for Flatten<'a> { argument 248 impl<'a> DoubleEndedIterator for Flatten<'a> { implementation 277 assert_eq!(&r.flatten().collect::<Vec<u64>>(), &empty); in insert_non_overlapping() 281 assert_eq!(&r.flatten().collect::<Vec<u64>>(), &[4, 5, 6]); in insert_non_overlapping() 285 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.""" 25 self.assertEqual([], list(tools.flatten())) 26 self.assertEqual([], list(tools.flatten([]))) 27 self.assertEqual([], list(tools.flatten([], ()))) 28 self.assertEqual([], list(tools.flatten([[], (), [[]]], ((), [])))) 32 list(tools.flatten('a', 'bcd', 123, 45.6))) 34 list(tools.flatten(['a', 'bcd', 123, 45.6]))) 36 list(tools.flatten(['a', 'bcd'], [123, 45.6]))) 40 list(tools.flatten('a', ['bcd'], [123], 45.6))) 42 list(tools.flatten([['a', ('bcd', [123])], 45.6]))) [all …]
|
/external/tensorflow/tensorflow/python/data/util/ |
D | sparse.py | 37 return any(c is sparse_tensor.SparseTensor for c in nest.flatten(classes)) 54 for shape, c in zip(nest.flatten(shapes), nest.flatten(classes)) 73 for ty, c in zip(nest.flatten(types), nest.flatten(classes)) 95 nest.flatten(tensors), nest.flatten(types), nest.flatten(shapes), 96 nest.flatten(classes)) 115 for tensor in nest.flatten(tensors) 132 for tensor in nest.flatten(tensors) 150 for tensor in nest.flatten(tensors)
|
D | nest_test.py | 39 self.assertEqual(nest.flatten(structure), [3, 4, 5, 6, 7, 9, 10, 8]) 46 self.assertEqual(nest.flatten(structure), flat) 54 self.assertEqual([5], nest.flatten(5)) 55 self.assertEqual([np.array([5])], nest.flatten(np.array([5]))) 71 """`flatten` orders dicts by key, including OrderedDicts.""" 74 ordered_flat = nest.flatten(ordered) 75 plain_flat = nest.flatten(plain) 110 flattened = nest.flatten(mess) 143 self.assertEqual([st], nest.flatten(single_value)) 144 self.assertEqual([[st, st, st]], nest.flatten(list_of_values)) [all …]
|
/external/angle/src/tests/compiler_tests/ |
D | UnrollFlatten_test.cpp | 7 // Test for the outputting of [[unroll]] and [[flatten]] for the D3D compiler. 39 // Ignore the beginning of the shader to avoid the definitions of LOOP and FLATTEN in compile() 45 const char *badPatterns[] = {UNROLL, FLATTEN}; in expect() 75 static const char *FLATTEN; member in __anonc5993df60111::UnrollFlattenTest 86 const char *UnrollFlattenTest::FLATTEN = "FLATTEN"; member in __anonc5993df60111::UnrollFlattenTest 113 // 2 - no FLATTEN because does not contain discont loop in TEST_F() 116 // 5 - no FLATTEN because does not contain loop with a gradient in TEST_F() 118 // 7 - no FLATTEN in TEST_F() 153 // 5 - no FLATTEN because doesn't contain loop with a gradient in TEST_F() 156 // 8 - FLATTEN because it contains a loop with a gradient in TEST_F() [all …]
|
/external/rust/crates/structopt/tests/ |
D | flatten.rs | 14 fn flatten() { in flatten() function 22 #[structopt(flatten)] in flatten() 47 #[structopt(flatten)] in flatten_twice() 50 #[structopt(flatten)] in flatten_twice() 67 #[structopt(flatten)] in flatten_in_subcommand() 76 #[structopt(flatten)] in flatten_in_subcommand() 118 #[structopt(flatten)] in merge_subcommands_with_flatten() 134 #[should_panic = "structopt misuse: You likely tried to #[flatten] a struct \ 139 #[structopt(flatten)] in subcommand_in_flatten() 169 #[structopt(flatten)] in flatten_doc_comment()
|
/external/rust/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> impl 20 /// Creates a new `Flatten` iterator. 22 Flatten { base } in new() 26 impl<I> ParallelIterator for Flatten<I> implementation
|
/external/python/cffi/testing/cffi0/ |
D | test_platform.py | 2 from cffi.ffiplatform import maybe_relative_path, flatten 20 assert flatten("foo") == "3sfoo" 21 assert flatten(-10000000000000000000000000000) == \ 23 assert flatten([4, 5]) == "2l4i5i" 24 assert flatten({4: 5}) == "1d4i5i" 25 assert flatten({"foo": ("bar", "baaz")}) == "1d3sfoo2l3sbar4sbaaz"
|
/external/rust/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> { implementation 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/python/cpython3/Lib/test/test_email/ |
D | test_generator.py | 91 g.flatten(msg) 98 g.flatten(msg) 106 g.flatten(msg) 114 g.flatten(msg) 122 g.flatten(msg) 131 g.flatten(msg) 140 g.flatten(msg, linesep='\n') 162 g.flatten(msg) 169 g.flatten(msg) 192 g.flatten(msg) [all …]
|
/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/icu/icu4c/source/python/icutools/databuilder/ |
D | request_types.py | 50 def flatten(self, config, all_requests, common_vars): member in AbstractRequest 76 # Computed during self.flatten(); don't edit directly. 118 def flatten(self, config, all_requests, common_vars): member in AbstractExecutionRequest 120 return super(AbstractExecutionRequest, self).flatten(config, all_requests, common_vars) 196 def flatten(self, config, all_requests, common_vars): member in RepeatedOrSingleExecutionRequest 220 return new_request.flatten(config, all_requests, common_vars) 269 def flatten(self, config, all_requests, common_vars): member in ListRequest 280 ).flatten(config, all_requests, common_vars) + VariableRequest( 283 ).flatten(config, all_requests, common_vars) 315 def flatten(self, config, all_requests, common_vars): member in IndexRequest [all …]
|
/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.
|
/external/rust/crates/futures-util/src/future/future/ |
D | flatten.rs | 13 pub enum Flatten<Fut1, Fut2> { 20 impl<Fut1, Fut2> Flatten<Fut1, Fut2> { impl 26 impl<Fut> FusedFuture for Flatten<Fut, Fut::Output> implementation 38 impl<Fut> Future for Flatten<Fut, Fut::Output> implementation 56 FlattenProj::Empty => panic!("Flatten polled after completion"), in poll() 62 impl<Fut> FusedStream for Flatten<Fut, Fut::Output> implementation 74 impl<Fut> Stream for Flatten<Fut, Fut::Output> implementation 102 impl<Fut, Item> Sink<Item> for Flatten<Fut, Fut::Output> implementation
|
D | mod.rs | 25 mod flatten; module 30 /// Future for the [`flatten`](super::FutureExt::flatten) method. 31 Flatten<F>( 32 flatten::Flatten<F, <F as Future>::Output> 33 ): Debug + Future + FusedFuture + New[|x: F| flatten::Flatten::new(x)] 40 flatten::Flatten<F, <F as Future>::Output> 41 ): Debug + Sink + Stream + FusedStream + New[|x: F| flatten::Flatten::new(x)] 72 flatten::Flatten<Map<Fut1, F>, Fut2> 73 ): Debug + Future + FusedFuture + New[|x: Fut1, y: F| flatten::Flatten::new(Map::new(x, y))] 285 /// Flatten the execution of this future when the output of this [all …]
|
/external/python/cpython2/Lib/compiler/ |
D | ast.py | 7 def flatten(seq): function 12 for elt2 in flatten(elt): 19 return [n for n in flatten(seq) if isinstance(n, Node)] 74 return tuple(flatten(self.nodes)) 106 return tuple(flatten(self.nodes)) 137 return tuple(flatten(self.nodes)) 177 children.extend(flatten(self.nodes)) 226 return tuple(flatten(self.nodes)) 242 return tuple(flatten(self.nodes)) 258 return tuple(flatten(self.nodes)) [all …]
|
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/ |
D | core.py | 275 @tf_export(v1=['layers.Flatten']) 276 class Flatten(keras_layers.Flatten, base.Layer): class 290 y = Flatten()(x) 294 y = Flatten()(x) 301 @tf_export(v1=['layers.flatten']) 302 def flatten(inputs, name=None, data_format='channels_last'): function 321 y = flatten(x) 325 y = flatten(x) 329 warnings.warn('`tf.layers.flatten` is deprecated and ' 331 'Please use `tf.keras.layers.Flatten` instead.') [all …]
|
/external/llvm-project/polly/lib/Transform/ |
D | FlattenSchedule.cpp | 21 #define DEBUG_TYPE "polly-flatten-schedule" 37 /// Flatten the schedule stored in an polly::Scop. 60 LLVM_DEBUG(dbgs() << "Going to flatten old schedule:\n"); in runOnScop() 103 INITIALIZE_PASS_BEGIN(FlattenSchedule, "polly-flatten-schedule", 104 "Polly - Flatten schedule", false, false) 105 INITIALIZE_PASS_END(FlattenSchedule, "polly-flatten-schedule", 106 "Polly - Flatten schedule", false, false)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/ |
D | data.py | 69 data_files.extend(item.flatten(installer)) 106 def flatten(self, installer): member in Data 107 """ Flatten the file list to (target, file) tuples """ 137 def flatten(self, installer): member in Documentation 141 return Data.flatten(self, installer) 161 def flatten(self, installer): member in Manpages 165 return Documentation.flatten(self, installer)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/ |
D | data.py | 69 data_files.extend(item.flatten(installer)) 106 def flatten(self, installer): member in Data 107 """ Flatten the file list to (target, file) tuples """ 137 def flatten(self, installer): member in Documentation 141 return Data.flatten(self, installer) 161 def flatten(self, installer): member in Manpages 165 return Documentation.flatten(self, installer)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/ |
D | data.py | 69 data_files.extend(item.flatten(installer)) 106 def flatten(self, installer): member in Data 107 """ Flatten the file list to (target, file) tuples """ 137 def flatten(self, installer): member in Documentation 141 return Data.flatten(self, installer) 161 def flatten(self, installer): member in Manpages 165 return Documentation.flatten(self, installer)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/ |
D | data.py | 69 data_files.extend(item.flatten(installer)) 106 def flatten(self, installer): member in Data 107 """ Flatten the file list to (target, file) tuples """ 137 def flatten(self, installer): member in Documentation 141 return Data.flatten(self, installer) 161 def flatten(self, installer): member in Manpages 165 return Documentation.flatten(self, installer)
|
/external/tensorflow/tensorflow/python/framework/ |
D | composite_tensor.py | 40 tensors as structure, which makes it easy to flatten and reconstruct 46 flat_list_of_tensors = nest.flatten(ct, expand_composites=True) 85 consumers = nest.flatten([ 87 for component in nest.flatten(self, expand_composites=True) 106 Note that `nest.flatten(replace_composites_with_components(structure))` 107 returns the same value as `nest.flatten(structure)`.
|