/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | expr.c | 196 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() 226 error(ERROR_exit(2), "pattern argument expected"); in getnode() 233 error(ERROR_exit(2), "string argument expected"); in getnode() 239 error(ERROR_exit(2), "string argument expected"); in getnode() 241 error(ERROR_exit(2), "position argument expected"); in getnode() 246 error(ERROR_exit(2), "length argument expected"); in getnode() 270 error(ERROR_exit(2),"closing parenthesis missing"); in getnode() [all …]
|
H A D | cmp.c | 172 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 D | chgrp.c | 192 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 D | chmod.c | 209 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 D | stty.c | 648 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 D | cut.c | 141 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 D | id.c | 235 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 D | mkfifo.c | 69 error(ERROR_exit(0), "%s: invalid mode", arg); in b_mkfifo()
|
H A D | mktemp.c | 92 error(ERROR_exit(0), "%s: invalid mode", pfx); in b_mktemp()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | hist.c | 150 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 D | misc.c | 113 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 D | test.c | 123 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 D | sleep.c | 95 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 D | umask.c | 71 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 D | typeset.c | 76 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() 303 errormsg(SH_DICT, ERROR_exit(1),e_unknownmap, tdata.wctname); in b_typeset() 394 errormsg(SH_DICT,ERROR_exit(2),"option argument cannot be greater than %d",SHRT_MAX); in b_typeset() 441 errormsg(SH_DICT,ERROR_exit(1),"%s: unknown type",tdata.prefix); 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() 655 errormsg(SH_DICT,ERROR_exit(1),"cannot change associative array %s to index array",nv_name(np)); in setall() [all …]
|
H A D | mkservice.c | 341 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 D | whence.c | 61 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 D | trap.c | 92 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 D | cd_pwd.c | 63 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 D | enum.c | 163 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 D | print.c | 539 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 D | cflow.c | 107 errormsg(SH_DICT,ERROR_exit(1),e_nolabels,*argv); in b_break()
|
/illumos-gate/usr/src/cmd/ast/ksh/builtins/ |
H A D | alias.c | 204 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 D | array.c | 232 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 D | arith.c | 497 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()
|