/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/array/array.creation/ |
D | to_array.pass.cpp | 30 auto arr = std::to_array({1, 2, 3}); in tests() 39 auto arr = std::to_array({1L, 4L, 9L, l1}); in tests() 49 auto arr = std::to_array("meow"); in tests() 60 auto arr = std::to_array(source); in tests() 69 auto arr = std::to_array(std::move(source)); in tests() 79 auto arr = std::to_array(std::move(source)); in tests() 88 auto arr = std::to_array((int[]){3, 4}); in tests() 97 auto arr = std::to_array<long>({1, 2, 3}); in tests() 110 auto arr = std::to_array<A>({{3, .1}}); in tests()
|
D | to_array.fail.cpp | 25 std::to_array(source); // expected-note {{requested here}} in main() 32 std::to_array(mo); // expected-note {{requested here}} in main() 39 std::to_array(std::move(cmo)); // expected-note {{requested here}} in main()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | remove_trivial_passthrough.cc | 46 Array& to_array = model->GetOrCreateArray(to); in Reroute() local 48 if (from_array.minmax && !to_array.minmax) { in Reroute() 49 to_array.GetOrCreateMinMax() = from_array.GetMinMax(); in Reroute() 52 to_array.narrow_range = from_array.narrow_range; in Reroute() 57 to_array.final_data_type == ArrayDataType::kNone) { in Reroute() 58 to_array.final_data_type = from_array.final_data_type; in Reroute()
|
/external/pigweed/pw_containers/ |
D | to_array_test.cc | 26 std::array<char, sizeof("literally!")> array = to_array("literally!"); in TEST() 31 constexpr std::array<int, 3> kArray = to_array({1, 2, 3}); in TEST() 38 std::array<char, sizeof("array!")> array = to_array(c_array); in TEST() 56 std::array<MoveOnly, 2> array = to_array(std::move(c_array)); in TEST()
|
D | BUILD.bazel | 95 name = "to_array", 96 hdrs = ["public/pw_containers/to_array.h"], 151 deps = [":to_array"],
|
D | CMakeLists.txt | 60 pw_add_library(pw_containers.to_array INTERFACE 62 public/pw_containers/to_array.h 135 pw_containers.to_array
|
D | BUILD.gn | 63 pw_source_set("to_array") { 65 public = [ "public/pw_containers/to_array.h" ] 130 deps = [ ":to_array" ]
|
D | docs.rst | 184 pw::containers::to_array 186 ``pw::containers::to_array`` is a C++14-compatible implementation of C++20's 187 `std::to_array <https://en.cppreference.com/w/cpp/container/array/to_array>`_. 188 In C++20, it is an alias for ``std::to_array``. It converts a C array to a
|
/external/pigweed/pw_containers/public/pw_containers/ |
D | to_array.h | 27 using std::to_array; 50 constexpr std::array<std::remove_cv_t<T>, kSize> to_array(T (&values)[kSize]) { 55 constexpr std::array<std::remove_cv_t<T>, kSize> to_array(T (&&values)[kSize]) {
|
/external/pigweed/pw_tokenizer/public/pw_tokenizer/internal/ |
D | tokenize_string.h | 54 domain_(containers::to_array(domain)), in PW_PACKED() 55 string_(containers::to_array(string)) {} in PW_PACKED()
|
/external/pigweed/pw_polyfill/ |
D | docs.rst | 83 - ``std::to_array`` 86 - ``pw_containers/to_array.h`` 87 - ``pw::containers::to_array``
|
/external/rust/crates/glam/src/f32/sse2/ |
D | mat3a.rs | 108 let [x_axis_x, x_axis_y, x_axis_z] = self.x_axis.to_array(); 109 let [y_axis_x, y_axis_y, y_axis_z] = self.y_axis.to_array(); 110 let [z_axis_x, z_axis_y, z_axis_z] = self.z_axis.to_array(); 135 self.x_axis.to_array(), 136 self.y_axis.to_array(), 137 self.z_axis.to_array(),
|
D | mat4.rs | 126 let [x_axis_x, x_axis_y, x_axis_z, x_axis_w] = self.x_axis.to_array(); 127 let [y_axis_x, y_axis_y, y_axis_z, y_axis_w] = self.y_axis.to_array(); 128 let [z_axis_x, z_axis_y, z_axis_z, z_axis_w] = self.z_axis.to_array(); 129 let [w_axis_x, w_axis_y, w_axis_z, w_axis_w] = self.w_axis.to_array(); 155 self.x_axis.to_array(), 156 self.y_axis.to_array(), 157 self.z_axis.to_array(), 158 self.w_axis.to_array(), 167 let [x, y, z, w] = diagonal.to_array(); in from_diagonal()
|
/external/rust/crates/glam/src/f32/coresimd/ |
D | mat3a.rs | 105 let [x_axis_x, x_axis_y, x_axis_z] = self.x_axis.to_array(); 106 let [y_axis_x, y_axis_y, y_axis_z] = self.y_axis.to_array(); 107 let [z_axis_x, z_axis_y, z_axis_z] = self.z_axis.to_array(); 132 self.x_axis.to_array(), 133 self.y_axis.to_array(), 134 self.z_axis.to_array(),
|
D | mat4.rs | 123 let [x_axis_x, x_axis_y, x_axis_z, x_axis_w] = self.x_axis.to_array(); 124 let [y_axis_x, y_axis_y, y_axis_z, y_axis_w] = self.y_axis.to_array(); 125 let [z_axis_x, z_axis_y, z_axis_z, z_axis_w] = self.z_axis.to_array(); 126 let [w_axis_x, w_axis_y, w_axis_z, w_axis_w] = self.w_axis.to_array(); 152 self.x_axis.to_array(), 153 self.y_axis.to_array(), 154 self.z_axis.to_array(), 155 self.w_axis.to_array(), 164 let [x, y, z, w] = diagonal.to_array(); in from_diagonal()
|
D | vec3a.rs | 97 pub const fn to_array(&self) -> [f32; 3] { in to_array() method 1030 unsafe { *(v.0.to_array().as_ptr() as *const Self) } in from() 1044 unsafe { *(v.0.to_array().as_ptr() as *const Self) } in from() 1068 unsafe { *(v.0.to_array().as_ptr() as *const Self) } in from()
|
D | vec4.rs | 100 pub const fn to_array(&self) -> [f32; 4] { in to_array() method 942 v.0.to_array() in from() 956 unsafe { *(v.0.to_array().as_ptr() as *const Self) } in from()
|
/external/rust/crates/glam/src/f32/wasm32/ |
D | mat3a.rs | 105 let [x_axis_x, x_axis_y, x_axis_z] = self.x_axis.to_array(); 106 let [y_axis_x, y_axis_y, y_axis_z] = self.y_axis.to_array(); 107 let [z_axis_x, z_axis_y, z_axis_z] = self.z_axis.to_array(); 132 self.x_axis.to_array(), 133 self.y_axis.to_array(), 134 self.z_axis.to_array(),
|
D | mat4.rs | 123 let [x_axis_x, x_axis_y, x_axis_z, x_axis_w] = self.x_axis.to_array(); 124 let [y_axis_x, y_axis_y, y_axis_z, y_axis_w] = self.y_axis.to_array(); 125 let [z_axis_x, z_axis_y, z_axis_z, z_axis_w] = self.z_axis.to_array(); 126 let [w_axis_x, w_axis_y, w_axis_z, w_axis_w] = self.w_axis.to_array(); 152 self.x_axis.to_array(), 153 self.y_axis.to_array(), 154 self.z_axis.to_array(), 155 self.w_axis.to_array(), 164 let [x, y, z, w] = diagonal.to_array(); in from_diagonal()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/ |
D | array | 94 constexpr array<remove_cv_t<T>, N> to_array(T (&a)[N]); // C++20 96 constexpr array<remove_cv_t<T>, N> to_array(T (&&a)[N]); // C++20 517 to_array(_Tp (&__arr)[_Size]) noexcept(is_nothrow_constructible_v<_Tp, _Tp&>) { 520 "[array.creation]/1: to_array does not accept multidimensional arrays."); 523 "[array.creation]/1: to_array requires copy constructible elements."); 529 to_array(_Tp(&&__arr)[_Size]) noexcept(is_nothrow_move_constructible_v<_Tp>) { 532 "[array.creation]/4: to_array does not accept multidimensional arrays."); 535 "[array.creation]/4: to_array requires move constructible elements.");
|
/external/rust/crates/glam/tests/ |
D | affine2.rs | 46 assert_eq!(MATRIX2D[0], a.x_axis.to_array()); 47 assert_eq!(MATRIX2D[1], a.y_axis.to_array()); 48 assert_eq!(MATRIX2D[2], a.z_axis.to_array());
|
D | affine3.rs | 54 assert_eq!(MATRIX2D[0], a.x_axis.to_array()); 55 assert_eq!(MATRIX2D[1], a.y_axis.to_array()); 56 assert_eq!(MATRIX2D[2], a.z_axis.to_array()); 57 assert_eq!(MATRIX2D[3], a.w_axis.to_array());
|
/external/pigweed/pw_spi/public/pw_spi/ |
D | initiator_mock.h | 120 return containers::to_array(transactions); in MakeExpectedTransactionArray()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/algorithms/alg.modifying.operations/alg.transform/ |
D | ranges.transform.unary.pass.cpp | 92 assert((std::to_array(b) == std::array{2, 4, 6, 8, 10})); in test_iterators() 103 assert((std::to_array(b) == std::array{2, 4, 6, 8, 10})); in test_iterators()
|
/external/rust/crates/glam/src/f64/ |
D | dmat3.rs | 133 self.x_axis.to_array(), 134 self.y_axis.to_array(), 135 self.z_axis.to_array(),
|