Home
last modified time | relevance | path

Searched refs:From (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dcasts.h57 template<typename To, typename From>
58 inline To implicit_cast(From const &f) { in implicit_cast()
80 template<typename To, typename From> // use like this: down_cast<T*>(foo);
81 inline To down_cast(From* f) { // so we only accept pointers in down_cast()
87 implicit_cast<From*, To>(0); in down_cast()
96 template<typename To, typename From> // use like this: down_cast<T&>(foo);
97 inline To down_cast(From& f) { in down_cast()
104 implicit_cast<From*, ToAsPointer>(0); in down_cast()
114 template<typename To, typename From>
115 inline To bit_cast(const From& from) { in bit_cast()
[all …]
Dtype_traits.h111 template <class From, class To> struct is_convertible;
341 template <typename From, typename To>
345 static From Create();
353 template <typename From, typename To>
356 type_traits_internal::ConvertHelper<From, To>::value> {
/frameworks/base/core/java/android/animation/
DBidirectionalTypeConverter.java55 private static class InvertedConverter<From, To> extends BidirectionalTypeConverter<From, To> {
56 private BidirectionalTypeConverter<To, From> mConverter;
58 public InvertedConverter(BidirectionalTypeConverter<To, From> converter) { in InvertedConverter()
64 public From convertBack(To value) { in convertBack()
69 public To convert(From value) { in convert()
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp1202 EXPECT_EQ(C2NumberTuning::From(nullptr), nullptr); in TEST_F()
1203 EXPECT_EQ(C2NumberTuning::From(&tun), &tun); in TEST_F()
1204 EXPECT_EQ(C2NumberPortTuning::From(&tun), nullptr); in TEST_F()
1205 EXPECT_EQ(C2NumberPortTuning::input::From(&tun), nullptr); in TEST_F()
1206 EXPECT_EQ(C2NumberPortTuning::output::From(&tun), nullptr); in TEST_F()
1207 EXPECT_EQ(C2NumberStreamTuning::From(&tun), nullptr); in TEST_F()
1208 EXPECT_EQ(C2NumberStreamTuning::input::From(&tun), nullptr); in TEST_F()
1209 EXPECT_EQ(C2NumberStreamTuning::output::From(&tun), nullptr); in TEST_F()
1402 EXPECT_EQ(C2NumberPortTuning::From(nullptr), nullptr); in TEST_F()
1403 EXPECT_EQ(C2NumberPortTuning::input::From(nullptr), nullptr); in TEST_F()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Ddatapiece.cc61 template <typename To, typename From>
62 StatusOr<To> ValidateNumberConversion(To after, From before) { in ValidateNumberConversion()
64 MathUtil::Sign<From>(before) == MathUtil::Sign<To>(after)) { in ValidateNumberConversion()
67 return InvalidArgument(::google::protobuf::internal::is_integral<From>::value in ValidateNumberConversion()
69 : ::google::protobuf::internal::is_same<From, double>::value in ValidateNumberConversion()
78 template <typename To, typename From>
79 StatusOr<To> NumberConvertAndCheck(From before) { in NumberConvertAndCheck()
80 if (::google::protobuf::internal::is_same<From, To>::value) return before; in NumberConvertAndCheck()
88 template <typename To, typename From>
89 StatusOr<To> FloatingPointToIntConvertAndCheck(From before) { in FloatingPointToIntConvertAndCheck()
[all …]
/frameworks/opt/gamesdk/samples/tuningfork/tftestapp/app/src/main/proto/
Dtuningfork_clearcut_log.proto17 // From system property 'ro.build.fingerprint'.
20 // From system property 'ro.build.version.sdk'.
23 // From '/sys/devices/system/cpu/cpu/#/cpufreq/cpuinfo_max_freq'.
/frameworks/opt/gamesdk/src/tuningfork/proto/
Dtuningfork_clearcut_log.proto17 // From system property 'ro.build.fingerprint'.
20 // From system property 'ro.build.version.sdk'.
23 // From '/sys/devices/system/cpu/cpu/#/cpufreq/cpuinfo_max_freq'.
/frameworks/opt/gamesdk/samples/tuningfork/prototest/proto/
Dtuningfork_clearcut_log.proto17 // From system property 'ro.build.fingerprint'.
20 // From system property 'ro.build.version.sdk'.
23 // From '/sys/devices/system/cpu/cpu/#/cpufreq/cpuinfo_max_freq'.
/frameworks/opt/gamesdk/test/tuningfork/proto/
Dtuningfork_clearcut_log.proto17 // From system property 'ro.build.fingerprint'.
20 // From system property 'ro.build.version.sdk'.
23 // From '/sys/devices/system/cpu/cpu/#/cpufreq/cpuinfo_max_freq'.
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h486 *mTypedParam = std::shared_ptr<T>(T::From(C2Param::Copy(*default_).release()));
516 const T *typedValue = T::From(value);
549 const T *typedValue = T::From(value);
556 std::shared_ptr<T>(T::From(C2Param::Copy(*value).release()));
590 const T *typedValue = T::From(value);
597 std::shared_ptr<T>(T::From(C2Param::Copy(*value).release()));
/frameworks/base/tests/Camera2Tests/SmartCamera/
DREADME.txt21 From root: make SmartCamera will build the apk for generic
37 should appear. From there, you can go to the gallery with the gallery button or
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dvariant.h87 template <typename From, typename To>
88 struct ConstructibleCount<From, To>
89 : std::integral_constant<std::size_t, IsConstructible<To, From>::value> {};
90 template <typename From, typename First, typename... Rest>
91 struct ConstructibleCount<From, First, Rest...>
93 IsConstructible<First, From>::value +
94 ConstructibleCount<From, Rest...>::value> {};
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.h174 if (T::From(typed.get())) {
284 mValue = std::shared_ptr<const T>(T::From(C2Param::Copy(*value).release())); in update()
DCCodecConfig.cpp191 PORT::From(queried[0].get()); in QueryMediaTypeImpl()
197 STREAM *streamMediaType = STREAM::From(queried[0].get()); in QueryMediaTypeImpl()
1117 C2StreamTemporalLayeringTuning::From(C2Param::From(tmp->data(), tmp->size())); in getSdkFormatForDomain()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
Dreadme.txt47 From Google:
/frameworks/base/core/proto/android/os/
Dheader.proto25 // From statsd config, the id of the anomaly alert, unique among alerts.
/frameworks/av/media/codec2/core/include/
DC2ParamDef.h214 inline static _Type* From(C2Param *other) { \
219 inline static const _Type* From(const C2Param *other) { \
220 return const_cast<const _Type*>(From(const_cast<C2Param *>(other))); \
222 inline static _Type* From(std::nullptr_t) { return nullptr; } \
DC2Param.h432 inline static C2Param* From(void *addr, size_t len) { in From() function
495 P *As() { return P::From(this); } in As()
497 const P *As() const { return const_cast<const P*>(P::From(const_cast<C2Param*>(this))); } in As()
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/
DREADME.md134 From `Annotation` message example above:
/frameworks/base/libs/protoutil/src/
DProtoOutputStream.cpp522 template <class From, class To>
523 inline To bit_cast(From const &from) { in bit_cast()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dgenerated_message_reflection.h634 template<typename To, typename From>
635 inline To dynamic_cast_if_available(From from) { in dynamic_cast_if_available()
/frameworks/base/core/proto/android/service/
Dpackage.proto129 // From "dumpsys package" - name of package which installed this one.
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp219 C2PortMediaTypeSetting::input::From(queried[0].get()); in TEST_F()
/frameworks/av/media/codec2/vndk/
DC2Store.cpp730 C2PortMediaTypeSetting *mediaTypeConfig = C2PortMediaTypeSetting::From(params[0].get()); in init()
764 C2ComponentAliasesSetting::From(params[0].get()); in init()
/frameworks/base/core/proto/android/server/
Dbackup_chunks_metadata.proto58 // List of the chunks in the blob, along with the length of each chunk. From this is it possible to

12