Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dconfig.c231 int argcount; in parse_config() local
486 if (i > argcount) in parse_line()
588 argcount -= 2; in parse_default()
591 if (argcount != 0) in parse_default()
608 if (argcount < 1) { in parse_if()
614 argcount--; in parse_if()
635 argcount -= 2; in parse_if()
638 if (argcount != 0) in parse_if()
663 argcount -= 2; in parse_prefix()
709 argcount -= 2; in parse_prefix()
[all …]
/illumos-gate/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()
352 if (argcount == 4) in __vatanf()
373 if (argcount == 3) in __vatanf()
389 if (argcount == 2) 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()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dcmdarg.c241 if ((cmd->flags & CMD_MINIMUM) && cmd->argcount < cmd->argmax) in cmdflush()
244 (*cmd->errorf)(NiL, cmd, 2, "%d arg command would be too long", cmd->argcount); in cmdflush()
247 cmd->total.args += cmd->argcount; in cmdflush()
249 cmd->argcount = 0; in cmdflush()
381 cmd->argcount++; in cmdarg()
382 if (cmd->argcount >= cmd->argmax && (i = cmdflush(cmd)) > r) in cmdarg()
386 cmd->argcount += len; in cmdarg()
399 if ((cmd->flags & CMD_EXACT) && cmd->argcount < cmd->argmax) in cmdclose()
402 (*cmd->errorf)(NiL, cmd, 2, "only %d arguments for last command", cmd->argcount); in cmdclose()
H A Dcmdlib.h38 int argcount; /* current arg count */ \
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/tools/smatch/src/
H A Dtoken.h175 struct argcount { struct
196 struct argcount count; argument
H A Dpre-process.c348 struct argcount *p = &arglist->next->count; in collect_arguments()
368 struct argcount *p = &arglist->next->count; in collect_arguments()
1224 struct argcount *count = &list->count; in parse_arguments()
1332 struct argcount *count = &arglist->next->count; in try_arg()
/illumos-gate/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()
/illumos-gate/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.c546 if (argcount(arglist) == 0) { in set()
613 if (argcount(argv) == 0) { in group()
627 if (argcount(argv) == 1) { in group()
674 if (argcount(argv) == 0) { in ungroup()
1065 c = argcount(namelist) + 1; in alternates()
H A Dutil.c127 argcount(char **argv) in argcount() function
/illumos-gate/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
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c161 argcount(struct ps_prochandle *P, long pc, ssize_t sz) in argcount() function
254 argc = argcount(P, (long)frame.pc, sz); in Pstack_iter()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c201 argcount(struct ps_prochandle *P, uint32_t pc, ssize_t sz) in argcount() function
317 argc = argcount(P, (uint32_t)frame.pc, in Pstack_iter32()
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Ddef.h442 extern int argcount(char **argv);