/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 | 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/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/keymaster/ng/include/ |
D | keymaster_tags.h | 201 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/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/core/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() 309 std::unique_ptr<FILE, decltype(&fclose)> fp(fopen("maps.txt", "w+"), &fclose); in SaveData()
|
/system/update_engine/payload_consumer/ |
D | mtd_file_descriptor.h | 55 std::unique_ptr<MtdReadContext, decltype(&mtd_read_close)> read_ctx_; 56 std::unique_ptr<MtdWriteContext, decltype(&mtd_write_close)> write_ctx_;
|
/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()
|
D | timestampverifier_tests.cpp | 53 static_assert(std::is_trivially_copyable<decltype(tv)>::value, in TEST() 55 static_assert(std::is_trivially_destructible<decltype(tv)>::value, in TEST()
|
/system/connectivity/wificond/scanning/offload/ |
D | hidl_call_util.h | 126 std::remove_reference<decltype(*strong_pointer)>::type::method##_cb>( \ 127 &std::remove_reference<decltype(*strong_pointer)>::type::method, \
|
/system/core/base/include/android-base/ |
D | unique_fd.h | 141 -> decltype(T::Tag(fd, old_tag, new_tag), void()) { 152 static auto close(int fd, void* tag_value) -> decltype(T::Close(fd, tag_value), void()) { 157 static auto close(int fd, void*) -> decltype(T::Close(fd), void()) {
|
D | macros.h | 28 decltype(exp) _rc; \
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | see_helper.h | 290 decltype(sns_client_init) *sns_client_init; 291 decltype(sns_client_deinit) *sns_client_deinit; 292 decltype(sns_client_send) *sns_client_send;
|
/system/chre/platform/shared/nanoapp/ |
D | nanoapp_support_lib_dso.cc | 124 static decltype(functionName) *fptr = nullptr; \ 126 fptr = reinterpret_cast<decltype(fptr)>( \
|
/system/extras/iotop/ |
D | taskstats.cpp | 32 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()
|
D | tasklist.cpp | 32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir()
|
/system/core/init/ |
D | mount_handler.h | 54 std::unique_ptr<FILE, decltype(&fclose)> fp_;
|
D | bootchart.cpp | 60 static std::unique_ptr<FILE, decltype(&fclose)> fopen_unique(const char* filename, in fopen_unique() 62 std::unique_ptr<FILE, decltype(&fclose)> result(fopen(filename, mode), fclose); in fopen_unique()
|
D | uevent_listener.cpp | 152 std::unique_ptr<DIR, decltype(&closedir)> d2(fdopendir(fd), closedir); in RegenerateUeventsForDir() 168 std::unique_ptr<DIR, decltype(&closedir)> d(opendir(path.c_str()), closedir); in RegenerateUeventsForPath()
|
/system/core/libvndksupport/tests/ |
D | linker_test.cpp | 37 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib()
|
/system/core/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 49 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(fdinfo.c_str(), "re"), fclose}; in ReadDmaBufFdInfo() 169 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(mapspath.c_str(), "re"), fclose}; in ReadDmaBufMapRefs() 212 auto fp = std::unique_ptr<FILE, decltype(&fclose)>{fopen(path.c_str(), "re"), fclose}; in ReadDmaBufInfo()
|
/system/libvintf/test/ |
D | VintfObjectRecoveryTest.cpp | 29 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(opendir(path), &closedir); in directoryEmpty()
|
/system/extras/simpleperf/ |
D | CallChainJoiner.h | 92 typedef std::unordered_set<CacheNode*, decltype(&CacheNodeHash), decltype(&CacheNodeEqual)>
|
/system/core/base/ |
D | scopeguard_test.cpp | 44 { decltype(scopeguard) new_guard(std::move(scopeguard)); } in TEST()
|