Home
last modified time | relevance | path

Searched refs:decltype (Results 1 – 25 of 48) sorted by relevance

12

/hardware/google/av/codec2/tests/
DC2_test.cpp33 static_assert(std::is_same<decltype(min_i32_i32), const int32_t>::value, "should be int32_t");
35 static_assert(std::is_same<decltype(min_i32_i64), const int64_t>::value, "should be int64_t");
37 static_assert(std::is_same<decltype(min_i8_i32), const int32_t>::value, "should be int32_t");
44 static_assert(std::is_same<decltype(min_u32_u32), const uint32_t>::value, "should be uint32_t");
46 static_assert(std::is_same<decltype(min_u32_u64), const uint32_t>::value, "should be uint32_t");
48 static_assert(std::is_same<decltype(min_u32_u8), const uint8_t>::value, "should be uint8_t");
55 static_assert(std::is_same<decltype(max_i32_i32), const int32_t>::value, "should be int32_t");
57 static_assert(std::is_same<decltype(max_i32_i64), const int64_t>::value, "should be int64_t");
59 static_assert(std::is_same<decltype(max_i8_i32), const int32_t>::value, "should be int32_t");
66 static_assert(std::is_same<decltype(max_u32_u32), const uint32_t>::value, "should be uint32_t");
[all …]
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dconfirmationui_utils.h123 static int* f(const U* u, decltype(u->data())) {
126 static constexpr bool value = std::is_pointer<decltype(f((T*)nullptr, ""))>::value;
131 ByteBufferProxy(const T& buffer, decltype(buffer.data()) = nullptr)
133 static_assert(sizeof(decltype(*buffer.data())) == 1, "elements to large");
140 std::enable_if_t<!has_data<T>::value, decltype(buffer.c_str())> = nullptr)
142 static_assert(sizeof(decltype(*buffer.c_str())) == 1, "elements to large");
Dcbor.h111 auto getData(const T& v) -> decltype(v.data()) {
116 auto getData(const T& v) -> decltype(v.c_str()) {
121 auto text(const T& str) -> StringBuffer<std::decay_t<decltype(*getData(str))>, TextStr> {
122 return StringBuffer<std::decay_t<decltype(*getData(str))>, TextStr>(getData(str), str.size());
140 auto bytes(const T& str) -> StringBuffer<std::decay_t<decltype(*getData(str))>, ByteStr> {
141 return StringBuffer<std::decay_t<decltype(*getData(str))>, ByteStr>(getData(str), str.size());
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_tags.h182 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \
186 ->const decltype(param.field_name)& { \
191 ->decltype(param.field_name)& { \
205 template <> struct TypedTag2ValueType<decltype(typed_tag)> { \ in MAKE_TAG_VALUE_ACCESSOR()
206 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR()
208 inline auto accessTagValue(decltype(typed_tag), const KeyParameter& param) \
209 ->const decltype(param.field_name)& { \
212 inline auto accessTagValue(decltype(typed_tag), KeyParameter& param) \
213 ->decltype(param.field_name)& { \
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dkeymaster_tags.h174 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \
178 ->const decltype(param.field_name)& { \
183 ->decltype(param.field_name)& { \
198 struct TypedTag2ValueType<decltype(typed_tag)> { \ in MAKE_TAG_VALUE_ACCESSOR()
199 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR()
201 inline auto accessTagValue(decltype(typed_tag), const KeyParameter& param) \
202 ->const decltype(param.field_name)& { \
205 inline auto accessTagValue(decltype(typed_tag), KeyParameter& param) \
206 ->decltype(param.field_name)& { \
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_call_util.h125 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
126 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/interfaces/wifi/offload/1.0/vts/functional/
Dhidl_call_util.h121 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
122 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_hidl_call_util.h121 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
122 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_call_util.h125 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \
126 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.cpp65 .withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
72 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
79 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp162 displayHook<decltype(&Display::acceptChanges), in doGetFunction()
166 displayHook<decltype(&Display::createLayer), in doGetFunction()
170 displayHook<decltype(&Display::destroyLayer), in doGetFunction()
174 displayHook<decltype(&Display::getActiveConfig), in doGetFunction()
178 displayHook<decltype(&Display::getChangedCompositionTypes), in doGetFunction()
183 displayHook<decltype(&Display::getColorModes), in doGetFunction()
190 displayHook<decltype(&Display::getConfigs), in doGetFunction()
194 displayHook<decltype(&Display::getName), in doGetFunction()
198 displayHook<decltype(&Display::getRequests), in doGetFunction()
203 displayHook<decltype(&Display::getType), in doGetFunction()
[all …]
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp116 bufferHook<decltype(&Buffer::getBackingStore), in doGetFunction()
122 bufferHook<decltype(&Buffer::getDimensions), in doGetFunction()
126 bufferHook<decltype(&Buffer::getFormat), in doGetFunction()
130 bufferHook<decltype(&Buffer::getLayerCount), in doGetFunction()
136 bufferHook<decltype(&Buffer::getStride), in doGetFunction()
150 bufferHook<decltype(&Buffer::getNumFlexPlanes), in doGetFunction()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp200 displayHook<decltype(&Display::acceptChanges), in doGetFunction()
204 displayHook<decltype(&Display::createLayer), in doGetFunction()
208 displayHook<decltype(&Display::destroyLayer), in doGetFunction()
212 displayHook<decltype(&Display::getActiveConfig), in doGetFunction()
216 displayHook<decltype(&Display::getChangedCompositionTypes), in doGetFunction()
221 displayHook<decltype(&Display::getColorModes), in doGetFunction()
228 displayHook<decltype(&Display::getConfigs), in doGetFunction()
232 displayHook<decltype(&Display::getName), in doGetFunction()
236 displayHook<decltype(&Display::getRequests), in doGetFunction()
241 displayHook<decltype(&Display::getType), in doGetFunction()
[all …]
/hardware/libhardware/tests/input/evdev/
DTestHelpers.h34 decltype(auto) delay_async(Duration&& delay, Function&& task) in decltype() function
/hardware/interfaces/tests/multithread/1.0/default/
DMultithread.cpp56 decltype(Multithread::kTimeoutDuration) Multithread::kTimeoutDuration;
/hardware/interfaces/configstore/utils/include/configstore/
DUtils.h67 decltype(V::value) get(const decltype(V::value) &defValue) { in decltype() function
/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.cpp64 .withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
71 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
78 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
/hardware/google/av/media/codecs/amr_nb_wb/
DC2SoftAmrNbEnc.cpp66 .withSetter((Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)) in IntfImpl()
74 (Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
81 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
DC2SoftAmrDec.cpp84 .withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
91 .withSetter((Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)) in IntfImpl()
103 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
DC2SoftAmrWbEnc.cpp68 .withSetter((Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps)) in IntfImpl()
76 (Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
83 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
/hardware/google/av/media/codecs/flac/
DC2SoftFlacDec.cpp65 .withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
72 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
79 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxEnc.h287 Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps) in IntfImpl()
295 Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()
/hardware/google/av/codec2/include/
DC2ParamDef.h38 template<typename S, typename=decltype(S() == S())>
43 template<typename S, typename=decltype(S() != S())>
56 : public std::integral_constant<bool, decltype(_C2Comparable_impl::TestEqual<S>(0))::value
57 || decltype(_C2Comparable_impl::TestNotEqual<S>(0))::value> {
118 : public std::integral_constant<bool, decltype(_C2Flexible_impl::TestFlexSize<S>(0))::value> {
282 typedef decltype(m) _FlexMemberType; \
/hardware/interfaces/broadcastradio/common/vts/utils/include/broadcastradio-vts-utils/
Dmock-timeout.h83 return EGMockFlippedComma_<decltype(invokeMock())>(invokeMock, notify);
/hardware/google/av/media/codecs/aac/
DC2SoftAacEnc.cpp67 .withSetter((Setter<decltype(*mSampleRate)>::StrictValueWithNoDeps)) in IntfImpl()
74 .withSetter(Setter<decltype(*mChannelCount)>::StrictValueWithNoDeps) in IntfImpl()
81 .withSetter(Setter<decltype(*mBitrate)>::NonStrictValueWithNoDeps) in IntfImpl()

12