Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp473 std::set<int> open_fds; in Restat() local
496 open_fds.insert(fd); in Restat()
504 return RestatInternal(open_fds, error_msg); in Restat()
527 bool FileDescriptorTable::RestatInternal(std::set<int>& open_fds, std::string* error_msg) { in RestatInternal() argument
539 std::set<int>::const_iterator element = open_fds.find(it->first); in RestatInternal()
540 if (element == open_fds.end()) { in RestatInternal()
576 open_fds.erase(element); in RestatInternal()
580 if (open_fds.size() > 0) { in RestatInternal()
590 for (it = open_fds.begin(); it != open_fds.end(); ++it) { in RestatInternal()
Dfd_utils.h91 bool RestatInternal(std::set<int>& open_fds, std::string* error_msg);