Searched defs:argc (Results 1 - 21 of 21) sorted by relevance

/solaris-x11-s12/open-src/app/cmap_compact/sun-src/
H A Dcmc.c120 main (int argc, char **argv) argument
128 if (argc <= 1)
/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 == '-') {
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbconf_xorg.c90 const int argc, /* Program argument count */
100 if ((argc <= 0) || (argv == NULL)) {
108 for (arg = 0; arg < argc; arg += 1) {
128 if (argv[argc] != NULL) {
145 const int argc, /* Program argument count */
182 fbc_check_args(argc, argv);
221 (void) fbc_get_device_arg(argc, argv, &device_arg);
300 fbvar.getargs(argc, argv, &fbvar);
89 fbc_check_args( const int argc, char *const argv[]) argument
144 main( const int argc, char *const argv[]) argument
H A Dfbc_dev.c62 const int argc, /* Program argument count */
78 for (arg = 1; arg < (argc - 1); arg += 1) {
61 fbc_get_device_arg( const int argc, char * const argv[], const char **device_arg) argument
H A Dfbc_getargs.c1343 const int argc, /* Program argument count */
1383 for (arg = 1; arg < argc; arg += 1) {
1413 if ((arg + fbopt_descr->option_args) >= argc) {
1441 if (arg < argc) {
1342 fbc_getargs( const int argc, char *const argv[], fbc_varient_t *fbvar) argument
/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--) {
124 argc--;
130 argc--;
234 main (int argc, char* argv[]) argument
237 Parse(argc,argv);
/solaris-x11-s12/open-src/app/cmap_alloc/sun-src/
H A Dcmap_alloc.c58 static void parse_cmdline(int argc, char **argv);
66 int argc,
73 parse_cmdline(argc, argv);
285 int argc,
290 if (argc)
293 while (option < argc) {
295 if (++option < argc)
307 if (++option < argc) {
317 if (++option < argc) {
65 main( int argc, char **argv) argument
284 parse_cmdline( int argc, char **argv) argument
/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
157 if (argc != 0)
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,
188 NULL) != argc)
198 argc, argv) == -1) {
/solaris-x11-s12/open-src/app/xcolor/sun-src/
H A Dxcolor.c232 int argc,
259 for (i = 1; i < argc; i++) {
350 None, argv, argc, &size_hints);
231 main( int argc, char *argv[] ) argument
/solaris-x11-s12/open-src/app/dsession/sun-src/
H A Ddsession.c1594 main(int argc, char **argv) argument
1609 if ((argc == 2) && ((strcmp("-h", argv[1]) == 0) ||
1616 if ((argc > 1) && ((strcmp("-v", argv[1]) == 0) ||
1620 argc--;
1624 if ((argc < 2) || (argc > 3)) {
1649 (argc == 3)) {
1660 if ((argc == 3) && (add || delete || restart || list_all || list_dev)) {
1765 } else if (argc == 2) {
/solaris-x11-s12/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c637 main(int argc, char *argv[]) argument
649 if ((argc < 2) || (strcmp(argv[1], "--help") == 0)) {
655 exit((argc < 2) ? -1 : 0);
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconfig/
H A Dfbconfig.c1565 int argc, /* Program argument count */
1593 * * The fbconfig(1M) arguments (argc-1 pointers)
1596 cfg_argv = calloc((2 + argc + 1), sizeof (char *));
1611 for (i = 1; i < argc; i += 1) {
1630 if (i < argc) {
1652 if (i >= argc) {
1564 main( int argc, char *argv[]) argument
/solaris-x11-s12/open-src/app/installalias/sun-src/
H A Dinstallalias.c615 main(int argc, char **argv) argument
629 if (argc > 1) {
633 if (argc > 2) {
634 directoryCount = argc;
/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dresource.c712 int argc,
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++) {
711 GetResources( int argc, char *argv[]) argument
H A Dxlock.c1135 int argc,
1150 GetResources(argc, argv);
1134 main( int argc, char *argv[] ) argument
/solaris-x11-s12/open-src/app/xmag_multivis/sun-src/
H A Dxmag_multivis.c72 int Argc; /* copy of argc */
169 main (int argc, char **argv) argument
181 Argc = argc;
184 for (i = 1; i < argc; i++) {
190 if (++i >= argc) Usage ();
194 if (++i >= argc) Usage ();
198 if (++i >= argc) Usage ();
202 if (++i >= argc) Usage ();
208 if (++i >= argc) Usage ();
212 if (++i >= argc) Usag
[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
344 i915_obj_list_node(uintptr_t addr, uint_t flags, int argc, argument
432 i915_obj_list(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument
443 if (mdb_getopts(argc, argv,
447 'u', MDB_OPT_SETBITS, UNBOUND_LIST, &list_flag, NULL) != argc) {
572 i915_ringbuffer_info(uintptr_t addr, uint_t flags, int argc, argument
584 if (mdb_getopts(argc, argv,
587 's', MDB_OPT_SETBITS, BSD_RING, &ring_flag, NULL) != argc) {
640 i915_gtt_dump(uintptr_t addr, uint_t flags, int argc, cons 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
1811 for (i = 1; i < argc; i++) {
1813 if (++i>=argc) usage ();
1818 if (++i>=argc) usage ();
1831 if (++i>=argc) usage ();
/solaris-x11-s12/open-src/app/accessx/sun-src/
H A DAccessX.c3449 void InitializeInterface(unsigned int argc, argument
3452 void InitializeInterface(argc,argv)
3453 unsigned int argc;
3466 XtNumber(optionDesc), (int *)&argc, argv, fallbackResources,
3735 int main( int argc, argument
3738 int main(argc, argv)
3739 int argc;
3759 InitializeInterface(argc, argv);

Completed in 2823 milliseconds