Home
last modified time | relevance | path

Searched refs:ConvertTo (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/
Dp2.cpp84 struct[[nodiscard("Don't throw me away!")]] ConvertTo{}; struct
90 operator ConvertTo();
104ConvertTo{}; // expected-warning {{ignoring return value of function declared with 'nodiscard' att… in usage()
113 (ConvertTo) s; in usage()
121 static_cast<ConvertTo>(s); in usage()
/external/webrtc/rtc_tools/frame_analyzer/
Dlinear_least_squares.cc69 std::valarray<R> ConvertTo(const std::valarray<T>& v) { in ConvertTo() function
78 Matrix<R> ConvertTo(const Matrix<T>& mat) { in ConvertTo() function
81 result[i] = ConvertTo<R>(mat[i]); in ConvertTo()
184 const Matrix<uint16_t> unpacked_x = ConvertTo<uint16_t>(FromVectorMatrix(x)); in AddObservations()
185 const Matrix<uint16_t> unpacked_y = ConvertTo<uint16_t>(FromVectorMatrix(y)); in AddObservations()
201 return ToVectorMatrix(GaussianElimination(ConvertTo<double>(*sum_xx), in GetBestSolution()
202 ConvertTo<double>(*sum_xy))); in GetBestSolution()
/external/libchrome/mojo/public/cpp/bindings/
Dtype_converter.h85 inline T ConvertTo(const U& obj);
100 output.push_back(ConvertTo<T>(obj));
110 inline T ConvertTo(const U& obj) {
/external/libchrome/mojo/public/cpp/bindings/tests/
Dtype_conversion_unittest.cc68 input.name, ConvertTo<std::vector<test::RectPtr>>(input.rects)); in Convert()
109 auto redmond_rects = ConvertTo<std::vector<RedmondRect>>(rects); in TEST()
125 auto redmond_rects = ConvertTo<std::vector<RedmondRect>>(rects); in TEST()
127 auto rects2 = ConvertTo<std::vector<RectPtr>>(redmond_rects); in TEST()
/external/llvm-project/clang/test/CodeGenCXX/
Dattr-target-mv-member-funcs.cpp18 struct ConvertTo { struct
32 ConvertTo C; in bar() argument
/external/protobuf/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.cc51 T ConvertTo(StringPiece value, in ConvertTo() function
442 return DataPiece(ConvertTo<double>( in CreateDefaultDataPieceForField()
446 return DataPiece(ConvertTo<float>( in CreateDefaultDataPieceForField()
452 return DataPiece(ConvertTo<int64>( in CreateDefaultDataPieceForField()
457 return DataPiece(ConvertTo<uint64>( in CreateDefaultDataPieceForField()
463 return DataPiece(ConvertTo<int32>( in CreateDefaultDataPieceForField()
468 ConvertTo<bool>(field.default_value(), &DataPiece::ToBool, false)); in CreateDefaultDataPieceForField()
478 return DataPiece(ConvertTo<uint32>( in CreateDefaultDataPieceForField()
/external/llvm-project/flang/lib/Evaluate/
Dtools.cpp91 ConvertTo(ry, std::move(ix)), std::move(ry))}; in ConvertRealOperands()
96 std::move(rx), ConvertTo(rx, std::move(iy)))}; in ConvertRealOperands()
122 std::move(rx), ConvertTo(rx, std::move(by)))}; in ConvertRealOperands()
127 ConvertTo(ry, std::move(bx)), std::move(ry))}; in ConvertRealOperands()
267 Expr<SomeComplex> zy{ConvertTo(zx, std::move(iry))}; in MixedComplexLeft()
306 Expr<SomeComplex> zx{ConvertTo(zy, std::move(irx))}; in MixedComplexRight()
371 AsGenericExpr(ConvertTo(iy, std::move(bx))), std::move(y), in NumericOperation()
376 AsGenericExpr(ConvertTo(ry, std::move(bx))), std::move(y), in NumericOperation()
381 AsGenericExpr(ConvertTo(ix, std::move(by))), defaultRealKind); in NumericOperation()
385 AsGenericExpr(ConvertTo(rx, std::move(by))), defaultRealKind); in NumericOperation()
[all …]
Dcall.cpp187 auto converted{ConvertTo(*stringLen, common::Clone(*nCopiesArg))}; in LEN()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dnative_struct_serialization.cc93 mojo::ConvertTo<native::SerializedHandle::Type>(attachment->GetType())); in SerializeMessageContents()
117 mojo::ConvertTo<IPC::MessageAttachment::Type>( in DeserializeMessageAttachments()
/external/llvm-project/mlir/tools/mlir-tblgen/
DLLVMIRConversionGen.cpp273 template <bool ConvertTo>
277 if (ConvertTo) in emitEnumConversionDefs()
/external/libchrome/ipc/
Dipc_channel_mojo.cc290 mojo::ConvertTo<mojo::native::SerializedHandle::Type>( in ReadFromMessageAttachmentSet()
313 mojo::ConvertTo<MessageAttachment::Type>(handle->type)); in WriteToMessageAttachmentSet()
/external/llvm-project/flang/include/flang/Evaluate/
Dtools.h393 common::IfNoLvalue<Expr<Type<TC, TK>>, FROM> ConvertTo( in ConvertTo() function
399 common::IfNoLvalue<Expr<SomeKind<TC>>, FROM> ConvertTo( in ConvertTo() function
411 common::IfNoLvalue<Expr<SomeType>, FROM> ConvertTo( in ConvertTo() function
415 return AsGenericExpr(ConvertTo(toCatExpr, std::move(from))); in ConvertTo()
470 return {SameExprs<YTy>{ConvertTo(ky, std::move(kx)), std::move(ky)}}; in AsSameKindExprs()
472 return {SameExprs<XTy>{std::move(kx), ConvertTo(kx, std::move(ky))}}; in AsSameKindExprs()
/external/google-fruit/include/fruit/impl/
Dcomponent.defn.h37 using ConvertTo = Eval<Call(ReverseComposeFunctors(Id<ComponentFunctor(ConvertComponent, Comp)>, member
55 using Op = typename fruit::impl::meta::OpForComponent<Bindings...>::template ConvertTo<Comp>; in Component()
/external/angle/third_party/abseil-cpp/absl/types/
Dvariant_test.cc1783 struct ConvertTo { struct
1793 std::string str = absl::visit(ConvertTo<std::string>{}, v); in TEST()
1798 absl::string_view piece = absl::visit(ConvertTo<absl::string_view>{}, v); in TEST()
/external/openscreen/third_party/abseil/src/absl/types/
Dvariant_test.cc1783 struct ConvertTo { struct
1793 std::string str = absl::visit(ConvertTo<std::string>{}, v); in TEST()
1798 absl::string_view piece = absl::visit(ConvertTo<absl::string_view>{}, v); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/types/
Dvariant_test.cc1783 struct ConvertTo { struct
1793 std::string str = absl::visit(ConvertTo<std::string>{}, v); in TEST()
1798 absl::string_view piece = absl::visit(ConvertTo<absl::string_view>{}, v); in TEST()
/external/libtextclassifier/abseil-cpp/absl/types/
Dvariant_test.cc1783 struct ConvertTo { struct
1793 std::string str = absl::visit(ConvertTo<std::string>{}, v); in TEST()
1798 absl::string_view piece = absl::visit(ConvertTo<absl::string_view>{}, v); in TEST()
/external/abseil-cpp/absl/types/
Dvariant_test.cc1783 struct ConvertTo { struct
1793 std::string str = absl::visit(ConvertTo<std::string>{}, v); in TEST()
1798 absl::string_view piece = absl::visit(ConvertTo<absl::string_view>{}, v); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dvariant_test.cc1783 struct ConvertTo { struct
1793 std::string str = absl::visit(ConvertTo<std::string>{}, v); in TEST()
1798 absl::string_view piece = absl::visit(ConvertTo<absl::string_view>{}, v); in TEST()