Home
last modified time | relevance | path

Searched refs:CONSTEXPR (Results 1 – 3 of 3) sorted by relevance

/system/core/libutils/include/utils/
DTimers.h34 static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) in seconds_to_nanoseconds()
39 static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) in milliseconds_to_nanoseconds()
44 static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) in microseconds_to_nanoseconds()
49 static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) in nanoseconds_to_seconds()
54 static CONSTEXPR inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) in nanoseconds_to_milliseconds()
59 static CONSTEXPR inline nsecs_t nanoseconds_to_microseconds(nsecs_t secs) in nanoseconds_to_microseconds()
64 static CONSTEXPR inline nsecs_t s2ns(nsecs_t v) {return seconds_to_nanoseconds(v);} in s2ns()
65 static CONSTEXPR inline nsecs_t ms2ns(nsecs_t v) {return milliseconds_to_nanoseconds(v);} in ms2ns()
66 static CONSTEXPR inline nsecs_t us2ns(nsecs_t v) {return microseconds_to_nanoseconds(v);} in us2ns()
67 static CONSTEXPR inline nsecs_t ns2s(nsecs_t v) {return nanoseconds_to_seconds(v);} in ns2s()
[all …]
DCompat.h69 #define CONSTEXPR constexpr macro
71 #define CONSTEXPR macro
/system/media/audio/include/system/
Daudio.h49 #define CONSTEXPR constexpr macro
51 #define CONSTEXPR macro
283 static inline CONSTEXPR uint32_t audio_channel_mask_get_bits(audio_channel_mask_t channel) in audio_channel_mask_get_bits()
294 static inline CONSTEXPR audio_channel_representation_t audio_channel_mask_get_representation( in audio_channel_mask_get_representation()
316 static inline CONSTEXPR bool audio_channel_mask_is_valid(audio_channel_mask_t channel) in audio_channel_mask_is_valid()
332 static inline CONSTEXPR audio_channel_mask_t audio_channel_mask_from_representation_and_bits( in audio_channel_mask_from_representation_and_bits()
350 static inline CONSTEXPR bool audio_channel_mask_contains_stereo(audio_channel_mask_t channelMask) { in audio_channel_mask_contains_stereo()
373 static inline CONSTEXPR bool audio_is_channel_mask_spatialized(audio_channel_mask_t channelMask) { in audio_is_channel_mask_spatialized()
1534 static inline CONSTEXPR bool audio_is_output_channel(audio_channel_mask_t channel) in audio_is_output_channel()
1556 static inline CONSTEXPR uint32_t audio_channel_count_from_in_mask(audio_channel_mask_t channel) in audio_channel_count_from_in_mask()
[all …]