Home | History | Annotate | Download | only in make-3.81

Lines Matching defs:argv

39     char *(*func_ptr) PARAMS ((char *output, char **argv, const char *fname));
411 func_patsubst (char *o, char **argv, const char *funcname UNUSED)
413 o = patsubst_expand (o, argv[2], argv[0], argv[1], (char *) 0, (char *) 0);
419 func_join (char *o, char **argv, const char *funcname UNUSED)
429 char *list1_iterator = argv[0];
430 char *list2_iterator = argv[1];
459 func_origin (char *o, char **argv, const char *funcname UNUSED)
462 register struct variable *v = lookup_variable (argv[0], strlen (argv[0]));
499 func_flavor (char *o, char **argv, const char *funcname UNUSED)
501 register struct variable *v = lookup_variable (argv[0], strlen (argv[0]));
526 func_notdir_suffix (char *o, char **argv, const char *funcname)
529 char *list_iterator = argv[0];
584 func_basename_dir (char *o, char **argv, const char *funcname)
587 char *p3 = argv[0];
640 func_addsuffix_addprefix (char *o, char **argv, const char *funcname)
642 int fixlen = strlen (argv[0]);
643 char *list_iterator = argv[1];
654 o = variable_buffer_output (o, argv[0], fixlen);
657 o = variable_buffer_output (o, argv[0], fixlen);
670 func_subst (char *o, char **argv, const char *funcname UNUSED)
672 o = subst_expand (o, argv[2], argv[0], argv[1], strlen (argv[0]),
673 strlen (argv[1]), 0);
680 func_firstword (char *o, char **argv, const char *funcname UNUSED)
683 char *words = argv[0]; /* Use a temp variable for find_next_token */
693 func_lastword (char *o, char **argv, const char *funcname UNUSED)
696 char *words = argv[0]; /* Use a temp variable for find_next_token */
710 func_words (char *o, char **argv, const char *funcname UNUSED)
713 char *word_iterator = argv[0];
759 func_word (char *o, char **argv, const char *funcname UNUSED)
766 check_numeric (argv[0], _("non-numeric first argument to `word' function"));
767 i = atoi (argv[0]);
774 end_p = argv[1];
786 func_wordlist (char *o, char **argv, const char *funcname UNUSED)
791 check_numeric (argv[0],
793 check_numeric (argv[1],
796 start = atoi (argv[0]);
801 count = atoi (argv[1]) - start + 1;
806 char *end_p = argv[2];
827 func_findstring (char *o, char **argv, const char *funcname UNUSED)
830 if (strstr (argv[1], argv[0]) != 0)
831 o = variable_buffer_output (o, argv[0], strlen (argv[0]));
837 func_foreach (char *o, char **argv, const char *funcname UNUSED)
840 char *varname = expand_argument (argv[0], NULL);
841 char *list = expand_argument (argv[1], NULL);
842 char *body = argv[2];
927 func_filter_filterout (char *o, char **argv, const char *funcname)
938 char *pat_iterator = argv[0];
939 char *word_iterator = argv[1];
946 /* Chop ARGV[0] up into patterns to match against the words. */
969 /* Chop ARGV[1] up into words to match against the patterns. */
1057 func_strip (char *o, char **argv, const char *funcname UNUSED)
1059 char *p = argv[0];
1089 func_error (char *o, char **argv, const char *funcname)
1098 for (len=0, argvp=argv; *argvp != 0; ++argvp)
1103 for (argvp=argv; argvp[1] != 0; ++argvp)
1135 chop argv[0] into words, and sort them.
1138 func_sort (char *o, char **argv, const char *funcname UNUSED)
1144 /* Chop ARGV[0] into words and put them in WORDS. */
1145 char *t = argv[0];
1200 func_if (char *o, char **argv, const char *funcname UNUSED)
1202 const char *begp = argv[0];
1203 const char *endp = begp + strlen (argv[0]) - 1;
1224 argv += 1 + !result;
1226 if (argv[0])
1230 expansion = expand_argument (argv[0], NULL);
1255 func_or (char *o, char **argv, const char *funcname UNUSED)
1257 for ( ; *argv ; ++argv)
1259 const char *begp = *argv;
1260 const char *endp = begp + strlen (*argv) - 1;
1305 func_and (char *o, char **argv, const char *funcname UNUSED)
1312 const char *begp = *argv;
1313 const char *endp = begp + strlen (*argv) - 1;
1330 if (*(++argv))
1345 func_wildcard (char *o, char **argv, const char *funcname UNUSED)
1349 o = wildcard_expansion (argv[0], o);
1351 char *p = string_glob (argv[0]);
1366 func_eval (char *o, char **argv, const char *funcname UNUSED)
1376 eval_buffer (argv[0]);
1385 func_value (char *o, char **argv, const char *funcname UNUSED)
1388 struct variable *v = lookup_variable (argv[0], strlen (argv[0]));
1585 func_shell (char *o, char **argv, const char *funcname UNUSED)
1600 command_argv = construct_command_argv (argv[0],
1642 fpipe = msdos_openpipe (pipedes, &pid, argv[0]);
1769 func_shell (char *o, char **argv, const char *funcname)
1793 command_argv = construct_command_argv (argv[0], (char **) NULL,
1860 func_eq (char *o, char **argv, char *funcname)
1862 int result = ! strcmp (argv[0], argv[1]);
1872 func_not (char *o, char **argv, char *funcname)
1874 char *s = argv[0];
1965 func_realpath (char *o, char **argv, const char *funcname UNUSED)
1968 char *p = argv[0];
2006 func_abspath (char *o, char **argv, const char *funcname UNUSED)
2009 char *p = argv[0];
2051 static char *func_call PARAMS ((char *o, char **argv, const char *funcname));
2105 expand_builtin_function (char *o, int argc, char **argv,
2124 return entry_p->func_ptr (o, argv, entry_p->name);
2142 char **argv, **argvp;
2178 argvp = argv = (char **) alloca (sizeof (char *) * (nargs + 2));
2222 *op = expand_builtin_function (*op, nargs, argv, entry_p);
2226 for (argvp=argv; *argvp != 0; ++argvp)
2241 func_call (char *o, char **argv, const char *funcname UNUSED)
2255 fname = argv[0];
2275 for (i=0; argv[i+1]; ++i)
2278 return expand_builtin_function (o, i, argv+1, entry_p);
2304 for (i=0; *argv; ++i, ++argv)
2309 define_variable (num, strlen (num), *argv, o_automatic, 0);