Lines Matching refs:error
114 bool Init(const std::vector<std::string>& filenames, /* out */ std::string* error) { in Init() argument
116 flocks_[i] = LockedFile::Open(filenames[i].c_str(), O_RDWR, /* block= */ true, error); in Init()
118 *error += " (index=" + std::to_string(i) + ")"; in Init()
126 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() argument
130 /* read_only_mode= */ true, error); in Init()
132 *error += " (index=" + std::to_string(i) + ")"; in Init()
152 std::string error; in ProcessProfiles() local
154 if (!profile_files.Init(profile_files_fd, &error)) { in ProcessProfiles()
155 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
164 &error); in ProcessProfiles()
166 LOG(WARNING) << "Could not lock reference profiled files: " << error; in ProcessProfiles()
181 std::string error; in ProcessProfiles() local
184 if (!profile_files_list.Init(profile_files, &error)) { in ProcessProfiles()
185 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
190 reference_profile_file.c_str(), O_RDWR, /* block= */ true, &error); in ProcessProfiles()
192 LOG(WARNING) << "Could not lock reference profile files: " << error; in ProcessProfiles()