Lines Matching refs:remaining
238 size_t remaining = len; in android_logger_get_statistics() local
241 n = snprintf(cp, remaining, "getStatistics"); in android_logger_get_statistics()
242 n = MIN(n, remaining); in android_logger_get_statistics()
243 remaining -= n; in android_logger_get_statistics()
248 n = snprintf(cp, remaining, " %zu", log_id); in android_logger_get_statistics()
249 n = MIN(n, remaining); in android_logger_get_statistics()
250 remaining -= n; in android_logger_get_statistics()
256 snprintf(cp, remaining, " pid=%u", logger_list->pid); in android_logger_get_statistics()
282 int ret, remaining, sock; in logdOpen() local
303 remaining = sizeof(buffer) - (cp - buffer); in logdOpen()
307 ret = snprintf(cp, remaining, "%c%zu", c, log_id); in logdOpen()
308 ret = MIN(ret, remaining); in logdOpen()
309 remaining -= ret; in logdOpen()
316 ret = snprintf(cp, remaining, " tail=%u", logger_list->tail); in logdOpen()
317 ret = MIN(ret, remaining); in logdOpen()
318 remaining -= ret; in logdOpen()
325 ret = snprintf(cp, remaining, " timeout=%u", ANDROID_LOG_WRAP_DEFAULT_TIMEOUT); in logdOpen()
326 ret = MIN(ret, remaining); in logdOpen()
327 remaining -= ret; in logdOpen()
330 ret = snprintf(cp, remaining, " start=%" PRIu32 ".%09" PRIu32, logger_list->start.tv_sec, in logdOpen()
332 ret = MIN(ret, remaining); in logdOpen()
333 remaining -= ret; in logdOpen()
338 ret = snprintf(cp, remaining, " pid=%u", logger_list->pid); in logdOpen()
339 ret = MIN(ret, remaining); in logdOpen()