Lines Matching refs:Argument
103 static void append_new_argument(CommandLineOptions *options, Argument argument);
106 static Argument *find_argument(CommandLineOptions *options, ArgumentType type);
108 static Argument *append_argument(CommandLineOptions *options, ArgumentType type);
259 Argument *arg;
350 Argument *arg;
583 const Argument *arg = find_argument(options, ARG__BLOCK_NUMBER);
733 void append_new_argument(CommandLineOptions *options, Argument argument)
737 if(0 == (options->args.arguments = (Argument*)malloc(sizeof(Argument) * options->args.capacity)))
739 memset(options->args.arguments, 0, sizeof(Argument) * options->args.capacity);
746 if(0 == (options->args.arguments = (Argument*)safe_realloc_mul_2op_(options->args.arguments, sizeof(Argument), /*times*/options->args.capacity)))
748 memset(options->args.arguments + original_capacity, 0, sizeof(Argument) * (options->args.capacity - original_capacity));
774 Argument *find_argument(CommandLineOptions *options, ArgumentType type)
792 Argument *append_argument(CommandLineOptions *options, ArgumentType type)
794 Argument arg;