Lines Matching refs:blockName
13 static bool report_error(const char* blockName, const char* errorMessage) { in report_error() argument
14 SkDebugf("%s: %s\n", blockName, errorMessage); in report_error()
28 const char* blockName = status->fObjectIter->fKey.begin(); in parseFiddles() local
32 return report_error(blockName, "expected object"); in parseFiddles()
39 return report_error(blockName, "expected array"); in parseFiddles()
42 return report_error(blockName, "fiddle compiler error"); in parseFiddles()
48 return report_error(blockName, "expected string 1"); in parseFiddles()
51 return report_error(blockName, "fiddle runtime error"); in parseFiddles()
58 return report_error(blockName, "expected string 2"); in parseFiddles()
60 example = this->findExample(blockName); in parseFiddles()
62 return report_error(blockName, "missing example"); in parseFiddles()
73 return report_error(blockName, "expected string 3"); in parseFiddles()
78 return report_error(blockName, "unexpected key"); in parseFiddles()
81 return report_error(blockName, "missing fiddleHash"); in parseFiddles()