Lines Matching defs:nb_args
2421 int c, nb_args, i, has_arg;
2473 nb_args = 0;
2516 str_allocated[nb_args] = str;
2518 if (nb_args >= MAX_ARGS) {
2523 args[nb_args++] = str;
2600 if (nb_args + 3 > MAX_ARGS)
2602 args[nb_args++] = (void*)(long)count;
2603 args[nb_args++] = (void*)(long)format;
2604 args[nb_args++] = (void*)(long)size;
2631 if (nb_args >= MAX_ARGS)
2633 args[nb_args++] = (void *)(long)has_arg;
2635 if (nb_args >= MAX_ARGS)
2645 if (nb_args >= MAX_ARGS)
2647 args[nb_args++] = (void *)(long)val;
2649 if ((nb_args + 1) >= MAX_ARGS)
2652 args[nb_args++] = (void *)(long)((val >> 32) & 0xffffffff);
2654 args[nb_args++] = (void *)0;
2656 args[nb_args++] = (void *)(long)(val & 0xffffffff);
2681 if (nb_args >= MAX_ARGS)
2683 args[nb_args++] = (void *)(long)has_option;
2701 switch(nb_args) {
2751 monitor_printf(mon, "unsupported number of arguments: %d\n", nb_args);
2868 int nb_args, ret;
2872 nb_args = 0;
2878 if (nb_args >= MAX_ARGS)
2881 args[nb_args] = qemu_strdup(buf);
2882 nb_args++;
2886 *pnb_args = nb_args;
2893 int nb_args, i, len;
2898 parse_cmdline(cmdline, &nb_args, args);
2900 for(i = 0; i < nb_args; i++) {
2909 if (nb_args >= MAX_ARGS)
2911 args[nb_args++] = qemu_strdup("");
2913 if (nb_args <= 1) {
2915 if (nb_args == 0)
2932 for(i = 0; i < nb_args - 2; i++) {
2939 str = args[nb_args - 1];
2972 for(i = 0; i < nb_args; i++)