Searched refs:kReadSize (Results 1 – 3 of 3) sorted by relevance
50 const long kReadSize = sysconf(_SC_PAGESIZE); in ReadProcMaps() local63 proc_maps->resize(pos + kReadSize); in ReadProcMaps()66 ssize_t bytes_read = HANDLE_EINTR(read(fd.get(), buffer, kReadSize)); in ReadProcMaps()
88 static const size_t kReadSize = 1024; in read_file() local90 size_t cap = kReadSize, len = 0; in read_file()97 if (cap - len < kReadSize) { in read_file()110 ssize_t bytes_read = read_eintr(fd, buf + len, kReadSize); in read_file()
477 const size_t kReadSize = 4096; in ReadDebugLink() local478 char buf[kReadSize]; in ReadDebugLink()479 ssize_t bytes_read = HANDLE_EINTR(read(debuglink_fd, &buf, kReadSize)); in ReadDebugLink()