Home
last modified time | relevance | path

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

/freebsd/usr.bin/units/
H A Dunits.c119 char line[512], *lineptr; in readunits() local
160 lineptr = line; in readunits()
161 if (*lineptr == '/' || *lineptr == '#') in readunits()
163 lineptr += strspn(lineptr, " \n\t"); in readunits()
164 len = strcspn(lineptr, " \n\t"); in readunits()
165 lineptr[len] = 0; in readunits()
166 if (!strlen(lineptr)) in readunits()
168 if (lineptr[strle in readunits()
[all...]
/freebsd/usr.sbin/mtest/
H A Dmtest.c255 char *lineptr; in process_file() local
265 lineptr = line; in process_file()
266 while (isblank(*lineptr)) in process_file()
267 lineptr++; in process_file()
268 if (*lineptr != '#' && *lineptr != '\n') in process_file()
269 process_cmd(lineptr, s, s6, fp); in process_file()
/freebsd/contrib/ntp/ntpd/
H A Dntp_refclock.c724 char *lineptr, /* current line pointer */ in refclock_gtlin()
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()
793 memcpy(lineptr, rbufp->recv_buffer, bmax); in refclock_gtraw()
794 lineptr[bmax] = '\0'; in refclock_gtraw()
799 lineptr)); in refclock_gtraw()
726 refclock_gtlin(struct recvbuf * rbufp,char * lineptr,int bmax,l_fp * tsptr) refclock_gtlin() argument
785 refclock_gtraw(struct recvbuf * rbufp,char * lineptr,int bmax,l_fp * tsptr) refclock_gtraw() argument
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc5322 INTERCEPTOR(SSIZE_T, getline, char **lineptr, SIZE_T *n, void *stream) {
5324 COMMON_INTERCEPTOR_ENTER(ctx, getline, lineptr, n, stream);
5328 SSIZE_T res = REAL(getline)(lineptr, n, stream);
5330 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr));
5332 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1);
5343 COMMON_INTERCEPTOR_ENTER(ctx, vname, lineptr, n, delim, stream); \
5344 SSIZE_T res = REAL(vname)(lineptr, n, delim, stream); \
5346 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr)); \
5348 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1); \
5353 INTERCEPTOR(SSIZE_T, __getdelim, char **lineptr, SIZE_T *n, int delim,
[all …]
/freebsd/contrib/sqlite3/autosetup/
H A Djimsh0.c723 int *lineptr);
9967 Jim_Obj *Jim_GetSourceInfo(Jim_Interp *interp, Jim_Obj *objPtr, int *lineptr) in Jim_GetSourceInfo() argument
9985 *lineptr = line; in Jim_GetSourceInfo()