Searched refs:toEndLen (Results 1 – 2 of 2) sorted by relevance
59 int32_t toEndLen = CIRCULAR_BUF_LEN - cb->eventsBuf_.writePosition; in ReportEventCallback() local60 if (leftSize < 0 || toEndLen < 0) { in ReportEventCallback()68 if (toEndLen == 0) { in ReportEventCallback()70 cb->eventsBuf_.writePosition = 1 - toEndLen; in ReportEventCallback()
76 int32_t toEndLen = CIRCULAR_BUF_LEN - cache->eventsBuf_.writePosition; in CacheData() local77 if (toEndLen == 0) { in CacheData()79 cache->eventsBuf_.writePosition = 1 - toEndLen; in CacheData()