Home
last modified time | relevance | path

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

12

/netbsd/src/external/bsd/ntp/dist/ntpd/
Dntp_scanner.c147 stream->curpos.nline = 1; in lex_open()
181 stream->curpos.ncol++; in lex_getch()
185 stream->curpos.ncol++; in lex_getch()
188 stream->curpos.ncol++; in lex_getch()
196 stream->curpos.ncol++; in lex_getch()
200 stream->curpos.ncol++; in lex_getch()
211 if (EOF == ch && stream->curpos.ncol != 0) in lex_getch()
216 stream->bakpos = stream->curpos; in lex_getch()
217 stream->curpos.nline++; in lex_getch()
218 stream->curpos.ncol = 0; in lex_getch()
[all …]
Dntp_parser.y838 lex_current()->curpos.nline,
839 lex_current()->curpos.ncol);
847 lex_current()->curpos.nline,
848 lex_current()->curpos.ncol);
863 lex_current()->curpos.nline,
864 lex_current()->curpos.ncol);
879 lex_current()->curpos.nline,
880 lex_current()->curpos.ncol);
889 lex_current()->curpos.nline,
890 lex_current()->curpos.ncol);
[all …]
Dntp_scanner.h104 struct LCPOS curpos; /* current scan position */ member
/netbsd/src/sys/dev/ic/
Dbt485.c96 struct wsdisplay_curpos curpos; /* current cursor position */ member
243 data->curpos.x = data->curpos.y = 0; /* right now at 0,0 */ in bt485_init()
362 data->curpos = cursorp->pos; in bt485_set_cursor()
408 cursorp->pos = data->curpos; /* DOPOS */ in bt485_get_cursor()
448 data->curpos = *curposp; in bt485_set_curpos()
459 *curposp = data->curpos; in bt485_get_curpos()
574 x = data->curpos.x + CURSOR_MAX_SIZE - data->curhot.x; in bt485_update_curpos()
575 y = data->curpos.y + CURSOR_MAX_SIZE - data->curhot.y; in bt485_update_curpos()
Digsfb.c839 const struct wsdisplay_curpos *curpos) in igsfb_set_curpos() argument
842 u_int x = curpos->x, y = curpos->y; in igsfb_set_curpos()
/netbsd/src/external/bsd/atf/dist/atf-c/detail/
Dtext_test.c111 int curpos; member
121 if (fa->failpos == fa->curpos) in word_fail_at()
124 fa->curpos++; in word_fail_at()
177 fa.curpos = 0; in ATF_TC_BODY()
182 ATF_REQUIRE(fa.curpos == 3); in ATF_TC_BODY()
/netbsd/src/external/bsd/top/dist/
Dap_snprintf.c38 char *curpos; member
277 vbuff->curpos = sp; \
280 sp = vbuff->curpos; \
687 sp = vbuff->curpos; in ap_vformatter()
1143 vbuff->curpos = sp; in ap_vformatter()
1168 vbuff.curpos = buf; in ap_snprintf()
1173 *vbuff.curpos = '\0'; in ap_snprintf()
1188 vbuff.curpos = buf; in ap_vsnprintf()
1191 *vbuff.curpos = '\0'; in ap_vsnprintf()
/netbsd/src/bin/sh/
Dhistedit.c82 static int curpos; variable
935 return strcmp(*(char *const *)a + curpos, in comparator()
936 *(char *const *)b + curpos); in comparator()
954 curpos = end - start; in sh_matches()
971 if (strncmp(entry->d_name, text, curpos) != 0) in sh_matches()
1009 if (strcmp(matches[j] + curpos, matches[k] + curpos) in sh_matches()
/netbsd/src/sbin/cgdconfig/
Dparams.c938 print_kvpair_b64(FILE *f, int curpos, int ts, const char *key, bits_t *val) in print_kvpair_b64() argument
955 curpos += ts + strlen(key) + 1; in print_kvpair_b64()
956 ts = curpos; in print_kvpair_b64()
958 for (i=0, pos=curpos; i < len; i++, pos++) { in print_kvpair_b64()
993 int curpos = 0; in keygen_fput() local
998 curpos += strlen("keygen "); in keygen_fput()
1002 curpos += strlen("storedkey "); in keygen_fput()
1003 print_kvpair_b64(f, curpos, 0, "key", kg->kg_key); in keygen_fput()
/netbsd/src/sys/dev/tc/
Dxcfb.c659 set_curpos(struct xcfb_softc *sc, struct wsdisplay_curpos *curpos) in set_curpos() argument
662 int x = curpos->x, y = curpos->y; in set_curpos()
691 struct wsdisplay_curpos *curpos = &sc->sc_cursor.cc_pos; in ims332_set_curpos() local
696 pos = (curpos->x & 0xfff) << 12 | (curpos->y & 0xfff); in ims332_set_curpos()
Dmfb.c667 set_curpos(struct mfb_softc *sc, struct wsdisplay_curpos *curpos) in set_curpos() argument
670 int x = curpos->x, y = curpos->y; in set_curpos()
Dcfb.c779 set_curpos(struct cfb_softc *sc, struct wsdisplay_curpos *curpos) in set_curpos() argument
782 int x = curpos->x, y = curpos->y; in set_curpos()
Dtfb.c837 set_curpos(struct tfb_softc *sc, struct wsdisplay_curpos *curpos) in set_curpos() argument
840 int x = curpos->x, y = curpos->y; in set_curpos()
Dstic.c1377 stic_set_curpos(struct stic_info *si, struct wsdisplay_curpos *curpos) in stic_set_curpos() argument
1381 x = curpos->x; in stic_set_curpos()
1382 y = curpos->y; in stic_set_curpos()
Dsfbplus.c816 set_curpos(struct sfbp_softc *sc, struct wsdisplay_curpos *curpos) in set_curpos() argument
819 int x = curpos->x, y = curpos->y; in set_curpos()
Dsfb.c834 set_curpos(struct sfb_softc *sc, struct wsdisplay_curpos *curpos) in set_curpos() argument
837 int x = curpos->x, y = curpos->y; in set_curpos()
/netbsd/src/usr.sbin/makefs/cd9660/
Dcd9660_write.c391 off_t curpos; in cd9660_write_filedata() local
394 curpos = ftello(fd); in cd9660_write_filedata()
401 if (fseeko(fd, curpos, SEEK_SET) == -1) in cd9660_write_filedata()
/netbsd/src/bin/ksh/
Dhistory.c72 static int curpos; /* current index in history[] */ variable
482 return curpos; in histN()
493 curpos = last;
497 curpos = n;
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/
Dkeytab_file.c444 off_t pos, curpos; in fkt_next_entry_int() local
472 curpos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR); in fkt_next_entry_int()
473 if(len + 4 + pos - curpos >= 4) { in fkt_next_entry_int()
479 if(len + 4 + pos - curpos >= 8) { in fkt_next_entry_int()
/netbsd/src/sys/arch/pmax/ibus/
Dpm.c787 pm_set_curpos(struct pm_softc *sc, struct wsdisplay_curpos *curpos) in pm_set_curpos() argument
793 x = curpos->x; in pm_set_curpos()
794 y = curpos->y; in pm_set_curpos()
/netbsd/src/sys/arch/arm/iomd/
Dvidcvideo.c765 set_curpos(struct vidcvideo_softc *sc, struct wsdisplay_curpos *curpos) in set_curpos() argument
768 int x = curpos->x, y = curpos->y; in set_curpos()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dfold-const.cc8136 HOST_WIDE_INT curpos = 0, fieldsize, valueinit = -1; in native_encode_initializer() local
8154 HOST_WIDE_INT pos = curpos, count = 0; in native_encode_initializer()
8163 || curpos >= total_bytes) in native_encode_initializer()
8203 if (mask && !CONSTRUCTOR_NO_CLEARING (init) && curpos != pos) in native_encode_initializer()
8208 r = native_encode_initializer (zero, ptr + curpos, in native_encode_initializer()
8210 mask + curpos); in native_encode_initializer()
8215 valueinit = curpos; in native_encode_initializer()
8216 curpos += fieldsize; in native_encode_initializer()
8218 while (curpos != pos) in native_encode_initializer()
8220 memcpy (ptr + curpos, ptr + valueinit, fieldsize); in native_encode_initializer()
[all …]
/netbsd/src/external/gpl3/binutils/dist/bfd/
Dmmo.c2040 file_ptr curpos = bfd_tell (abfd); in mmo_scan() local
2045 if (statbuf.st_size != curpos) in mmo_scan()
2059 if ((long) (y * 256 + z) * 4 != (curpos - stab_loc) - 4) in mmo_scan()
2067 (long) (curpos - stab_loc - 4)/4); in mmo_scan()
DChangeLog-2006209 * mmo.c (mmo_scan): Use file_ptr for curpos.
/netbsd/src/external/gpl3/gdb/dist/bfd/
Dmmo.c2040 file_ptr curpos = bfd_tell (abfd); in mmo_scan() local
2045 if (statbuf.st_size != curpos) in mmo_scan()
2059 if ((long) (y * 256 + z) * 4 != (curpos - stab_loc) - 4) in mmo_scan()
2067 (long) (curpos - stab_loc - 4)/4); in mmo_scan()

12