Lines Matching full:line
494 static char line[256]; /* line to be logged accumulated here */
495 static char *linep; /* current pointer within line */
503 linep = line;
505 ppp_strlcpy(line, prefix, sizeof(line));
506 linep = line + strlen(line);
514 if (linep != line) {
516 ppp_log_write(llevel, line);
537 if (linep != line) {
539 if (linep + l < line + sizeof(line)) {
550 ppp_log_write(llevel, line);
551 linep = line;
561 /* assumes sizeof(buf) <= sizeof(line) */
564 memcpy(line, p, n);
565 linep = line + l;