/titanic_52/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil.c | 69 int main(argc, argv) in main() argument 71 char *argv[]; 86 com_err(argv[0], retval, gettext("while initializing krb5")); 91 com_err(argv[0], retval, 106 void ktutil_clear_list(argc, argv) in ktutil_clear_list() argument 108 char *argv[]; 113 fprintf(stderr, gettext("%s: invalid arguments\n"), argv[0]); 118 com_err(argv[0], retval, gettext("while freeing ktlist")); 122 void ktutil_read_v5(argc, argv) in ktutil_read_v5() argument 124 char *argv[]; 139 ktutil_read_v4(argc,argv) ktutil_read_v4() argument 160 ktutil_write_v5(argc,argv) ktutil_write_v5() argument 177 ktutil_write_v4(argc,argv) ktutil_write_v4() argument 198 ktutil_add_entry(argc,argv) ktutil_add_entry() argument 242 ktutil_delete_entry(argc,argv) ktutil_delete_entry() argument 259 ktutil_list(argc,argv) ktutil_list() argument [all...] |
/titanic_52/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | process_command.c | 44 ADM_Process_command(int argc, char *argv[]) in ADM_Process_command() argument 46 if (strcasecmp(argv[1], "help") == 0) in ADM_Process_command() 49 else if (strcasecmp(argv[1], "send_event") == 0) in ADM_Process_command() 50 ADM_Process_send_event(argc, argv); in ADM_Process_command() 52 else if (strcasecmp(argv[1], "modem_setup") == 0) in ADM_Process_command() 55 else if (strcasecmp(argv[1], "date") == 0) in ADM_Process_command() 56 ADM_Process_date(argc, argv); in ADM_Process_command() 58 else if (strcasecmp(argv[1], "set") == 0) in ADM_Process_command() 59 ADM_Process_set(argc, argv); in ADM_Process_command() 61 else if (strcasecmp(argv[ in ADM_Process_command() [all...] |
/titanic_52/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ftp_var.h | 125 EXTERN char *altarg; /* argv[1] with no shell-like preprocessing */ 225 void (*c_handler)(int argc, char *argv[]); /* function to call */ 238 extern void macdef(int argc, char *argv[]); 239 extern void doproxy(int argc, char *argv[]); 240 extern void setpeer(int argc, char *argv[]); 241 extern void rmthelp(int argc, char *argv[]); 242 extern void settype(int argc, char *argv[]); 243 extern void setbinary(int argc, char *argv[]); 244 extern void setascii(int argc, char *argv[]); 245 extern void settenex(int argc, char *argv[]); [all...] |
H A D | cmds.c | 54 static char *remglob(char *argv[], int doswitch); 62 static void getit(int argc, char *argv[], int restartit, char *mode); 103 setpeer(int argc, char *argv[]) in setpeer() argument 120 argv = margv; in setpeer() 123 (void) printf("usage: %s host-name [port]\n", argv[0]); in setpeer() 128 host = hookup(argv[1], (argc > 2 ? argv[2] : "ftp")); in setpeer() 147 argv[0]); in setpeer() 157 (void) login(argv[1]); in setpeer() 217 settype(int argc, char *argv[]) in settype() argument 264 setbinary(int argc,char * argv[]) setbinary() argument 274 setascii(int argc,char * argv[]) setascii() argument 284 settenex(int argc,char * argv[]) settenex() argument 294 setebcdic(int argc,char * argv[]) setebcdic() argument 304 setmode(int argc,char * argv[]) setmode() argument 315 setform(int argc,char * argv[]) setform() argument 326 setstruct(int argc,char * argv[]) setstruct() argument 337 put(int argc,char * argv[]) put() argument 421 mput(int argc,char * argv[]) mput() argument 561 restart(int argc,char * argv[]) restart() argument 594 reget(int argc,char * argv[]) reget() argument 600 get(int argc,char * argv[]) get() argument 609 getit(int argc,char * argv[],int restartit,char * mode) getit() argument 703 mget(int argc,char * argv[]) mget() argument 782 remglob(char * argv[],int doswitch) remglob() argument 846 status(int argc,char * argv[]) status() argument 917 setbell(int argc,char * argv[]) setbell() argument 929 settrace(int argc,char * argv[]) settrace() argument 941 sethash(int argc,char * argv[]) sethash() argument 956 setverbose(int argc,char * argv[]) setverbose() argument 968 setport(int argc,char * argv[]) setport() argument 981 setprompt(int argc,char * argv[]) setprompt() argument 994 setglob(int argc,char * argv[]) setglob() argument 1006 setdebug(int argc,char * argv[]) setdebug() argument 1033 cd(int argc,char * argv[]) cd() argument 1058 lcd(int argc,char * argv[]) lcd() argument 1092 delete(int argc,char * argv[]) delete() argument 1116 mdelete(int argc,char * argv[]) mdelete() argument 1165 renamefile(int argc,char * argv[]) renamefile() argument 1203 ls(int argc,char * argv[]) ls() argument 1235 mls(int argc,char * argv[]) mls() argument 1298 shell(int argc,char * argv[]) shell() argument 1354 user(int argc,char * argv[]) user() argument 1417 pwd(int argc,char * argv[]) pwd() argument 1426 makedir(int argc,char * argv[]) makedir() argument 1450 removedir(int argc,char * argv[]) removedir() argument 1474 quote(int argc,char * argv[]) quote() argument 1514 site(int argc,char * argv[]) site() argument 1554 rmthelp(int argc,char * argv[]) rmthelp() argument 1568 quit(int argc,char * argv[]) quit() argument 1584 disconnect(int argc,char * argv[]) disconnect() argument 1667 account(int argc,char * argv[]) account() argument 1707 doproxy(int argc,char * argv[]) doproxy() argument 1771 setcase(int argc,char * argv[]) setcase() argument 1780 setcr(int argc,char * argv[]) setcr() argument 1788 setntrans(int argc,char * argv[]) setntrans() argument 1837 setnmap(int argc,char * argv[]) setnmap() argument 2096 setsunique(int argc,char * argv[]) setsunique() argument 2105 setrunique(int argc,char * argv[]) setrunique() argument 2114 setpassive(int argc,char * argv[]) setpassive() argument 2122 settcpwindow(int argc,char * argv[]) settcpwindow() argument 2155 cdup(int argc,char * argv[]) cdup() argument 2161 macdef(int argc,char * argv[]) macdef() argument 2269 setclevel(int argc,char * argv[]) setclevel() argument 2325 setdlevel(int argc,char * argv[]) setdlevel() argument 2371 ccc(int argc,char * argv[]) ccc() argument 2382 setclear(int argc,char * argv[]) setclear() argument 2393 setsafe(int argc,char * argv[]) setsafe() argument 2404 setprivate(int argc,char * argv[]) setprivate() argument 2414 setmech(int argc,char * argv[]) setmech() argument [all...] |
/titanic_52/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_policy.c | 59 static krb5_error_code init_ldap_realm (int argc, char *argv[]) { in init_ldap_realm() argument 103 kdb5_ldap_create_policy(argc, argv) in kdb5_ldap_create_policy() argument 105 char *argv[]; 136 if (!strcmp(argv[i], "-maxtktlife")) { 140 date = get_date(argv[i]); 150 } else if (!strcmp(argv[i], "-maxrenewlife")) { 154 date = get_date(argv[i]); 164 } else if (!strcmp((argv[i] + 1), "allow_postdated")) { 165 if (*(argv[i]) == '+') 167 else if (*(argv[ 332 kdb5_ldap_destroy_policy(argc,argv) kdb5_ldap_destroy_policy() argument 438 kdb5_ldap_modify_policy(argc,argv) kdb5_ldap_modify_policy() argument 697 kdb5_ldap_view_policy(argc,argv) kdb5_ldap_view_policy() argument 820 kdb5_ldap_list_policies(argc,argv) kdb5_ldap_list_policies() argument [all...] |
/titanic_52/usr/src/cmd/fs.d/ |
H A D | volcopy.c | 50 (nargv[nargc++] = &argv[1][0],\ 63 main(int argc, char **argv) in main() argument 77 while (argc > 1 && argv[1][0] == '-') { in main() 78 if (EQ(argv[1], "-a", 2)) { in main() 80 } else if (EQ(argv[1], "-e", 2)) { in main() 82 } else if (EQ(argv[1], "-s", 2)) { in main() 84 } else if (EQ(argv[1], "-y", 2)) { in main() 86 } else if (EQ(argv[1], "-buf", 4)) { in main() 88 } else if (EQ(argv[1], "-bpi", 4)) { in main() 90 if ((cc = argv[ in main() [all...] |
/titanic_52/usr/src/lib/libsqlite/src/ |
H A D | test1.c | 96 char **argv /* Text of each argument */ in sqlite_test_open() argument 102 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in sqlite_test_open() 106 db = sqlite_open(argv[1], 0666, &zErr); in sqlite_test_open() 120 static int exec_printf_cb(void *pArg, int argc, char **argv, char **name){ in exec_printf_cb() argument 130 Tcl_DStringAppendElement(str, argv[i] ? argv[i] : "NULL"); in exec_printf_cb() 146 char **argv /* Text of each argument */ in test_exec_printf() argument 154 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in test_exec_printf() 158 if( getDbPointer(interp, argv[1], &db) ) return TCL_ERROR; in test_exec_printf() 160 rc = sqlite_exec_printf(db, argv[ in test_exec_printf() 180 test_mprintf_z(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_mprintf_z() argument 204 test_get_table_printf(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_get_table_printf() argument 251 test_last_rowid(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_last_rowid() argument 275 sqlite_test_close(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_test_close() argument 292 ifnullFunc(sqlite_func * context,int argc,const char ** argv) ifnullFunc() argument 337 execFuncCallback(void * pData,int argc,char ** argv,char ** NotUsed) execFuncCallback() argument 361 sqliteExecFunc(sqlite_func * context,int argc,const char ** argv) sqliteExecFunc() argument 389 test_create_function(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_create_function() argument 411 countStep(sqlite_func * context,int argc,const char ** argv) countStep() argument 439 test_create_aggregate(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_create_aggregate() argument 464 sqlite_mprintf_int(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_mprintf_int() argument 491 sqlite_mprintf_str(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_mprintf_str() argument 518 sqlite_mprintf_double(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_mprintf_double() argument 549 sqlite_mprintf_scaled(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_mprintf_scaled() argument 579 sqlite_malloc_fail(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_malloc_fail() argument 603 sqlite_malloc_stat(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_malloc_stat() argument 623 sqlite_abort(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_abort() argument 633 testFunc(sqlite_func * context,int argc,const char ** argv) testFunc() argument 665 test_register_func(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_register_func() argument 691 rememberDataTypes(void * pArg,int nCol,char ** argv,char ** colv) rememberDataTypes() argument 718 sqlite_datatypes(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) sqlite_datatypes() argument 747 test_compile(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_compile() argument 787 test_step(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_step() argument 846 test_finalize(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_finalize() argument 877 test_reset(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_reset() argument 919 test_bind(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_bind() argument 968 test_breakpoint(void * NotUsed,Tcl_Interp * interp,int argc,char ** argv) test_breakpoint() argument [all...] |
H A D | test3.c | 63 const char **argv /* Text of each argument */ in btree_open() argument 69 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in btree_open() 73 rc = sqliteBtreeFactory(0, argv[1], 0, 1000, &pBt); in btree_open() 95 const char **argv /* Text of each argument */ in btree_close() argument 100 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in btree_close() 104 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR; in btree_close() 122 const char **argv /* Text of each argument */ in btree_begin_transaction() argument 127 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in btree_begin_transaction() 131 if( Tcl_GetInt(interp, argv[1], (int*)&pBt) ) return TCL_ERROR; in btree_begin_transaction() 149 const char **argv /* Tex in btree_rollback() argument 176 btree_commit(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_commit() argument 203 btree_create_table(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_create_table() argument 233 btree_drop_table(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_drop_table() argument 262 btree_clear_table(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_clear_table() argument 291 btree_get_meta(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_get_meta() argument 325 btree_update_meta(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_update_meta() argument 360 btree_page_dump(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_page_dump() argument 390 btree_tree_dump(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_tree_dump() argument 420 btree_pager_stats(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_pager_stats() argument 455 btree_pager_ref_dump(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_pager_ref_dump() argument 480 btree_integrity_check(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_integrity_check() argument 516 btree_cursor(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_cursor() argument 552 btree_close_cursor(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_close_cursor() argument 580 btree_move_to(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_move_to() argument 614 btree_delete(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_delete() argument 643 btree_insert(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_insert() argument 674 btree_next(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_next() argument 708 btree_prev(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_prev() argument 741 btree_first(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_first() argument 774 btree_last(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_last() argument 806 btree_key(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_key() argument 844 btree_data(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_data() argument 882 btree_payload_size(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_payload_size() argument 920 btree_cursor_dump(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) btree_cursor_dump() argument [all...] |
H A D | func.c | 35 static void minmaxFunc(sqlite_func *context, int argc, const char **argv){ in minmaxFunc() argument 43 zBest = argv[0]; in minmaxFunc() 45 if( argv[1][0]=='n' ){ in minmaxFunc() 51 if( argv[i]==0 ) return; in minmaxFunc() 52 if( (xCompare(argv[i], zBest)^mask)<0 ){ in minmaxFunc() 53 zBest = argv[i]; in minmaxFunc() 62 static void typeofFunc(sqlite_func *context, int argc, const char **argv){ in typeofFunc() argument 64 sqlite_set_result_string(context, argv[1], -1); in typeofFunc() 70 static void lengthFunc(sqlite_func *context, int argc, const char **argv){ in lengthFunc() argument 75 z = argv[ in lengthFunc() 88 absFunc(sqlite_func * context,int argc,const char ** argv) absFunc() argument 100 substrFunc(sqlite_func * context,int argc,const char ** argv) substrFunc() argument 146 roundFunc(sqlite_func * context,int argc,const char ** argv) roundFunc() argument 163 upperFunc(sqlite_func * context,int argc,const char ** argv) upperFunc() argument 173 lowerFunc(sqlite_func * context,int argc,const char ** argv) lowerFunc() argument 247 lower_utf8Func(sqlite_func * context,int argc,const char ** argv) lower_utf8Func() argument 267 upper_utf8Func(sqlite_func * context,int argc,const char ** argv) upper_utf8Func() argument 291 ifnullFunc(sqlite_func * context,int argc,const char ** argv) ifnullFunc() argument 304 randomFunc(sqlite_func * context,int argc,const char ** argv) randomFunc() argument 314 last_insert_rowid(sqlite_func * context,int arg,const char ** argv) last_insert_rowid() argument 323 change_count(sqlite_func * context,int arg,const char ** argv) change_count() argument 333 last_statement_change_count(sqlite_func * context,int arg,const char ** argv) last_statement_change_count() argument 347 likeFunc(sqlite_func * context,int arg,const char ** argv) likeFunc() argument 363 globFunc(sqlite_func * context,int arg,const char ** argv) globFunc() argument 375 nullifFunc(sqlite_func * context,int argc,const char ** argv) nullifFunc() argument 385 versionFunc(sqlite_func * context,int argc,const char ** argv) versionFunc() argument 400 quoteFunc(sqlite_func * context,int argc,const char ** argv) quoteFunc() argument 430 soundexFunc(sqlite_func * context,int argc,const char ** argv) soundexFunc() argument 471 randStr(sqlite_func * context,int argc,const char ** argv) randStr() argument 522 sumStep(sqlite_func * context,int argc,const char ** argv) sumStep() argument 594 countStep(sqlite_func * context,int argc,const char ** argv) countStep() argument 620 minmaxStep(sqlite_func * context,int argc,const char ** argv) minmaxStep() argument [all...] |
H A D | test2.c | 70 const char **argv /* Text of each argument */ in pager_open() argument 77 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in pager_open() 81 if( Tcl_GetInt(interp, argv[2], &nPage) ) return TCL_ERROR; in pager_open() 82 rc = sqlitepager_open(&pPager, argv[1], nPage, 0, 1); in pager_open() 101 const char **argv /* Text of each argument */ in pager_close() argument 106 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in pager_close() 110 if( Tcl_GetInt(interp, argv[1], (int*)&pPager) ) return TCL_ERROR; in pager_close() 128 const char **argv /* Text of each argument */ in pager_rollback() argument 133 Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0], in pager_rollback() 137 if( Tcl_GetInt(interp, argv[ in pager_rollback() 155 pager_commit(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) pager_commit() argument 182 pager_ckpt_begin(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) pager_ckpt_begin() argument 209 pager_ckpt_rollback(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) pager_ckpt_rollback() argument 236 pager_ckpt_commit(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) pager_ckpt_commit() argument 263 pager_stats(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) pager_stats() argument 296 pager_pagecount(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) pager_pagecount() argument 320 page_get(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) page_get() argument 354 page_lookup(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) page_lookup() argument 384 page_unref(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) page_unref() argument 411 page_read(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) page_read() argument 435 page_number(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) page_number() argument 459 page_write(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) page_write() argument 492 fake_big_file(void * NotUsed,Tcl_Interp * interp,int argc,const char ** argv) fake_big_file() argument [all...] |
/titanic_52/usr/src/cmd/awk/ |
H A D | main.c | 45 uchar *cmdname; /* gets argv[0] for error messages */ 56 main(int argc, char *argv[], char *envp[]) in main() argument 71 cmdname = (uchar *)argv[0]; in main() 81 while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') { in main() 82 if (strcmp(argv[1], "--") == 0) { in main() 85 argv++; in main() 88 switch (argv[1][1]) { in main() 91 argv++; in main() 97 pfile[npfile++] = (uchar *)argv[ in main() [all...] |
/titanic_52/usr/src/cmd/renice/ |
H A D | renice.c | 60 static int parse_obsolete_options(int argc, char **argv); 98 main(int argc, char *argv[]) in main() argument 122 * If argv[1] is in the valid range of priority values then in main() 126 if (isdigit(argv[1][0])) { in main() 127 if (strtol(argv[1], (char **)NULL, 10) > (PRIO_MAX+1)) { in main() 129 argv++; in main() 132 exit(parse_obsolete_options(argc, argv)); in main() 134 } else if ((argv[1][0] == '-' || argv[1][0] == '+') && in main() 135 isdigit(argv[ in main() 253 parse_obsolete_options(int argc,char * argv[]) parse_obsolete_options() argument [all...] |
/titanic_52/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode_test.c | 113 do_open(const char *dirpath, const char *dictname, char *argv[], int argc) in do_open() argument 122 experrno = geterrno(argv[1]); in do_open() 135 do_close(const char *dirpath, const char *dictname, char *argv[], int argc) in do_close() argument 145 do_codelen(const char *dirpath, const char *dictname, char *argv[], int argc) in do_codelen() argument 154 expcodelen = geterrno(argv[2]); in do_codelen() 169 do_maxkey(const char *dirpath, const char *dictname, char *argv[], int argc) in do_maxkey() argument 178 expmaxkey = geterrno(argv[2]); in do_maxkey() 193 do_key2code(const char *dirpath, const char *dictname, char *argv[], int argc) in do_key2code() argument 211 experrno = geterrno(argv[1]); in do_key2code() 215 beginp = argv[ in do_key2code() 247 do_code2key(const char * dirpath,const char * dictname,char * argv[],int argc) do_code2key() argument 301 do_getprop(const char * dirpath,const char * dictname,char * argv[],int argc) do_getprop() argument 352 char *argv[MAXARG]; testdict() local 405 main(int argc,char * argv[]) main() argument [all...] |
/titanic_52/usr/src/cmd/mkfile/ |
H A D | mkfile.c | 51 main(int argc, char **argv) in main() argument 68 while (argv[1] && argv[1][0] == '-') { in main() 69 opts = &argv[1][0]; in main() 83 argv++; in main() 88 len = strlen(argv[1]); in main() 89 if (len && isalpha(argv[1][len-1])) { in main() 90 switch (argv[1][len-1]) { in main() 109 gettext("unknown size %s\n"), argv[1]); in main() 114 if (!isdigit(argv[ in main() [all...] |
/titanic_52/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 205 static void chk_arg_len(char *argv, uint_t len); 212 static void do_args(char **argv, au_mask_t *mask); 241 static void do_setasid(char *sid_str, char **argv); 243 char *sid_str, char **argv); 244 static void do_setauid(char *user, char **argv); 272 static void execit(char **argv); 275 static void parse_args(int argc, char **argv, au_mask_t *mask); 287 main(int argc, char **argv) in main() argument 299 (argv[1][0] == '?' || in main() 300 strcmp(argv[ in main() 320 parse_args(int argc,char ** argv,au_mask_t * mask) parse_args() argument 627 do_args(char ** argv,au_mask_t * mask) do_args() argument 1766 do_setasid(char * sid_str,char ** argv) do_setasid() argument 1785 do_setaudit(char * user_str,char * mask_str,char * tid_str,char * sid_str,char ** argv) do_setaudit() argument 1802 do_setauid(char * user,char ** argv) do_setauid() argument 2616 chk_arg_len(char * argv,uint_t len) chk_arg_len() argument 2698 execit(char ** argv) execit() argument [all...] |
/titanic_52/usr/src/grub/grub-0.97/lib/ |
H A D | getopt.c | 275 store_args_and_env (int argc, char *const *argv) in store_args_and_env() 280 original_argv = argv; 311 exchange (argv) 312 char **argv; 357 tem = argv[bottom + i]; 358 argv[bottom + i] = argv[top - (middle - bottom) + i]; 359 argv[top - (middle - bottom) + i] = tem; 374 tem = argv[bottom + i]; 375 argv[botto 272 store_args_and_env(int argc,char * const * argv) store_args_and_env() argument 308 exchange(argv) exchange() argument 393 _getopt_initialize(argc,argv,optstring) _getopt_initialize() argument 515 _getopt_internal(argc,argv,optstring,longopts,longind,long_only) _getopt_internal() argument 970 getopt(argc,argv,optstring) getopt() argument 989 main(argc,argv) main() argument [all...] |
/titanic_52/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_evset.c | 46 cmd_evset(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in cmd_evset() argument 65 * Perform an initial pass through argv: we accumulate integer ids into in cmd_evset() 68 while (argc != 0 && (argi = mdb_getopts(argc, argv, in cmd_evset() 80 argv += argi; /* advance past elements processed by getopts */ in cmd_evset() 83 if (argv->a_type == MDB_TYPE_STRING) { in cmd_evset() 84 if (argv->a_un.a_str[0] == '+') { in cmd_evset() 85 for (p = argv->a_un.a_str + 1; *p != '\0'; ) { in cmd_evset() 111 } else if (argv->a_un.a_str[0] != '-') { in cmd_evset() 113 strtonum(argv->a_un.a_str, 10); in cmd_evset() 117 idv[idc++] = (int)(intmax_t)argv in cmd_evset() 185 ev_getopts(uintmax_t addr,uint_t flags,int argc,const mdb_arg_t * argv,uint_t * evflags,char ** opt_c,uint_t * opt_i,uint_t * opt_l,uint64_t * opt_L,uintptr_t * opt_n,uint_t * opt_o,uint_t * opt_p,uint_t * rwx) ev_getopts() argument 329 cmd_bp(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv) cmd_bp() argument 374 cmd_sigbp(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv) cmd_sigbp() argument 418 cmd_sysbp(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv) cmd_sysbp() argument 469 cmd_fltbp(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv) cmd_fltbp() argument 517 cmd_wp(uintptr_t x,uint_t flags,int argc,const mdb_arg_t * argv) cmd_wp() argument 604 cmd_oldbp(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv) cmd_oldbp() argument 620 oldwp(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv,uint_t rwx) oldwp() argument 636 cmd_oldwpr(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv) cmd_oldwpr() argument 642 cmd_oldwpw(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv) cmd_oldwpw() argument 648 cmd_oldwpx(uintptr_t addr,uint_t flags,int argc,const mdb_arg_t * argv) cmd_oldwpx() argument [all...] |
/titanic_52/usr/src/cmd/sh/ |
H A D | bltin.c | 46 builtin(int type, int argc, unsigned char **argv, struct trenod *t) in builtin() argument 49 unsigned char *a1 = argv[1]; in builtin() 55 syssusp(argc,argv); in builtin() 59 sysstop(argc,argv); in builtin() 63 syskill(argc,argv); in builtin() 67 sysfgbg(argc,argv); in builtin() 71 sysjobs(argc,argv); in builtin() 134 systrap(argc,argv); in builtin() 138 argv++; in builtin() 152 execa(argv, in builtin() [all...] |
/titanic_52/usr/src/cmd/krb5/kadmin/cli/ |
H A D | kadmin.h | 36 extern char *kadmin_startup(int argc, char *argv[]); 38 extern void kadmin_lock(int argc, char *argv[]); 39 extern void kadmin_unlock(int argc, char *argv[]); 40 extern void kadmin_delprinc(int argc, char *argv[]); 41 extern void kadmin_cpw(int argc, char *argv[]); 42 extern void kadmin_addprinc(int argc, char *argv[]); 43 extern void kadmin_modprinc(int argc, char *argv[]); 44 extern void kadmin_getprinc(int argc, char *argv[]); 45 extern void kadmin_getprincs(int argc, char *argv[]); 46 extern void kadmin_addpol(int argc, char *argv[]); [all...] |
/titanic_52/usr/src/lib/brand/solaris10/s10_replacefile/ |
H A D | s10_replacefile.c | 61 * argv[1] - dstActual (the path to the file that will be replaced) 62 * argv[2] - tmp_file (the temporary location to which the file will be 64 * argv[3] - tmpDst (the path to the replacement file) 65 * argv[4] - tmpFile (the path to a temporary copy of the running system's 68 * argv[5] - cksumTmpDst (checksum of the file represented by tmpDst) 69 * argv[6] - cksumTmpFile (checksum of the file represented by tmpFile) 71 * NOTE: This program will only establish an overlay mount if argv[4] or argv[5] 72 * is emtpy or if argv[4] and argv[ 78 main(int argc,char ** argv) main() argument [all...] |
/titanic_52/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | main.c | 164 main(int argc, char **argv) in main() argument 192 setpeer(argc, argv); in main() 241 setpeer(int argc, char **argv) in setpeer() argument 252 makeargv(&argc, &argv); in setpeer() 256 argv[0]); in setpeer() 259 hostnameinput = removebrackets(argv[1]); in setpeer() 290 port = atoi(argv[2]); in setpeer() 293 argv[2]); in setpeer() 316 modecmd(int argc, char **argv) in modecmd() argument 327 if (strcmp(argv[ in modecmd() 344 setbinary(int argc,char ** argv) setbinary() argument 351 setascii(int argc,char ** argv) setascii() argument 368 put(int argc,char ** argv) put() argument 485 get(int argc,char ** argv) get() argument 585 setrexmt(int argc,char ** argv) setrexmt() argument 606 settimeout(int argc,char ** argv) settimeout() argument 628 status(int argc,char ** argv) status() argument 704 char **argv; command() local 792 static char **argv; makeargv() local 834 quit(int argc,char ** argv) quit() argument 843 help(int argc,char ** argv) help() argument 871 settrace(int argc,char ** argv) settrace() argument 879 setverbose(int argc,char ** argv) setverbose() argument 886 setblksize(int argc,char ** argv) setblksize() argument 909 setsrexmt(int argc,char ** argv) setsrexmt() argument 932 settsize(int argc,char ** argv) settsize() argument [all...] |
/titanic_52/usr/src/cmd/msgfmt/ |
H A D | option.c | 37 char **argv = *pargv; in parse_option() local 39 argv++; in parse_option() 41 arg = *argv; in parse_option() 50 argv++; in parse_option() 66 argv++; in parse_option() 71 flag->idir = *++argv; in parse_option() 73 ++argv; in parse_option() 74 argv++; in parse_option() 97 argv++; in parse_option() 101 flag->ofile = *++argv; in parse_option() [all...] |
/titanic_52/usr/src/cmd/acpi/common/ |
H A D | getopt.c | 75 * PARAMETERS: argc, argv - from main 83 * the option, or it is pointed to by the next argv entry. 85 * argv entry). 92 char **argv) in AcpiGetoptArgument() argument 98 if (argv[AcpiGbl_Optind][(int) (CurrentCharPtr+1)] != '\0') in AcpiGetoptArgument() 100 AcpiGbl_Optarg = &argv[AcpiGbl_Optind++][(int) (CurrentCharPtr+1)]; in AcpiGetoptArgument() 111 AcpiGbl_Optarg = argv[AcpiGbl_Optind++]; in AcpiGetoptArgument() 123 * PARAMETERS: argc, argv - from main 135 char **argv, in AcpiGetopt() argument 145 argv[AcpiGbl_Optin in AcpiGetopt() [all...] |
/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | misc.c | 60 int b_exec(int argc __unused, char *argv[], Shbltin_t *context) in b_exec() argument 68 while (n = optget(argv, sh_optexec)) switch (n) in b_exec() 84 argv += opt_info.index; in b_exec() 87 if(*argv) in b_exec() 88 B_login(0,argv,(Shbltin_t*)&logdata); in b_exec() 98 int B_login(int argc,char *argv[],Shbltin_t *context) in B_login() argument 113 errormsg(SH_DICT,ERROR_exit(1),e_restricted,argv[0]); in B_login() 142 pname = argv[0]; in B_login() 144 argv[0] = logp->arg0; in B_login() 153 path_exec(shp,pname,argv,NI in B_login() 159 b_let(int argc,char * argv[],Shbltin_t * context) b_let() argument 182 b_eval(int argc,char * argv[],Shbltin_t * context) b_eval() argument 207 b_dot_cmd(register int n,char * argv[],Shbltin_t * context) b_dot_cmd() argument 325 b_true(int argc,register char * argv[],Shbltin_t * context) b_true() argument 336 b_false(int argc,register char * argv[],Shbltin_t * context) b_false() argument 344 b_shift(register int n,register char * argv[],Shbltin_t * context) b_shift() argument 371 b_wait(int n,register char * argv[],Shbltin_t * context) b_wait() argument 396 b_bg(register int n,register char * argv[],Shbltin_t * context) b_bg() argument 430 b_jobs(register int n,char * argv[],Shbltin_t * context) b_jobs() argument 469 b_universe(int argc,char * argv[],Shbltin_t * context) b_universe() argument 511 b_vpath(register int argc,char * argv[],Shbltin_t * context) b_vpath() argument [all...] |
/titanic_52/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_builtin_tail.sh | 143 [legacy]=( argv=( "-r" ) ) 151 [legacy]=( argv=( "-0" ) ) 152 [std_like]=( argv=( "-n" "0" ) ) 160 [legacy]=( argv=( "-0r" ) ) 161 [std_like]=( argv=( "-n" "0" "-r" ) ) 162 [long_options]=( argv=( "--lines" "0" "--reverse" ) ) 169 [legacy]=( argv=( "-1" ) ) 170 [std_like]=( argv=( "-n" "1" ) ) 171 [long_options]=( argv=( "--lines" "1" ) ) 178 [legacy]=( argv [all...] |