| /freebsd/stand/userboot/userboot/ |
| H A D | 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/stand/i386/libi386/ |
| H A D | 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/stand/common/ |
| H A D | console.c | 252 char *curpos, *dup, *next; in cons_check() local 257 curpos = strsep(&next, " ,"); in cons_check() 258 if (*curpos != '\0') { in cons_check() 259 cons = cons_find(curpos); in cons_check() 261 printf("console %s is unavailable\n", curpos); in cons_check() 290 char *curpos, *dup, *next; in cons_change() local 301 curpos = strsep(&next, " ,"); in cons_change() 302 if (*curpos == '\0') in cons_change() 304 cons = cons_find(curpos); in cons_change()
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | 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 in lex_getch() [all...] |
| H A D | ntp_scanner.h | 102 struct LCPOS curpos; /* current scan position */ member
|
| H A D | 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 in yyparse() [all...] |
| /freebsd/lib/libfigpar/ |
| H A D | figpar.c | 111 off_t curpos; in parse_config() local 163 if ((curpos = lseek(fd, 0, SEEK_CUR)) == -1) { in parse_config() 167 curpos--; in parse_config() 189 if (lseek(fd, curpos, SEEK_SET) == -1) { in parse_config() 247 if ((curpos = lseek(fd, 0, SEEK_CUR)) == -1) { in parse_config() 251 curpos--; in parse_config() 357 n = (uint32_t)(charpos - curpos); in parse_config() 362 if (lseek(fd, curpos, SEEK_SET) == -1) { in parse_config()
|
| /freebsd/bin/sh/ |
| H A D | histedit.c | 587 size_t curpos = (intptr_t)thunk; in comparator() local 589 return (strcmp(*(char *const *)a + curpos, in comparator() 590 *(char *const *)b + curpos)); in comparator() 620 size_t curpos = end - start, lcstring = -1; in sh_matches() local 646 if (strncmp(entry->d_name, text, curpos) != 0) in sh_matches() 666 if (curpos > bp[0] || memcmp(bp + 2, text, curpos) != 0) in sh_matches() 674 if (strncmp(ap->name, text, curpos) != 0) in sh_matches() 684 if (strncmp(e.cmdname, text, curpos) != 0) in sh_matches() 700 (void *)(intptr_t)curpos); in sh_matches() 702 const char *l = matches[uniq] + curpos; in sh_matches() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.h | 103 unsigned curpos; variable 109 : size(size), buffer(size), curpos(0), AP(AP), in AggBuffer() 122 assert(curpos < size); in addByte() 123 buffer[curpos] = Byte; in addByte() 124 curpos++; in addByte() 134 symbolPosInBuffer.push_back(curpos); in addSymbol()
|
| /freebsd/contrib/atf/atf-c/detail/ |
| H A D | text_test.c | 108 int curpos; member 118 if (fa->failpos == fa->curpos) in word_fail_at() 121 fa->curpos++; in word_fail_at() 174 fa.curpos = 0; in ATF_TC_BODY() 179 ATF_REQUIRE(fa.curpos == 3); in ATF_TC_BODY()
|
| /freebsd/usr.sbin/makefs/cd9660/ |
| H A D | 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/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | firmware.c | 475 u32 curpos; member 571 cur = &fwctx->req->items[fwctx->curpos]; in brcmf_fw_request_nvram_done() 620 struct brcmf_fw_item *cur = &fwctx->req->items[fwctx->curpos]; in brcmf_fw_complete_request() 675 struct brcmf_fw_item *cur = &fwctx->req->items[fwctx->curpos]; in brcmf_fw_request_firmware() 707 while (ret == 0 && ++fwctx->curpos < fwctx->req->n_items) { in brcmf_fw_request_done()
|
| /freebsd/crypto/heimdal/lib/krb5/ |
| H A D | 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/sys/kern/ |
| H A D | kern_environment.c | 385 init_dynamic_kenv_from(char *init_env, int *curpos) in init_dynamic_kenv_from() argument 393 i = *curpos; in init_dynamic_kenv_from() 450 *curpos = i; in init_dynamic_kenv_from()
|
| /freebsd/usr.bin/diff/ |
| H A D | diffreg.c | 1071 long curpos; in change() local 1185 curpos = ftell(f1); in change() 1187 nc = ixold[a > b ? b : a - 1] - curpos; in change() 1274 long curpos = ftell(lb); in fetch() local 1276 nc = f[a > b ? b : a - 1] - curpos; in fetch()
|