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

/solaris-x11-s11/open-src/app/cmap_compact/sun-src/
H A Dcmc.c123 main (int argc, char **argv) argument
132 if (argc <= 1)
/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 == '-') {
/solaris-x11-s11/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-s11/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-s11/open-src/lib/DPS/sun-src/libdps/
H A DcsstartNX.c183 int argc = 1; /* 1, args[0]:=path, args[1]:=null */ local
194 for(cpp = execArgs; *cpp != 0; cpp++, argc++); /* count args. */
196 for(cpp = additionalArgs; *cpp != 0; cpp++, argc++);
198 args = (char **) Xmalloc(sizeof(char *) * (argc+1));
201 args[argc] = 0; /* cap end of args */
/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
126 if (argc != 0)
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,
176 NULL) != argc)
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
101 while (i < argc) {
170 int main(int argc, char *argv[]) argument
174 ScanArgs(argc, argv);
/solaris-x11-s11/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-s11/open-src/app/xlswins/sun-src/
H A Dxlswins.c151 int argc,
163 for (i = 1; i < argc; i++) {
169 if (++i >= argc) usage ();
173 if (++i >= argc) usage ();
183 if (++i >= argc) usage ();
215 if (i >= argc) {
220 for (; i < argc; 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
1606 if ((argc == 2) && ((strcmp("-h", argv[1]) == 0) ||
1613 if ((argc > 1) && ((strcmp("-v", argv[1]) == 0) ||
1617 argc--;
1621 if ((argc < 2) || (argc > 3)) {
1646 (argc == 3)) {
1657 if ((argc == 3) && (add || delete || restart || list_all || list_dev)) {
1762 } else if (argc == 2) {
/solaris-x11-s11/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 = malloc((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-s11/open-src/app/installalias/sun-src/
H A Dinstallalias.c614 main(int argc, char **argv) argument
628 if (argc > 1) {
632 if (argc > 2) {
633 directoryCount = argc;
/solaris-x11-s11/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c933 main(int argc, char *argv[]) argument
940 if (argc < 2) {
/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dresource.c733 int argc,
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++) {
732 GetResources( int argc, char *argv[]) argument
/solaris-x11-s11/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-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
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
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
1811 for (i = 1; i < argc; i++) {
1813 if (++i>=argc) usage ();
1818 if (++i>=argc) usage ();
1831 if (++i>=argc) usage ();
/solaris-x11-s11/open-src/app/accessx/sun-src/
H A DAccessX.c3448 void InitializeInterface(unsigned int argc, argument
3451 void InitializeInterface(argc,argv)
3452 unsigned int argc;
3465 XtNumber(optionDesc), (int *)&argc, argv, fallbackResources,
3734 int main( int argc, argument
3737 int main(argc, argv)
3738 int argc;
3758 InitializeInterface(argc, argv);

Completed in 348 milliseconds