• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/editors/

Lines Matching defs:to

18   Files are laid out to avoid unnecessary function declarations.  So for
23 resulting sed_cmd_t structures are appended to a linked list
26 add_input_file() adds a FILE * to the list of input files. We need to
27 know all input sources ahead of time to find the last line for the $ match.
30 (which could be stdin) and applying the sed command list (sed_cmd_head) to
51 (Note: Specifying an address (range) to match is *optional*; commands
52 default to the whole pattern space if no specific address match was
56 - Create a wrapper around regex to make libc's regex conform with sed
73 int beg_line; /* 'sed 1p' 0 == apply commands to all lines */
76 FILE *sw_file; /* File (sw) command writes to, -1 for none. */
79 unsigned short which_match; /* (s) Which match to replace (0 for all) */
116 char *buf; /* Space to hold string */
178 static void parse_escapes(char *dest, const char *string, int len, char from, char to)
184 if (!to || string[i+1] == from) {
185 *dest++ = to ? to : string[i+1];
206 * index_of_next_unescaped_regexp_delim - walks left to right through a string
238 /* if we make it to here, we've hit the end of the string */
294 /* Move position to next character after last delimiter */
300 /* Grab a filename. Whitespace at start is skipped, then goes to EOL. */
305 /* Skip whitespace, then grab filename to end of line */
340 * function to save processor time, at the expense of a little more memory
369 /* Write to file */
486 /* Append this line to any unfinished line from last time. */
560 /* Add the command to the command array */
570 /* Append to a string, reallocating memory as necessary. */
602 /* I _think_ it is impossible to get '\' to be
656 /* If we aren't interested in this match, output old line to
691 /* Set command pointer to point to this label. (Does not handle null label.) */
701 bb_error_msg_and_die("can't find label for jump to '%s'", label);
747 /* Read line up to a newline or NUL byte, inclusive,
752 /* len > 0 here, it's ok to do temp[len-1] */
776 /* Close this file and advance to next one */
786 * The tricks with NO_EOL_CHAR and last_puts_char are there to emulate gnu sed.
802 /* Need to insert a '\n' between two files because first file's
860 /* Advance to next line. Stop if out of lines. */
939 /* Write the current pattern space up to the first newline */
954 /* Write the current pattern space to output */
994 /* Append line to linked list to be printed later */
1011 /* Read file, append contents to output */
1029 /* Write pattern space to file. */
1057 /* Append the next line to the current line */
1061 /* If no next line, jump to end of script and exit. */
1063 /* Jump to end of script and exit */
1088 /* Branch to label */
1113 case 'G': /* Append newline and hold space to pattern space */
1137 case 'H': /* Append newline and pattern space to hold space */
1173 /* we will print the line unless we were told to be quiet ('-n')
1186 /* It is possible to have a command line argument with embedded
1236 /* Lie to autoconf when it starts asking stupid questions. */
1282 /* By default, we write to stdout */
1285 /* argv[0..(argc-1)] should be names of file to process. If no