| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| HD | NVPTXAsmPrinter.h | 103 unsigned curpos; variable 110 curpos = 0; in AggBuffer() 117 assert((curpos + Num) <= size); in addBytes() 118 assert((curpos + Bytes) <= size); in addBytes() 120 buffer[curpos] = Ptr[i]; in addBytes() 121 curpos++; in addBytes() 124 buffer[curpos] = 0; in addBytes() 125 curpos++; in addBytes() 127 return curpos; in addBytes() 131 assert((curpos + Num) <= size); in addZeros() [all …]
|
| /freebsd-14-stable/stand/userboot/userboot/ |
| HD | bootinfo.c | 39 char *curpos, *next, *string; in bi_getboothowto() local 50 curpos = strsep(&next, " ,"); in bi_getboothowto() 51 if (*curpos == '\0') in bi_getboothowto() 53 if (!strcmp(curpos, "vidconsole")) in bi_getboothowto() 55 else if (!strcmp(curpos, "comconsole")) in bi_getboothowto() 57 else if (!strcmp(curpos, "nullconsole")) in bi_getboothowto()
|
| /freebsd-14-stable/stand/i386/libi386/ |
| HD | bootinfo.c | 41 char *curpos, *next, *string; in bi_getboothowto() local 52 curpos = strsep(&next, " ,"); in bi_getboothowto() 53 if (*curpos == '\0') in bi_getboothowto() 55 if (!strcmp(curpos, "vidconsole")) in bi_getboothowto() 57 else if (!strcmp(curpos, "comconsole")) in bi_getboothowto() 59 else if (!strcmp(curpos, "nullconsole")) in bi_getboothowto()
|
| /freebsd-14-stable/lib/libfigpar/ |
| HD | figpar.c | 113 off_t curpos; in parse_config() local 165 curpos = lseek(fd, 0, SEEK_CUR) - 1; in parse_config() 166 if (curpos == -1) { in parse_config() 191 error = (int)lseek(fd, curpos, SEEK_SET); in parse_config() 192 if (error == (curpos - 1)) { in parse_config() 250 curpos = lseek(fd, 0, SEEK_CUR) - 1; in parse_config() 251 if (curpos == -1) { in parse_config() 364 n = (uint32_t)(charpos - curpos); in parse_config() 369 error = (int)lseek(fd, curpos, SEEK_SET); in parse_config() 370 if (error == (curpos - 1)) { in parse_config()
|
| /freebsd-14-stable/stand/common/ |
| HD | console.c | 229 char *curpos, *dup, *next; in cons_check() local 234 curpos = strsep(&next, " ,"); in cons_check() 235 if (*curpos != '\0') { in cons_check() 236 cons = cons_find(curpos); in cons_check() 238 printf("console %s is unavailable\n", curpos); in cons_check() 267 char *curpos, *dup, *next; in cons_change() local 278 curpos = strsep(&next, " ,"); in cons_change() 279 if (*curpos == '\0') in cons_change() 281 cons = cons_find(curpos); in cons_change()
|
| /freebsd-14-stable/contrib/ntp/ntpd/ |
| HD | ntp_scanner.c | 145 stream->curpos.nline = 1; in lex_open() 179 stream->curpos.ncol++; in lex_getch() 183 stream->curpos.ncol++; in lex_getch() 186 stream->curpos.ncol++; in lex_getch() 194 stream->curpos.ncol++; in lex_getch() 198 stream->curpos.ncol++; in lex_getch() 209 if (EOF == ch && stream->curpos.ncol != 0) in lex_getch() 214 stream->bakpos = stream->curpos; in lex_getch() 215 stream->curpos.nline++; in lex_getch() 216 stream->curpos.ncol = 0; in lex_getch() [all …]
|
| HD | ntp_parser.c | 2823 lex_current()->curpos.nline, in yyparse() 2824 lex_current()->curpos.ncol); in yyparse() 2836 lex_current()->curpos.nline, in yyparse() 2837 lex_current()->curpos.ncol); in yyparse() 2856 lex_current()->curpos.nline, in yyparse() 2857 lex_current()->curpos.ncol); in yyparse() 2876 lex_current()->curpos.nline, in yyparse() 2877 lex_current()->curpos.ncol); in yyparse() 2890 lex_current()->curpos.nline, in yyparse() 2891 lex_current()->curpos.ncol); in yyparse() [all …]
|
| HD | ntp_scanner.h | 102 struct LCPOS curpos; /* current scan position */ member
|
| /freebsd-14-stable/usr.sbin/makefs/cd9660/ |
| HD | cd9660_write.c | 394 off_t curpos; in cd9660_write_filedata() local 397 curpos = ftello(fd); in cd9660_write_filedata() 404 if (fseeko(fd, curpos, SEEK_SET) == -1) in cd9660_write_filedata()
|
| /freebsd-14-stable/crypto/heimdal/lib/krb5/ |
| HD | keytab_file.c | 455 off_t pos, curpos; in fkt_next_entry_int() local 483 curpos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR); in fkt_next_entry_int() 484 if(len + 4 + pos - curpos >= 4) { in fkt_next_entry_int() 490 if(len + 4 + pos - curpos >= 8) { in fkt_next_entry_int()
|
| /freebsd-14-stable/sys/kern/ |
| HD | kern_environment.c | 383 init_dynamic_kenv_from(char *init_env, int *curpos) in init_dynamic_kenv_from() argument 391 i = *curpos; in init_dynamic_kenv_from() 448 *curpos = i; in init_dynamic_kenv_from()
|
| /freebsd-14-stable/usr.bin/diff/ |
| HD | diffreg.c | 1033 long curpos; in change() local 1146 curpos = ftell(f1); in change() 1148 nc = ixold[a > b ? b : a - 1] - curpos; in change() 1234 long curpos = ftell(lb); in fetch() local 1236 nc = f[a > b ? b : a - 1] - curpos; in fetch()
|