Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc72 : read_buf_(grpc_empty_slice()), in GrpcPolledFdWindows()
89 grpc_slice_unref_internal(read_buf_); in ~GrpcPolledFdWindows()
110 GPR_ASSERT(GRPC_SLICE_LENGTH(read_buf_) == 0); in RegisterForOnReadableLocked()
111 grpc_slice_unref_internal(read_buf_); in RegisterForOnReadableLocked()
112 read_buf_ = GRPC_SLICE_MALLOC(4192); in RegisterForOnReadableLocked()
114 buffer.buf = (char*)GRPC_SLICE_START_PTR(read_buf_); in RegisterForOnReadableLocked()
115 buffer.len = GRPC_SLICE_LENGTH(read_buf_); in RegisterForOnReadableLocked()
159 return GRPC_SLICE_LENGTH(read_buf_) > 0; in IsFdStillReadableLocked()
176 GRPC_SLICE_LENGTH(read_buf_)); in RecvFrom()
177 if (GRPC_SLICE_LENGTH(read_buf_) == 0) { in RecvFrom()
[all …]
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source.cc90 read_buf_ = base::PagedMemory::Allocate(kReadBufSize); in SysStatsDataSource()
216 char* buf = static_cast<char*>(read_buf_.Get()); in ReadMeminfo()
240 char* buf = static_cast<char*>(read_buf_.Get()); in ReadVmstat()
262 char* buf = static_cast<char*>(read_buf_.Get()); in ReadStat()
339 ssize_t res = pread(**fd, read_buf_.Get(), kReadBufSize - 1, 0); in ReadFile()
346 static_cast<char*>(read_buf_.Get())[rsize] = '\0'; in ReadFile()
Dsys_stats_data_source.h89 base::PagedMemory read_buf_; variable