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.cpp38 void MarkAll(const SharedFDSet& input, fd_set* dest, int* max_index) { in MarkAll() argument
41 (*it)->Set(dest, max_index); in MarkAll()
141 void FileInstance::Set(fd_set* dest, int* max_index) const { in Set()
145 if (fd_ >= *max_index) { in Set()
146 *max_index = fd_ + 1; in Set()
153 int max_index = 0; in Select() local
157 MarkAll(*read_set, &readfds, &max_index); in Select()
162 MarkAll(*write_set, &writefds, &max_index); in Select()
167 MarkAll(*error_set, &errorfds, &max_index); in Select()
171 select(max_index, &readfds, &writefds, &errorfds, timeout)); in Select()
Dshared_fd.h320 void Set(fd_set* dest, int* max_index) const;