Searched refs:fds (Results 1 – 4 of 4) sorted by relevance
128 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() argument129 for (size_t i = 0; i < fds.size(); i++) { in Init()130 DCHECK_GE(fds[i], 0); in Init()131 flocks_[i] = LockedFile::DupOf(fds[i], "profile-file", in Init()
1900 std::vector<int>* fds) { in ParseFdForCollection() argument1903 fds->push_back(fd); in ParseFdForCollection()1906 static void CloseAllFds(const std::vector<int>& fds, const char* descriptor) { in CloseAllFds() argument1907 for (size_t i = 0; i < fds.size(); i++) { in CloseAllFds()1908 if (close(fds[i]) < 0) { in CloseAllFds()1910 << descriptor << " at index " << i << ": " << fds[i]; in CloseAllFds()
16 When this transport has successfully received fds from the proxy it sends the19 When this transport has closed its copies of the fds it will send the proxy the
392 const std::vector<int>& fds, in OpenDexFiles() argument441 if (!fds.empty()) { in OpenDexFiles()442 if (dex_file_index >= fds.size()) { in OpenDexFiles()448 fd = fds[dex_file_index++]; in OpenDexFiles()507 if (dex_file_index != fds.size()) { in OpenDexFiles()508 LOG(WARNING) << fds.size() << " FDs provided but only " << dex_file_index in OpenDexFiles()