| /illumos-gate/usr/src/lib/libc/port/regex/ |
| H A D | glob.c | 208 _glob_ext(const char *pattern, int flags, int (*errfunc)(const char *, int), in _glob_ext() 287 return (globexp1(patbuf, pglob, &limit, errfunc)); in _glob_ext() 289 return (glob0(patbuf, pglob, &limit, errfunc)); in _glob_ext() 299 int (*errfunc)(const char *, int)) in globexp1() 306 return (glob0(pattern, pglob, limitp, errfunc)); in globexp1() 309 return (globexp2(ptr, pattern, pglob, limitp, errfunc)); in globexp1() 311 return (glob0(pattern, pglob, limitp, errfunc)); in globexp1() 322 struct glob_lim *limitp, int (*errfunc)(const char *, int)) in globexp2() 360 return (glob0(patbuf, pglob, limitp, errfunc)); in globexp2() 405 rv = globexp1(patbuf, pglob, limitp, errfunc); in globexp2() [all …]
|
| /illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
| H A D | ldebug.c | 588 if (L->errfunc != 0) { /* is there an error handling function? */ in luaG_errormsg() 589 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg() local 590 if (!ttisfunction(errfunc)) luaD_throw(L, LUA_ERRERR); in luaG_errormsg() 592 setobjs2s(L, L->top - 1, errfunc); /* push function */ in luaG_errormsg()
|
| H A D | ldo.c | 419 L->errfunc = ci->u.c.old_errfunc; in finishCcall() 477 L->errfunc = ci->u.c.old_errfunc; in recover() 605 ptrdiff_t old_errfunc = L->errfunc; in luaD_pcall() 606 L->errfunc = ef; in luaD_pcall() 617 L->errfunc = old_errfunc; in luaD_pcall() 676 status = luaD_pcall(L, f_parser, &p, savestack(L, L->top), L->errfunc); in luaD_protectedparser()
|
| H A D | lapi.c | 927 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument 938 if (errfunc == 0) in lua_pcallk() 941 StkId o = index2addr(L, errfunc); in lua_pcallk() 942 api_checkstackindex(L, errfunc, o); in lua_pcallk() 957 ci->u.c.old_errfunc = L->errfunc; in lua_pcallk() 958 L->errfunc = func; in lua_pcallk() 963 L->errfunc = ci->u.c.old_errfunc; in lua_pcallk()
|
| H A D | lstate.h | 174 ptrdiff_t errfunc; /* current error handling function (stack index) */ member
|
| H A D | lstate.c | 217 L->errfunc = 0; in preinit_state()
|
| H A D | lua.h | 256 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
|
| /illumos-gate/usr/src/cmd/svc/svcs/ |
| H A D | svcs.c | 3481 void (*errfunc)(const char *, ...); in main() local 3759 errfunc = errignore; in main() 3763 errfunc = uu_warn; in main() 3776 print_detailed, NULL, errarg, errfunc)) != 0) { in main() 3799 print_notify, NULL, errarg, errfunc)) != 0) { in main() 3893 errarg, errfunc)) != 0) { in main() 3906 errarg, errfunc)) != 0) { in main()
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | strsubr.c | 8012 strsetrerror(vnode_t *vp, int error, int persist, errfunc_t errfunc) in strsetrerror() argument 8018 if (error == 0 && errfunc == NULL) in strsetrerror() 8027 stp->sd_rderrfunc = errfunc; in strsetrerror() 8028 if (error != 0 || errfunc != NULL) { in strsetrerror() 8048 strsetwerror(vnode_t *vp, int error, int persist, errfunc_t errfunc) in strsetwerror() argument 8054 if (error == 0 && errfunc == NULL) in strsetwerror() 8063 stp->sd_wrerrfunc = errfunc; in strsetwerror() 8064 if (error != 0 || errfunc != NULL) { in strsetwerror()
|
| /illumos-gate/usr/src/lib/libscf/common/ |
| H A D | lowlevel.c | 6367 void (*errfunc)(const char *, ...)) in scf_walk_fmri() 6448 errfunc(scf_get_msg(SCF_MSG_ARGTOOLONG), argv[i]); in scf_walk_fmri() 6864 errfunc(scf_get_msg(msgid), pattern[i].sp_arg); in scf_walk_fmri() 6879 errfunc(msg); in scf_walk_fmri() 6905 errfunc(msg); in scf_walk_fmri()
|