Home
last modified time | relevance | path

Searched refs:argcount (Results 1 – 19 of 19) sorted by relevance

/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dconfig.c76 static int parse_line(char *line, char *argvec[], int argcount);
231 int argcount; in parse_config() local
252 argcount = parse_line(pline, argvec, in parse_config()
257 logmsg(LOG_DEBUG, "scanned %d args\n", argcount); in parse_config()
258 for (i = 0; i < argcount; i++) in parse_config()
262 if (argcount == 0) { in parse_config()
279 parse_default(CONFIG_IF, iflist, argvec+1, argcount-1, in parse_config()
298 argcount-1, prefixdefaults); in parse_config()
303 parse_if(iflist, argvec+1, argcount-1); in parse_config()
306 parse_prefix(prefixlist, argvec+1, argcount-1); in parse_config()
[all …]
/titanic_50/usr/src/lib/libmvec/common/
H A D__vatanf.c46 int intf, intz, argcount; in __vatanf() local
96 argcount = 0; /* initialize argcount */ in __vatanf()
121 argcount = 1; /* we now have 1 good argument */ in __vatanf()
162 argcount = 1; /* we still have 1 good arg */ in __vatanf()
191 argcount = 2; /* we now have 2 good arguments */ in __vatanf()
232 argcount = 2; /* we still have 2 good args */ in __vatanf()
260 argcount = 3; /* we now have 3 good arguments */ in __vatanf()
303 argcount = 3; /* we still have 3 good args */ in __vatanf()
337 argcount = 4; /* we now have 4 good arguments */ in __vatanf()
352 if (argcount == 4) in __vatanf()
[all …]
H A D__vatan.c53 int index, sign, intf, intflo, intz, argcount; in __vatan() local
107 argcount = 0; /* initialize argcount */ in __vatan()
129 argcount = 1; /* we now have 1 good argument */ in __vatan()
171 argcount = 1; /* we still have 1 good arg */ in __vatan()
200 argcount = 2; /* we now have 2 good arguments */ in __vatan()
240 argcount = 2; /* we still have 2 good args */ in __vatan()
267 argcount = 3; /* we now have 3 good arguments */ in __vatan()
308 if (argcount < 3) break; /* end loop and finish up */ in __vatan()
314 if (argcount == 2) in __vatan()
/titanic_50/usr/src/lib/libast/common/misc/
H A Dcmdarg.c190 if ((cmd->flags & CMD_MINIMUM) && cmd->argcount < cmd->argmax) in cmdflush()
193 error(2, "%d arg command would be too long", cmd->argcount); in cmdflush()
196 cmd->total.args += cmd->argcount; in cmdflush()
198 cmd->argcount = 0; in cmdflush()
327 cmd->argcount++; in cmdarg()
328 if (cmd->argcount >= cmd->argmax && (i = cmdflush(cmd)) > r) in cmdarg()
343 if ((cmd->flags & CMD_EXACT) && cmd->argcount < cmd->argmax) in cmdclose()
346 error(2, "only %d arguments for last command", cmd->argcount); in cmdclose()
/titanic_50/usr/src/cmd/devmgmt/cmds/
H A Ddevreserv.c163 int argcount; /* Number of args on cmd */ in main() local
210 argcount = argc - optind; in main()
220 if (argcount == 0) { in main()
264 if (argcount == 1) { in main()
H A Ddevfree.c144 int argcount; /* Number of args on cmd */ in main() local
183 if ((argcount = argc-optind) < 1) syntaxerr = TRUE; in main()
199 if (argcount == 1) { in main()
/titanic_50/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c210 int c, argcount = 0; in dfstab_line_to_dfstab_entry() local
223 for (arglist[argcount] = strtok(temp_str, whitespace); in dfstab_line_to_dfstab_entry()
224 arglist[argcount] != NULL; /* CSTYLED */) { in dfstab_line_to_dfstab_entry()
225 arglist[++argcount] = strtok(NULL, whitespace); in dfstab_line_to_dfstab_entry()
227 argcount--; in dfstab_line_to_dfstab_entry()
236 while ((c = getopt(argcount, arglist, "F:d:o:")) != -1) { in dfstab_line_to_dfstab_entry()
292 dfstablist->path = strdup(arglist[argcount]); in dfstab_line_to_dfstab_entry()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsoconfig.c200 int argcount; in parse_file() local
217 argcount = split_line(pline, argvec, in parse_file()
223 printf("scanned %d args\n", argcount); in parse_file()
224 for (i = 0; i < argcount; i++) in parse_file()
228 switch (argcount) { in parse_file()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c328 int argcount; in ilb_import_file() local
347 while ((argcount = i_getln_to_argv(fp, &a)) > 0) { in ilb_import_file()
349 rc = ilb_import_cmdline(argcount, a->arglist, IMPORT_FILE); in ilb_import_file()
/titanic_50/usr/src/lib/libast/common/include/
H A Dcmdarg.h55 int argcount; /* current arg count */ member
/titanic_50/usr/src/lib/libmvec/common/vis/
H A D__vatan.S153 mov 2,%i5 !argcount = 3
199 dec %i5 !argcount--
275 cmp %i5,0 !if argcount =0, we are done
291 dec %i5 !argcount--
355 cmp %i5,0 !if argcount =0, we are done
371 dec %i5 !argcount--
453 cmp %i5,0 !if argcount =0, we are done
/titanic_50/usr/src/cmd/mailx/
H A Dcmd2.c616 if (argcount(list) == 0) in retfield()
681 if (argcount(list) == 0) { in unretfield()
729 if (argcount(list) == 0) in igfield()
801 if (argcount(list) == 0) { in unigfield()
H A Dcmd3.c548 if (argcount(arglist) == 0) { in set()
615 if (argcount(argv) == 0) { in group()
629 if (argcount(argv) == 1) { in group()
676 if (argcount(argv) == 0) { in ungroup()
1067 c = argcount(namelist) + 1; in alternates()
H A Daux.c127 argcount(char **argv) in argcount() function
/titanic_50/usr/src/lib/libproc/i386/
H A DPisadep.c138 argcount(struct ps_prochandle *P, long pc, ssize_t sz) in argcount() function
228 argc = argcount(P, (long)frame.pc, sz); in Pstack_iter()
/titanic_50/usr/src/cmd/rpcgen/
H A Drpc_main.c115 static int argcount = FIXEDARGS; variable
289 argcount = FIXEDARGS; in clear_args()
985 if (argcount >= ARGLISTLEN) { in addarg()
990 arglist[argcount++] = cp; in addarg()
/titanic_50/usr/src/lib/libproc/amd64/
H A DPisadep.c178 argcount(struct ps_prochandle *P, uint32_t pc, ssize_t sz) in argcount() function
291 argc = argcount(P, (uint32_t)frame.pc, sz); in Pstack_iter32()
/titanic_50/usr/src/cmd/mailx/hdr/
H A Ddef.h441 extern int argcount(char **argv);
/titanic_50/usr/src/uts/intel/ia32/os/
H A Darchdep.c1159 argcount(uintptr_t eip) in argcount() function
1374 argc = argcount(nextpc); in traceback()