Home
last modified time | relevance | path

Searched refs:rep (Results 1 – 6 of 6) sorted by relevance

/system/core/logd/
Dlibaudit.cpp37 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 …]
DLogAudit.cpp86 struct audit_message rep; in onDataAvailable() local
88 rep.nlh.nlmsg_type = 0; in onDataAvailable()
89 rep.nlh.nlmsg_len = 0; in onDataAvailable()
90 rep.data[0] = '\0'; in onDataAvailable()
92 if (audit_get_reply(cli->getSocket(), &rep, GET_REPLY_BLOCKING, 0) < 0) { in onDataAvailable()
97 logPrint("type=%d %.*s", rep.nlh.nlmsg_type, rep.nlh.nlmsg_len, rep.data); in onDataAvailable()
Dlibaudit.h77 extern int audit_get_reply(int fd, struct audit_message* rep, reply_t block,
/system/security/identity/
DCredential.cpp204 for (const RequestEntryParcel& rep : rns.entries) { in getEntries() local
205 if (data_->hasEntryData(rns.namespaceName, rep.name)) { in getEntries()
209 optional<EntryData> data = data_->getEntryData(rns.namespaceName, rep.name); in getEntries()
214 << rns.namespaceName << ": " << rep.name; in getEntries()
353 for (const RequestEntryParcel& rep : rns.entries) { in getEntries() local
354 optional<EntryData> entryData = data_->getEntryData(rns.namespaceName, rep.name); in getEntries()
357 di.name = rep.name; in getEntries()
405 for (const RequestEntryParcel& rep : rns.entries) { in getEntries() local
407 resultEntryParcel.name = rep.name; in getEntries()
409 optional<EntryData> data = data_->getEntryData(rns.namespaceName, rep.name); in getEntries()
[all …]
/system/libbase/
Dproperties.cpp158 ts.tv_sec = std::min<std::chrono::seconds::rep>(s.count(), std::numeric_limits<time_t>::max()); in DurationToTimeSpec()
/system/core/fs_mgr/libfiemap/
Dbinder.cpp118 static_cast<int32_t>(std::clamp<typename std::chrono::milliseconds::rep>( in MapImageDevice()