Searched refs:lineptr (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13.1/usr.bin/units/ |
| H A D | units.c | 165 lineptr = line; in readunits() 166 if (*lineptr == '/' || *lineptr == '#') in readunits() 168 lineptr += strspn(lineptr, " \n\t"); in readunits() 170 lineptr[len] = 0; in readunits() 173 if (lineptr[strlen(lineptr) - 1] == '-') { /* it's a prefix */ in readunits() 178 lineptr[strlen(lineptr) - 1] = 0; in readunits() 186 lineptr += len + 1; in readunits() 187 lineptr += strspn(lineptr, " \n\t"); in readunits() 194 lineptr[len] = 0; in readunits() 210 lineptr += strspn(lineptr, " \n\t"); in readunits() [all …]
|
| /freebsd-13.1/usr.sbin/mtest/ |
| H A D | mtest.c | 258 char *lineptr; in process_file() local 268 lineptr = line; in process_file() 269 while (isblank(*lineptr)) in process_file() 270 lineptr++; in process_file() 271 if (*lineptr != '#' && *lineptr != '\n') in process_file() 272 process_cmd(lineptr, s, s6, fp); in process_file()
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | ntp_refclock.c | 720 char *lineptr, /* current line pointer */ in refclock_gtlin() argument 732 dp = lineptr; in refclock_gtlin() 748 dlen = dp - lineptr; in refclock_gtlin() 755 ? lineptr in refclock_gtlin() 779 char *lineptr, /* current line pointer */ in refclock_gtraw() argument 789 memcpy(lineptr, rbufp->recv_buffer, bmax); in refclock_gtraw() 790 lineptr[bmax] = '\0'; in refclock_gtraw() 795 lineptr)); in refclock_gtraw()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 5209 INTERCEPTOR(SSIZE_T, getline, char **lineptr, SIZE_T *n, void *stream) { 5211 COMMON_INTERCEPTOR_ENTER(ctx, getline, lineptr, n, stream); 5215 SSIZE_T res = REAL(getline)(lineptr, n, stream); 5217 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr)); 5219 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1); 5230 COMMON_INTERCEPTOR_ENTER(ctx, vname, lineptr, n, delim, stream); \ 5231 SSIZE_T res = REAL(vname)(lineptr, n, delim, stream); \ 5233 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, lineptr, sizeof(*lineptr)); \ 5235 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *lineptr, res + 1); \ 5240 INTERCEPTOR(SSIZE_T, __getdelim, char **lineptr, SIZE_T *n, int delim, [all …]
|