| /src/usr.bin/make/ |
| str.h | 57 /* The result of splitting a string into words. */ 58 typedef struct Words { 59 char **words; member in struct:Words 62 } Words; 64 /* The result of splitting a string into words. */ 66 Substring *words; member in struct:SubstringWords 300 Words Str_Words(const char *, bool); 303 Words_Free(Words w) 305 free(w.words); 315 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 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 [all...] |
| compat.c | 340 Words words = Str_Words(cmd, false); local 341 mav = words.words; 342 bp = words.freeIt;
|
| main.c | 681 * Break a line of arguments into words and parse them. 689 Words words; local 706 words = Str_Words(buf, true); 707 if (words.words == NULL) { 714 MainParseArgs((int)words.len, words.words); 717 Words_Free(words); [all...] |
| var.c | 252 /* SepBuf builds a string from words interleaved with separators. */ 644 * The argument is expanded exactly once and then split into words. 650 Words varnames; 668 if (varnames.len == 1 && varnames.words[0][0] == '\0') 672 const char *varname = varnames.words[i]; 838 Words varnames = Str_Words(xvarnames, false); 842 ExportVar(varnames.words[i], scope, VEM_ENV); 852 Words words = Str_Words(varnames, false); local 855 if (words.len == 1 && words.words[0][0] == '\0' 996 SubstringWords words; local 1739 SubstringWords words; local 2367 SubstringWords words; local 2708 SubstringWords words = Expr_Words(ch->expr); local 3286 SubstringWords words = Expr_Words(expr); local 3438 SubstringWords words; local 3686 SubstringWords words; local [all...] |
| job.c | 2261 * quotes can be used to enclose blanks in words. A backslash escapes 2287 Words wordsList; 2288 char **words; local 2304 words = wordsList.words; 2307 if (words == NULL) { 2313 for (path = NULL, argv = words; argc != 0; argc--, argv++) { 2358 free(words); 2369 free(words); 2375 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.
|