Home
last modified time | relevance | path

Searched refs:oldpos (Results 1 – 20 of 20) sorted by relevance

/openbsd/usr.sbin/unbound/testcode/
H A Dpktview.c75 size_t oldpos = sldns_buffer_position(pkt); in analyze_dname() local
77 printf("[pos %d] dname: ", (int)oldpos); in analyze_dname()
81 if(sldns_buffer_position(pkt)-oldpos != len) in analyze_dname()
83 (int)(sldns_buffer_position(pkt)-oldpos)); in analyze_dname()
93 size_t len, oldpos; in analyze_rdata() local
97 oldpos = sldns_buffer_position(pkt); in analyze_rdata()
99 rdlen -= sldns_buffer_position(pkt)-oldpos; in analyze_rdata()
/openbsd/gnu/lib/libreadline/
H A Dsearch.c134 int oldpos, pos; local
156 oldpos = where_history ();
162 history_set_pos (oldpos);
350 int ret, oldpos; local
366 oldpos = where_history ();
369 history_set_pos (oldpos);
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20030714-1.c93 bool oldpos, tmp; in RenderBox_setStyle() local
98 oldpos = tmp; in RenderBox_setStyle()
118 if (oldpos) in RenderBox_setStyle()
/openbsd/usr.sbin/nsd/
H A Dixfr.c297 buffer_set_position(packet, oldpos); in ixfr_write_rr_pkt()
305 buffer_set_position(packet, oldpos); in ixfr_write_rr_pkt()
768 size_t oldpos; in query_ixfr() local
772 oldpos = QHEADERSZ; in query_ixfr()
1148 size_t oldpos, sz = 0; in ixfr_store_add_newsoa() local
1161 oldpos = buffer_position(packet); in ixfr_store_add_newsoa()
1191 buffer_set_position(packet, oldpos); in ixfr_store_add_newsoa()
1197 size_t oldpos, sz = 0; in ixfr_store_add_oldsoa() local
1215 oldpos = buffer_position(packet); in ixfr_store_add_oldsoa()
1309 size_t oldpos; in ixfr_store_putrr() local
[all …]
/openbsd/usr.bin/less/
H A Dsearch.c669 off_t linepos, oldpos; in search_range() local
672 oldpos = pos; in search_range()
723 *pendpos = oldpos; in search_range()
735 if (linenums && abs((int)(pos - oldpos)) > 2048) in search_range()
737 oldpos = pos; in search_range()
/openbsd/sbin/unwind/libunbound/iterator/
H A Diter_scrub.c115 size_t len, oldpos; in get_additional_name() local
140 oldpos = sldns_buffer_position(pkt); in get_additional_name()
143 sldns_buffer_set_position(pkt, oldpos); in get_additional_name()
190 size_t oldpos, dlen; in parse_get_cname_target() local
214 oldpos = sldns_buffer_position(pkt); in parse_get_cname_target()
217 sldns_buffer_set_position(pkt, oldpos); in parse_get_cname_target()
/openbsd/usr.sbin/unbound/iterator/
H A Diter_scrub.c115 size_t len, oldpos; in get_additional_name() local
140 oldpos = sldns_buffer_position(pkt); in get_additional_name()
143 sldns_buffer_set_position(pkt, oldpos); in get_additional_name()
190 size_t oldpos, dlen; in parse_get_cname_target() local
214 oldpos = sldns_buffer_position(pkt); in parse_get_cname_target()
217 sldns_buffer_set_position(pkt, oldpos); in parse_get_cname_target()
/openbsd/sys/dev/hid/
H A Dhid.c195 uint32_t oldpos; in hid_get_item() local
408 oldpos = c->loc.pos; in hid_get_item()
414 c->loc.pos = oldpos; in hid_get_item()
/openbsd/sbin/unwind/libunbound/util/data/
H A Dmsgparse.c653 size_t oldpos; in calc_size() local
659 oldpos = sldns_buffer_position(pkt); in calc_size()
662 if(sldns_buffer_position(pkt)-oldpos > pkt_len) in calc_size()
664 pkt_len -= sldns_buffer_position(pkt)-oldpos; in calc_size()
H A Dmsgreply.c273 size_t oldpos; in rdata_copy() local
278 oldpos = sldns_buffer_position(pkt); in rdata_copy()
282 pkt_len -= sldns_buffer_position(pkt)-oldpos; in rdata_copy()
/openbsd/usr.sbin/unbound/util/data/
H A Dmsgparse.c653 size_t oldpos; in calc_size() local
659 oldpos = sldns_buffer_position(pkt); in calc_size()
662 if(sldns_buffer_position(pkt)-oldpos > pkt_len) in calc_size()
664 pkt_len -= sldns_buffer_position(pkt)-oldpos; in calc_size()
H A Dmsgreply.c273 size_t oldpos; in rdata_copy() local
278 oldpos = sldns_buffer_position(pkt); in rdata_copy()
282 pkt_len -= sldns_buffer_position(pkt)-oldpos; in rdata_copy()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dgenrecog.c1688 change_state (oldpos, newpos, afterward, indent) in change_state() argument
1689 const char *oldpos; in change_state()
1694 int odepth = strlen (oldpos);
1700 for (depth = odepth; strncmp (oldpos, newpos, depth) != 0; --depth)
1705 if (ISUPPER (oldpos[old_has_insn]))
1718 if (old_has_insn >= 0 && oldpos[old_has_insn] >= newpos[depth])
/openbsd/gnu/usr.bin/binutils/gdb/
H A Deval.c386 int pc, pc2 = 0, oldpos; in evaluate_subexp_standard() local
1703 oldpos = *pos; in evaluate_subexp_standard()
1705 *pos = oldpos; in evaluate_subexp_standard()
1729 oldpos = *pos; in evaluate_subexp_standard()
1731 *pos = oldpos; in evaluate_subexp_standard()
/openbsd/gnu/gcc/gcc/
H A Dgenrecog.c1796 change_state (const char *oldpos, const char *newpos, const char *indent) in change_state() argument
1798 int odepth = strlen (oldpos); in change_state()
1804 for (depth = odepth; strncmp (oldpos, newpos, depth) != 0; --depth) in change_state()
1809 if (ISUPPER (oldpos[old_has_insn])) in change_state()
/openbsd/gnu/usr.bin/perl/dist/Tie-File/lib/Tie/
H A DFile.pm445 my $oldpos = $pos;
451 "subscript $oldpos";
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dcoffcode.h1686 file_ptr oldpos = bfd_tell (abfd); in coff_set_alignment_hook() local
1694 bfd_seek (abfd, oldpos, 0); in coff_set_alignment_hook()
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dcoffcode.h1700 file_ptr oldpos = bfd_tell (abfd); local
1708 bfd_seek (abfd, oldpos, 0);
/openbsd/sbin/unwind/libunbound/services/
H A Dauthzone.c1357 size_t oldpos; in decompress_rr_into_buffer() local
1365 oldpos = sldns_buffer_position(&pktbuf); in decompress_rr_into_buffer()
1380 &pktbuf) - oldpos; in decompress_rr_into_buffer()
/openbsd/usr.sbin/unbound/services/
H A Dauthzone.c1357 size_t oldpos; in decompress_rr_into_buffer() local
1365 oldpos = sldns_buffer_position(&pktbuf); in decompress_rr_into_buffer()
1380 &pktbuf) - oldpos; in decompress_rr_into_buffer()