Home
last modified time | relevance | path

Searched refs:curpos (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h103 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/stand/userboot/userboot/
H A Dbootinfo.c39 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 Dbootinfo.c41 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 Dconsole.c229 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/contrib/ntp/ntpd/
H A Dntp_scanner.c145 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 Dntp_scanner.h102 struct LCPOS curpos; /* current scan position */ member
H A Dntp_parser.c2823 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 Dfigpar.c111 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 Dhistedit.c585 size_t curpos = (intptr_t)thunk; in comparator() local
587 return (strcmp(*(char *const *)a + curpos, in comparator()
588 *(char *const *)b + curpos)); in comparator()
618 size_t curpos = end - start, lcstring = -1; in sh_matches() local
644 if (strncmp(entry->d_name, text, curpos) != 0) in sh_matches()
664 if (curpos > bp[0] || memcmp(bp + 2, text, curpos) != 0) in sh_matches()
672 if (strncmp(ap->name, text, curpos) != 0) in sh_matches()
682 if (strncmp(e.cmdname, text, curpos) != 0) in sh_matches()
698 (void *)(intptr_t)curpos); in sh_matches()
700 const char *l = matches[uniq] + curpos; in sh_matches()
[all …]
/freebsd/contrib/atf/atf-c/detail/
H A Dtext_test.c108 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 Dcd9660_write.c394 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/crypto/heimdal/lib/krb5/
H A Dkeytab_file.c455 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 Dkern_environment.c385 init_dynamic_kenv_from(char *init_env, int *curpos) in init_dynamic_kenv_from()
393 i = *curpos; in init_dynamic_kenv_from()
450 *curpos = i; in init_dynamic_kenv_from()
383 init_dynamic_kenv_from(char * init_env,int * curpos) init_dynamic_kenv_from() argument
/freebsd/usr.bin/diff/
H A Ddiffreg.c1058 long curpos; in change()
1171 curpos = ftell(f1); in change()
1173 nc = ixold[a > b ? b : a - 1] - curpos; in change()
1260 long curpos = ftell(lb); in fetch()
1262 nc = f[a > b ? b : a - 1] - curpos; in fetch()
1054 long curpos; change() local
1256 long curpos = ftell(lb); fetch() local