Lines Matching refs:expansion

97    can be taken, but is also one of the special expansion characters. */
116 /* An expansion function that takes a string and a quoted flag and returns
178 /* Tell the expansion functions to not longjmp back to top_level on fatal
179 errors. Enabled when doing completion and prompt string expansion. */
670 The returned string will be run through expansion as if
1208 /* Extract a parameter expansion expression within ${ and } from STRING.
1956 expansion [of $*] appears within a double quoted string, it expands
2481 perform parameter expansion, command substitution, and arithmetic
2482 expansion on the right-hand side. Perform tilde expansion in any
2483 case. Do not perform word splitting on the result of expansion. */
2607 right side by doing tilde, command and parameter expansion. */
2775 /* If there are any characters in STRING that require full expansion,
2970 /* Perform parameter expansion, command substitution, and arithmetic
2971 expansion on STRING, as if it were a word. Leave the result quoted. */
2992 /* Expand STRING by performing parameter expansion, command substitution,
2993 and arithmetic expansion. Dequote the resulting WORD_LIST before
3101 things like ${1+"$@"}. This does parameter expansion, command
3102 substitution, arithmetic expansion, and word splitting. */
3146 or string expansion, just when the shell is expanding a command. This
3147 does parameter expansion, command substitution, arithmetic expansion,
3176 the word expansion process after the variable is expanded (word splitting
4067 /* Posix.2 says that the WORD should be run through tilde expansion,
4068 parameter expansion, command substitution and arithmetic expansion.
4233 /* Need to pass getpattern newly-allocated memory in case of expansion --
4234 the expansion code will free the passed string on an error. */
4289 parameter expansion, command substitution, arithmetic expansion,
4306 does parameter expansion, command substitution, arithmetic expansion,
5036 * Utility functions for parameter expansion *
5193 /* Parameter expand NAME, and return a new string which is the expansion,
5194 or NULL if there was no expansion.
5317 /* Expand the right side of a parameter expansion of the form ${NAMEcVALUE},
5353 /* The expansion of TEMP returned something. We need to treat things
5362 is the only expansion that creates more than one word. */
5369 /* The brace expansion occurred between double quotes and there was
5401 /* Deal with the right hand side of a ${name:?value} expansion in the case
5423 /* Free the data we have allocated during this expansion, since we
5472 /* Handle the parameter brace expansion that requires us to return the
5827 Used by the ${param:offset[:length]} expansion. */
5853 /* Process a variable substring expansion: ${name:e1[:e2]}. If VARNAME
6071 /* Perform pattern substitution on VALUE, which is the expansion of
6103 /* Malloc this because expand_string_if_necessary or one of the expansion
6259 /* Perform case modification on VALUE, which is the expansion of
6414 /* Functions to perform parameter expansion on a string */
6491 /* If c is followed by one of the valid parameter expansion
6515 /* ${#-} is a valid expansion and means to take the length of $-.
6534 /* Indirect expansion begins with a `!'. A valid indirect expansion is
6547 /* Check for special expansion things, like the length of a parameter */
6585 /* Process ${!PREFIX*} expansion. */
6619 /* Process ${!ARRAY[@]} and ${!ARRAY[*]} expansion. */ /* [ */
6684 /* Extract the contents of the ${ ... } expansion
6885 /* Expand a single ${xxx} expansion. The braces are optional. When
6969 been created, this is an expansion error. */
7014 disappear if there are other characters in the expansion,
7222 /* Do initial variable expansion. */
7313 expansion, command substitution, arithmetic substitution, and
7315 the result of the expansion. If WORD contains a null word, the
7321 treated as the result of an expansion. This has implications for
7325 they point to an integer value which receives information about expansion.
7330 This only does word splitting in the case of $@ expansion. In that
7408 /* Begin the expansion. */
7480 shell isn't in posix mode, though, we perform tilde expansion
7484 now have a flag that says to perform tilde expansion on arguments
7486 assignment statements. We now do tilde expansion on such words
7496 expansion, note where the `=' appears in the word and prepare to
7497 do tilde expansion following the first `='. */
7536 assignment statement, we don't do tilde expansion. */
7566 goto add_character; /* tilde expansion failed */
7806 CTLNUL is contained in the (non-null) expansion
7857 /* If all we had was '', it is a null expansion. */
7871 /* If we have a quoted null expansion, add a quoted NULL to istring. */
7938 positional parameters. In that case, we discard the expansion. */
7942 if we saw quoting characters, but the expansion was empty.
7946 saw a quoted null from a ${} expansion and add one back if we
8267 /* Do any word-expansion-specific cleanup and jump to top_level */
8397 /* All of the `shell expansions': brace expansion, tilde expansion, parameter
8398 expansion, command substitution, arithmetic expansion, word splitting, and
8552 /* Only do brace expansion if the word has a brace character. If
8566 /* If brace expansion didn't change the word, preserve
8577 expansion has been performed. */
8627 /* We do tilde expansion all the time. This is what 1003.2 says. */
8693 /* If no parameter expansion, command substitution, process
8719 This does all of the substitutions: brace expansion, tilde expansion,
8720 parameter expansion, command substitution, arithmetic expansion,
8721 process substitution, word splitting, and pathname expansion, according
8723 set, or for which no expansion is done, do not undergo word splitting.
8724 Words with the W_NOGLOB bit set do not undergo pathname expansion. */
8772 /* Do brace expansion on this word if there are any brace characters
8778 /* Perform the `normal' shell expansions: tilde expansion, parameter and
8779 variable substitution, command substitution, arithmetic expansion,