Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 22 of 22) sorted by relevance

/dragonfly/contrib/nvi2/common/
H A Ddelete.c32 del(SCR *sp, MARK *fm, MARK *tm, int lmode) in del() argument
77 GET_SPACE_RETW(sp, bp, blen, fm->cno); in del()
78 MEMCPY(bp, p, fm->cno); in del()
79 if (db_set(sp, fm->lno, bp, fm->cno)) in del()
86 if (tm->lno == fm->lno) { in del()
91 if (fm->cno != 0) in del()
92 MEMCPY(bp, p, fm->cno); in del()
93 MEMCPY(bp + fm->cno, p + (tm->cno + 1), in del()
95 if (db_set(sp, fm->lno, in del()
107 if ((tlen = fm->cno) != 0) { in del()
[all …]
H A Dsearch.c159 lno = fm->lno; in f_search()
174 if ((coff = fm->cno) != 0) in f_search()
176 } else if (fm->cno + 1 >= len) { in f_search()
178 lno = fm->lno + 1; in f_search()
189 coff = fm->cno + 1; in f_search()
305 lno = fm->lno; in b_search()
306 coff = fm->cno + 1; in b_search()
308 if (fm->cno == 0) { in b_search()
314 lno = fm->lno - 1; in b_search()
316 lno = fm->lno; in b_search()
[all …]
H A Dcut.c64 cut(SCR *sp, CHAR_T *namep, MARK *fm, MARK *tm, int flags) in cut() argument
97 (LF_ISSET(CUT_LINEMODE) || fm->lno != tm->lno))) { in cut()
108 (LF_ISSET(CUT_LINEMODE) || fm->lno != tm->lno))) { in cut()
135 for (lno = fm->lno; lno <= tm->lno; ++lno) in cut()
143 if (cut_line(sp, fm->lno, fm->cno, fm->lno != tm->lno ? in cut()
144 ENTIRE_LINE : (tm->cno - fm->cno) + 1, cbp)) in cut()
148 for (lno = fm->lno; ++lno < tm->lno;) in cut()
153 if (tm->lno != fm->lno && in cut()
H A Dexf.c723 file_write(SCR *sp, MARK *fm, MARK *tm, char *name, int flags) in file_write() argument
873 if (fm == NULL) { in file_write()
876 fm = &from; in file_write()
883 rval = ex_writefp(sp, name, fp, fm, tm, &nlno, &nch, 0); in file_write()
/dragonfly/contrib/nvi2/ex/
H A Dex_filter.c39 ex_filter(SCR *sp, EXCMD *cmdp, MARK *fm, MARK *tm, MARK *rp, CHAR_T *cmd, enum filtertype ftype) in ex_filter() argument
52 *rp = *fm; in ex_filter()
174 if (ex_readfp(sp, "filter", ofp, fm, &nread, 1)) in ex_filter()
178 if (fm->lno == 0) in ex_filter()
231 _exit(ex_writefp(sp, "filter", ifp, fm, tm, NULL, NULL, 1)); in ex_filter()
261 (cut(sp, NULL, fm, tm, CUT_LINEMODE) || in ex_filter()
262 del(sp, fm, tm, 1))) { in ex_filter()
H A Dex_write.c281 ex_writefp(SCR *sp, char *name, FILE *fp, MARK *fm, MARK *tm, u_long *nlno, u_long *nch, int silent) in ex_writefp() argument
292 fline = fm->lno; in ex_writefp()
H A Dex_read.c292 ex_readfp(SCR *sp, char *name, FILE *fp, MARK *fm, recno_t *nlinesp, int silent) in ex_readfp() argument
314 for (lno = fm->lno; !ex_getline(sp, fp, &len); ++lno, ++lcnt) { in ex_readfp()
/dragonfly/contrib/less/
H A Ddecode.c248 char *fm; in expand_special_keys() local
254 for (fm = table; fm < table + len; ) in expand_special_keys()
260 for (to = fm; *fm != '\0'; ) in expand_special_keys()
262 if (*fm != SK_SPECIAL_KEY) in expand_special_keys()
264 *to++ = *fm++; in expand_special_keys()
277 klen = fm[2] & 0377; in expand_special_keys()
278 fm += klen; in expand_special_keys()
289 while (to <= fm) in expand_special_keys()
291 fm++; in expand_special_keys()
292 a = *fm++ & 0377; in expand_special_keys()
[all …]
H A Dline.c1414 char *fm; in back_raw_line() local
1428 for (fm = linebuf.buf + old_size_linebuf - 1, in back_raw_line()
1430 fm >= linebuf.buf; fm--, to--) in back_raw_line()
1431 *to = *fm; in back_raw_line()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read_disk_entry_from_file.c856 struct fiemap *fm; in setup_sparse_fiemap() local
889 fm = (struct fiemap *)buff; in setup_sparse_fiemap()
890 fm->fm_start = 0; in setup_sparse_fiemap()
891 fm->fm_length = ~0ULL;; in setup_sparse_fiemap()
892 fm->fm_flags = FIEMAP_FLAG_SYNC; in setup_sparse_fiemap()
893 fm->fm_extent_count = count; in setup_sparse_fiemap()
899 r = ioctl(*fd, FS_IOC_FIEMAP, fm); in setup_sparse_fiemap()
906 if (fm->fm_mapped_extents == 0) { in setup_sparse_fiemap()
913 fe = fm->fm_extents; in setup_sparse_fiemap()
934 fe = fm->fm_extents + fm->fm_mapped_extents -1; in setup_sparse_fiemap()
[all …]
/dragonfly/sys/dev/raid/aac/
H A Daac.c1443 struct aac_fibmap *fm; in aac_alloc_commands() local
1456 BUS_DMA_NOWAIT, &fm->aac_fibmap)) { in aac_alloc_commands()
1459 kfree(fm, M_AACBUF); in aac_alloc_commands()
1464 (void)bus_dmamap_load(sc->aac_fib_dmat, fm->aac_fibmap, fm->aac_fibs, in aac_alloc_commands()
1472 fm->aac_commands = cm; in aac_alloc_commands()
1497 bus_dmamem_free(sc->aac_fib_dmat, fm->aac_fibs, fm->aac_fibmap); in aac_alloc_commands()
1498 kfree(fm, M_AACBUF); in aac_alloc_commands()
1508 struct aac_fibmap *fm; in aac_free_commands() local
1522 cm = fm->aac_commands + i; in aac_free_commands()
1526 bus_dmamem_free(sc->aac_fib_dmat, fm->aac_fibs, fm->aac_fibmap); in aac_free_commands()
[all …]
/dragonfly/etc/periodic/weekly/
H A D310.locate26 echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3
/dragonfly/games/fortune/tools/
H A DTroff.mac3 .nr fm 2v
/dragonfly/share/timedef/
H A Dsv_FI.ISO8859-15.src62 fm
H A Dsv_FI.UTF-8.src62 fm
H A Dsv_SE.ISO8859-15.src62 fm
H A Dsv_SE.UTF-8.src62 fm
/dragonfly/contrib/bmake/
H A Dmeta.c1005 char *fm; in meta_ignore() local
1011 (void)Var_Subst(fname, gn, VARE_WANTRES, &fm); in meta_ignore()
1013 if (*fm == '\0') { in meta_ignore()
1017 free(fm); in meta_ignore()
1020 free(fm); in meta_ignore()
/dragonfly/usr.sbin/pw/
H A Dpwupd.h46 int fileupdate(char const * fname, mode_t fm, char const * nline, char const * pfx, int pfxlen, int…
/dragonfly/sys/bus/u4b/controller/
H A Dohci.c171 uint32_t fm; in ohci_controller_init() local
264 fm = (OREAD4(sc, OHCI_FM_INTERVAL) & OHCI_FIT) ^ OHCI_FIT; in ohci_controller_init()
265 fm |= OHCI_FSMPS(ival) | ival; in ohci_controller_init()
266 OWRITE4(sc, OHCI_FM_INTERVAL, fm); in ohci_controller_init()
/dragonfly/sys/dev/netif/ath/ath/
H A Dif_ath.c3411 struct mbuf *fm = m->m_nextpkt; local
3420 fbf->bf_nextfraglen = fm->m_pkthdr.len;
3422 fm = fm->m_nextpkt;
/dragonfly/contrib/gcc-4.7/gcc/doc/
H A Drtl.texi3974 (call (mem:@var{fm} @var{addr}) @var{nbytes})
3979 argument data being passed to the subroutine, @var{fm} is a machine mode
3995 (call (mem:@var{fm} @var{addr}) @var{nbytes}))