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

/solaris-x11-s12/open-src/app/cmap_compact/sun-src/
H A Dcmc.c88 process_arguments (char **argv) argument
92 for (a = argv; *a; a++) {
120 main (int argc, char **argv) argument
125 program = argv[0];
130 ++argv;
131 if (!strcmp("save", *argv))
133 else if (!strcmp("init", *argv))
135 else if (!strcmp("show", *argv))
137 else if (!strcmp("discard", *argv))
139 else if (!strcmp("dealloc", *argv))
[all...]
/solaris-x11-s12/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-s12/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-s12/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-s12/open-src/app/cmap_alloc/sun-src/
H A Dcmap_alloc.c58 static void parse_cmdline(int argc, char **argv);
67 char **argv)
73 parse_cmdline(argc, argv);
78 argv[0], XDisplayName(display_name));
286 char **argv)
291 prog_name = argv[0];
294 if (!strcmp(argv[option], "-display"))
296 display_name = argv[option];
300 else if (!strcmp(argv[option], "-force"))
303 else if (!strcmp(argv[optio
65 main( int argc, char **argv) argument
284 parse_cmdline( int argc, char **argv) argument
[all...]
/solaris-x11-s12/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-s12/open-src/xserver/xorg/sun-src/os/solaris/mdb/modules/
H A DXserver_device_grabs.c147 inputdev_grabs(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
167 argc, argv) == -1) {
H A DXserver_clients.c180 client_pids(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
186 if (mdb_getopts(argc, argv,
198 argc, argv) == -1) {
/solaris-x11-s12/open-src/app/dsession/sun-src/
H A Ddsession.c1594 main(int argc, char **argv) argument
1597 program_name = argv[0];
1609 if ((argc == 2) && ((strcmp("-h", argv[1]) == 0) ||
1610 (strcmp("--help", argv[1]) == 0))) {
1616 if ((argc > 1) && ((strcmp("-v", argv[1]) == 0) ||
1617 (strcmp("--verb", argv[1]) == 0))) {
1621 argv++;
1635 if ((strcmp("-a", argv[1]) == 0) ||
1636 (strcmp("--add", argv[1]) == 0))
1639 else if ((strcmp("-d", argv[
[all...]
/solaris-x11-s12/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c637 main(int argc, char *argv[]) argument
647 programName = argv[0];
649 if ((argc < 2) || (strcmp(argv[1], "--help") == 0)) {
650 usage(argv[0]);
658 d.authFile = argv[1];
666 if (argv[2] && strcmp(argv[2], "-auth") == 0) {
667 if (argv[3]) {
668 au_name = argv[3];
671 fprintf(stderr, "%s: -auth requires an argument\n", argv[
[all...]
/solaris-x11-s12/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-s12/open-src/app/installalias/sun-src/
H A Dinstallalias.c615 main(int argc, char **argv) argument
625 programName = argv[0];
630 aliasFileName = argv[1];
635 directoryList = argv;
/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dresource.c713 char *argv[])
739 &argc, argv);
753 &argc, argv);
791 XrmParseCommand(&generalDB, genTable, genEntries, ProgramName, &argc, argv);
814 XrmParseCommand(&modeDB, modeTable, modeEntries, ProgramName, &argc, argv);
818 for (argc--, argv++; argc > 0; argc--, argv++) {
819 if (**argv != '-')
820 Syntax(*argv);
821 switch (argv[
711 GetResources( int argc, char *argv[]) argument
[all...]
/solaris-x11-s12/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-s12/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
1120 i915_request_list_node(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1193 i915_gem_request_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1267 i915_ring_seqno_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1320 i915_gem_fence_regs_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1375 i915_interrupt_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1559 i915_hws_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1611 i915_fbc_status(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1718 i915_sr_status(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1804 i915_gem_framebuffer_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1861 i915_gen6_forcewake_count_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
1926 i915_swizzle_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
2022 i915_ppgtt_info(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
[all...]
/solaris-x11-s12/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-s12/open-src/app/accessx/sun-src/
H A DAccessX.c3450 char *argv[])
3452 void InitializeInterface(argc,argv)
3454 char *argv[];
3466 XtNumber(optionDesc), (int *)&argc, argv, fallbackResources,
3736 char *argv[])
3738 int main(argc, argv)
3740 char *argv[];
3759 InitializeInterface(argc, argv);
3449 InitializeInterface(unsigned int argc, char *argv[]) argument
3735 main( int argc, char *argv[]) argument

Completed in 1171 milliseconds