Home
last modified time | relevance | path

Searched refs:is_same (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_SystemClock.cpp39 static_assert(std::is_same<int64_t, jlong>::value, "jlong isn't an int64_t");
40 static_assert(std::is_same<decltype(uptimeMillis()), int64_t>::value,
42 static_assert(std::is_same<decltype(elapsedRealtime()), int64_t>::value,
44 static_assert(std::is_same<decltype(elapsedRealtimeNano()), int64_t>::value,
/frameworks/native/vulkan/libvulkan/
Ddriver.h139 std::is_same<DispatchableType, VkInstance>::value || in StaticAssertDispatchable()
140 std::is_same<DispatchableType, VkPhysicalDevice>::value || in StaticAssertDispatchable()
141 std::is_same<DispatchableType, VkDevice>::value || in StaticAssertDispatchable()
142 std::is_same<DispatchableType, InstanceDispatchable>::value || in StaticAssertDispatchable()
143 std::is_same<DispatchableType, VkQueue>::value || in StaticAssertDispatchable()
144 std::is_same<DispatchableType, VkCommandBuffer>::value || in StaticAssertDispatchable()
145 std::is_same<DispatchableType, DeviceDispatchable>::value, in StaticAssertDispatchable()
Ddebug_report.h136 if (std::is_same<ObjectType, VkInstance>::value) in GetObjectType()
138 else if (std::is_same<ObjectType, VkPhysicalDevice>::value) in GetObjectType()
140 else if (std::is_same<ObjectType, VkDevice>::value) in GetObjectType()
/frameworks/av/media/libstagefright/foundation/tests/
DTypeTraits_test.cpp92 static_assert(std::is_same<uint64_t, typename underlying_integral_type<uint64_t>::type>::value, in TEST_F()
94 static_assert(std::is_same<uint32_t, typename underlying_integral_type<UA>::type>::value, in TEST_F()
96 static_assert(std::is_same<int64_t, typename underlying_integral_type<int64_t>::type>::value, in TEST_F()
98 static_assert(std::is_same<int32_t, typename underlying_integral_type<IA>::type>::value, in TEST_F()
101 static_assert(std::is_same<void, typename underlying_integral_type<float, void>::type>::value, in TEST_F()
/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h33 struct is_same struct
39 struct is_same<T, T> // partial specialization argument
47 if (is_same<T, int16_t>::value) {
49 } else if (is_same<T, int32_t>::value) {
281 if (is_same<T, float>::value) {
283 } else if (is_same<T, short>::value) {
Dresampler_tests.cpp202 is_same<TI, int16_t>::value ? AUDIO_FORMAT_PCM_16_BIT : AUDIO_FORMAT_PCM_FLOAT, in testStopbandDownconversion()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DALookup.h33 template<typename V, typename = typename std::enable_if<!std::is_same<T, V>::value>::type>
36 template<typename V, typename = typename std::enable_if<!std::is_same<T, V>::value>::type>
DAData.h241 using enable_if_T_is_same_as = typename std::enable_if<std::is_same<U, T>::value>::type;
288 static_assert(std::is_same<Tp, void>::value, in assign()
338 using enable_if_T_is_same_as = typename std::enable_if<std::is_same<U, T>::value>::type;
370 static_assert(std::is_same<Tp, void>::value,
383 static_assert(std::is_same<Tp, void>::value,
913 if (this->flags() == Flagger::flagFor((T*)0) && std::is_same<T, B>::value) {
944 if (this->flags() == Flagger::flagFor((T*)0) && std::is_same<T, B>::value) {
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirOps.h47 struct is_same struct
53 struct is_same<T, T> // partial specialization argument
DAudioMixerOps.h26 struct is_same struct
32 struct is_same<T, T> // partial specialization argument
182 if (!is_same<TO, TI>::value) {
DAudioResamplerFirProcess.h421 if (is_same<TC, float>::value || is_same<TC, double>::value) { in fir()
DAudioResamplerFirGen.h748 if (std::is_same<T, int16_t>::value) { // int16_t needs noise shaping
750 } else if (std::is_same<T, int32_t>::value) {
DAudioResamplerDyn.cpp223 if (is_same<TO, float>::value || is_same<TO, double>::value) { in setVolume()
DAudioMixer.cpp1690 t->volumeMix<MIXTYPE, is_same<TI, float>::value /* USEFLOATVOL */, false /* ADJUSTVOL */> ( in process__noResampleOneTrack()
1703 t->adjustVolumeRamp(aux != NULL, is_same<TI, float>::value); in process__noResampleOneTrack()
1729 volumeMix<MIXTYPE, is_same<TI, float>::value /* USEFLOATVOL */, true /* ADJUSTVOL */>( in track__Resample()
1752 volumeMix<MIXTYPE, is_same<TI, float>::value /* USEFLOATVOL */, true /* ADJUSTVOL */>( in track__NoResample()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DSoftOMXComponent.h174 static_assert(std::is_same< decltype(a->nSize), OMX_U32>::value, "nSize has wrong type"); in isValidOMXParam()
176 static_assert(std::is_same< decltype(a->nVersion), OMX_VERSIONTYPE>::value, in isValidOMXParam()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dfind_replace.h17 using IsSameBaseType = typename std::is_same<typename std::decay<T>::type,
Dtype_operators.h28 using IsEquivalent = typename std::is_same<Decay<A>, Decay<B>>::type;
Dvariant.h45 !(std::is_same<std::decay_t<T>, bool>::value &&
63 struct HasType<T, U> : std::is_same<std::decay_t<T>, std::decay_t<U>> {};
Dremote_method.h30 std::is_same<typename RemoteMethodType::Traits::template Arg<0>,
/frameworks/native/libs/vr/libvrflinger/
Dhwc_types.h74 std::is_same<U, typename UnderlyingType<T>::Type>::value,
82 std::is_same<typename UnderlyingType<T>::Type,
/frameworks/native/libs/math/tests/
Dmat_test.cpp487 if (std::is_same<TypeParam,float>::value) { \
491 } else if (std::is_same<TypeParam,double>::value) { \
508 if (std::is_same<TypeParam,float>::value) { \
510 } else if (std::is_same<TypeParam,double>::value) { \
/frameworks/native/libs/binder/include/binder/
DSafeInterface.h94 typename std::enable_if<std::is_same<NH, sp<NativeHandle>>::value, status_t>::type read( in read()
100 typename std::enable_if<std::is_same<NH, sp<NativeHandle>>::value, status_t>::type write( in write()
122 typename std::enable_if<std::is_same<IBinder, T>::value, status_t>::type read( in read()
128 typename std::enable_if<std::is_same<IBinder, T>::value, status_t>::type write( in write()
344 static constexpr bool value = std::is_same<DecayedT, DecayedU>::value;
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp281 std::is_same<ResTable_entry, T>::value || std::is_same<ResTable_entry_ext, T>::value, in WriteEntry()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp420 static_assert(std::is_same<decltype(*pIn), decltype(*pContext->InFrames)>::value, in process()