Lines Matching refs:error
92 bool Init(const std::vector<std::string>& filenames, /* out */ std::string* error) { in Init() argument
94 flocks_[i] = LockedFile::Open(filenames[i].c_str(), O_RDWR, /* block */ true, error); in Init()
96 *error += " (index=" + std::to_string(i) + ")"; in Init()
104 bool Init(const std::vector<int>& fds, /* out */ std::string* error) { in Init() argument
108 true /* read_only_mode */, error); in Init()
110 *error += " (index=" + std::to_string(i) + ")"; in Init()
128 std::string error; in ProcessProfiles() local
130 if (!profile_files.Init(profile_files_fd, &error)) { in ProcessProfiles()
131 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
140 &error); in ProcessProfiles()
142 LOG(WARNING) << "Could not lock reference profiled files: " << error; in ProcessProfiles()
152 std::string error; in ProcessProfiles() local
155 if (!profile_files_list.Init(profile_files, &error)) { in ProcessProfiles()
156 LOG(WARNING) << "Could not lock profile files: " << error; in ProcessProfiles()
161 reference_profile_file.c_str(), O_RDWR, /* block */ true, &error); in ProcessProfiles()
163 LOG(WARNING) << "Could not lock reference profile files: " << error; in ProcessProfiles()