Home | History | Annotate | Download | only in disk_cache

Lines Matching full:current

30   int current;
96 vsprintf_s(s_trace_buffer->buffer[s_trace_buffer->current], format, ap);
98 vsnprintf(s_trace_buffer->buffer[s_trace_buffer->current],
99 sizeof(s_trace_buffer->buffer[s_trace_buffer->current]), format,
103 s_trace_buffer->current++;
104 if (s_trace_buffer->current == kNumberOfEntries)
105 s_trace_buffer->current = 0;
121 int current = s_trace_buffer->current - num_traces;
122 if (current < 0)
123 current += kNumberOfEntries;
126 memcpy(line, s_trace_buffer->buffer[current], kEntrySize);
135 current++;
136 if (current == kNumberOfEntries)
137 current = 0;