Home
last modified time | relevance | path

Searched refs:sublen (Results 1 – 3 of 3) sorted by relevance

/system/core/logd/
DLogKlog.cpp100 ssize_t& sublen) { in log_strntok_r() argument
101 sublen = 0; in log_strntok_r()
158 sublen += adjust; in log_strntok_r()
166 sublen += adjust; in log_strntok_r()
190 sublen += adjust; in log_strntok_r()
195 ++sublen; in log_strntok_r()
247 ssize_t sublen; in onDataAvailable() local
249 !!(tok = android::log_strntok_r(tok, len, ptr, sublen)); in onDataAvailable()
251 if (((tok + sublen) >= ep) && (retval != 0) && full) { in onDataAvailable()
252 if (sublen > 0) memmove(buffer, tok, sublen); in onDataAvailable()
[all …]
Dmain.cpp361 ssize_t sublen; in readDmesg() local
363 (rc >= 0) && !!(tok = android::log_strntok_r(tok, len, ptr, sublen)); in readDmesg()
365 if ((sublen <= 0) || !*tok) continue; in readDmesg()
367 rc = al->log(tok, sublen); in readDmesg()
370 rc = kl->log(tok, sublen); in readDmesg()
DLogUtils.h49 char* log_strntok_r(char* s, ssize_t& len, char*& saveptr, ssize_t& sublen);