Home
last modified time | relevance | path

Searched refs:decltype (Results 1 – 25 of 178) sorted by relevance

12345678

/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc39 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()
Dpayload_verifier.h74 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_;
Dpayload_verifier.cc57 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()
Dcertificate_parser_stub.cc22 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>* in ReadPublicKeysFromCertificates()
Dcertificate_parser_stub.h35 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>*
Dcertificate_parser_android.h37 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>*
Dcertificate_parser_interface.h36 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>*
/system/core/libutils/
DSingleton_test.cpp45 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/bt/gd/packet/
Dcustom_field_fixed_size_interface.h35 …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/tools/aidl/tests/
Daidl_test_client_utf8_strings.cpp70 decltype(input) repeated; in TEST_F()
71 decltype(input) reversed; in TEST_F()
77 decltype(input) reversed_input(input); in TEST_F()
88 decltype(input) reversed; in DoTest()
89 decltype(input) repeated; in DoTest()
/system/iorap/src/common/
Dintrospection.h72 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);
Dtype.h139 #define STATIC_FAIL_DT(var, msg) STATIC_FAIL(decltype(var), msg)
163 constexpr decltype(auto) aliasing_forward(U&& val) noexcept { in decltype() function
/system/netd/libnetdutils/
DDumpWriter.cpp40 if (mIndentLevel < std::numeric_limits<decltype(mIndentLevel)>::max()) { in incIndent()
46 if (mIndentLevel > std::numeric_limits<decltype(mIndentLevel)>::min()) { in decIndent()
/system/keymaster/ng/include/
Dkeymaster_tags.h201 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \
205 ->const decltype(param.field_name)& { \
210 ->decltype(param.field_name)& { \
224 template <> struct TypedTag2ValueType<decltype(typed_tag)> { \ in MAKE_TAG_VALUE_ACCESSOR()
225 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ in MAKE_TAG_VALUE_ACCESSOR()
227 inline auto accessTagValue(decltype(typed_tag), const KeyParameter& param) \
228 ->const decltype(param.field_name)& { \
231 inline auto accessTagValue(decltype(typed_tag), KeyParameter& param) \
232 ->decltype(param.field_name)& { \
/system/bt/gd/common/
Dobserver_registry.h36 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/nvram/messages/include/nvram/messages/
Dproto.hpp172 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/core/libunwindstack/tools/
Dunwind_for_offline.cpp77 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()
312 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("maps.txt", "w+"), &fclose); in SaveData()
/system/teeui/libteeui/include/teeui/
Dutf8range.h124 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,
Dcbor.h100 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());
Dbutton.h92 std::tuple_size<decltype(Derived::button_drawable_objects)>::value, in Button()
101 std::tuple_size<decltype(Derived::button_drawable_objects)>::value; in draw()
/system/media/audio_utils/tests/
Dstatistics_tests.cpp109 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()
Dbiquad_filter.cpp89 std::unique_ptr<std::FILE, decltype(&std::fclose)> finp( in main()
96 std::unique_ptr<std::FILE, decltype(&std::fclose)> fout( in main()
/system/core/libpackagelistparser/
Dpackagelistparser.cpp102 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen(path, "re"), &fclose); in packagelist_parse_file()
113 std::unique_ptr<pkg_info, decltype(&packagelist_free)> info( in packagelist_parse_file()
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_helper.h290 decltype(sns_client_init) *sns_client_init;
291 decltype(sns_client_deinit) *sns_client_deinit;
292 decltype(sns_client_send) *sns_client_send;
/system/incremental_delivery/incfs/incfsdump/
Ddump.cpp250 return std::unique_ptr<Dump, decltype(undoNesting)>(this, std::move(undoNesting)); in scopedNesting()
331 bm = readAt<decltype(bm)>(offset); in dumpMd()
339 attr = readAt<decltype(attr)>(offset); in dumpMd()
348 sig = readAt<decltype(sig)>(offset); in dumpMd()

12345678