Home
last modified time | relevance | path

Searched refs:lineptr (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/usr.bin/units/
H A Dunits.c160 lineptr = line; in readunits()
161 if (*lineptr == '/' || *lineptr == '#') in readunits()
163 lineptr += strspn(lineptr, " \n\t"); in readunits()
165 lineptr[len] = 0; in readunits()
168 if (lineptr[strlen(lineptr) - 1] == '-') { /* it's a prefix */ in readunits()
173 lineptr[strlen(lineptr) - 1] = 0; in readunits()
181 lineptr += len + 1; in readunits()
182 lineptr += strspn(lineptr, " \n\t"); in readunits()
189 lineptr[len] = 0; in readunits()
205 lineptr += strspn(lineptr, " \n\t"); in readunits()
[all …]
/freebsd-14.2/usr.sbin/mtest/
H A Dmtest.c256 char *lineptr; in process_file() local
266 lineptr = line; in process_file()
267 while (isblank(*lineptr)) in process_file()
268 lineptr++; in process_file()
269 if (*lineptr != '#' && *lineptr != '\n') in process_file()
270 process_cmd(lineptr, s, s6, fp); in process_file()
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_refclock.c724 char *lineptr, /* current line pointer */ in refclock_gtlin() argument
736 dp = lineptr; in refclock_gtlin()
752 dlen = dp - lineptr; in refclock_gtlin()
759 ? lineptr in refclock_gtlin()
783 char *lineptr, /* current line pointer */ in refclock_gtraw() argument
793 memcpy(lineptr, rbufp->recv_buffer, bmax); in refclock_gtraw()
794 lineptr[bmax] = '\0'; in refclock_gtraw()
799 lineptr)); in refclock_gtraw()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc5311 INTERCEPTOR(SSIZE_T, getline, char **lineptr, SIZE_T *n, void *stream) {
5313 COMMON_INTERCEPTOR_ENTER(ctx, getline, lineptr, n, stream);
5317 SSIZE_T res = REAL(getline)(lineptr, n, stream);
5319 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr));
5321 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1);
5332 COMMON_INTERCEPTOR_ENTER(ctx, vname, lineptr, n, delim, stream); \
5333 SSIZE_T res = REAL(vname)(lineptr, n, delim, stream); \
5335 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr)); \
5337 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1); \
5342 INTERCEPTOR(SSIZE_T, __getdelim, char **lineptr, SIZE_T *n, int delim,
[all …]