Searched refs:rep (Results 1 – 6 of 6) sorted by relevance
/system/logging/logd/ |
D | libaudit.cpp | 37 struct audit_message rep = {}; in get_ack() local 38 int rc = audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, MSG_PEEK); in get_ack() 43 if (rep.nlh.nlmsg_type == NLMSG_ERROR) { in get_ack() 44 audit_get_reply(fd, &rep, GET_REPLY_BLOCKING, 0); in get_ack() 45 rc = reinterpret_cast<struct nlmsgerr*>(rep.data)->error; in get_ack() 152 struct audit_message rep = {}; in audit_setup() local 153 audit_get_reply(fd, &rep, GET_REPLY_NONBLOCKING, 0); in audit_setup() 169 int audit_get_reply(int fd, struct audit_message* rep, reply_t block, int peek) { in audit_get_reply() argument 185 recvfrom(fd, rep, sizeof(*rep), flags, (struct sockaddr*)&nladdr, &nladdrlen)); in audit_get_reply() 208 if (!NLMSG_OK(&rep->nlh, (size_t)len)) { in audit_get_reply() [all …]
|
D | LogAudit.cpp | 88 struct audit_message rep; in onDataAvailable() local 90 rep.nlh.nlmsg_type = 0; in onDataAvailable() 91 rep.nlh.nlmsg_len = 0; in onDataAvailable() 92 rep.data[0] = '\0'; in onDataAvailable() 94 if (audit_get_reply(cli->getSocket(), &rep, GET_REPLY_BLOCKING, 0) < 0) { in onDataAvailable() 99 logPrint("type=%d %.*s", rep.nlh.nlmsg_type, rep.nlh.nlmsg_len, rep.data); in onDataAvailable()
|
D | libaudit.h | 77 extern int audit_get_reply(int fd, struct audit_message* rep, reply_t block,
|
/system/security/identity/ |
D | Credential.cpp | 255 for (const RequestEntryParcel& rep : rns.entries) { in getEntries() local 256 if (data->hasEntryData(rns.namespaceName, rep.name)) { in getEntries() 260 optional<EntryData> eData = data->getEntryData(rns.namespaceName, rep.name); in getEntries() 265 << rns.namespaceName << ": " << rep.name; in getEntries() 392 for (const RequestEntryParcel& rep : rns.entries) { in getEntries() local 393 optional<EntryData> entryData = data->getEntryData(rns.namespaceName, rep.name); in getEntries() 396 di.name = rep.name; in getEntries() 444 for (const RequestEntryParcel& rep : rns.entries) { in getEntries() local 446 resultEntryParcel.name = rep.name; in getEntries() 448 optional<EntryData> eData = data->getEntryData(rns.namespaceName, rep.name); in getEntries() [all …]
|
/system/core/fs_mgr/libfiemap/ |
D | binder.cpp | 118 static_cast<int32_t>(std::clamp<typename std::chrono::milliseconds::rep>( in MapImageDevice()
|
/system/libbase/ |
D | properties.cpp | 158 ts.tv_sec = std::min<std::chrono::seconds::rep>(s.count(), std::numeric_limits<time_t>::max()); in DurationToTimeSpec()
|