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()
248 for (char *ptr = nullptr, *tok = buffer; in onDataAvailable() local
249 !!(tok = android::log_strntok_r(tok, len, ptr, sublen)); in onDataAvailable()
250 tok = nullptr) { in onDataAvailable()
251 if (((tok + sublen) >= ep) && (retval != 0) && full) { in onDataAvailable()
252 if (sublen > 0) memmove(buffer, tok, sublen); in onDataAvailable()
256 if ((sublen > 0) && *tok) { in onDataAvailable()
257 log(tok, sublen); in onDataAvailable()