Searched defs:argv (Results 1 - 20 of 20) sorted by relevance

/solaris-x11-s11/open-src/app/cmap_compact/sun-src/
H A Dcmc.c89 process_arguments (argv)
90 char **argv;
95 for (a = argv; *a; a++) {
123 main (int argc, char **argv) argument
129 program = argv[0];
134 ++argv;
135 if (!strcmp("save", *argv))
137 else if (!strcmp("init", *argv))
139 else if (!strcmp("show", *argv))
141 else if (!strcmp("discard", *argv))
[all...]
/solaris-x11-s11/open-src/app/kbd_mode/sun-src/
H A Dkbd_mode.c42 main(int argc, char** argv) argument
51 argc--; argv++;
52 if (argc-- && **argv == '-') {
53 code = *(++*argv);
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbconf_xorg.c81 * set at build time to something useable. The argv[0] string isn't
91 char *const argv[]) /* Program argument vector */
100 if ((argc <= 0) || (argv == NULL)) {
109 if (argv[arg] == NULL) {
114 for (ptr = argv[arg]; *ptr != '\0'; ptr += 1) {
128 if (argv[argc] != NULL) {
146 char *const argv[]) /* Program argument vector */
182 fbc_check_args(argc, argv);
192 fbvar.prog_name = basename(argv[0]); /* For usage display */
221 (void) fbc_get_device_arg(argc, argv,
89 fbc_check_args( const int argc, char *const argv[]) argument
144 main( const int argc, char *const argv[]) argument
[all...]
H A Dfbc_dev.c63 char * const argv[], /* Program argument vector */
72 * The last argv[] string is ignored. The -dev option
74 * last argv[] string. The fbc_getargs() function should
79 if (strcasecmp(argv[arg], "-dev") == 0) {
80 *device_arg = argv[arg+1];
61 fbc_get_device_arg( const int argc, char * const argv[], const char **device_arg) argument
H A Dfbc_getargs.c241 char * const argv[], /* Program argument vector */
256 option_value = argv[arg+1];
293 argv[arg], argv[arg+1]);
330 argv[arg], argv[arg+1]);
350 char * const argv[], /* Program argument vector */
362 fbc_errormsg("Conflicting option, %s\n", argv[*arg]);
494 char * const argv[], /* Program argument vector */
507 argv,
238 fbc_add_radio_Option_mod( const keywd_int_t *keywd_table, const char *option_reset_value, char * const argv[], int arg, fbc_varient_t *fbvar, const void *fbopt_descr, xf86_opt_mod_t **option_mod_p) argument
349 fbc_Option_none( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
493 fbc_Option_keyword( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
526 fbc_Option_int( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
581 fbc_Option_Stream_Offset( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
636 fbc_Option_real( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
683 fbc_Option_string( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
725 fbc_opt_DefaultDepth( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
739 argv[*arg+1], local
766 fbc_opt_defaults( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
824 fbc_opt_dev( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
857 fbc_opt_file( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
892 argv[*arg+1], local
925 fbc_opt_Gamma( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
994 fbc_Option_GFile( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
1077 fbc_opt_help( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
1101 fbc_opt_prconf( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
1132 fbc_opt_predid( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
1199 fbc_opt_propt( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
1243 fbc_opt_res( char * const argv[], int *arg, fbc_varient_t *fbvar, const void *fbopt_descr) argument
1288 argv[*arg+2], local
1342 fbc_getargs( const int argc, char *const argv[], fbc_varient_t *fbvar) argument
[all...]
/solaris-x11-s11/open-src/app/winsysck/sun-src/
H A Dmain.c117 Parse (int argc, char* argv[]) argument
119 for (;argc > 1; argv++, argc--) {
120 if (argv[1][0] == '-') {
121 if (!strcmp(argv[1], "-display")) {
122 display_name=argv[2];
123 argv++;
127 if (!strcmp(argv[1], "-timeout")) {
128 timeout = atoi(argv[2]);
129 argv++;
133 for (; argv[
234 main(int argc, char* argv[]) argument
[all...]
/solaris-x11-s11/open-src/xserver/xorg/sun-src/os/solaris/mdb/modules/
H A DXserver_device_grabs.c116 inputdev_grabs(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
136 argc, argv) == -1) {
H A DXserver_clients.c168 client_pids(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
174 if (mdb_getopts(argc, argv,
186 argc, argv) == -1) {
/solaris-x11-s11/open-src/app/fbconsole/sun-src/
H A Dfbconsole.c396 main(int argc, char **argv) argument
406 while ((opt = getopt(argc, argv, "d:f:n")) != EOF) {
/solaris-x11-s11/open-src/lib/DPS/sun-src/pswrap/
H A Dmain.c91 static void ScanArgs(int argc, char *argv[]) argument
97 prog = argv[i++];
102 if (*argv[i] != '-') {
107 ifile = argv[i];
110 switch (*(argv[i]+1)) {
124 special_h = argv[++i];
127 hfile = argv[++i];
136 ofile = argv[++i];
142 if ((maxstring = atoi(argv[++i])) < MIN_MAXSTRING) {
151 shlibInclude = argv[
170 main(int argc, char *argv[]) argument
[all...]
/solaris-x11-s11/open-src/app/xlswins/sun-src/
H A Dxlswins.c152 char *argv[])
161 ProgramName = argv[0];
164 char *arg = argv[i];
170 displayname = argv[i];
174 indent = atoi (argv[i]);
184 switch (argv[i][0]) {
221 Window w = parse_long (argv[i]);
224 ProgramName, argv[i]);
150 main( int argc, char *argv[]) argument
/solaris-x11-s11/open-src/app/dsession/sun-src/
H A Ddsession.c1591 main(int argc, char **argv) argument
1594 program_name = argv[0];
1606 if ((argc == 2) && ((strcmp("-h", argv[1]) == 0) ||
1607 (strcmp("--help", argv[1]) == 0))) {
1613 if ((argc > 1) && ((strcmp("-v", argv[1]) == 0) ||
1614 (strcmp("--verb", argv[1]) == 0))) {
1618 argv++;
1632 if ((strcmp("-a", argv[1]) == 0) ||
1633 (strcmp("--add", argv[1]) == 0))
1636 else if ((strcmp("-d", argv[
[all...]
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconfig/
H A Dfbconfig.c267 CallConfigProgram(char **argv) argument
270 if (argv == NULL) {
271 printf("CallConfigProgram(argv is NULL)\n");
277 for (i = 0; argv[i] != NULL; i++) {
278 printf("argv[%d]=%s\n", i, argv[i]);
283 if (argv[0] == NULL) {
287 (void) execvp(argv[0], argv);
826 static char *argv[] local
1564 main( int argc, char *argv[]) argument
[all...]
/solaris-x11-s11/open-src/app/installalias/sun-src/
H A Dinstallalias.c614 main(int argc, char **argv) argument
624 programName = argv[0];
629 aliasFileName = argv[1];
634 directoryList = argv;
/solaris-x11-s11/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c121 char **argv; /* arguments to session */ member in struct:verify_info
933 main(int argc, char *argv[]) argument
941 usage(argv[0]);
949 d.authFile = argv[1];
965 if (argv[2] && strcmp(argv[2],"-auth") == 0) {
966 if (argv[3])
967 au_name = argv[3];
969 usage(argv[0]);
972 } else if (argv[
[all...]
/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dresource.c734 char *argv[])
760 &argc, argv);
774 &argc, argv);
814 XrmParseCommand(&generalDB, genTable, genEntries, ProgramName, &argc, argv);
842 XrmParseCommand(&modeDB, modeTable, modeEntries, ProgramName, &argc, argv);
846 for (argc--, argv++; argc > 0; argc--, argv++) {
847 if (**argv != '-')
848 Syntax(*argv);
849 switch (argv[
732 GetResources( int argc, char *argv[]) argument
[all...]
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dxmag_multivis.c73 char **Argv; /* copy of argv */
169 main (int argc, char **argv) argument
180 ProgramName = argv[0];
182 Argv = argv;
185 char *arg = argv[i];
191 displayname = argv[i];
195 geometry = argv[i];
199 source_geometry = argv[i];
203 magnification = atoi (argv[i]);
209 border_width = atoi (argv[
[all...]
/solaris-x11-s11/open-src/kernel/mdb/modules/
H A Di915.c195 i915_pciid(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
224 i915_gtt_total(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
345 const mdb_arg_t *argv)
432 i915_obj_list(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
443 if (mdb_getopts(argc, argv,
573 const mdb_arg_t *argv)
584 if (mdb_getopts(argc, argv,
640 i915_gtt_dump(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
694 const mdb_arg_t *argv)
741 const mdb_arg_t *argv)
344 i915_obj_list_node(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
572 i915_ringbuffer_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
693 i915_register_read(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
740 i915_error_reg_dump(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
868 i915_obj_history(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
946 i915_batch_history(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1061 i915_capabilities(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1118 i915_request_list_node(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1191 i915_gem_request_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1265 i915_ring_seqno_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1318 i915_gem_fence_regs_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1373 i915_interrupt_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1557 i915_hws_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1609 i915_fbc_status(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1716 i915_sr_status(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1802 i915_gem_framebuffer_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1859 i915_gen6_forcewake_count_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1924 i915_swizzle_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
2020 i915_ppgtt_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
[all...]
/solaris-x11-s11/open-src/app/dispswitch/sun-src/
H A Ddispswitch.c1795 main (int argc, char **argv) argument
1809 program_name = argv[0];
1812 if (!strcmp ("-display", argv[i]) || !strcmp ("-d", argv[i])) {
1814 display_name = argv[i];
1817 if (!strcmp ("-key", argv[i]) || !strcmp ("-k", argv[i])) {
1819 if ((keysym = XStringToKeysym(argv[i])) == NoSymbol) {
1820 fprintf(stderr, "invalid keysym: -key %s\n", argv[i]);
1826 if (!strcmp ("-mod", argv[
[all...]
/solaris-x11-s11/open-src/app/accessx/sun-src/
H A DAccessX.c3449 char *argv[])
3451 void InitializeInterface(argc,argv)
3453 char *argv[];
3465 XtNumber(optionDesc), (int *)&argc, argv, fallbackResources,
3735 char *argv[])
3737 int main(argc, argv)
3739 char *argv[];
3758 InitializeInterface(argc, argv);
3448 InitializeInterface(unsigned int argc, char *argv[]) argument
3734 main( int argc, char *argv[]) argument

Completed in 56 milliseconds