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

/frameworks/native/vulkan/libvulkan/
H A Ddriver.h129 std::is_same<DispatchableType, VkInstance>::value ||
130 std::is_same<DispatchableType, VkPhysicalDevice>::value ||
131 std::is_same<DispatchableType, VkDevice>::value ||
132 std::is_same<DispatchableType, InstanceDispatchable>::value ||
133 std::is_same<DispatchableType, VkQueue>::value ||
134 std::is_same<DispatchableType, VkCommandBuffer>::value ||
135 std::is_same<DispatchableType, DeviceDispatchable>::value,
H A Ddebug_report.h136 if (std::is_same<ObjectType, VkInstance>::value)
138 else if (std::is_same<ObjectType, VkPhysicalDevice>::value)
140 else if (std::is_same<ObjectType, VkDevice>::value)
/frameworks/av/include/media/stagefright/foundation/
H A 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/tests/
H A Dtest_utils.h27 struct is_same struct
33 struct is_same<T, T> // partial specialization struct
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) {
H A Dresampler_tests.cpp185 is_same<TI, int16_t>::value ? AUDIO_FORMAT_PCM_16_BIT : AUDIO_FORMAT_PCM_FLOAT,
/frameworks/av/media/libstagefright/include/
H A DSoftOMXComponent.h174 static_assert(std::is_same< decltype(a->nSize), OMX_U32>::value, "nSize has wrong type");
176 static_assert(std::is_same< decltype(a->nVersion), OMX_VERSIONTYPE>::value,
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirOps.h40 struct is_same struct in namespace:android
46 struct is_same<T, T> // partial specialization struct in namespace:android
H A DAudioMixerOps.h22 /* Behavior of is_same<>::value is true if the types are identical,
23 * false otherwise. Identical to the STL std::is_same.
26 struct is_same struct in namespace:android
32 struct is_same<T, T> // partial specialization struct in namespace:android
182 if (!is_same<TO, TI>::value) {
H A DAudioResamplerFirGen.h699 if (is_same<T, int16_t>::value) { // int16_t needs noise shaping
701 } else if (is_same<T, int32_t>::value) {
H A DAudioResamplerFirProcess.h421 if (is_same<TC, float>::value || is_same<TC, double>::value) {
H A DAudioResamplerDyn.cpp197 if (is_same<TO, float>::value || is_same<TO, double>::value) {
H A DAudioMixer.cpp1845 volumeMix<MIXTYPE, is_same<TI, float>::value, false> (
1858 t->adjustVolumeRamp(aux != NULL, is_same<TI, float>::value);
1884 volumeMix<MIXTYPE, is_same<TI, float>::value, true>(
1908 volumeMix<MIXTYPE, is_same<TI, float>::value, true>(
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp262 static_assert(std::is_same<ResTable_entry, T>::value ||
263 std::is_same<ResTable_entry_ext, T>::value,
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.h115 static_assert(std::is_same<PFN, HOOK>::value,
H A DHWC2On1Adapter.cpp72 static_assert(std::is_same<PFN, T>::value, "Incompatible function pointer");
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp4873 static_assert(std::is_same<uint32_t, Res_value::data_type>::value,

Completed in 7753 milliseconds