Lines Matching refs:args
406 char** args = malloc(count * sizeof(char*)); in ReadArgs() local
411 args[i] = Evaluate(state, argv[i]); in ReadArgs()
412 if (args[i] == NULL) { in ReadArgs()
416 free(args[j]); in ReadArgs()
418 free(args); in ReadArgs()
421 *(va_arg(v, char**)) = args[i]; in ReadArgs()
424 free(args); in ReadArgs()
432 Value** args = malloc(count * sizeof(Value*)); in ReadValueArgs() local
437 args[i] = EvaluateValue(state, argv[i]); in ReadValueArgs()
438 if (args[i] == NULL) { in ReadValueArgs()
442 FreeValue(args[j]); in ReadValueArgs()
444 free(args); in ReadValueArgs()
447 *(va_arg(v, Value**)) = args[i]; in ReadValueArgs()
450 free(args); in ReadValueArgs()
459 char** args = (char**)malloc(argc * sizeof(char*)); in ReadVarArgs() local
462 args[i] = Evaluate(state, argv[i]); in ReadVarArgs()
463 if (args[i] == NULL) { in ReadVarArgs()
466 free(args[j]); in ReadVarArgs()
468 free(args); in ReadVarArgs()
472 return args; in ReadVarArgs()
480 Value** args = (Value**)malloc(argc * sizeof(Value*)); in ReadValueVarArgs() local
483 args[i] = EvaluateValue(state, argv[i]); in ReadValueVarArgs()
484 if (args[i] == NULL) { in ReadValueVarArgs()
487 FreeValue(args[j]); in ReadValueVarArgs()
489 free(args); in ReadValueVarArgs()
493 return args; in ReadValueVarArgs()