Home | History | Annotate | Download | only in gm

Lines Matching refs:type

24         // is turned on, we always include this type in our enum so that
41 static const char *getErrorTypeName(ErrorType type) {
42 switch(type) {
59 SkDEBUGFAIL("getErrorTypeName() called with unknown type");
64 * Fills in "type" with the ErrorType associated with name "name".
65 * Returns true if we found one, false if it is an unknown type name.
67 static bool getErrorTypeByName(const char name[], ErrorType *type) {
72 *type = thisType;
85 ErrorCombination(const ErrorType type) : fBitfield(1 << type) {}
97 void add(const ErrorType type) {
98 this->fBitfield |= (1 << type);
111 bool includes(const ErrorType type) const {
112 return !(0 == (this->fBitfield & (1 << type)));
124 ErrorType type = static_cast<ErrorType>(typeInt);
125 if (this->includes(type)) {
129 s.append(getErrorTypeName(type));