Lines Matching defs:msg

269     const char *msg;
359 msg = convertitem(compat_args, &format, p_va, flags, levels,
361 if (msg == NULL)
363 seterror(levels[0], msg, levels+1, fname, message);
392 msg = convertitem(stack[i], &format, p_va,
395 if (msg) {
396 seterror(i+1, msg, levels, fname, message);
440 seterror(Py_ssize_t iarg, const char *msg, int *levels, const char *fname,
470 PyOS_snprintf(p, sizeof(buf) - (p - buf), " %.256s", msg);
473 if (msg[0] == '(') {
559 const char *msg;
569 msg = convertitem(item, &format, p_va, flags, levels+1,
573 if (msg != NULL) {
575 return msg;
590 const char *msg;
595 msg = converttuple(arg, &format, p_va, flags, levels, msgbuf,
597 if (msg == NULL)
601 msg = convertsimple(arg, &format, p_va, flags,
603 if (msg != NULL)
606 if (msg == NULL)
608 return msg;
1624 const char *fname, *msg, *custom_msg;
1644 /* grab the function name or custom error msg first (mutually exclusive) */
1777 msg = convertitem(current_arg, &format, p_va, flags,
1779 if (msg) {
1780 seterror(i+1, msg, levels, fname, custom_msg);
1816 msg = skipitem(&format, p_va, flags);
1817 if (msg) {
1818 PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
1909 const char *format, *msg;
1935 /* grab the function name or custom error msg first (mutually exclusive) */
1984 msg = skipitem(&format, NULL, 0);
1985 if (msg) {
1986 PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
2067 const char *msg;
2188 msg = convertitem(current_arg, &format, p_va, flags,
2190 if (msg) {
2191 seterror(i+1, msg, levels, parser->fname, parser->custom_msg);
2231 msg = skipitem(&format, p_va, flags);
2232 assert(msg == NULL);
2728 const char *msg;
2735 msg = skipitem(&format, p_va, flags);
2736 if (msg)
2737 return msg;