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->fIter.memberName(); in parseFiddles() local
32 return report_error(blockName, "expected object"); in parseFiddles()
38 return report_error(blockName, "expected array"); in parseFiddles()
41 return report_error(blockName, "fiddle compiler error"); in parseFiddles()
47 return report_error(blockName, "expected string 1"); in parseFiddles()
50 return report_error(blockName, "fiddle runtime error"); in parseFiddles()
56 return report_error(blockName, "expected string 2"); in parseFiddles()
58 example = this->findExample(blockName); in parseFiddles()
60 return report_error(blockName, "missing example"); in parseFiddles()
70 return report_error(blockName, "expected string 3"); in parseFiddles()
75 return report_error(blockName, "unexpected key"); in parseFiddles()
78 return report_error(blockName, "missing fiddleHash"); in parseFiddles()