Lines Matching refs:DiffResource
45 /*static*/ char const * const DiffResource::StatusNames[DiffResource::kStatusCount] = {
61 DiffResource::Status DiffResource::getStatusByName(const char *name) { in getStatusByName()
62 for (int status = 0; status < DiffResource::kStatusCount; ++status) { in getStatusByName()
63 if (0 == strcmp(DiffResource::StatusNames[status], name)) { in getStatusByName()
64 return static_cast<DiffResource::Status>(status); in getStatusByName()
67 return DiffResource::kStatusCount; in getStatusByName()
70 static char const * const StatusDescriptions[DiffResource::kStatusCount] = {
86 const char* DiffResource::getStatusDescription(DiffResource::Status status) { in getStatusDescription()
90 bool DiffResource::isStatusFailed(DiffResource::Status status) { in isStatusFailed()
91 return DiffResource::kCouldNotDecode_Status == status || in isStatusFailed()
92 DiffResource::kCouldNotRead_Status == status || in isStatusFailed()
93 DiffResource::kDoesNotExist_Status == status || in isStatusFailed()
94 DiffResource::kUnspecified_Status == status || in isStatusFailed()
95 DiffResource::kUnknown_Status == status; in isStatusFailed()
98 bool DiffResource::getMatchingStatuses(char* selector, bool statuses[kStatusCount]) { in getMatchingStatuses()