Searched refs:nl (Results 1 - 7 of 7) sorted by path

/system/core/base/
H A Dlogging.cpp390 size_t nl = msg.find('\n', i); local
391 msg[nl] = '\0';
394 i = nl + 1;
/system/core/debuggerd/
H A Dtombstone.cpp574 char* nl = msg + strlen(msg) - 1; local
575 while (nl >= msg && *nl == '\n') {
576 *nl-- = '\0';
584 nl = strchr(msg, '\n');
585 if (nl) {
586 *nl = '\0';
587 ++nl;
593 } while ((msg = nl));
/system/core/healthd/
H A Dhealthd_mode_charger.cpp220 char *nl; local
222 nl = (char *)memrchr(ptr, '\n', cnt - 1);
223 if (nl)
224 cnt = nl - ptr + 1;
/system/core/liblog/
H A Dpmsg_reader.c405 unsigned long long nl; local
436 nl = 0;
439 nl = strtoull(cp, NULL, 10);
451 if (nr != nl) {
452 compare = (nl > nr) ? 1 : -1;
/system/extras/iotop/
H A Dtaskstats.cpp32 std::unique_ptr<nl_sock, decltype(&nl_socket_free)> nl(
34 if (!nl.get()) {
38 int ret = genl_connect(nl.get());
43 int family_id = genl_ctrl_resolve(nl.get(), TASKSTATS_GENL_NAME);
48 nl_ = std::move(nl);
/system/media/audio_utils/
H A Dprimitives.c27 int32_t nl = l >> 12; local
29 l = clamp16(nl);
/system/netd/server/
H A DSockDiag.cpp84 sockaddr_nl nl = { .nl_family = AF_NETLINK }; local
85 if ((connect(mSock, reinterpret_cast<sockaddr *>(&nl), sizeof(nl)) == -1) ||
86 (connect(mWriteSock, reinterpret_cast<sockaddr *>(&nl), sizeof(nl)) == -1)) {

Completed in 260 milliseconds