Home
last modified time | relevance | path

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

12

/system/bt/stack/smp/
Dp_256_multprecision.cc196 uint32_t U; in multiprecision_mult() local
199 U = V = W = 0; in multiprecision_mult()
204 U = 0; in multiprecision_mult()
210 V = V + U; in multiprecision_mult()
211 U = (V < U); in multiprecision_mult()
212 U += W; in multiprecision_mult()
214 U += (V < c[i + j]); in multiprecision_mult()
217 c[i + KEY_LENGTH_DWORDS_P256] = U; in multiprecision_mult()
236 uint32_t U; in multiprecision_fast_mod_P256() local
285 U = (c[0] < E); in multiprecision_fast_mod_P256()
[all …]
/system/bt/gd/security/ecc/
Dmultprecision.cc194 uint32_t U; in multiprecision_mult() local
197 U = V = W = 0; in multiprecision_mult()
202 U = 0; in multiprecision_mult()
208 V = V + U; in multiprecision_mult()
209 U = (V < U); in multiprecision_mult()
210 U += W; in multiprecision_mult()
212 U += (V < c[i + j]); in multiprecision_mult()
215 c[i + KEY_LENGTH_DWORDS_P256] = U; in multiprecision_mult()
234 uint32_t U; in multiprecision_fast_mod_P256() local
282 U = (c[0] < E); in multiprecision_fast_mod_P256()
[all …]
/system/core/libpixelflinger/codeflinger/tinyutils/
Dsmartpointer.h37 template<typename U> \
38 inline bool operator _op_ (const sp<U>& o) const { \
41 template<typename U> \
42 inline bool operator _op_ (const U* o) const { \
56 template<typename U> sp(U* other); // NOLINT, implicit
57 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
66 template<typename U> sp& operator = (const sp<U>& other);
67 template<typename U> sp& operator = (U* other);
110 template<typename T> template<typename U>
111 sp<T>::sp(U* other) : m_ptr(other) in sp()
[all …]
/system/core/libutils/include/utils/
DStrongPointer.h44 template<typename U> sp(U* other); // NOLINT(implicit)
45 template<typename U> sp(const sp<U>& other); // NOLINT(implicit)
46 template<typename U> sp(sp<U>&& other); // NOLINT(implicit)
56 template<typename U> sp& operator = (const sp<U>& other);
57 template<typename U> sp& operator = (sp<U>&& other);
58 template<typename U> sp& operator = (U* other);
75 template<typename U>
76 inline bool operator == (const wp<U>& o) const {
80 template<typename U>
81 inline bool operator != (const wp<U>& o) const {
[all …]
DRefBase.h194 template<typename U> \
195 inline bool operator _op_ (const U* o) const { \
203 template<template<typename C> class comparator, typename T, typename U>
204 static inline bool _wp_compare_(T* a, U* b) { in _wp_compare_()
205 return comparator<typename std::common_type<T*, U*>::type>()(a, b); in _wp_compare_()
211 template<typename U> \
212 inline bool operator _op_ (const U* o) const { \
371 template<typename U> wp(U* other); // NOLINT(implicit)
372 template<typename U> wp(const sp<U>& other); // NOLINT(implicit)
373 template<typename U> wp(const wp<U>& other); // NOLINT(implicit)
[all …]
DList.h86 typename U,
90 typedef _ListIterator<U, Constness> _Iter;
91 typedef typename Constness<U>::NodePtr _NodePtr;
92 typedef typename Constness<U>::Type _Type;
271 typename U,
276 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const in distance() argument
/system/libbase/include/android-base/
Dexpected.h92 template<class U>
93 using rebind = expected<U, error_type>;
100 template<class U, class G _ENABLE_IF(
101 std::is_constructible_v<T, const U&> &&
103 !std::is_constructible_v<T, expected<U, G>&> &&
104 !std::is_constructible_v<T, expected<U, G>&&> &&
105 !std::is_constructible_v<T, const expected<U, G>&> &&
106 !std::is_constructible_v<T, const expected<U, G>&&> &&
107 !std::is_convertible_v<expected<U, G>&, T> &&
108 !std::is_convertible_v<expected<U, G>&&, T> &&
[all …]
/system/media/audio_utils/include/audio_utils/
Dsafe_math.h24 template <typename T, typename U,
26 std::is_same<std::decay_t<T>, std::decay_t<U>>{}>>
29 auto safe_sub_overflow(const T& a, const U& b) { in safe_sub_overflow()
37 template <typename T, typename U,
39 std::is_same<std::decay_t<T>, std::decay_t<U>>{}>>
42 auto safe_add_overflow(const T& a, const U& b) { in safe_add_overflow()
DSimpleLog.h134 template <typename U>
135 void logs(int64_t nowNs, U&& buffer) in logs()
142 mLog.emplace_back(nowNs, std::forward<U>(buffer)); in logs()
/system/iorap/src/common/
Dexpected.h64 template <typename U>
65 constexpr expected_data(U&& either, expected_tag_right)
66 : right_{std::forward<U>(either)}, is_right_{true} {}
68 template <typename U>
69 constexpr expected_data(U&& either, expected_tag_error)
70 : error_{std::forward<U>(either)}, is_right_{false} {}
211 template <typename U>
212 constexpr expected_data(U&& either, expected_tag_right)
213 : right_{std::forward<U>(either)}, is_right_{true} {}
215 template <typename U>
[all …]
Dintrospection.h71 template <typename U>
72 static constexpr decltype(auto) value(U&& v) {
73 static_assert(std::is_same_v<T, std::decay_t<U>>, "U must be cvref of T");
75 using U_noref = std::remove_reference_t<U>;
Dtype.h162 template <typename T, typename U>
163 constexpr decltype(auto) aliasing_forward(U&& val) noexcept { in decltype()
/system/libhidl/base/include/hidl/
DStatus.h149 template <typename T, typename U>
150 friend Return<U> StatusOf(const Return<T> &other);
250 template<typename U> Return(sp<U> v) : details::return_status(), mVal{v} {} in Return()
251 template<typename U> Return(U* v) : details::return_status(), mVal{v} {} in Return()
294 template <typename T, typename U>
295 Return<U> StatusOf(const Return<T> &other) { in StatusOf()
299 return Return<U>{other.mStatus}; in StatusOf()
/system/memory/libmemunreachable/
DAllocator.h113 template <typename U>
114 STLAllocator(const STLAllocator<U>& other) in STLAllocator()
125 template <typename U>
126 bool operator==(const STLAllocator<U>& other) const {
129 template <typename U>
130 inline bool operator!=(const STLAllocator<U>& other) const {
134 template <typename U>
153 template <typename U>
154 Allocator(const STLAllocator<U>& other) in Allocator()
/system/netd/libnetdutils/include/netdutils/
DMisc.h26 template <typename U, typename V>
27 inline const V& findWithDefault(const std::map<U, V>& map, const U& key, const V& dflt) { in findWithDefault() argument
DInternetAddresses.h37 uint8_t cidrlen{0U}; // written and read in host-byte order
38 in_port_t port{0U}; // written and read in host-byte order
39 uint32_t scope_id{0U};
138 : mData({AF_INET, IPV4_ADDR_BITS, 0U, 0U, {.v4 = ipv4}}) {} in IPAddress()
140 : mData({AF_INET6, IPV6_ADDR_BITS, 0U, 0U, {.v6 = ipv6}}) {} in IPAddress()
144 0U, in IPAddress()
146 usesScopedIds(ipv6) ? scope_id : 0U, in IPAddress()
149 mData.scope_id = (family() == AF_INET6 && usesScopedIds(mData.ip.v6)) ? scope_id : 0U; in IPAddress()
176 mData.port = 0U; in IPAddress()
180 mData.scope_id = 0U; in IPAddress()
[all …]
DMemBlock.h34 MemBlock() : MemBlock(0U) {} in MemBlock()
36 : mData((len > 0U) ? new uint8_t[len]{} : nullptr), in MemBlock()
DSlice.h90 template <typename U, size_t V>
91 inline const Slice makeSlice(const std::array<U, V>& a) { in makeSlice() argument
92 return {const_cast<U*>(a.data()), a.size() * sizeof(U)}; in makeSlice()
/system/bt/packet/base/
Dpacket.h70 template <class T, class U>
71 static std::shared_ptr<T> Specialize(const std::shared_ptr<U>& pkt) { in Specialize()
72 static_assert(std::is_convertible<U*, Packet*>::value, in Specialize()
76 static_assert(std::is_convertible<T*, U*>::value, in Specialize()
/system/core/property_service/libpropertyinfoserializer/include/property_info_serializer/
Dproperty_info_serializer.h27 template <typename T, typename U, typename V>
28 PropertyInfoEntry(T&& name, U&& context, V&& type, bool exact_match) in PropertyInfoEntry()
30 context(std::forward<U>(context)), in PropertyInfoEntry()
/system/keymaster/include/keymaster/
DList.h84 typename U,
88 typedef _ListIterator<U, Constness> _Iter;
89 typedef typename Constness<U>::NodePtr _NodePtr;
90 typedef typename Constness<U>::Type _Type;
269 typename U,
274 _ListIterator<U, CL> first, _ListIterator<U, CR> last) const in distance() argument
/system/apex/apexd/
Dstring_log.h37 template <class U>
38 T& operator<<(const U& t) {
/system/iorap/src/perfetto/
Drx_producer.h83 template <typename U>
84 std::optional<U> MaybeUnserialize() { in MaybeUnserialize()
85 U unencoded; in MaybeUnserialize()
/system/core/libpixelflinger/codeflinger/
Dtexturing.cpp465 int U = 0; in build_textures() local
506 U = scratches.obtain(); in build_textures()
517 AND(AL, 0, U, u, imm((1<<FRAC_BITS)-1)); in build_textures()
638 case 1: filter8(parts, texel, tmu, U, V, txPtr, FRAC_BITS); break; in build_textures()
639 case 2: filter16(parts, texel, tmu, U, V, txPtr, FRAC_BITS); break; in build_textures()
640 case 3: filter24(parts, texel, tmu, U, V, txPtr, FRAC_BITS); break; in build_textures()
641 case 4: filter32(parts, texel, tmu, U, V, txPtr, FRAC_BITS); break; in build_textures()
688 int U, int V, pointer_t& txPtr, in filter8() argument
720 SMULBB(AL, u, U, V); in filter8()
725 RSB(AL, 0, U, U, imm(1<<FRAC_BITS)); in filter8()
[all …]
/system/tools/aidl/tests/corpus/
Dchar_seq_leak1 1enum F{U}parcelable e{CharSequence e;}

12