Lines Matching defs:fn
55 static void cpc_err(cpc_t *cpc, const char *fn, int subcode, ...);
273 const char *fn = "cpc_set_add_request";
286 cpc_err(cpc, fn, CPC_INVALID_EVENT);
310 cpc_err(cpc, fn, CPC_INVALID_ATTRIBUTE);
320 cpc_err(cpc, fn, CPC_INVALID_PICNUM);
326 cpc_err(cpc, fn, CPC_PIC_NOT_CAPABLE);
506 const char *fn = "cpc_bind_cpu";
518 cpc_err(cpc, fn, CPC_PBIND_FAILED);
555 cpc_err(cpc, fn, subcode);
1024 cpc_seterrhndlr(cpc_t *cpc, cpc_errhndlr_t *fn)
1026 cpc->cpc_errfn = fn;
1050 cpc_err(cpc_t *cpc, const char *fn, int subcode, ...)
1072 cpc->cpc_errfn(fn, subcode, str, ap);
1078 (void) fprintf(stderr, "libcpc: %s: %s", fn, str);