Lines Matching refs:tok
127 char *peek, *tok = s; in log_strntok_r() local
132 return tok; in log_strntok_r()
142 return tok; in log_strntok_r()
147 if (s != (tok + 1)) { // not first? in log_strntok_r()
152 return tok; in log_strntok_r()
175 if (s != (tok + 1)) { // not first? in log_strntok_r()
184 return tok; in log_strntok_r()
247 for (char *ptr = nullptr, *tok = buffer; in onDataAvailable() local
248 !!(tok = android::log_strntok_r(tok, len, ptr, sublen)); in onDataAvailable()
249 tok = nullptr) { in onDataAvailable()
250 if (((tok + sublen) >= ep) && (retval != 0) && full) { in onDataAvailable()
251 if (sublen > 0) memmove(buffer, tok, sublen); in onDataAvailable()
255 if ((sublen > 0) && *tok) { in onDataAvailable()
256 log(tok, sublen); in onDataAvailable()