Lines Matching refs:error_msg

94 bool MethodMatcher::canonicalize(char * line, const char *& error_msg) {
101 error_msg = "Method pattern only allows one '::' allowed";
115 error_msg = "Method pattern uses '/' together with '::'";
136 error_msg = "Method pattern uses mixed '/' and '.' package separators";
141 error_msg = "Method pattern uses multiple '.' in pattern";
202 static MethodMatcher::Mode check_mode(char name[], const char*& error_msg) {
219 error_msg = "** Not a valid pattern";
224 error_msg = " Embedded * not allowed";
240 void MethodMatcher::parse_method_pattern(char*& line, const char*& error_msg, MethodMatcher* matcher) {
249 assert(error_msg == NULL, "Dont call here with error_msg already set");
251 if (!MethodMatcher::canonicalize(line, error_msg)) {
252 assert(error_msg != NULL, "Message must be set if parsing failed");
259 c_match = check_mode(class_name, error_msg);
260 m_match = check_mode(method_name, error_msg);
263 error_msg = "Chars '<' and '>' not allowed in class name";
268 error_msg = "Chars '<' and '>' only allowed in <init> and <clinit>";
274 assert(error_msg != NULL, "Must have been set by check_mode()");
293 error_msg = " Wildcard * not allowed in signature";
306 error_msg = "Could not parse method pattern";
346 BasicMatcher* BasicMatcher::parse_method_pattern(char* line, const char*& error_msg) {
347 assert(error_msg == NULL, "Don't call here with error_msg already set");
349 MethodMatcher::parse_method_pattern(line, error_msg, bm);
350 if (error_msg != NULL) {
359 error_msg = "Unrecognized trailing text after method pattern";
384 InlineMatcher* InlineMatcher::parse_method_pattern(char* line, const char*& error_msg) {
385 assert(error_msg == NULL, "Dont call here with error_msg already set");
387 MethodMatcher::parse_method_pattern(line, error_msg, im);
388 if (error_msg != NULL) {
404 InlineMatcher* InlineMatcher::parse_inline_pattern(char* str, const char*& error_msg) {
415 error_msg = "Missing leading inline type (+/-)";
421 assert(error_msg== NULL, "error_msg must not be set yet");
422 InlineMatcher* im = InlineMatcher::parse_method_pattern(str, error_msg);
424 assert(error_msg != NULL, "Must have error message");