Home
last modified time | relevance | path

Searched refs:heredoc (Results 1 – 8 of 8) sorted by relevance

/busybox-1.35.0/shell/ash_test/ash-heredoc/
Dheredoc_backslash1.right1 Quoted heredoc:
12 Unquoted heredoc:
22 Quoted -heredoc:
33 Unquoted -heredoc:
Dheredoc_backslash1.tests2 # Note that some lines in each heredoc start with a tab.
6 echo Quoted heredoc:
20 echo Unquoted heredoc:
35 echo Quoted -heredoc:
47 # In -heredoc case the marker is detected even if it is indented.
50 echo Unquoted -heredoc:
Dheredoc_huge.tests1 # This creates 120k heredoc
/busybox-1.35.0/shell/hush_test/hush-heredoc/
Dheredoc_backslash1.right1 Quoted heredoc:
12 Unquoted heredoc:
22 Quoted -heredoc:
33 Unquoted -heredoc:
Dheredoc_backslash1.tests2 # Note that some lines in each heredoc start with a tab.
6 echo Quoted heredoc:
20 echo Unquoted heredoc:
35 echo Quoted -heredoc:
47 # In -heredoc case the marker is detected even if it is indented.
50 echo Unquoted -heredoc:
Dheredoc_huge.tests1 # This creates 120k heredoc
/busybox-1.35.0/shell/
Dhush.c4451 o_string heredoc = NULL_O_STRING; in fetch_till_str() local
4462 heredoc.data = xzalloc(1); /* start as "", not as NULL */ in fetch_till_str()
4474 if (strcmp(heredoc.data + past_EOL, word) == 0) { in fetch_till_str()
4475 heredoc.data[past_EOL] = '\0'; in fetch_till_str()
4476 debug_printf_heredoc("parsed '%s' heredoc '%s'\n", word, heredoc.data); in fetch_till_str()
4477 return heredoc.data; in fetch_till_str()
4483 o_addchr(&heredoc, ch); in fetch_till_str()
4486 past_EOL = heredoc.length; in fetch_till_str()
4511 heredoc.data[--heredoc.length] = '\0'; in fetch_till_str()
4517 o_free(&heredoc); in fetch_till_str()
[all …]
Dash.c11696 struct heredoc { struct
11697 struct heredoc *next; /* next here document in list */ argument
11706 static struct heredoc *heredoclist; /* list of here documents to read */ argument
11710 static struct heredoc *heredoc; variable
11934 struct heredoc *here = heredoc; in parsefname()
11935 struct heredoc *p; in parsefname()
12724 heredoc = stzalloc(sizeof(struct heredoc)); in readtoken1()
12725 heredoc->here = np; in readtoken1()
12728 heredoc->striptabs = 1; in readtoken1()
12944 struct heredoc *saveheredoclist; in readtoken1()
[all …]