Home
last modified time | relevance | path

Searched refs:chunk_position (Results 1 – 1 of 1) sorted by relevance

/system/libbase/
Dlogging_splitters.h71 ptrdiff_t chunk_position = 0; in SplitByLogdChunks() local
75 chunk_position = 0; in SplitByLogdChunks()
80 const char* new_line = chunk_position > 0 ? "\n" : ""; in SplitByLogdChunks()
82 size_written = snprintf(logd_chunk + chunk_position, sizeof(logd_chunk) - chunk_position, in SplitByLogdChunks()
85 size_written = snprintf(logd_chunk + chunk_position, sizeof(logd_chunk) - chunk_position, in SplitByLogdChunks()
94 chunk_position += size_written; in SplitByLogdChunks()
100 if (chunk_position != 0 && chunk_position + (newline - msg) + 1 + file_header_size > max_size) { in SplitByLogdChunks()
114 if (chunk_position != 0 && in SplitByLogdChunks()
115 chunk_position + static_cast<int>(strlen(msg)) + 1 + file_header_size <= max_size) { in SplitByLogdChunks()
120 if (chunk_position != 0) { in SplitByLogdChunks()