/system/bt/stack/smp/ |
D | p_256_multprecision.cc | 196 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/ |
D | multprecision.cc | 194 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/libutils/include/utils/ |
D | StrongPointer.h | 38 template<typename U> sp(U* other); // NOLINT(implicit) 39 template<typename U> sp(const sp<U>& other); // NOLINT(implicit) 40 template<typename U> sp(sp<U>&& other); // NOLINT(implicit) 50 template<typename U> sp& operator = (const sp<U>& other); 51 template<typename U> sp& operator = (sp<U>&& other); 52 template<typename U> sp& operator = (U* other); 69 template<typename U> 70 inline bool operator == (const wp<U>& o) const { 74 template<typename U> 75 inline bool operator != (const wp<U>& o) const { [all …]
|
D | RefBase.h | 194 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 { \ 366 template<typename U> wp(U* other); // NOLINT(implicit) 367 template<typename U> wp(const sp<U>& other); // NOLINT(implicit) 368 template<typename U> wp(const wp<U>& other); // NOLINT(implicit) [all …]
|
D | List.h | 86 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/core/base/include/android-base/ |
D | expected.h | 92 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/ |
D | safe_math.h | 24 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()
|
D | SimpleLog.h | 134 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/ |
D | rx_async.h | 33 template <typename T, typename U> 37 U&& subscriber) { in SubscribeAsync() 42 subscriber=std::forward<U>(subscriber)]() mutable { in SubscribeAsync() 52 template <typename T, typename U, typename E> 56 U&& on_next, in SubscribeAsync() 62 on_next=std::forward<U>(on_next), in SubscribeAsync()
|
D | expected.h | 64 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 …]
|
D | introspection.h | 71 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>;
|
/system/libhidl/base/include/hidl/ |
D | Status.h | 149 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/ |
D | Allocator.h | 113 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/ |
D | Misc.h | 26 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
|
D | InternetAddresses.h | 37 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 …]
|
D | MemBlock.h | 34 MemBlock() : MemBlock(0U) {} in MemBlock() 36 : mData((len > 0U) ? new uint8_t[len]{} : nullptr), in MemBlock()
|
D | Slice.h | 90 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/ |
D | packet.h | 70 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/ |
D | property_info_serializer.h | 27 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/ |
D | List.h | 84 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/ |
D | string_log.h | 37 template <class U> 38 T& operator<<(const U& t) {
|
/system/iorap/src/perfetto/ |
D | rx_producer.h | 120 template <typename U> 121 std::optional<ProtobufPtr<U>> MaybeUnserialize() { in MaybeUnserialize() 122 ProtobufMutablePtr<U> unencoded{new U{}}; in MaybeUnserialize()
|
/system/tools/aidl/tests/ |
D | test_helpers.h | 31 template <typename T, typename U, typename V> 35 U input) { in RepeatPrimitive()
|
/system/tools/aidl/tests/corpus/ |
D | char_seq_leak | 1 1enum F{U}parcelable e{CharSequence e;}
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | stl_emulation.h | 143 template <typename T, typename U> using is_same = std::is_same<T,U>; 155 template <typename T, typename U> using is_same = std::tr1::is_same<T,U>; 179 template <typename T, typename U> struct is_same : public std::is_same<T,U> {};
|