Searched refs:curpos (Results 1 - 25 of 39) sorted by relevance

12

/netbsd-current/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/
H A DTokenizer.py65 self.curpos = 0
74 if self.curpos >= self.lastpos:
76 c = self.data[self.curpos]
80 self.curpos += 1
83 self.curpos += 1
86 self.curpos += 1
89 self.curpos += 1
92 self.curpos += 1
95 self.curpos += 1
100 self.curpos
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h96 unsigned curpos; member in class:llvm::NVPTXAsmPrinter::AggBuffer
104 curpos = 0;
110 assert((curpos + Num) <= size);
111 assert((curpos + Bytes) <= size);
113 buffer[curpos] = Ptr[i];
114 curpos++;
117 buffer[curpos] = 0;
118 curpos++;
120 return curpos;
124 assert((curpos
[all...]
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Dntp_scanner.c147 stream->curpos.nline = 1;
181 stream->curpos.ncol++;
185 stream->curpos.ncol++;
188 stream->curpos.ncol++;
196 stream->curpos.ncol++;
200 stream->curpos.ncol++;
211 if (EOF == ch && stream->curpos.ncol != 0)
216 stream->bakpos = stream->curpos;
217 stream->curpos.nline++;
218 stream->curpos
[all...]
H A Dntp_scanner.h104 struct LCPOS curpos; /* current scan position */ member in struct:FILE_INFO
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-current/external/gpl2/groff/dist/src/preproc/pic/
H A Dobject.cpp792 graphic_object *object_spec::make_box(position *curpos, direction *dirp) argument
826 if (!position_rectangle(p, curpos, dirp)) {
836 position *curpos, direction *dirp)
869 pos = *curpos;
874 *curpos = pos;
946 graphic_object *object_spec::make_block(position *curpos, direction *dirp) argument
964 if (!position_rectangle(block, curpos, dirp)) {
984 graphic_object *object_spec::make_text(position *curpos, direction *dirp) argument
996 if (!position_rectangle(p, curpos, dirp)) {
1034 graphic_object *object_spec::make_ellipse(position *curpos, directio argument
835 position_rectangle(rectangle_object *p, position *curpos, direction *dirp) argument
1083 make_circle(position *curpos, direction *dirp) argument
1131 make_move(position *curpos, direction *dirp) argument
1418 make_line(position *curpos, direction *dirp) argument
1734 make_arc(position *curpos, direction *dirp) argument
1796 make_linear(position *curpos, direction *dirp) argument
1826 make_object(position *curpos, direction *dirp) argument
[all...]
H A Dobject.h213 int position_rectangle(rectangle_object *p, position *curpos,
/netbsd-current/bin/sh/
H A Dhistedit.c77 static int curpos; variable
582 * Comparator function for qsort(). The use of curpos here is to skip
588 return strcmp(*(char *const *)a + curpos,
589 *(char *const *)b + curpos);
607 curpos = end - start;
624 if (strncmp(entry->d_name, text, curpos) != 0)
660 if (strcmp(matches[j] + curpos, matches[k] + curpos)
/netbsd-current/external/bsd/atf/dist/atf-c/detail/
H A Dtext_test.c111 int curpos; member in struct:fail_at
121 if (fa->failpos == fa->curpos)
124 fa->curpos++;
177 fa.curpos = 0;
182 ATF_REQUIRE(fa.curpos == 3);
/netbsd-current/sys/dev/ic/
H A Dbt485.c96 struct wsdisplay_curpos curpos; /* current cursor position */ member in struct:bt485data
243 data->curpos.x = data->curpos.y = 0; /* right now at 0,0 */
362 data->curpos = cursorp->pos;
408 cursorp->pos = data->curpos; /* DOPOS */
448 data->curpos = *curposp;
459 *curposp = data->curpos;
574 x = data->curpos.x + CURSOR_MAX_SIZE - data->curhot.x;
575 y = data->curpos.y + CURSOR_MAX_SIZE - data->curhot.y;
/netbsd-current/external/mpl/dhcp/dist/omapip/
H A Dtrace.c521 fpos_t curpos; local
525 status = fgetpos(traceinfile, &curpos);
579 log_error("no curpos for fsetpos in "
584 status = fsetpos(traceinfile, &curpos);
601 status = fsetpos (traceinfile, &curpos);
674 fpos_t curpos; local
685 status = fgetpos (traceinfile, &curpos);
712 status = fsetpos (traceinfile, &curpos);
/netbsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_write.c391 off_t curpos; local
394 curpos = ftello(fd);
401 if (fseeko(fd, curpos, SEEK_SET) == -1)
/netbsd-current/external/bsd/top/dist/
H A Dap_snprintf.c38 char *curpos; member in struct:__anon6352
277 vbuff->curpos = sp; \
280 sp = vbuff->curpos; \
687 sp = vbuff->curpos;
1143 vbuff->curpos = sp;
1168 vbuff.curpos = buf;
1173 *vbuff.curpos = '\0';
1188 vbuff.curpos = buf;
1191 *vbuff.curpos = '\0';
/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/
H A Diolib.c89 uint64_t curpos; /* current buffer and file offset */ member in struct:DataHandle
294 hndl->curpos = CUR_MAKE (0, 0, 0);
379 opos = hndl->curpos;
398 if (__collector_cas_64p (&hndl->curpos, &opos, &npos) != opos)
869 * The current position of the file is handled via hndl->curpos.
874 * - busy: a bit to lock access to hndl->curpos
883 * - acquire the hndl->curpos "busy" lock
898 * It simply updates hndl->curpos atomically to the new file offset.
1023 opos = hndl->curpos;
1061 if (__collector_cas_64p (&hndl->curpos,
[all...]
/netbsd-current/sbin/cgdconfig/
H A Dparams.c938 print_kvpair_b64(FILE *f, int curpos, int ts, const char *key, bits_t *val) argument
955 curpos += ts + strlen(key) + 1;
956 ts = curpos;
958 for (i=0, pos=curpos; i < len; i++, pos++) {
993 int curpos = 0; local
998 curpos += strlen("keygen ");
1002 curpos += strlen("storedkey ");
1003 print_kvpair_b64(f, curpos, 0, "key", kg->kg_key);
/netbsd-current/sys/dev/tc/
H A Dxcfb.c659 set_curpos(struct xcfb_softc *sc, struct wsdisplay_curpos *curpos) argument
662 int x = curpos->x, y = curpos->y;
691 struct wsdisplay_curpos *curpos = &sc->sc_cursor.cc_pos; local
696 pos = (curpos->x & 0xfff) << 12 | (curpos->y & 0xfff);
H A Dtfb.c837 set_curpos(struct tfb_softc *sc, struct wsdisplay_curpos *curpos) argument
840 int x = curpos->x, y = curpos->y;
H A Dcfb.c779 set_curpos(struct cfb_softc *sc, struct wsdisplay_curpos *curpos) argument
782 int x = curpos->x, y = curpos->y;
H A Dmfb.c667 set_curpos(struct mfb_softc *sc, struct wsdisplay_curpos *curpos) argument
670 int x = curpos->x, y = curpos->y;
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
H A Dlifetime.d585 void __insertBlkInfoCache(BlkInfo bi, BlkInfo *curpos) nothrow
595 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;
638 else if (curpos !i
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/rt/
H A Dlifetime.d598 void __insertBlkInfoCache(BlkInfo bi, BlkInfo *curpos) nothrow
608 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;
651 else if (curpos !i
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dhw.h350 uint32_t curpos = NVReadRAMDAC(dev, head, NV_PRAMDAC_CU_START_POS); local
351 NVWriteRAMDAC(dev, head, NV_PRAMDAC_CU_START_POS, curpos);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dkeytab_file.c444 off_t pos, curpos; local
472 curpos = krb5_storage_seek(cursor->sp, 0, SEEK_CUR);
473 if(len + 4 + pos - curpos >= 4) {
479 if(len + 4 + pos - curpos >= 8) {
/netbsd-current/bin/ksh/
H A Dhistory.c72 static int curpos; /* current index in history[] */ variable
482 return curpos;
493 curpos = last;
497 curpos = n;
/netbsd-current/external/gpl2/groff/dist/src/roff/troff/
H A Denv.h92 tab_type distance_to_next_tab(hunits curpos, hunits *distance, hunits *leftpos);

Completed in 415 milliseconds

12