Lines Matching refs:line

89 #define trim(line) while (*(line) == ' ' || *(line) == '\t') (line)++
92 return configuration-parsed arguments from line as an array.
93 the line is expected not to contain any '\n'?
95 static apr_array_header_t *get_arguments(apr_pool_t * pool, const char *line)
99 trim(line);
100 while (*line) {
101 char *arg = ap_getword_conf(pool, &line);
104 trim(line);
123 "%s on line %d of %s: %s",
133 it assumes a line-per-line configuration (thru getline).
145 char line[MAX_STRING_LEN]; /* sorry, but this is expected by getline:-( */
149 while (!ap_cfg_getline(line, MAX_STRING_LEN, config_file)) {
150 char *ptr = line;
153 if (*line == '#')
163 "bad (negative) nesting on line %d of %s",
174 char * endp = (char *) ap_strrchr_c(line, '>');
202 *new = apr_psprintf(pool, "%s" APR_EOL_STR, line); /* put EOL back? */
461 char line[MAX_STRING_LEN];
468 /* for each line of the macro body */
471 /* copy the line and subtitute macro parameters */
472 strncpy(line, ((char **) contents->elts)[i], MAX_STRING_LEN - 1);
473 errmsg = substitute_macro_args(line, MAX_STRING_LEN,
477 "while processing line %d of macro '%s' (%s) %s",
480 /* append substituted line to result array */
483 *new = apr_pstrdup(pool, line);
558 int length; /* cached length of the current line */
610 no more than a line at a time, otherwise the parsing is too much ahead...
631 /* keep next line count in sync! the caller will update
736 "%s, redefined on line %d of \"%s\"",
750 "defined on line %d of \"%s\"",
856 "macro '%s' (%s) used on line %d of \"%s\"",