HomeSort by: relevance | last modified time | path
    Searched refs:Words (Results 1 - 7 of 7) sorted by relevancy

  /src/usr.bin/make/
str.h 59 /* The result of splitting a string into words. */
60 typedef struct Words {
61 char **words; member in struct:Words
64 } Words;
66 /* The result of splitting a string into words. */
68 Substring *words; member in struct:SubstringWords
302 Words Str_Words(const char *, bool);
305 Words_Free(Words w)
307 free(w.words);
317 w->words = NULL
    [all...]
str.c 107 * Fracture a string into an array of words (as delineated by tabs or spaces)
117 * Returns the fractured words, which must be freed later using Words_Free,
118 * unless the returned Words.words was NULL.
126 Substring *words; local in function:Substring_Words
136 /* words_buf holds the words, separated by '\0'. */
141 words = bmake_malloc((words_cap + 1) * sizeof(words[0]));
191 * end of a token -- make sure there's enough words
200 words = bmake_realloc(words
279 Words words; local in function:Str_Words
    [all...]
compat.c 340 Words words = Str_Words(cmd, false); local in function:Compat_RunCommand
341 mav = words.words;
342 bp = words.freeIt;
main.c 682 * Break a line of arguments into words and parse them.
690 Words words; local in function:Main_ParseArgLine
707 words = Str_Words(buf, true);
708 if (words.words == NULL) {
715 MainParseArgs((int)words.len, words.words);
718 Words_Free(words);
    [all...]
var.c 250 /* SepBuf builds a string from words interleaved with separators. */
636 * The argument is expanded exactly once and then split into words.
642 Words varnames;
660 if (varnames.len == 1 && varnames.words[0][0] == '\0')
664 const char *varname = varnames.words[i];
830 Words varnames = Str_Words(xvarnames, false);
834 ExportVar(varnames.words[i], scope, VEM_ENV);
844 Words words = Str_Words(varnames, false); local in function:ExportVars
847 if (words.len == 1 && words.words[0][0] == '\0'
988 SubstringWords words; local in function:UnexportVars
1735 SubstringWords words; local in function:VarSelectWords
2363 SubstringWords words; local in function:ModifyWords
2704 SubstringWords words = Expr_Words(ch->expr); local in function:ApplyModifier_Range
3275 SubstringWords words = Expr_Words(expr); local in function:ApplyModifier_Words
3427 SubstringWords words; local in function:ApplyModifier_Order
3675 SubstringWords words; local in function:ApplyModifier_Unique
    [all...]
job.c 2226 * quotes can be used to enclose blanks in words. A backslash escapes
2252 Words wordsList;
2253 char **words; local in function:Job_ParseShell
2269 words = wordsList.words;
2272 if (words == NULL) {
2278 for (path = NULL, argv = words; argc != 0; argc--, argv++) {
2323 free(words);
2334 free(words);
2340 free(words);
    [all...]
  /src/usr.bin/make/unit-tests/
varmod-sysv.mk 21 # Words that don't match the pattern are passed unmodified.
72 # of words in the expression.
128 # Words that don't match are copied unmodified.

Completed in 165 milliseconds