Home
last modified time | relevance | path

Searched refs:ERROR_exit (Results 1 – 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dexpr.c196 error(ERROR_exit(2), "argument expected"); in getnode()
204 error(ERROR_exit(2), "string argument expected"); in getnode()
206 error(ERROR_exit(2), "chars argument expected"); in getnode()
216 error(ERROR_exit(2), "string argument expected"); in getnode()
233 error(ERROR_exit(2), "string argument expected"); in getnode()
313 regfatal(&re, ERROR_exit(2), n); in expr_cond()
334 regfatal(&re, ERROR_exit(2), n); in expr_cond()
355 error(ERROR_exit(2),"non-numeric argument"); in expr_mult()
357 error(ERROR_exit(2),"division by zero"); in expr_mult()
384 error(ERROR_exit(2),"non-numeric argument"); in expr_add()
[all …]
H A Dcmp.c172 error(ERROR_exit(2), in cmp()
179 error(ERROR_exit(1), "EOF on %s", file1); in cmp()
182 error(ERROR_exit(2), in cmp()
197 error(ERROR_exit(2), in cmp()
201 error(ERROR_exit(1), "EOF on %s", file2); in cmp()
353 error(ERROR_exit(0), "%s: %s: invalid skip", file1, s); in b_cmp()
361 error(ERROR_exit(0), "%s: %s: invalid skip", file2, s); in b_cmp()
374 error(ERROR_exit(0), "EOF on %s", file1); in b_cmp()
381 error(ERROR_exit(0), "EOF on %s", file2); in b_cmp()
H A Dchgrp.c192 error(ERROR_exit(1), "%s: unknown user", s); in getids()
212 error(ERROR_exit(1), "%s: unknown group", s); in getids()
277 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chgrp()
295 error(ERROR_exit(1), "out of space [id map]"); in b_chgrp()
305 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chgrp()
360 error(ERROR_exit(1), "%s: cannot read", s); in b_chgrp()
367 error(ERROR_exit(1), "out of space [id dictionary]"); in b_chgrp()
H A Dchmod.c209 error(ERROR_exit(1), "%s: cannot stat", opt_info.arg); in b_chmod()
259 error(ERROR_exit(1), "%s: invalid mode", amode); in b_chmod()
H A Dcut.c141 error(ERROR_exit(1), "out of space"); in cutinit()
175 error(ERROR_exit(1),"invalid range for c/f option"); in cutinit()
233 error(ERROR_exit(1),"bad list for c/f option"); in cutinit()
240 error(ERROR_exit(1),"bad list for c/f option"); in cutinit()
H A Dstty.c648 error(ERROR_exit(1),"%s: unknown mode",cp); in set()
653 error(ERROR_exit(1),"%s: unknown mode",cp); in set()
655 error(ERROR_exit(1),"missing argument to %s",cp); in set()
729 error(ERROR_exit(1), "%s: missing numeric argument", tp->name); in set()
734 error(ERROR_exit(1), "%s: %s: numeric argument expected", tp->name, cp); in set()
751 error(ERROR_exit(1), "%s: %s: invalid speed", tp->name, cp); in set()
944 error(ERROR_exit(1), "%s: unknown mode", argv[opt_info.index]); in b_stty()
H A Did.c235 error(ERROR_exit(1), "out of space [group array]"); in getids()
254 error(ERROR_exit(1), "%s: name not found", name); in getids()
267 error(ERROR_exit(1), "%u: fss name not found", name); in getids()
H A Dmkfifo.c69 error(ERROR_exit(0), "%s: invalid mode", arg); in b_mkfifo()
H A Dmktemp.c92 error(ERROR_exit(0), "%s: invalid mode", pfx); in b_mktemp()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dhist.c150 errormsg(SH_DICT,ERROR_exit(1),e_found,argv[1]); in b_hist()
177 errormsg(SH_DICT,ERROR_exit(1),e_badrange,range[0],range[1]); in b_hist()
179 errormsg(SH_DICT,ERROR_exit(1),e_eneedsarg); in b_hist()
193 errormsg(SH_DICT,ERROR_exit(1),e_create,""); in b_hist()
222 errormsg(SH_DICT,ERROR_exit(1),"ed not found set FCEDIT"); in b_hist()
271 errormsg(SH_DICT,ERROR_exit(1),e_toodeep,"history"); in b_hist()
309 errormsg(SH_DICT,ERROR_exit(1),e_subst,command); in hist_subst()
H A Dmisc.c113 errormsg(SH_DICT,ERROR_exit(1),e_restricted,argv[0]); in B_login()
235 errormsg(SH_DICT,ERROR_exit(1),e_toodeep,script); in b_dot_cmd()
251 errormsg(SH_DICT,ERROR_exit(1),e_found,script); in b_dot_cmd()
362 errormsg(SH_DICT,ERROR_exit(1),e_number,arg); in b_shift()
420 errormsg(SH_DICT,ERROR_exit(1),e_no_jctl); in b_bg()
426 errormsg(SH_DICT,ERROR_exit(1),e_no_job); in b_bg()
458 errormsg(SH_DICT,ERROR_exit(1),e_no_job); in b_jobs()
490 errormsg(SH_DICT,ERROR_exit(1), e_badname,arg); in b_universe()
495 errormsg(SH_DICT,ERROR_exit(1),e_nouniverse); in b_universe()
589 errormsg(SH_DICT,ERROR_exit(1),(argc>1)?e_cantset:e_cantget,(flag&FS3D_VIEW)?e_mapping:e_versions); in b_vpath()
H A Dtest.c123 errormsg(SH_DICT,ERROR_exit(2),e_missing,"']'"); in b_test()
161 errormsg(SH_DICT,ERROR_exit(2),e_badop,cp); in b_test()
231 errormsg(SH_DICT,ERROR_exit(2),e_badsyntax); in expr()
245 errormsg(SH_DICT,ERROR_exit(2),e_argument); in nxtarg()
264 errormsg(SH_DICT,ERROR_exit(2),e_missing,"')'"); in e3()
292 errormsg(SH_DICT,ERROR_exit(2),e_argument); in e3()
307 errormsg(SH_DICT,ERROR_exit(2),e_badop,binop); in e3()
458 errormsg(SH_DICT,ERROR_exit(2),e_badop,a); in test_unop()
H A Dumask.c71 errormsg(SH_DICT,ERROR_exit(1),e_number,*argv); in b_umask()
82 errormsg(SH_DICT,ERROR_exit(1),e_format,mask); in b_umask()
H A Dsleep.c95 errormsg(SH_DICT,ERROR_exit(1),e_number,*argv); in b_sleep()
101 errormsg(SH_DICT,ERROR_exit(1),e_oneoperand); in b_sleep()
104 errormsg(SH_DICT,ERROR_exit(1),e_oneoperand); in b_sleep()
H A Dtypeset.c76 errormsg(SH_DICT,ERROR_exit(1),"%s: type not loadable",name); in load_class()
194 errormsg(SH_DICT, ERROR_exit(1), e_option, argv[1]); in b_alias()
292 errormsg(SH_DICT,ERROR_exit(1), e_badfield, tdata.argnum); in b_typeset()
457 errormsg(SH_DICT,ERROR_exit(1),e_nounattr); in b_typeset()
574 errormsg(SH_DICT,ERROR_exit(1),e_badfun,name); in setall()
647 errormsg(SH_DICT,ERROR_exit(1),e_typecompat,nv_name(np)); in setall()
761 errormsg(SH_DICT,ERROR_exit(1),e_badexport,name); in setall()
782 errormsg(SH_DICT,ERROR_exit(1),e_readonly,nv_name(np)); in setall()
1034 errormsg(SH_DICT,ERROR_exit(0),"%s: %s",arg,dllerror(0)); in b_builtin()
1046 errormsg(SH_DICT,ERROR_exit(0),"%s: %s",arg,dlerror()); in b_builtin()
[all …]
H A Dmkservice.c341 errorv(NiL, ERROR_exit(1), ap); in Error()
436 error(ERROR_exit(1), "out of space"); in b_mkservice()
447 error(ERROR_exit(1), "%s: cannot start service", path); in b_mkservice()
H A Dwhence.c61 errormsg(SH_DICT,ERROR_exit(1),e_restricted,"-p"); in b_command()
288 errormsg(SH_DICT,ERROR_exit(0),e_found,sh_fmtq(name)); in whence()
H A Dtrap.c92 errormsg(SH_DICT,ERROR_exit(1),e_condition); in b_trap()
238 errormsg(SH_DICT,ERROR_exit(1),e_nosignal,signame); in b_kill()
248 errormsg(SH_DICT,ERROR_exit(1),e_nosignal,signame); in b_kill()
H A Dcd_pwd.c63 errormsg(SH_DICT,ERROR_exit(1),e_restricted+4); in b_cd()
94 errormsg(SH_DICT,ERROR_exit(1),argc==2?e_subst+4:e_direct); in b_cd()
H A Denum.c163 error(ERROR_exit(1), "%s: invalid value %s",nv_name(np),val); in put_enum()
227 error(ERROR_exit(1), "%s must name an array containing at least two elements",cp); in enum_create()
H A Dprint.c539 errormsg(SH_DICT,ERROR_exit(1),e_notset,string); in fmtbase64()
768 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); in extend()
948 errormsg(SH_DICT,ERROR_exit(1),e_formspec,format); in extend()
995 errormsg(SH_DICT,ERROR_exit(1),e_badregexp,value->s); in extend()
1001 errormsg(SH_DICT,ERROR_exit(1),e_badregexp,value->s); in extend()
H A Dcflow.c107 errormsg(SH_DICT,ERROR_exit(1),e_nolabels,*argv); in b_break()
/illumos-gate/usr/src/cmd/ast/ksh/builtins/
H A Dalias.c204 error(ERROR_exit(1), "shell initialisation failed."); in script_builtin_main()
210 error(ERROR_exit(1), "variable %s not found.", "exitval"); in script_builtin_main()
228 error(ERROR_exit(1), "could not determinate exec name."); in main()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darray.c232 errormsg(SH_DICT,ERROR_exit(1),e_subscript,nv_name(np)); in array_getup()
370 errormsg(SH_DICT,ERROR_exit(1),e_subscript,nv_name(np)); in array_find()
821 errormsg(SH_DICT,ERROR_exit(1),e_subscript, fmtbase((long)maxi,10,0)); in array_grow()
905 errormsg(SH_DICT,ERROR_exit(1),e_notenum,tp->nvname); in nv_atypeindex()
916 errormsg(SH_DICT,ERROR_exit(1),e_unknowntype, n,tname); in nv_atypeindex()
1197 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np)); in nv_putsub()
1431 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np)); in array_fixed_init()
1469 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np)); in array_fixed()
1475 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np)); in array_fixed()
1480 errormsg(SH_DICT,ERROR_exit(1),e_subscript, nv_name(np)); in array_fixed()
[all …]
H A Darith.c497 errormsg(SH_DICT,ERROR_exit((lvalue->emode&3)!=0),lvalue->value,*ptr); in arith()
535 errormsg(SH_DICT,ERROR_exit(1),e_lexbadchar,*last,str); in sh_strnum()
556 errormsg(SH_DICT,ERROR_exit(1),e_lexbadchar,*ptr,str); in sh_arithcomp()

12