Lines Matching refs:code
2 * regerror - error-code expansion
35 static char unk[] = "*** unknown regex error code 0x%x ***";
37 /* struct to map among codes, code names, and explanations */
39 int code;
45 { -1, "", "oops" }, /* explanation special-cased in code */
54 int rxerrcode; /* error code, or REG_ATOI or REG_ITOA */
67 for (r = rerrs; r->code >= 0; r++)
70 sprintf(convbuf, "%d", r->code); /* -1 for unknown */
75 for (r = rerrs; r->code >= 0; r++)
76 if (r->code == icode)
78 if (r->code >= 0)
85 default: /* a real, normal error code */
86 for (r = rerrs; r->code >= 0; r++)
87 if (r->code == rxerrcode)
89 if (r->code >= 0)