Home
last modified time | relevance | path

Searched refs:U (Results 1 – 25 of 427) sorted by relevance

12345678910>>...18

/aosp12/system/bt/stack/smp/
H A Dp_256_multprecision.cc204 U = 0; in multiprecision_mult()
211 U = (V < U); in multiprecision_mult()
286 U += UE; in multiprecision_fast_mod_P256()
288 U -= UA; in multiprecision_fast_mod_P256()
303 U += UF; in multiprecision_fast_mod_P256()
305 U -= UB; in multiprecision_fast_mod_P256()
320 U += UG; in multiprecision_fast_mod_P256()
322 U -= UC; in multiprecision_fast_mod_P256()
337 U += UA; in multiprecision_fast_mod_P256()
347 U -= UE; in multiprecision_fast_mod_P256()
[all …]
/aosp12/system/bt/gd/security/ecc/
H A Dmultprecision.cc202 U = 0; in multiprecision_mult()
209 U = (V < U); in multiprecision_mult()
283 U += UE; in multiprecision_fast_mod_P256()
285 U -= UA; in multiprecision_fast_mod_P256()
300 U += UF; in multiprecision_fast_mod_P256()
302 U -= UB; in multiprecision_fast_mod_P256()
317 U += UG; in multiprecision_fast_mod_P256()
319 U -= UC; in multiprecision_fast_mod_P256()
334 U += UA; in multiprecision_fast_mod_P256()
344 U -= UE; in multiprecision_fast_mod_P256()
[all …]
/aosp12/frameworks/av/media/codec2/core/include/
H A DC2.h242 template<typename U>
254 template<typename U>
291 template<typename U, typename E=typename std::enable_if<(sizeof(U) < sizeof(T))>::type>
301 template<typename U> \
307 template<typename U, typename E=decltype(compat::get(U(0)))> \
313 attrib inline constexpr c2_cntr_t<U> operator op(const c2_cntr_t<U> &value) const { \
314 return c2_cntr_t<U>(U(mValue) op value.peeku()); \
419 struct c2_types<T, U> {
444 struct c2_types<T, U, V...> {
457 inline constexpr typename c2_types<T, U>::wide_type c2_max(const T a, const U b) {
[all …]
/aosp12/frameworks/base/tools/aapt2/util/
H A DMaybe.h46 template <typename U>
51 template <typename U>
56 template <typename U>
61 template <typename U>
95 template <typename U>
129 template <typename U>
148 template <typename U>
166 template <typename U>
172 template <typename U>
201 template <typename U>
[all …]
/aosp12/frameworks/native/libs/math/include/math/
H A Dmat3.h179 template<typename U>
279 template <typename U>
287 template<typename U>
312 template <typename U>
330 template <typename U>
340 template <typename U>
344 const U x = s*q.x; in TMat33()
345 const U y = s*q.y; in TMat33()
346 const U z = s*q.z; in TMat33()
347 const U xx = x*q.x; in TMat33()
[all …]
H A Dmat2.h169 template<typename U>
184 template <typename U>
190 template <typename U>
226 template <typename U>
256 template <typename U>
263 template<typename U>
282 template <typename U>
299 template <typename U>
334 typename TMat22<U>::row_type result(TMat22<U>::row_type::NO_INIT);
342 template<typename T, typename U>
[all …]
H A Dmat4.h183 template<typename U>
326 template <typename U>
335 template<typename U>
362 template <typename U>
383 template <typename U>
393 template <typename U>
397 const U x = s*q.x; in TMat44()
398 const U y = s*q.y; in TMat44()
399 const U z = s*q.z; in TMat44()
416 template <typename U>
[all …]
/aosp12/system/libbase/include/android-base/
H A Dexpected.h92 template<class U>
186 constexpr expected(U&& v) : var_(std::in_place_index<0>, std::forward<U>(v)) {} in expected()
196 constexpr explicit expected(U&& v) : var_(std::in_place_index<0>, T(std::forward<U>(v))) {} in expected()
272 std::is_constructible_v<T, U> && std::is_assignable_v<T&, U> &&
313 std::is_swappable_v<U> &&
346 template<class U _ENABLE_IF(
355 template<class U _ENABLE_IF(
436 std::is_void_v<U> &&
445 std::is_void_v<U> &&
453 std::is_void_v<U> &&
[all …]
/aosp12/system/core/libutils/include/utils/
H A DStrongPointer.h65 template <typename U>
68 template <typename U>
75 template<typename U> sp(const sp<U>& other); // NOLINT(implicit)
76 template<typename U> sp(sp<U>&& other); // NOLINT(implicit)
81 template <typename U>
91 template<typename U> sp& operator = (const sp<U>& other);
92 template<typename U> sp& operator = (sp<U>&& other);
109 template<typename U>
114 template<typename U>
249 template <typename U>
[all …]
H A DRefBase.h429 template<typename U> wp(const sp<U>& other); // NOLINT(implicit)
430 template<typename U> wp(const wp<U>& other); // NOLINT(implicit)
439 template<typename U> wp& operator = (const wp<U>& other);
440 template<typename U> wp& operator = (const sp<U>& other);
467 template<typename U>
472 template<typename U>
483 template<typename U>
488 template<typename U>
497 template<typename U>
561 template <typename U>
[all …]
/aosp12/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DAData.h244 template<typename U>
257 sp<U> __tmp = src.promote(); in assign()
290 template<typename Tp, typename U>
341 template<typename U>
372 template<typename Tp, typename U>
385 template<typename Tp, typename U>
459 static bool assign(typename Flagger::type flags, U &dst, const U &src) {
475 inline static bool assign(typename Flagger::type, U &, const U &) {
498 assign(typename Flagger::type flags, U &dst, U &src) {
510 assign(typename Flagger::type flags, U &dst, U &src) {
[all …]
H A DALookup.h26 template<typename T, typename U>
28 ALookup(std::initializer_list<std::pair<T, U>> list);
30 bool lookup(const T& from, U *to) const;
31 bool rlookup(const U& from, T *to) const;
40 std::vector<std::pair<T, U>> mTable;
43 template<typename T, typename U>
44 ALookup<T, U>::ALookup(std::initializer_list<std::pair<T, U>> list) in ALookup()
48 template<typename T, typename U>
49 bool ALookup<T, U>::lookup(const T& from, U *to) const { in lookup()
59 template<typename T, typename U>
[all …]
H A DAUtils.h44 template<class T, class U>
45 inline static const T align(const T &num, const U &den) { in align()
70 template<class T, class U>
72 inline static bool isInRange(const T &hayStart, const U &haySize, const T &needle) { in isInRange()
73 ENSURE_UNSIGNED_TYPE<U>(); in isInRange()
74 …return (T)(hayStart + haySize) >= hayStart && needle >= hayStart && (U)(needle - hayStart) < haySi… in isInRange()
78 template<class T, class U>
81 const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) { in isInRange()
82 ENSURE_UNSIGNED_TYPE<U>(); in isInRange()
85 && (U)(needleStart + needleSize - hayStart) <= haySize; in isInRange()
H A DTypeTraits.h55 typedef U type;
59 template<typename T, typename U>
60 struct HIDE underlying_integral_type<T, U, true, false> {
67 template<typename T, typename U>
68 struct HIDE underlying_integral_type<T, U, false, true> {
110 template<typename T, typename U, typename ...Us>
111 struct HIDE is_one_of<T, U, Us...> : is_one_of<T, Us...> {};
163 template<size_t Base, typename T, typename U, typename ...Us>
164 struct HIDE _find_first_impl<Base, T, U, Us...>
194 std::is_convertible<T, U>::value ? Base :
[all …]
/aosp12/art/openjdkjvmti/
H A Djvmti_allocator.h53 template <typename U>
55 typedef JvmtiAllocator<U> other;
61 template <typename U>
72 template <typename U>
75 template <typename U>
76 friend bool operator==(const JvmtiAllocator<U>& lhs, const JvmtiAllocator<U>& rhs);
90 template <typename U>
98 template <typename U>
156 template <typename U>
159 template <typename U>
[all …]
/aosp12/frameworks/rs/cpp/util/
H A DStrongPointer.h71 template<typename U> sp(U* other); // NOLINT, implicit
72 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
81 template<typename U> sp& operator = (const sp<U>& other);
82 template<typename U> sp& operator = (U* other);
135 template<typename T> template<typename U>
136 sp<T>::sp(U* other) : m_ptr(other) in sp()
141 template<typename T> template<typename U>
142 sp<T>::sp(const sp<U>& other) in sp()
172 template<typename T> template<typename U>
182 template<typename T> template<typename U>
[all …]
H A DRefBase.h209 template<typename U> explicit wp(U* other);
210 template<typename U> explicit wp(const sp<U>& other);
211 template<typename U> explicit wp(const wp<U>& other);
221 template<typename U> wp& operator = (U* other);
222 template<typename U> wp& operator = (const wp<U>& other);
223 template<typename U> wp& operator = (const sp<U>& other);
253 template<typename U>
261 template<typename U>
269 template<typename U>
320 wp<T>::wp(U* other) in wp()
[all …]
/aosp12/system/libfmq/include/fmq/
H A DAidlMessageQueue.h68 template <typename T, typename U>
72 typedef AidlMQDescriptorShim<T, FlavorTypeToValue<U>::value> Descriptor;
107 MQDescriptor<T, U> dupeDesc();
115 template <typename T, typename U>
116 AidlMessageQueue<T, U>::AidlMessageQueue(const MQDescriptor<T, U>& desc, bool resetPointers)
120 template <typename T, typename U>
123 : MessageQueueBase<AidlMQDescriptorShim, T, FlavorTypeToValue<U>::value>(
126 template <typename T, typename U>
127 MQDescriptor<T, U> AidlMessageQueue<T, U>::dupeDesc() {
146 return MQDescriptor<T, U>{
[all …]
/aosp12/art/compiler/utils/
H A Dswap_space.h120 template <typename U>
122 typedef SwapAllocator<U> other;
127 template <typename U>
138 template <typename U>
141 template <typename U>
142 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
156 template <typename U>
163 template <typename U>
217 template <typename U>
220 template <typename U>
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/infra/
H A DAndroidFuture.java128 public static <U> AndroidFuture<U> completedFuture(U value) { in completedFuture()
314 public <U> AndroidFuture<U> thenCompose( in thenCompose()
320 public <U> AndroidFuture<U> thenComposeAsync( in thenComposeAsync()
326 private static class ThenComposeAsync<T, U> extends AndroidFuture<U>
354 complete((U) res); in accept()
360 CompletionStage<U> secondJob; in run()
376 public <U> AndroidFuture<U> thenApply(@NonNull Function<? super T, ? extends U> fn) { in thenApply()
381 public <U> AndroidFuture<U> thenApplyAsync(@NonNull Function<? super T, ? extends U> fn, in thenApplyAsync()
386 private static class ThenApplyAsync<T, U> extends AndroidFuture<U>
423 public <U, V> AndroidFuture<V> thenCombine( in thenCombine()
[all …]
/aosp12/art/libartbase/base/
H A Darena_containers.h135 template <typename U>
145 template <typename U>
157 template <typename U>
172 template <typename U>
181 template <typename U>
207 void construct(U* p, Args&&... args) { in construct()
210 template <typename U>
211 void destroy(U* p) { in destroy()
212 p->~U(); in destroy()
218 template <typename U>
[all …]
H A Dscoped_arena_containers.h110 template <typename U>
122 template <typename U>
136 template <typename U>
153 template <typename U>
165 template <typename U>
196 void construct(U* p, Args&&... args) { in construct()
200 template <typename U>
201 void destroy(U* p) { in destroy()
203 p->~U(); in destroy()
209 template <typename U>
[all …]
/aosp12/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Ddefault_initialization_allocator.h23 template <typename U>
26 U, typename AllocatorTraits::template rebind_alloc<U>>;
31 template <typename U>
32 void construct(U* pointer) noexcept( in construct()
33 std::is_nothrow_default_constructible<U>::value) { in construct()
34 ::new (static_cast<void*>(pointer)) U; in construct()
36 template <typename U, typename... Args>
37 void construct(U* pointer, Args&&... args) { in construct()
/aosp12/frameworks/av/media/utils/include/mediautils/
H A DSynchronization.h63 template <typename U>
64 void operator=(U&& u) {
65 store(std::forward<U>(u));
75 template <typename U>
76 void store(U&& u) { in store()
80 mT = std::forward<U>(u); in store()
84 mT = std::forward<U>(u); in store()
124 template <typename U>
125 explicit Defer(U &&f) : mThunk(std::forward<U>(f)) {} in Defer()
/aosp12/frameworks/native/include/ftl/
H A DFlags.h85 using U = std::underlying_type_t<F>;
97 using U = typename std::underlying_type_t<F>;
108 template <typename T = U>
111 template <typename T = U>
176 U f = static_cast<U>(flag);
225 U get() const { return mFlags; }
230 U unstringified = 0;
252 U mFlags;
270 using U = typename std::underlying_type_t<F>;
271 return static_cast<F>(~static_cast<U>(f));
[all …]

12345678910>>...18