Home
last modified time | relevance | path

Searched refs:T (Results 1 – 25 of 2616) sorted by relevance

12345678910>>...105

/aosp12/packages/apps/TV/tuner/res/raw/
H A Dut_euro_dvbt_all4 T 474000000 QAM16
5 T 474000000 QAM64
6 T 474167000 QAM16
7 T 474167000 QAM64
8 T 481833000 QAM16
9 T 481833000 QAM64
10 T 481833330 QAM64
11 T 482000000 QAM16
12 T 482167000 QAM16
13 T 482167000 QAM64
[all …]
/aosp12/art/libartbase/base/
H A Dbit_utils.h95 constexpr T BSWAP(T x) { in BSWAP()
129 constexpr T RoundUpToPowerOfTwo(T x) { in RoundUpToPowerOfTwo()
138 constexpr T TruncToPowerOfTwo(T val) { in TruncToPowerOfTwo()
162 constexpr T RoundDown(T x, typename Identity<T>::type n) WARN_UNUSED;
165 constexpr T RoundDown(T x, typename Identity<T>::type n) { in RoundDown()
171 constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) WARN_UNUSED;
174 constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) { in RoundUp()
183 inline T* AlignDown(T* x, uintptr_t n) { in AlignDown()
191 inline T* AlignUp(T* x, uintptr_t n) { in AlignUp()
252 T limit = static_cast<T>(1) << (N - 1u); in IsInt()
[all …]
/aosp12/frameworks/av/media/codec2/vndk/include/util/
H A DC2InterfaceUtils.h165 C2SupportedRange<T> InRange(T min, T max, T step = MIN_STEP) {
180 C2SupportedRange<T> InSeries(T min, T max, T num, T denom) {
196 C2SupportedRange<T> InMacSeries(T min, T max, T step, T num, T denom) {
313 …constexpr C2_HIDE C2SupportedRange(T min, T max, T step = T(std::is_floating_point<T>::value ? 0 :…
328 constexpr C2_HIDE C2SupportedRange(T min, T max, T step, T num, T den)
372 static inline C2SupportedFlags<T> Flags(const std::vector<T> &flags, T min = T(0)) {
728 T min, T max, T step = std::is_floating_point<T>::value ? T(0) : T(1)) {
736 C2ParamFieldValuesBuilder<T> &inSeries(T min, T max, T num, T denom) {
744 C2ParamFieldValuesBuilder<T> &inMacSeries(T min, T max, T step, T num, T denom) {
766 C2ParamFieldValuesBuilder<T> &flags(const std::vector<T> &flags, T min = T(0)) {
[all …]
/aosp12/system/chre/external/flatbuffers/include/flatbuffers/
H A Dstl_emulation.h65 template <typename T> inline T *vector_data(std::vector<T> &vector) { in vector_data()
71 template <typename T> inline const T *vector_data( in vector_data()
142 template <typename T> using is_scalar = std::is_scalar<T>;
146 template <typename T> using is_enum = std::is_enum<T>;
150 template<class T, T v>
173 template<class T, T v>
187 template<class T, T v>
196 template <class T> using unique_ptr = std::unique_ptr<T>;
206 explicit unique_ptr(T* p) : std::unique_ptr<T>(p) {}
278 T* ptr_;
[all …]
/aosp12/system/core/libutils/include/utils/
H A DStrongPointer.h218 sp<T> sp<T>::make(Args&&... args) { in make()
227 sp<T> sp<T>::fromExisting(T* other) { in fromExisting()
240 sp<T>::sp(T* other) in sp()
258 sp<T>& sp<T>::operator=(T* other) {
272 sp<T>::sp(const sp<T>& other) in sp()
298 sp<T> sp<T>::cast(const sp<U>& other) { in cast()
309 sp<T>& sp<T>::operator =(const sp<T>& other) {
321 sp<T>& sp<T>::operator=(sp<T>&& other) noexcept {
353 sp<T>& sp<T>::operator =(U* other) {
364 void sp<T>::force_set(T* other) { in force_set()
[all …]
H A DFlattenable.h125 template<typename T>
127 return static_cast<T const*>(this)->T::getFlattenedSize(); in getFlattenedSize()
129 template<typename T>
131 return static_cast<T const*>(this)->T::getFdCount(); in getFdCount()
133 template<typename T>
172 return static_cast<T const*>(this)->T::isFixedSize(); in isFixedSize()
176 return static_cast<T const*>(this)->T::getFlattenedSize(); in getFlattenedSize()
180 return static_cast<T const*>(this)->T::flatten(buffer, size); in flatten()
184 return static_cast<T*>(this)->T::unflatten(buffer, size); in unflatten()
208 memcpy(buffer, static_cast<T const*>(this), sizeof(T)); in flatten()
[all …]
/aosp12/frameworks/base/tools/aapt2/util/
H A DMaybe.h84 T& value();
92 T value_or_default(const T& def) const;
173 Maybe<T>& Maybe<T>::copy(const Maybe<U>& rhs) { in copy()
208 Maybe<T>& Maybe<T>::move(Maybe<U>&& rhs) { in move()
235 Maybe<T>::Maybe(const T& value) : nothing_(false) { in Maybe()
240 Maybe<T>::Maybe(T&& value) : nothing_(false) { in Maybe()
241 new (&storage_) T(std::forward<T>(value)); in Maybe()
250 T& Maybe<T>::value() { in value()
256 const T& Maybe<T>::value() const { in value()
262 T Maybe<T>::value_or_default(const T& def) const { in value_or_default()
[all …]
/aosp12/frameworks/native/libs/math/include/math/
H A DTQuatHelpers.h65 QUATERNION<T>& operator *= (T v) {
72 QUATERNION<T>& operator /= (T v) {
129 constexpr QUATERNION<T> PURE operator *(QUATERNION<T> q, T scalar) {
134 constexpr QUATERNION<T> PURE operator *(T scalar, QUATERNION<T> q) {
140 constexpr QUATERNION<T> PURE operator /(QUATERNION<T> q, T scalar) {
175 constexpr T PURE norm(const QUATERNION<T>& q) { in norm()
220 constexpr QUATERNION<T> PURE cross(const QUATERNION<T>& p, const QUATERNION<T>& q) { in cross()
237 QUATERNION<T> PURE pow(const QUATERNION<T>& q, T a) { in pow()
245 QUATERNION<T> PURE slerp(const QUATERNION<T>& p, const QUATERNION<T>& q, T t) { in slerp()
260 constexpr QUATERNION<T> PURE lerp(const QUATERNION<T>& p, const QUATERNION<T>& q, T t) { in lerp()
[all …]
H A DTVecHelpers.h85 VECTOR<T>& operator +=(const VECTOR<T>& v) {
92 VECTOR<T>& operator -=(const VECTOR<T>& v) {
248 VECTOR<T> r(VECTOR<T>::NO_INIT);
501 friend inline CONSTEXPR VECTOR<T> PURE pow(VECTOR<T> v, T p) { in pow()
509 return clamp(lv, T(0), T(1)); in saturate()
512 friend inline CONSTEXPR VECTOR<T> PURE clamp(VECTOR<T> v, T min, T max) { in clamp()
519 …friend inline CONSTEXPR VECTOR<T> PURE fma(const VECTOR<T>& lv, const VECTOR<T>& rv, VECTOR<T> a) { in fma()
527 friend inline CONSTEXPR VECTOR<T> PURE min(const VECTOR<T>& u, VECTOR<T> v) { in min()
534 friend inline CONSTEXPR VECTOR<T> PURE max(const VECTOR<T>& u, VECTOR<T> v) { in max()
550 T r(std::numeric_limits<T>::max()); in min()
[all …]
/aosp12/system/media/audio_utils/include/audio_utils/
H A DStatistics.h61 friend constexpr KahanSum<T> operator+(KahanSum<T> lhs, const T& rhs) {
119 static constexpr T const_abs(T x) { in const_abs()
567 T &a, T& b, T &r2,
629 constexpr void computeYLine(T &a, T &b, T &r2) const {
645 constexpr void computeXLine(T &a, T &b, T &r2) const {
703 constexpr auto max(T begin, T end) {
749 constexpr T max(const T (&a)[N]) {
754 constexpr T min(const T (&a)[N]) {
770 constexpr T isnan(T x) {
782 constexpr T sqrt_constexpr_unchecked(T x, T prev) {
[all …]
/aosp12/frameworks/native/services/sensorservice/
H A DRingBuffer.h64 T* mPtr;
211 T& RingBuffer<T>::iterator::operator*() {
216 T* RingBuffer<T>::iterator::operator->() {
255 const T& RingBuffer<T>::const_iterator::operator*() {
260 const T* RingBuffer<T>::const_iterator::operator->() {
265 void RingBuffer<T>::add(const T& item) { in add()
277 void RingBuffer<T>::add(T&& item) { in add()
304 typename RingBuffer<T>::iterator RingBuffer<T>::begin() { in begin()
310 typename RingBuffer<T>::iterator RingBuffer<T>::end() { in end()
329 T& RingBuffer<T>::operator[](size_t index) {
[all …]
/aosp12/frameworks/av/media/libmedia/include/media/
H A DRingBuffer.h64 T* mPtr;
211 T& RingBuffer<T>::iterator::operator*() {
216 T* RingBuffer<T>::iterator::operator->() {
255 const T& RingBuffer<T>::const_iterator::operator*() {
260 const T* RingBuffer<T>::const_iterator::operator->() {
265 void RingBuffer<T>::add(const T& item) { in add()
277 void RingBuffer<T>::add(T&& item) { in add()
304 typename RingBuffer<T>::iterator RingBuffer<T>::begin() { in begin()
310 typename RingBuffer<T>::iterator RingBuffer<T>::end() { in end()
329 T& RingBuffer<T>::operator[](size_t index) {
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/metadata/
H A Dpartial_metadata_factory.h38 template <typename T>
39 static std::unique_ptr<State<T>> FixedState(int32_t tag, T value);
60 T min,
61 T max,
71 T value,
102 std::unique_ptr<State<T>> FixedState(int32_t tag, T value) { in FixedState()
150 T min, in NoEffectSliderControl()
151 T max, in NoEffectSliderControl()
212 T metadata_val; in V4L2Control()
213 T metadata_min; in V4L2Control()
[all …]
/aosp12/system/logging/liblog/include/log/
H A Dlog_time.h50 timespec T; in log_time() local
62 return !(*this == T);
70 return !(*this < T);
78 return !(*this > T);
83 return (tv_sec == T.tv_sec) && (tv_nsec == T.tv_nsec);
90 ((tv_sec == T.tv_sec) && (tv_nsec < T.tv_nsec));
93 return !(*this < T);
97 ((tv_sec == T.tv_sec) && (tv_nsec > T.tv_nsec));
105 if (*this <= T) {
121 return local -= T;
[all …]
/aosp12/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DTypeTraits.h36 template<typename T>
38 : std::integral_constant<bool, std::is_integral<T>::value || std::is_enum<T>::value> { };
48 template<typename T,
59 template<typename T, typename U>
71 typedef T type;
77 template<typename T>
85 template<typename T>
105 struct HIDE is_one_of<T, T, Us...> : std::true_type {};
111 struct HIDE is_one_of<T, U, Us...> : is_one_of<T, Us...> {};
116 template<typename T>
[all …]
H A DAUtils.h24 template<class T>
25 inline static const T divRound(const T &num, const T &den) { in divRound()
34 template<class T>
35 inline static const T divUp(const T &num, const T &den) { in divUp()
45 inline static const T align(const T &num, const U &den) { in align()
46 return (num + (T)(den - 1)) & (T)~(den - 1); in align()
49 template<class T>
50 inline static T abs(const T &a) { in abs()
55 inline static const T &min(const T &a, const T &b) { in min()
60 inline static const T &max(const T &a, const T &b) { in max()
[all …]
H A DAData.h117 addr->~T(); in del()
229 typename T,
240 inline static void assign(T *data, const T &src) { in assign()
308 inline static void copy(T *data, const T &src) {
309 data->~T();
326 typename T,
337 inline static void assign(T *data, T &&src) {
403 inline static void assign(T *data, T &&src) {
404 data->~T();
463 dst.template emplace<T>(src.template get<T>());
[all …]
/aosp12/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dnumeric.h27 template <typename T>
28 T NormalizePeriodicRange(T x, T lo, T hi) { in NormalizePeriodicRange()
47 T NormalizeDegrees(T x, T centre = static_cast<T>(180.0)) {
62 T NormalizeRadians(T x, T centre = static_cast<T>(M_PI)) {
78 T ConvertRange(T x, T lba, T uba, T lbb, T ubb) { in ConvertRange()
95 inline bool IsEqual(const T& a, const T& b,
101 T Square(const T& x) { in Square()
106 T RandomInRange(T lo, T hi,
116 T RandomInRange(T lo, T hi,
143 T RandomRange(T x) { in RandomRange()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DCollectionUtils.java62 public static @NonNull <T> List<T> filter(@Nullable List<T> list, in filter()
77 public static @NonNull <T> Set<T> filter(@Nullable Set<T> set, in filter()
266 public static @Nullable <T> T find(@Nullable List<T> items, in find()
280 public static @Nullable <T> T find(@Nullable Set<T> cur, in find()
311 public static @NonNull <T> List<T> add(@Nullable List<T> cur, T val) { in add()
323 public static @NonNull <T> List<T> add(@Nullable List<T> cur, int index, T val) { in add()
335 public static @NonNull <T> Set<T> addAll(@Nullable Set<T> cur, @Nullable Collection<T> val) { in addAll()
349 public static @NonNull <T> Set<T> add(@Nullable Set<T> cur, T val) { in add()
372 public static @NonNull <T> List<T> remove(@Nullable List<T> cur, T val) { in remove()
383 public static @NonNull <T> Set<T> remove(@Nullable Set<T> cur, T val) { in remove()
[all …]
/aosp12/frameworks/base/cmds/idmap2/include/idmap2/
H A DResult.h49 template <typename T>
66 T& operator*() &;
69 T* operator->() &;
80 template <typename T>
81 Result<T>::Result(const T& value) : data_(std::in_place_type<T>, value) { in Result()
84 template <typename T>
85 Result<T>::Result(T&& value) noexcept : data_(std::in_place_type<T>, std::forward<T>(value)) { in Result()
103 constexpr const T& Result<T>::operator*() const& {
109 T& Result<T>::operator*() & {
115 constexpr const T* Result<T>::operator->() const& {
[all …]
/aosp12/frameworks/rs/cpp/util/
H A DStrongPointer.h110 T* m_ptr;
122 sp<T>::sp(T* other) in sp()
129 sp<T>::sp(const sp<T>& other) in sp()
149 sp<T>::~sp() in ~sp()
155 sp<T>& sp<T>::operator = (const sp<T>& other) {
164 sp<T>& sp<T>::operator = (T* other)
173 sp<T>& sp<T>::operator = (const sp<U>& other)
183 sp<T>& sp<T>::operator = (U* other)
192 void sp<T>::force_set(T* other) in force_set()
199 void sp<T>::clear() in clear()
[all …]
/aosp12/frameworks/av/media/libeffects/loudness/common/core/
H A Dbyte_swapper.h42 static T Swap(const T &val) { in Swap()
56 static T Swap(const T &val) {
63 static T Swap(const T &val) {
64 T new_val;
75 static T Swap(const T &val) {
89 static T Swap(const T &val) {
106 T SwapBytes(const T &val, bool force_swap) {
109 return ByteSwapper<T, sizeof(T)>::Swap(val);
117 return ByteSwapper<T, sizeof(T)>::Swap(val);
126 T *writeable_vals = const_cast<T *>(vals);
[all …]
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraErrorCollector.java91 public <T> void checkThat(final T value, final Matcher<T> matcher) { in checkThat()
147 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals()
169 public <T> boolean expectNotEquals(String msg, T expected, T actual) { in expectNotEquals()
189 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals()
214 public <T> boolean expectNotEquals(String msg, T[] expected, T[] actual) { in expectNotEquals()
338 List<T> list, T min) { in expectValuesGreaterOrEqual()
367 T min, T max) { in expectValuesInRange()
385 T min, T max) { in expectValuesInRange()
416 T min, T max) { in expectInRange()
954 public <T> void expectContains(String reason, T[] values, T expected) { in expectContains()
[all …]
/aosp12/system/memory/libmemunreachable/
H A DAllocator.h65 T* allocate() { in allocate()
66 return reinterpret_cast<T*>(allocate(sizeof(T))); in allocate()
81 return unique_ptr<T>(new (allocate<T>()) T(std::forward<Args>(args)...), [impl](void* ptr) { in make_unique()
82 reinterpret_cast<T*>(ptr)->~T(); in make_unique()
119 STLAllocator<T>& operator=(const STLAllocator<T>&) = default;
121 T* allocate(std::size_t n) { return reinterpret_cast<T*>(heap_.allocate(n * sizeof(T))); } in allocate()
159 Allocator<T>& operator=(const Allocator<T>&) = default;
165 T* allocate() { return STLAllocator<T>::allocate(1); } in allocate()
188 return std::allocate_shared<T, Allocator<T>, Args...>(Allocator<T>(*this), in make_shared()
195 using vector = std::vector<T, Allocator<T>>;
[all …]
/aosp12/art/runtime/mirror/
H A Dobject_array-inl.h40 inline ObjPtr<T> ObjectArray<T>::Get(int32_t i) { in Get()
49 inline bool ObjectArray<T>::CheckAssignable(ObjPtr<T> object) { in CheckAssignable()
60 template<class T>
61 inline void ObjectArray<T>::Set(int32_t i, ObjPtr<T> object) { in Set()
71 inline void ObjectArray<T>::Set(int32_t i, ObjPtr<T> object) { in Set()
343 inline ConstHandleArrayIter<T> ObjectArray<T>::cbegin(const Handle<ObjectArray<T>>& h_this) { in cbegin()
347 inline ConstHandleArrayIter<T> ObjectArray<T>::cend(const Handle<ObjectArray<T>>& h_this) { in cend()
352 inline ObjPtrArrayIter<T> ObjectArray<T>::begin() { in begin()
356 inline ObjPtrArrayIter<T> ObjectArray<T>::end() { in end()
360 inline HandleArrayIter<T> ObjectArray<T>::begin(Handle<ObjectArray<T>>& h_this) { in begin()
[all …]

12345678910>>...105