Home
last modified time | relevance | path

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

/frameworks/native/vulkan/libvulkan/
Ddriver.h129 std::is_same<DispatchableType, VkInstance>::value || in StaticAssertDispatchable()
130 std::is_same<DispatchableType, VkPhysicalDevice>::value || in StaticAssertDispatchable()
131 std::is_same<DispatchableType, VkDevice>::value || in StaticAssertDispatchable()
132 std::is_same<DispatchableType, InstanceDispatchable>::value || in StaticAssertDispatchable()
133 std::is_same<DispatchableType, VkQueue>::value || in StaticAssertDispatchable()
134 std::is_same<DispatchableType, VkCommandBuffer>::value || in StaticAssertDispatchable()
135 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/services/audioflinger/tests/
Dtest_utils.h27 struct is_same struct
33 struct is_same<T, T> // partial specialization argument
41 if (is_same<T, int16_t>::value) {
43 } else if (is_same<T, int32_t>::value) {
275 if (is_same<T, float>::value) {
277 } else if (is_same<T, short>::value) {
Dresampler_tests.cpp185 is_same<TI, int16_t>::value ? AUDIO_FORMAT_PCM_16_BIT : AUDIO_FORMAT_PCM_FLOAT, in testStopbandDownconversion()
/frameworks/av/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>
/frameworks/av/services/audioflinger/
DAudioResamplerFirOps.h40 struct is_same struct
46 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.h699 if (is_same<T, int16_t>::value) { // int16_t needs noise shaping
701 } else if (is_same<T, int32_t>::value) {
DAudioResamplerDyn.cpp197 if (is_same<TO, float>::value || is_same<TO, double>::value) { in setVolume()
DAudioMixer.cpp1845 volumeMix<MIXTYPE, is_same<TI, float>::value, false> ( in process_NoResampleOneTrack()
1858 t->adjustVolumeRamp(aux != NULL, is_same<TI, float>::value); in process_NoResampleOneTrack()
1884 volumeMix<MIXTYPE, is_same<TI, float>::value, true>( in track__Resample()
1908 volumeMix<MIXTYPE, is_same<TI, float>::value, true>( in track__NoResample()
/frameworks/av/media/libstagefright/include/
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/base/tools/aapt2/flatten/
DTableFlattener.cpp262 static_assert(std::is_same<ResTable_entry, T>::value || in writeEntry()
263 std::is_same<ResTable_entry_ext, T>::value, in writeEntry()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.h115 static_assert(std::is_same<PFN, HOOK>::value, in registerCallback()
DHWC2On1Adapter.cpp72 static_assert(std::is_same<PFN, T>::value, "Incompatible function pointer"); in asFP()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4873 static_assert(std::is_same<uint32_t, Res_value::data_type>::value, in U16StringToInt()