Home
last modified time | relevance | path

Searched refs:to_array (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/libcxx/test/std/containers/sequences/array/array.creation/
Dto_array.pass.cpp30 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()
87 auto arr = std::to_array((int[]){3, 4}); in tests()
95 auto arr = std::to_array<long>({1, 2, 3}); in tests()
108 auto arr = std::to_array<A>({{3, .1}}); in tests()
Dto_array.fail.cpp25 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/
Dremove_trivial_passthrough.cc46 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/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_map_field.cc234 bool string_value, bool to_array, in GenerateSerializationLoop() argument
250 if (to_array) { in GenerateSerializationLoop()
283 bool to_array) const { in GenerateSerializeWithCachedSizes()
348 to_array ? "false" : "output->IsSerializationDeterministic()"); in GenerateSerializeWithCachedSizes()
350 GenerateSerializationLoop(format, string_key, string_value, to_array, true); in GenerateSerializeWithCachedSizes()
354 GenerateSerializationLoop(format, string_key, string_value, to_array, false); in GenerateSerializeWithCachedSizes()
Dcpp_message.h145 bool to_array);
164 bool to_array);
Dcpp_map_field.h66 bool to_array) const;
Dcpp_message.cc3678 bool to_array) { in GenerateSerializeOneofFields() argument
3682 GenerateSerializeOneField(printer, fields[0], to_array, -1); in GenerateSerializeOneofFields()
3692 if (to_array) { in GenerateSerializeOneofFields()
3710 bool to_array, in GenerateSerializeOneField() argument
3738 if (to_array) { in GenerateSerializeOneField()
3754 bool to_array) { in GenerateSerializeOneExtensionRange() argument
3760 if (to_array) { in GenerateSerializeOneExtensionRange()
3848 io::Printer* printer, bool to_array) { in GenerateSerializeWithCachedSizesBody() argument
3858 bool to_array) in GenerateSerializeWithCachedSizesBody() argument
3861 to_array_(to_array), in GenerateSerializeWithCachedSizesBody()
[all …]
/external/pigweed/pw_polyfill/standard_library_public/pw_polyfill/standard_library/
Darray.h44 constexpr array<remove_cv_t<T>, size> to_array(T (&values)[size]) { in to_array() function
49 constexpr array<remove_cv_t<T>, size> to_array(T(&&values)[size]) {
/external/pigweed/pw_polyfill/
Dtest.cc50 std::array<char, sizeof("literally!")> array = std::to_array("literally!"); in TEST()
55 constexpr std::array<int, 3> kArray = std::to_array({1, 2, 3}); in TEST()
62 std::array<char, sizeof("array!")> array = std::to_array(c_array); in TEST()
80 std::array<MoveOnly, 2> array = std::to_array(std::move(c_array)); in TEST()
Ddocs.rst45 <array> std::to_array full …
/external/pigweed/pw_tokenizer/public/pw_tokenizer/internal/
Dtokenize_string.h53 domain_(std::to_array(domain)), in PW_PACKED()
54 string_(std::to_array(string)) {} in PW_PACKED()
/external/llvm-project/libcxx/include/
Darray94 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
496 to_array(_Tp (&__arr)[_Size]) noexcept(is_nothrow_constructible_v<_Tp, _Tp&>) {
499 "[array.creation]/1: to_array does not accept multidimensional arrays.");
502 "[array.creation]/1: to_array requires copy constructible elements.");
508 to_array(_Tp(&&__arr)[_Size]) noexcept(is_nothrow_move_constructible_v<_Tp>) {
511 "[array.creation]/4: to_array does not accept multidimensional arrays.");
514 "[array.creation]/4: to_array requires move constructible elements.");
/external/flatbuffers/src/
Didl_gen_csharp.cpp1543 std::string to_array = ""; in GenPackUnPack_ObjectAPI() local
1549 to_array += "builder." + create_string + "(_o." + in GenPackUnPack_ObjectAPI()
1555 to_array = GenTypeGet(field.value.type) + ".Pack(builder, _o." + in GenPackUnPack_ObjectAPI()
1561 to_array = "_o." + property_name + "[_j].Type"; in GenPackUnPack_ObjectAPI()
1565 to_array = WrapInNameSpace(*field.value.type.enum_def) + in GenPackUnPack_ObjectAPI()
1577 code += array_name + "[_j] = " + to_array + "; }\n"; in GenPackUnPack_ObjectAPI()
/external/protobuf/php/ext/google/protobuf/
Dstorage.c1103 RepeatedField* to_array = UNBOX(RepeatedField, to_array_php); in layout_merge() local
1114 if (to_array->type == UPB_TYPE_MESSAGE) { in layout_merge()
1127 repeated_field_push_native(to_array, to_memory); in layout_merge()
/external/llvm-project/libcxx/docs/
DCxx2aStatusPaperStatus.csv101 "`P0325 <https://wg21.link/P0325>`__","LWG","to_array from LFTS with updates","Cologne","|Complete|…