Lines Matching refs:ec
95 std::error_code ec; in IsRegularFile() local
96 fs::file_status status = entry.status(ec); in IsRegularFile()
97 if (ec) { in IsRegularFile()
99 << "Failed to stat " << path << " : " << ec); in IsRegularFile()
125 std::error_code ec; in IsWhitelistedTopLevelEntry() local
128 bool is_empty = fs::is_empty(path, ec); in IsWhitelistedTopLevelEntry()
129 if (ec) { in IsWhitelistedTopLevelEntry()
131 << "Failed to scan " << path << " : " << ec); in IsWhitelistedTopLevelEntry()
139 auto iter = fs::directory_iterator(path, ec); in IsWhitelistedTopLevelEntry()
140 if (ec) { in IsWhitelistedTopLevelEntry()
142 << "Failed to scan " << path << " : " << ec); in IsWhitelistedTopLevelEntry()
144 bool is_empty = fs::is_empty(path, ec); in IsWhitelistedTopLevelEntry()
145 if (ec) { in IsWhitelistedTopLevelEntry()
147 << "Failed to scan " << path << " : " << ec); in IsWhitelistedTopLevelEntry()
159 iter = iter.increment(ec); in IsWhitelistedTopLevelEntry()
160 if (ec) { in IsWhitelistedTopLevelEntry()
162 << "Failed to scan " << path << " : " << ec); in IsWhitelistedTopLevelEntry()
188 std::error_code ec; in ValidateShimApex() local
189 auto iter = fs::directory_iterator(mount_point, ec); in ValidateShimApex()
190 if (ec) { in ValidateShimApex()
192 << "Failed to scan " << mount_point << " : " << ec); in ValidateShimApex()
202 iter = iter.increment(ec); in ValidateShimApex()
203 if (ec) { in ValidateShimApex()
205 << "Failed to scan " << mount_point << " : " << ec); in ValidateShimApex()