Home
last modified time | relevance | path

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

12

/netbsd/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/
H A DTokenizer.py65 self.curpos = 0
80 self.curpos += 1
83 self.curpos += 1
86 self.curpos += 1
89 self.curpos += 1
92 self.curpos += 1
95 self.curpos += 1
108 self.curpos += 1
130 self.curpos += 2
142 self.curpos +=1
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h96 unsigned curpos; variable
104 curpos = 0; in AggBuffer()
110 assert((curpos + Num) <= size); in addBytes()
113 buffer[curpos] = Ptr[i]; in addBytes()
114 curpos++; in addBytes()
117 buffer[curpos] = 0; in addBytes()
118 curpos++; in addBytes()
120 return curpos; in addBytes()
126 buffer[curpos] = 0; in addZeros()
127 curpos++; in addZeros()
[all …]
/netbsd/external/bsd/ntp/dist/ntpd/
H A 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()
216 stream->bakpos = stream->curpos; in lex_getch()
217 stream->curpos.nline++; in lex_getch()
218 stream->curpos.ncol = 0; in lex_getch()
247 stream->curpos = stream->bakpos; in lex_ungetch()
[all …]
H A Dntp_scanner.h104 struct LCPOS curpos; /* current scan position */ member
H A Dntp_parser.y829 lex_current()->curpos.nline);
837 lex_current()->curpos.nline);
845 lex_current()->curpos.nline);
860 lex_current()->curpos.nline);
875 lex_current()->curpos.nline);
884 NULL, NULL, $3, $4, lex_current()->curpos.nline);
/netbsd/external/gpl2/groff/dist/src/preproc/pic/
H A Dobject.cpp869 pos = *curpos; in position_rectangle()
874 *curpos = pos; in position_rectangle()
1180 *curpos = endpos; in make_move()
1510 *curpos = endpos; in make_line()
1743 startpos = *curpos; in make_arc()
1792 *curpos = endpos; in make_arc()
1800 obj = make_arc(curpos, dirp); in make_linear()
1802 obj = make_line(curpos, dirp); in make_linear()
1834 obj = make_box(curpos, dirp); in make_object()
1837 obj = make_text(curpos, dirp); in make_object()
[all …]
/netbsd/sys/dev/ic/
H A 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()
/netbsd/bin/sh/
H A Dhistedit.c77 static int curpos; variable
588 return strcmp(*(char *const *)a + curpos, in comparator()
589 *(char *const *)b + curpos); in comparator()
607 curpos = end - start; in sh_matches()
624 if (strncmp(entry->d_name, text, curpos) != 0) in sh_matches()
660 if (strcmp(matches[j] + curpos, matches[k] + curpos) in sh_matches()
/netbsd/external/bsd/atf/dist/atf-c/detail/
H A 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/external/bsd/top/dist/
H A 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/external/mpl/dhcp/dist/omapip/
H A Dtrace.c521 fpos_t curpos; in trace_get_next_packet() local
525 status = fgetpos(traceinfile, &curpos); in trace_get_next_packet()
584 status = fsetpos(traceinfile, &curpos); in trace_get_next_packet()
601 status = fsetpos (traceinfile, &curpos); in trace_get_next_packet()
674 fpos_t curpos; in trace_get_file() local
685 status = fgetpos (traceinfile, &curpos); in trace_get_file()
712 status = fsetpos (traceinfile, &curpos); in trace_get_file()
/netbsd/sbin/cgdconfig/
H A Dparams.c934 print_kvpair_b64(FILE *f, int curpos, int ts, const char *key, bits_t *val) in print_kvpair_b64() argument
951 curpos += ts + strlen(key) + 1; in print_kvpair_b64()
952 ts = curpos; in print_kvpair_b64()
954 for (i=0, pos=curpos; i < len; i++, pos++) { in print_kvpair_b64()
989 int curpos = 0; in keygen_fput() local
994 curpos += strlen("keygen "); in keygen_fput()
998 curpos += strlen("storedkey "); in keygen_fput()
999 print_kvpair_b64(f, curpos, 0, "key", kg->kg_key); in keygen_fput()
/netbsd/sys/dev/tc/
H A 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()
H A 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()
H A 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()
H A 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()
/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/
H A Diolib.c89 uint64_t curpos; /* current buffer and file offset */ member
294 hndl->curpos = CUR_MAKE (0, 0, 0); in __collector_create_handle()
379 opos = hndl->curpos; in deleteHandle()
398 if (__collector_cas_64p (&hndl->curpos, &opos, &npos) != opos) in deleteHandle()
1023 opos = hndl->curpos; in __collector_write_string()
1061 if (__collector_cas_64p (&hndl->curpos, &opos, &npos) != opos) in __collector_write_string()
1084 if (__collector_cas_64p (&hndl->curpos, &opos, &lpos) != opos) in __collector_write_string()
1107 if (__collector_cas_64p (&hndl->curpos, &lpos, &npos) != lpos) in __collector_write_string()
/netbsd/usr.sbin/makefs/cd9660/
H A 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/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Dlifetime.d595 if (curpos)
596 *curpos = bi;
614 if (!curpos)
617 curpos = cache + __nextBlkIdx;
621 __nextBlkIdx = curpos - cache;
623 *curpos = bi;
633 if (!curpos)
636 curpos = cache + __nextBlkIdx;
640 *curpos = cache[__nextBlkIdx];
641 curpos = cache + __nextBlkIdx;
[all …]
/netbsd/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dlifetime.d608 if (curpos)
609 *curpos = bi;
627 if (!curpos)
630 curpos = cache + __nextBlkIdx;
634 __nextBlkIdx = curpos - cache;
636 *curpos = bi;
646 if (!curpos)
649 curpos = cache + __nextBlkIdx;
653 *curpos = cache[__nextBlkIdx];
654 curpos = cache + __nextBlkIdx;
[all …]
/netbsd/crypto/external/bsd/heimdal/dist/lib/krb5/
H A 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/bin/ksh/
H A Dhistory.c72 static int curpos; /* current index in history[] */ variable
482 return curpos; in histN()
493 curpos = last;
497 curpos = n;
/netbsd/sys/arch/pmax/ibus/
H A 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/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dhw.h350 uint32_t curpos = NVReadRAMDAC(dev, head, NV_PRAMDAC_CU_START_POS); in nv_fix_nv40_hw_cursor() local
351 NVWriteRAMDAC(dev, head, NV_PRAMDAC_CU_START_POS, curpos); in nv_fix_nv40_hw_cursor()
/netbsd/sys/arch/arm/iomd/
H A 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()

12