/system/media/audio_utils/include/audio_utils/ |
D | intrinsic_utils.h | 101 if constexpr (std::is_array_v<decltype(retval)>) { in vdupn() 104 val = vdupn<std::decay_t<decltype(val)>>(f); in vdupn() 109 using r1_type = std::decay_t<decltype(r1)>; in vdupn() 110 using r2_type = std::decay_t<decltype(r2)>; in vdupn() 138 if constexpr (std::is_array_v<decltype(retval)>) { in vld1() 139 using element_type = std::decay_t<decltype(retval[0])>; in vld1() 149 using r1_type = std::decay_t<decltype(r1)>; in vld1() 150 using r2_type = std::decay_t<decltype(r2)>; in vld1() 182 if constexpr (std::is_array_v<decltype(retval)>) { in vmla() 222 if constexpr (std::is_array_v<decltype(retval)>) { in vmul() [all …]
|
/system/update_engine/payload_consumer/ |
D | certificate_parser_android.cc | 39 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); in IterateZipEntriesAndSearchForKeys() 71 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>* in ReadPublicKeysFromCertificates() 92 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>> result; in ReadPublicKeysFromCertificates() 94 std::unique_ptr<BIO, decltype(&BIO_free)> input( in ReadPublicKeysFromCertificates() 97 std::unique_ptr<X509, decltype(&X509_free)> x509( in ReadPublicKeysFromCertificates() 104 std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)> public_key( in ReadPublicKeysFromCertificates()
|
D | payload_verifier.h | 74 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>&& in PayloadVerifier() 85 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>> public_keys_;
|
D | payload_verifier.cc | 57 std::unique_ptr<BIO, decltype(&BIO_free)> bp( in CreateInstance() 64 auto pub_key = std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>( in CreateInstance() 71 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>> keys; in CreateInstance() 85 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>> public_keys; in CreateInstanceFromZipPath()
|
D | certificate_parser_stub.cc | 22 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>* in ReadPublicKeysFromCertificates()
|
D | certificate_parser_stub.h | 35 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>*
|
D | certificate_parser_interface.h | 36 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>*
|
D | certificate_parser_android.h | 37 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>*
|
/system/tools/aidl/tests/ |
D | aidl_test_client_utf8_strings.cpp | 71 decltype(input) repeated; in TEST_F() 73 repeated = decltype(input)(input.size()); in TEST_F() 75 decltype(input) reversed; in TEST_F() 81 decltype(input) reversed_input(input); in TEST_F() 92 decltype(input) repeated; in DoTest() 93 decltype(input) reversed; in DoTest()
|
/system/core/libutils/ |
D | Singleton_test.cpp | 45 using has_fn_t = decltype(&singletonHasInstance); in TEST() 46 using get_fn_t = decltype(&singletonGetInstanceContents); in TEST() 47 using set_fn_t = decltype(&singletonSetInstanceContents); in TEST()
|
/system/iorap/src/common/ |
D | rx_async.h | 46 std::forward<decltype(subscriber)>(subscriber)); in SubscribeAsync() 67 std::forward<decltype(on_next)>(on_next), in SubscribeAsync() 68 std::forward<decltype(on_error)>(on_error)); in SubscribeAsync()
|
D | introspection.h | 72 static constexpr decltype(auto) value(U&& v) { 86 static constexpr void set_value(typename decltype(struct_t)::type& s, 87 typename decltype(type)::type&& value) { 88 s.*member = std::forward<typename decltype(type)::type>(value);
|
D | type.h | 139 #define STATIC_FAIL_DT(var, msg) STATIC_FAIL(decltype(var), msg) 163 constexpr decltype(auto) aliasing_forward(U&& val) noexcept { in decltype() function
|
/system/bt/gd/packet/ |
D | custom_field_fixed_size_interface.h | 35 …std::is_same_v<decltype(T::kLength), const size_t>, "T::kLength must be const size_t or constexpr … in length() 36 static_assert(std::is_const_v<decltype(T::kLength)>, "T::kLength must be const"); in length()
|
/system/netd/libnetdutils/ |
D | DumpWriter.cpp | 40 if (mIndentLevel < std::numeric_limits<decltype(mIndentLevel)>::max()) { in incIndent() 46 if (mIndentLevel > std::numeric_limits<decltype(mIndentLevel)>::min()) { in decIndent()
|
/system/update_engine/common/ |
D | scoped_task_id.h | 55 return PostTask<decltype(callback)>(from_here, std::move(callback), delay); 60 return PostTask<decltype(callback)>(from_here, std::move(callback), delay); 104 base::BindOnce(&ScopedTaskId::ExecuteTask<decltype(callback)>, in PostTask()
|
/system/bt/gd/common/ |
D | observer_registry.h | 36 decltype(auto) Register(Callback<R(T...)> callback) { in decltype() function 61 decltype(auto) Register(int event_type, Callback<R(T...)> callback) { in decltype() function
|
/system/keymaster/ng/include/ |
D | keymaster_tags.h | 199 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ 203 ->const decltype(param.field_name)& { \ 208 ->decltype(param.field_name)& { \ 222 template <> struct TypedTag2ValueType<decltype(typed_tag)> { \ in MAKE_TAG_VALUE_ACCESSOR() 223 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR() 225 inline auto accessTagValue(decltype(typed_tag), const KeyParameter& param) \ 226 ->const decltype(param.field_name)& { \ 229 inline auto accessTagValue(decltype(typed_tag), KeyParameter& param) \ 230 ->decltype(param.field_name)& { \
|
/system/chre/platform/slpi/qsh/ |
D | qsh_shim.cc | 39 decltype(chreSensorFlushAsync) *gFlushFuncPtr = nullptr; 112 gFlushFuncPtr = reinterpret_cast<decltype(gFlushFuncPtr)>( in openQsh()
|
/system/nvram/messages/include/nvram/messages/ |
D | proto.hpp | 172 static decltype(static_cast<T>(declval<From>()), true_type()) test(int); 177 static constexpr bool value = decltype(test<To>(0))::value; 251 typename IndexSequence = decltype( 260 using FieldSpecs = typename remove_const<decltype(kFieldSpecList)>::Type; 290 using FieldSpecType = typename remove_const<decltype(kFieldSpec)>::Type; 432 decltype(
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_for_offline.cpp | 77 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("regs.txt", "w+"), &fclose); in SaveRegs() 110 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(file_name.c_str(), "w+"), &fclose); in SaveStack() 150 std::unique_ptr<FILE, decltype(&fclose)> output(fopen(cur_name.c_str(), "w+"), &fclose); in CreateElfFromMemory() 175 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(info->name.c_str(), "r"), &fclose); in CopyElfFromFile() 181 std::unique_ptr<FILE, decltype(&fclose)> output(fopen(cur_name.c_str(), "w+"), &fclose); in CopyElfFromFile() 308 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("maps.txt", "w+"), &fclose); in SaveData()
|
/system/teeui/libteeui/include/teeui/ |
D | utf8range.h | 124 static_assert(std::is_same<std::remove_reference_t<decltype(*begin_)>, const char>::value, 127 std::is_convertible<std::remove_reference_t<decltype(end_ - begin_)>, size_t>::value,
|
D | cbor.h | 100 template <typename T> auto getData(const T& v) -> decltype(v.data()) { 104 template <typename T> auto getData(const T& v) -> decltype(v.c_str()) { 109 auto text(const T& str) -> StringBuffer<std::decay_t<decltype(*getData(str))>, TextStr> { 110 return StringBuffer<std::decay_t<decltype(*getData(str))>, TextStr>(getData(str), str.size()); 126 auto bytes(const T& str) -> StringBuffer<std::decay_t<decltype(*getData(str))>, ByteStr> { 127 return StringBuffer<std::decay_t<decltype(*getData(str))>, ByteStr>(getData(str), str.size());
|
/system/media/audio_utils/tests/ |
D | statistics_tests.cpp | 109 EXPECT_NEAR((e), (v), abs((e) * std::numeric_limits<decltype(e)>::epsilon() * 8)) 335 static_assert(std::is_trivially_copyable<decltype(stat)>::value, in TEST() 399 static_assert(std::is_trivially_copyable<decltype(stat)>::value, in TEST() 401 static_assert(std::is_trivially_copyable<decltype(stat_outer)>::value, in TEST() 403 static_assert(std::is_trivially_copyable<decltype(stat_outer_ut)>::value, in TEST() 406 static_assert(std::is_trivially_copyable<decltype(stat_array)>::value, in TEST() 408 static_assert(std::is_trivially_copyable<decltype(stat_array_ut)>::value, in TEST() 444 static_assert(std::is_trivially_copyable<decltype(fit)>::value, in TEST()
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 58 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(fdinfo.c_str(), "re"), fclose}; in ReadDmaBufFdInfo() 119 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(fdinfo_dir_path.c_str()), &closedir); in ReadDmaBufFdRefs() 206 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(mapspath.c_str(), "re"), fclose}; in ReadDmaBufMapRefs() 254 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in ReadDmaBufInfo()
|