Home
last modified time | relevance | path

Searched refs:beg (Results 1 – 25 of 65) sorted by relevance

123

/dragonfly/test/stress/
H A Dt_mlock.c19 size_t beg; in main() local
32 if (beg + len > TESTSIZE) in main()
33 len = TESTSIZE - beg; in main()
34 fbeg = beg / 4096; in main()
40 if (mlock(TestBuf + beg, len) < 0) { in main()
42 counter, beg, beg + len, in main()
47 counter, beg, beg + len); in main()
59 counter, beg, beg + len, in main()
63 counter, beg, beg + len); in main()
70 counter, beg, beg + len, in main()
[all …]
/dragonfly/contrib/nvi2/vi/
H A Dv_increment.c89 for (beg = vp->m_start.cno; beg < len && ISSPACE(p[beg]); ++beg); in v_increment()
90 if (beg >= len) in v_increment()
93 sp->cno = beg; in v_increment()
110 (p[beg + 1] == 'X' || p[beg + 1] == 'x')) { in v_increment()
112 end = beg + 2; in v_increment()
118 end = beg + 1; in v_increment()
122 } else if (wlen >= 1 && (p[beg] == '+' || p[beg] == '-')) { in v_increment()
130 end = beg; in v_increment()
179 t = &p[beg]; in v_increment()
229 MEMMOVE(bp + beg + nlen, p + end, len - beg - (end - beg)); in v_increment()
[all …]
H A Dvi.c1034 size_t beg, end, len; in v_curword() local
1057 beg = sp->cno; beg < len && ISSPACE(p[beg]); moved = 1, ++beg); in v_curword()
1058 if (beg >= len) { in v_curword()
1063 sp->cno = beg; in v_curword()
1074 for (end = beg; ++end < len && inword(p[end]);); in v_curword()
1077 vip->klen = len = (end - beg); in v_curword()
1079 MEMMOVE(vip->keyw, p + beg, len); in v_curword()
/dragonfly/contrib/grep/src/
H A Dkwsearch.c174 for (mb_start = beg = start_ptr ? start_ptr : buf; beg <= buf + size; beg++) in Fexecute()
218 beg += offset; in Fexecute()
262 end = memchr (beg + len, eol, (buf + size) - (beg + len)); in Fexecute()
264 if (EGexecute (kwsearch->re, beg, end - beg, match_size, NULL) in Fexecute()
281 beg += wordchars_size (beg, buf + size); in Fexecute()
282 mb_start = beg; in Fexecute()
288 end = memchr (beg + len, eol, (buf + size) - (beg + len)); in Fexecute()
291 beg = memrchr (buf, eol, beg - buf); in Fexecute()
292 beg = beg ? beg + 1 : buf; in Fexecute()
293 len = end - beg; in Fexecute()
[all …]
H A Ddfasearch.c349 for (beg = end = buf; end < buflim; beg = end) in EGexecute()
372 prev_beg = beg; in EGexecute()
376 beg = beg ? beg + 1 : buf; in EGexecute()
377 dfa_beg = beg; in EGexecute()
425 beg++; in EGexecute()
447 beg++; in EGexecute()
455 ptr = beg; in EGexecute()
476 start = re_search (&dc->patterns[i], beg, end - beg - 1, in EGexecute()
529 start = re_search (&dc->patterns[i], beg, end - beg - 1, in EGexecute()
572 len = end - beg; in EGexecute()
[all …]
H A Dgrep.c1043 for (beg = lastnl; beg < lim; beg++) in nlscan()
1045 beg = memchr (beg, eolbyte, lim - beg); in nlscan()
1046 if (!beg) in nlscan()
1225 return beg; in print_line_tail()
1236 if (! print_line_head (beg, lim - beg - 1, lim, sep)) in prline()
1267 beg = print_line_tail (beg, lim, line_color); in prline()
1272 fwrite_errno (beg, 1, lim - beg); in prline()
1306 char *p = beg; in prtext()
1439 char *beg; in grep() local
1520 lim = memrchr (beg - 1, eol, buflim - beg + 1); in grep()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/
H A Dthrow_allocator.h194 while (beg != end) in _GLIBCXX_VISIBILITY()
198 ++beg; in _GLIBCXX_VISIBILITY()
206 while (beg != end) in _GLIBCXX_VISIBILITY()
210 ++beg; in _GLIBCXX_VISIBILITY()
231 while (beg != end) in _GLIBCXX_VISIBILITY()
234 ++beg; in _GLIBCXX_VISIBILITY()
242 while (beg != end) in _GLIBCXX_VISIBILITY()
245 ++beg; in _GLIBCXX_VISIBILITY()
282 ++beg; in _GLIBCXX_VISIBILITY()
382 for (; beg != end; ++beg) in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/ncurses/ncurses/base/
H A Dlib_redrawln.c46 wredrawln(WINDOW *win, int beg, int num) in NCURSES_EXPORT()
53 T((T_CALLED("wredrawln(%p,%d,%d)"), (void *) win, beg, num)); in NCURSES_EXPORT()
60 if (beg < 0) in NCURSES_EXPORT()
61 beg = 0; in NCURSES_EXPORT()
63 if (touchline(win, beg, num) == ERR) in NCURSES_EXPORT()
66 if (touchline(CurScreen(sp), beg + win->_begy, num) == ERR) in NCURSES_EXPORT()
69 end = beg + num; in NCURSES_EXPORT()
80 for (i = beg; i < end; i++) { in NCURSES_EXPORT()
/dragonfly/contrib/binutils-2.34/gprof/
H A Dsearch_list.c31 const char *beg, *colon; in search_list_append() local
37 beg = colon + 1; in search_list_append()
38 colon = strchr (beg, PATH_SEP_CHAR); in search_list_append()
41 len = colon - beg; in search_list_append()
43 len = strlen (beg); in search_list_append()
46 memcpy (new_el->path, beg, len); in search_list_append()
/dragonfly/contrib/binutils-2.27/gprof/
H A Dsearch_list.c31 const char *beg, *colon; in search_list_append() local
37 beg = colon + 1; in search_list_append()
38 colon = strchr (beg, PATH_SEP_CHAR); in search_list_append()
41 len = colon - beg; in search_list_append()
43 len = strlen (beg); in search_list_append()
46 memcpy (new_el->path, beg, len); in search_list_append()
/dragonfly/usr.bin/mail/
H A Dlist.c130 beg = 0; in markall()
141 if (beg != 0) { in markall()
144 for (i = beg; i <= lexnumber; i++) in markall()
147 beg = 0; in markall()
150 beg = lexnumber; in markall()
151 if (check(beg, f)) in markall()
156 mark(beg); in markall()
157 beg = 0; in markall()
162 if (beg != 0) { in markall()
178 if (beg == 0) { in markall()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++11/
H A Dcxx11-shim_facets.cc193 istreambuf_iterator<C> beg, istreambuf_iterator<C> end,
298 do_get_time(iter_type beg, iter_type end, ios_base& io, in do_get_time()
306 do_get_date(iter_type beg, iter_type end, ios_base& io, in do_get_date()
314 do_get_weekday(iter_type beg, iter_type end, ios_base& io, in do_get_weekday()
322 do_get_monthname(iter_type beg, iter_type end, ios_base& io, in do_get_monthname()
330 do_get_year(iter_type beg, iter_type end, ios_base& io, in do_get_year()
700 return g->get_time(beg, end, io, err, t); in __time_get()
702 return g->get_date(beg, end, io, err, t); in __time_get()
704 return g->get_weekday(beg, end, io, err, t); in __time_get()
706 return g->get_monthname(beg, end, io, err, t); in __time_get()
[all …]
/dragonfly/usr.bin/split/
H A Dsplit.c297 char beg, end; in newfile() local
311 beg = '0'; in newfile()
315 beg = 'a'; in newfile()
318 pattlen = end - beg + 1; in newfile()
334 fpnt[i] = tfnum % pattlen + beg; in newfile()
/dragonfly/lib/libfetch/
H A Dftp.c274 const char *beg, *end; in ftp_cwd() local
310 for (beg = file + i; beg < end && *beg == '/'; ++beg, ++i) in ftp_cwd()
314 if (beg >= end) in ftp_cwd()
318 e = ftp_cmd(conn, "CWD %.*s", (int)(end - beg), beg); in ftp_cwd()
324 for (beg = file + i; beg < end; beg = file + i + 1) { in ftp_cwd()
325 while (*beg == '/') in ftp_cwd()
326 ++beg, ++i; in ftp_cwd()
329 e = ftp_cmd(conn, "CWD %.*s", (int)(file + i - beg), beg); in ftp_cwd()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgimple-ssa-sprintf.c812 const char *beg; member
2538 if (target_to_host (*dir.beg) != '%') in maybe_warn()
2547 if (*dir.beg == '\0') in maybe_warn()
2604 target_to_host (hostdir, sizeof hostdir, dir.beg), in maybe_warn()
2657 if (target_to_host (*dir.beg) != '%') in maybe_warn()
2668 if (*dir.beg == '\0') in maybe_warn()
2792 size_t offset = dir.beg - info.fmtstr; in format_directive()
2950 bool maxximax = (*dir.beg in format_directive()
3039 if (dump_file && *dir.beg) in format_directive()
3068 dir.beg = str; in parse_directive()
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/ext/
H A Dthrow_allocator.h168 const_iterator beg = map().begin(); in _GLIBCXX_VISIBILITY() local
171 while (beg != end) in _GLIBCXX_VISIBILITY()
173 if (beg->second.first == label) in _GLIBCXX_VISIBILITY()
174 log_to_string(found, *beg); in _GLIBCXX_VISIBILITY()
175 ++beg; in _GLIBCXX_VISIBILITY()
241 base_type::const_iterator beg = __b.map().begin(); in _GLIBCXX_VISIBILITY() local
243 for (; beg != end; ++beg) in _GLIBCXX_VISIBILITY()
244 __b.log_to_string(error, *beg); in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/mdocml/
H A Dout.c440 const char *beg; /* Beginning of the current line. */ in tblcalc_literal() local
450 for (beg = str; beg != NULL && *beg != '\0'; beg = end) { in tblcalc_literal()
451 end = mw ? strchr(beg, ' ') : NULL; in tblcalc_literal()
457 wsz = (*tbl->slen)(beg, tbl->arg); in tblcalc_literal()
/dragonfly/contrib/tcsh-6/
H A Dcsh-mode.el509 (let ((beg (point)))
511 (delete-region beg (point)))
777 (beg (unwind-protect
783 (pattern (buffer-substring beg end))
789 (goto-char beg)
832 (delete-region beg end)
/dragonfly/contrib/binutils-2.34/gas/config/
H A Dobj-elf.c1010 char *beg; in obj_elf_section() local
1087 beg = demand_copy_C_string (&dummy); in obj_elf_section()
1088 if (beg == NULL) in obj_elf_section()
1093 attr |= obj_elf_parse_section_letters (beg, strlen (beg), in obj_elf_section()
1107 beg = demand_copy_C_string (&dummy); in obj_elf_section()
1108 if (beg == NULL) in obj_elf_section()
1113 type = obj_elf_section_type (beg, strlen (beg), TRUE); in obj_elf_section()
1123 c = get_symbol_name (& beg); in obj_elf_section()
1126 input_line_pointer - beg, in obj_elf_section()
1225 c = get_symbol_name (& beg); in obj_elf_section()
[all …]
/dragonfly/contrib/binutils-2.27/gas/config/
H A Dobj-elf.c987 char *beg; in obj_elf_section() local
1051 beg = demand_copy_C_string (&dummy); in obj_elf_section()
1052 if (beg == NULL) in obj_elf_section()
1057 attr |= obj_elf_parse_section_letters (beg, strlen (beg), &is_clone); in obj_elf_section()
1070 beg = demand_copy_C_string (&dummy); in obj_elf_section()
1071 if (beg == NULL) in obj_elf_section()
1076 type = obj_elf_section_type (beg, strlen (beg), TRUE); in obj_elf_section()
1088 c = get_symbol_name (& beg); in obj_elf_section()
1090 type = obj_elf_section_type (beg, input_line_pointer - beg, TRUE); in obj_elf_section()
1171 c = get_symbol_name (& beg); in obj_elf_section()
[all …]
/dragonfly/contrib/zlib-1.2/
H A Dinffast.c58 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ local
85 beg = out - (start - strm->avail_out);
169 op = (unsigned)(out - beg); /* max distance in output */
H A Ddeflate.c755 #define HCRC_UPDATE(beg) \ argument
757 if (s->gzhead->hcrc && s->pending > (beg)) \
909 HCRC_UPDATE(beg);
916 beg = 0;
922 HCRC_UPDATE(beg);
933 HCRC_UPDATE(beg);
939 beg = 0;
944 HCRC_UPDATE(beg);
955 HCRC_UPDATE(beg);
961 beg = 0;
[all …]
/dragonfly/sys/vfs/hammer2/zlib/
H A Dhammer2_zlib_inffast.c75 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ in inflate_fast() local
102 beg = out - (start - strm->avail_out); in inflate_fast()
186 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast()
/dragonfly/usr.sbin/makefs/hammer2/zlib/
H A Dhammer2_zlib_inffast.c75 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ in inflate_fast() local
102 beg = out - (start - strm->avail_out); in inflate_fast()
186 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast()
/dragonfly/sbin/hammer2/zlib/
H A Dhammer2_zlib_inffast.c75 unsigned char FAR *beg; /* inflate()'s initial strm->next_out */ in inflate_fast() local
102 beg = out - (start - strm->avail_out); in inflate_fast()
186 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast()

123