Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp39 void MarkAll(const SharedFDSet& input, fd_set* dest, int* max_index) { in MarkAll() argument
42 (*it)->Set(dest, max_index); in MarkAll()
140 void FileInstance::Set(fd_set* dest, int* max_index) const { in Set()
144 if (fd_ >= *max_index) { in Set()
145 *max_index = fd_ + 1; in Set()
152 int max_index = 0; in Select() local
156 MarkAll(*read_set, &readfds, &max_index); in Select()
161 MarkAll(*write_set, &writefds, &max_index); in Select()
166 MarkAll(*error_set, &errorfds, &max_index); in Select()
170 select(max_index, &readfds, &writefds, &errorfds, timeout)); in Select()
Dshared_fd.h339 void Set(fd_set* dest, int* max_index) const;