Searched refs:fds (Results 1 – 4 of 4) sorted by relevance
137 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() argument138 for (size_t i = 0; i < fds.size(); i++) { in Init()139 DCHECK_GE(fds[i], 0); in Init()140 flocks_[i] = LockedFile::DupOf(fds[i], "profile-file", in Init()
1476 std::vector<int>* fds) { in ParseFdForCollection() argument1479 fds->push_back(fd); in ParseFdForCollection()1482 static void CloseAllFds(const std::vector<int>& fds, const char* descriptor) { in CloseAllFds() argument1483 for (size_t i = 0; i < fds.size(); i++) { in CloseAllFds()1484 if (close(fds[i]) < 0) { in CloseAllFds()1486 << 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
406 const std::vector<int>& fds) { in OpenDexFiles() argument447 if (!fds.empty()) { in OpenDexFiles()448 if (dex_file_index >= fds.size()) { in OpenDexFiles()454 fd = fds[dex_file_index++]; in OpenDexFiles()523 if (dex_file_index != fds.size()) { in OpenDexFiles()524 LOG(WARNING) << fds.size() << " FDs provided but only " << dex_file_index in OpenDexFiles()