Home
last modified time | relevance | path

Searched refs:decltype (Results 1 – 25 of 177) 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_;
Dmtd_file_descriptor.h55 std::unique_ptr<MtdReadContext, decltype(&mtd_read_close)> read_ctx_;
56 std::unique_ptr<MtdWriteContext, decltype(&mtd_write_close)> write_ctx_;
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_interface.h36 std::vector<std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>>*
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)>>*
/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/iorap/src/common/
Drx_async.h46 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()
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/
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.h93 std::tuple_size<decltype(Derived::button_drawable_objects)>::value, in Button()
102 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()
/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.h289 decltype(sns_client_init) *sns_client_init;
290 decltype(sns_client_deinit) *sns_client_deinit;
291 decltype(sns_client_send) *sns_client_send;
/system/incremental_delivery/incfs/incfsdump/
Ddump.cpp251 return std::unique_ptr<Dump, decltype(undoNesting)>(this, std::move(undoNesting)); in scopedNesting()
332 bm = readAt<decltype(bm)>(offset); in dumpMd()
340 attr = readAt<decltype(attr)>(offset); in dumpMd()
349 sig = readAt<decltype(sig)>(offset); in dumpMd()
/system/core/base/include/android-base/
Dunique_fd.h157 -> decltype(T::Tag(fd, old_tag, new_tag), void()) {
168 static auto close(int fd, void* tag_value) -> decltype(T::Close(fd, tag_value), void()) {
173 static auto close(int fd, void*) -> decltype(T::Close(fd), void()) {
/system/extras/iotop/
Dtaskstats.cpp32 std::unique_ptr<nl_sock, decltype(&nl_socket_free)> nl( in Open()
130 std::unique_ptr<nl_msg, decltype(&nlmsg_free)> message(nlmsg_alloc(), in GetStats()
142 std::unique_ptr<nl_cb, decltype(&nl_cb_put)> callbacks( in GetStats()

12345678