Home
last modified time | relevance | path

Searched refs:new_pos (Results 1 – 5 of 5) sorted by relevance

/NextBSD/contrib/less/
HDinput.c49 POSITION new_pos; local
110 new_pos = base_pos;
111 while (new_pos < curr_pos)
119 backchars = pappend(c, new_pos);
120 new_pos++;
124 new_pos -= backchars;
159 new_pos = ch_tell();
162 new_pos -= backchars + 1;
193 new_pos = ch_tell();
198 new_pos = ch_tell() - backchars;
[all …]
HDline.c1148 POSITION new_pos; local
1159 new_pos = ch_tell();
1170 new_pos = ch_tell() - 1;
1182 return (new_pos);
1197 POSITION new_pos; local
1214 new_pos = ch_tell() + 1;
1224 new_pos = ch_zero();
1238 new_pos = ch_tell() + 1;
1256 return (new_pos);
/NextBSD/lib/libstand/
HDsplitfs.c239 off_t new_pos, seek_by; in splitfs_seek() local
291 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR); in splitfs_seek()
292 if (new_pos < 0) { in splitfs_seek()
296 sf->tot_pos += new_pos - sf->file_pos; in splitfs_seek()
297 sf->file_pos = new_pos; in splitfs_seek()
/NextBSD/sys/dev/etherswitch/arswitch/
HDarswitch_8327.c555 uint32_t t, new_pos, pos; in ar8327_init_pdata() local
595 new_pos = pos; in ar8327_init_pdata()
601 new_pos |= AR8327_POWER_ON_STRIP_LED_OPEN_EN; in ar8327_init_pdata()
603 new_pos &= ~AR8327_POWER_ON_STRIP_LED_OPEN_EN; in ar8327_init_pdata()
614 if (new_pos != pos) in ar8327_init_pdata()
615 new_pos |= AR8327_POWER_ON_STRIP_POWER_ON_SEL; in ar8327_init_pdata()
635 new_pos &= ~AR8327_POWER_ON_STRIP_SERDES_AEN; in ar8327_init_pdata()
637 new_pos |= AR8327_POWER_ON_STRIP_SERDES_AEN; in ar8327_init_pdata()
640 arswitch_writereg(sc->sc_dev, AR8327_REG_POWER_ON_STRIP, new_pos); in ar8327_init_pdata()
/NextBSD/contrib/gcc/
HDsched-rgn.c3203 int old_pos, new_pos, i; in fix_recovery_cfg() local
3212 for (new_pos = ebb_head[BLOCK_TO_BB (bbi) + 1] - 1; in fix_recovery_cfg()
3213 rgn_bb_table[new_pos] != bbi; in fix_recovery_cfg()
3214 new_pos--); in fix_recovery_cfg()
3215 new_pos++; in fix_recovery_cfg()
3216 gcc_assert (new_pos > ebb_head[BLOCK_TO_BB (bbi)]); in fix_recovery_cfg()
3218 gcc_assert (new_pos < old_pos); in fix_recovery_cfg()
3220 memmove (rgn_bb_table + new_pos + 1, in fix_recovery_cfg()
3221 rgn_bb_table + new_pos, in fix_recovery_cfg()
3222 (old_pos - new_pos) * sizeof (*rgn_bb_table)); in fix_recovery_cfg()
[all …]