Home
last modified time | relevance | path

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

/system/core/libprocinfo/
Dprocess_map.cpp40 char* char_buffer = reinterpret_cast<char*>(buffer); in ReadMapFileAsyncSafe() local
47 TEMP_FAILURE_RETRY(read(fd, char_buffer + read_bytes, buffer_size - read_bytes - 1)); in ReadMapFileAsyncSafe()
54 char_buffer[start + read_bytes] = '\n'; in ReadMapFileAsyncSafe()
61 char* newline = reinterpret_cast<char*>(memchr(&char_buffer[start], '\n', read_bytes)); in ReadMapFileAsyncSafe()
66 line = &char_buffer[start]; in ReadMapFileAsyncSafe()
67 start = newline - char_buffer + 1; in ReadMapFileAsyncSafe()
89 memmove(char_buffer, &char_buffer[start], read_bytes); in ReadMapFileAsyncSafe()