Lines Matching refs:error
125 bool Init(const std::vector<std::string>& filenames, /* out */ std::string* error) { in Init() argument
127 flocks_[i] = LockedFile::Open(filenames[i].c_str(), O_RDWR, /* block= */ true, error); in Init()
129 *error += " (index=" + std::to_string(i) + ")"; in Init()
137 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() argument
141 /* read_only_mode= */ true, error); in Init()
143 *error += " (index=" + std::to_string(i) + ")"; in Init()
163 std::string error; in ProcessProfiles() local
165 if (!profile_files.Init(profile_files_fd, &error)) { in ProcessProfiles()
166 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
175 &error); in ProcessProfiles()
177 LOG(WARNING) << "Could not lock reference profiled files: " << error; in ProcessProfiles()
192 std::string error; in ProcessProfiles() local
195 if (!profile_files_list.Init(profile_files, &error)) { in ProcessProfiles()
196 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
201 reference_profile_file.c_str(), O_RDWR, /* block= */ true, &error); in ProcessProfiles()
203 LOG(WARNING) << "Could not lock reference profile files: " << error; in ProcessProfiles()