Home
last modified time | relevance | path

Searched full:mark (Results 1 – 25 of 2569) sorted by relevance

12345678910>>...103

/freebsd/usr.bin/sed/tests/
H A Dmulti_test.sh36 # of the BSD sed. Each test should have a unique mark name, which is
62 MARK=0
90 echo "ok $MARK $TESTNAME # $TODO$OCOMMENT"
92 echo "not ok $MARK $TESTNAME # $TODO$OCOMMENT"
96 # Mark the beginning of each test
97 mark() function
99 [ $MARK -gt 0 ] && result
101 MARK=`expr $MARK + 1`
110 mark '1.1'
112 mark '1.2' ; $SED -n 's/^/e1_/p' lines1
[all …]
/freebsd/contrib/less/
H A Dmark.c2 * Copyright (C) 1984-2024 Mark Nudelman
20 * A mark is an ifile (input file) plus a position within the file.
22 struct mark struct
28 * user explicitly requests the file (by name or mark).
33 struct scrpos m_scrpos; /* Position of the mark */ argument
38 * Each mark is identified by a lowercase or uppercase letter.
39 * The final one is lmark, for the "last mark"; addressed by the apostrophe.
45 static struct mark marks[NMARKS];
50 * Initialize a mark struct.
52 static void cmark(struct mark *
31 m_ifilemark global() argument
[all...]
/freebsd/contrib/nvi/common/
H A Dmark.c33 * Marks are fixed, and modifications to the line don't update the mark's
35 * place a mark in that text, undo the addition and use ` to move to the
36 * mark, the location will have disappeared. It's tempting to try to adjust
37 * the mark with the changes in the line, but this is hard to do, especially
39 * would move to the first non-blank on the line when the mark location was
40 * past the end of the line. This can be complicated by deleting to a mark
46 * mark had been subsequently reset. Tricky. This is hard to start with,
49 * the mark. Any mark creations are noted as to whether the user created
54 * the absolute mark locations sets both, so that "m'" and "m`" work like
101 * Get the location referenced by a mark.
[all …]
H A Dmark.h11 * The MARK and LMARK structures define positions in the file. There are
12 * two structures because the mark subroutines are the only places where
32 /* XXXX Needed ? Can non ascii-chars be mark names ? */
33 CHAR_T name; /* Mark name. */
35 #define MARK_DELETED 0x01 /* Mark was deleted. */
36 #define MARK_USERSET 0x02 /* User set this mark. */
40 #define ABSMARK1 '\'' /* Absolute mark name. */
41 #define ABSMARK2 '`' /* Absolute mark name. */
H A Dlog.c32 * LOG_CURSOR_INIT MARK
33 * LOG_CURSOR_END MARK
187 BINC_RETC(sp, ep->l_lp, ep->l_len, sizeof(u_char) + sizeof(MARK)); in log_cursor1()
189 memmove(ep->l_lp + sizeof(u_char), &ep->l_cursor, sizeof(MARK)); in log_cursor1()
194 data.size = sizeof(u_char) + sizeof(MARK); in log_cursor1()
203 /* Reset high water mark. */ in log_cursor1()
300 /* Reset high water mark. */ in log_line()
308 * Log a mark position. For the log to work, we assume that there
345 TRACE(sp, "%lu: mark %c: %lu/%u\n", in log_mark()
348 /* Reset high water mark. */ in log_mark()
[all …]
/freebsd/tests/examples/
H A Dtest_examples.py21 @pytest.mark.skip(reason="comment me to run the test")
31 @pytest.mark.skip(reason="comment me to run the test")
39 @pytest.mark.skip(reason="comment me to run the test")
42 @pytest.mark.require_user("root")
43 @pytest.mark.require_arch(["amd64", "i386"])
44 @pytest.mark.require_files(["/path/file1", "/path/file2"])
45 @pytest.mark.require_machine(["amd64", "i386"])
46 @pytest.mark.require_memory("200M")
47 @pytest.mark.require_progs(["prog1", "prog2"])
48 @pytest.mark.timeout(300)
[all …]
/freebsd/usr.sbin/bsdconfig/share/packages/
H A Dpackages.subr189 # Calculations are performed by checking "marks". A "mark" is stored as
191 # varpkg'. A mark can be "X" for an installed package, `I' for a package that
193 # and "U" for a package that is marked for uninstallation. If a package mark is
199 local pkg varpkg mark cat varcat pkgcat n tselected=0 tinstalled=0
207 mark=
208 f_getvar _mark_$varpkg mark
209 case "$mark" in
217 case "$mark" in
238 local pkg varpkg mark rundeps dep vardep
246 mark=
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DERR_set_mark.pod6 - set mark, clear mark and pop errors until mark
18 ERR_set_mark() sets a mark on the current topmost error record if there
21 ERR_pop_to_mark() will pop the top of the error stack until a mark is found.
22 The mark is then removed. If there is no mark, the whole stack is removed.
24 ERR_clear_last_mark() removes the last mark added if there is one.
30 ERR_clear_last_mark() and ERR_pop_to_mark() return 0 if there was no mark in the
/freebsd/contrib/nvi/vi/
H A Dv_mark.c25 static int mark(SCR *, VICMD *, int, enum which);
29 * Set a mark.
41 * Move to a mark.
43 * Moves to a mark, setting both row and column.
57 return (mark(sp, vp, 1, BQMARK)); in v_bmark()
62 * Move to a mark.
64 * Move to the first nonblank character of the line containing the mark.
71 return (mark(sp, vp, 1, FQMARK)); in v_fmark()
76 * Mouse mark.
93 return (mark(sp, vp, 0, BQMARK)); in v_emark()
[all …]
/freebsd/contrib/telnet/telnet/
H A Dring.c115 /* Mark routines */
118 * Mark the most recently supplied byte.
124 ring->mark = ring_decrement(ring, ring->supply, 1); in ring_mark()
128 * Is the ring pointing to the mark?
134 if (ring->mark == ring->consume) { in ring_at_mark()
142 * Clear any mark set on the ring.
148 ring->mark = 0; in ring_clear_mark()
170 if (ring->mark && in ring_consumed()
171 (ring_subtract(ring, ring->mark, ring->consume) < count)) { in ring_consumed()
172 ring->mark = 0; in ring_consumed()
[all …]
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dring.c100 /* Mark routines */
103 * Mark the most recently supplied byte.
109 ring->mark = ring_decrement(ring, ring->supply, 1); in ring_mark()
113 * Is the ring pointing to the mark?
119 if (ring->mark == ring->consume) { in ring_at_mark()
127 * Clear any mark set on the ring.
133 ring->mark = 0; in ring_clear_mark()
155 if (ring->mark && in ring_consumed()
156 (ring_subtract(ring, ring->mark, ring->consume) < count)) { in ring_consumed()
157 ring->mark = 0; in ring_consumed()
[all …]
/freebsd/tests/atf_python/
H A Datf_pytest.py56 def _convert_user_mark(mark, obj, ret: Dict): argument
57 username = mark.args[0]
89 for mark in obj.iter_markers():
90 if mark.name in _map:
91 if "handler" in _map[mark.name]:
92 _map[mark.name]["handler"](mark, obj, ret)
94 name = _map[mark.name].get("name", mark.name)
95 if "fmt" in _map[mark.name]:
96 val = _map[mark.name]["fmt"](mark.args[0])
98 val = mark.args[0]
[all …]
/freebsd/usr.bin/vi/
H A Dextern.h75 EXCMD *, MARK *, MARK *, MARK *, CHAR_T *, enum filtertype);
97 int ex_print(SCR *, EXCMD *, MARK *, MARK *, u_int32_t);
99 int ex_scprint(SCR *, MARK *, MARK *);
106 int ex_readfp(SCR *, char *, FILE *, MARK *, recno_t *, int);
163 char *, FILE *, MARK *, MARK *, u_long *, u_long *, int);
253 int v_txt(SCR *, VICMD *, MARK *,
260 void v_eof(SCR *, MARK *);
261 void v_eol(SCR *, MARK *);
263 void v_sof(SCR *, MARK *);
298 int vs_sm_scroll(SCR *, MARK *, recno_t, scroll_t);
[all …]
/freebsd/lib/libc/net/
H A Dsockatmark.329 .Nd determine whether the read pointer is at the OOB mark
38 the mark in the data stream, the
44 after the mark.
51 It reads the normal data up to the mark (to discard it),
58 int out = FWRITE, mark;
64 if ((mark = sockatmark(rem)) < 0) {
68 if (mark)
72 if (recv(rem, &mark, 1, MSG_OOB) < 0) {
83 the OOB mark, 0 if it is not.
/freebsd/usr.sbin/bsdconfig/startup/
H A Dmisc120 mark = ( ENVIRON["apm_enable"] ~ \
123 tag = sprintf(mtag_fmt, char, mark, subtag)
135 mark = ( length(ENVIRON["local_startup"]) > 0 \
138 tag = sprintf(mtag_fmt, char, mark, subtag)
146 mark = ( ENVIRON["named_enable"] ~ \
149 tag = sprintf(mtag_fmt, char, mark, subtag)
157 mark = ( length(ENVIRON["named_flags"]) > 0 \
160 tag = sprintf(mtag_fmt, char, mark, subtag)
168 mark = ( ENVIRON["nis_client_enable"] ~ \
171 tag = sprintf(mtag_fmt, char, mark, subtag)
[all …]
/freebsd/contrib/ncurses/menu/
H A Dm_item_new.c183 | Function : int set_menu_mark( MENU *menu, const char *mark )
185 | Description : Set the mark string used to indicate the current
188 | The mark argument may be NULL, in which case no
196 | E_SYSTEM_ERROR - no memory to store mark
199 set_menu_mark(MENU *menu, const char *mark) in set_menu_mark() argument
203 T((T_CALLED("set_menu_mark(%p,%s)"), (void *)menu, _nc_visbuf(mark))); in set_menu_mark()
205 if (mark && (*mark != '\0') && Is_Printable_String(mark)) in set_menu_mark()
206 l = (short)strlen(mark); in set_menu_mark()
212 char *old_mark = menu->mark; in set_menu_mark()
218 we can only accept a mark with exactly the same length */ in set_menu_mark()
[all …]
/freebsd/usr.sbin/bsdconfig/share/
H A Dkeymap.subr55 mark
64 # f_keymap_register $name $desc $keym $mark
76 local name="$1" desc="$2" keym="$3" mark="$4"
81 keymap_$name set mark "$mark"
165 function add_keymap(desc,mark,keym)
167 marks[keym] = mark
173 keym, name, desc, keym, mark
182 # as the mark value (so that if we make a better match
183 # later on with a higher mark, it overwrites previous)
185 mark = marks[keym];
[all …]
/freebsd/tools/tools/locale/etc/charmaps/
H A DCP1251.TXT53 0x21 0x0021 #EXCLAMATION MARK
54 0x22 0x0022 #QUOTATION MARK
83 0x3F 0x003F #QUESTION MARK
150 0x82 0x201A #SINGLE LOW-9 QUOTATION MARK
152 0x84 0x201E #DOUBLE LOW-9 QUOTATION MARK
159 0x8B 0x2039 #SINGLE LEFT-POINTING ANGLE QUOTATION MARK
165 0x91 0x2018 #LEFT SINGLE QUOTATION MARK
166 0x92 0x2019 #RIGHT SINGLE QUOTATION MARK
167 0x93 0x201C #LEFT DOUBLE QUOTATION MARK
168 0x94 0x201D #RIGHT DOUBLE QUOTATION MARK
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DERR_set_mark.3141 \&\- set mark, clear mark and pop errors until mark
153 \&\fBERR_set_mark()\fR sets a mark on the current topmost error record if there
156 \&\fBERR_pop_to_mark()\fR will pop the top of the error stack until a mark is found.
157 The mark is then removed. If there is no mark, the whole stack is removed.
159 \&\fBERR_clear_last_mark()\fR removes the last mark added if there is one.
164 \&\fBERR_clear_last_mark()\fR and \fBERR_pop_to_mark()\fR return 0 if there was no mark in the
/freebsd/tests/sys/net/routing/
H A Dtest_rtsock_multipath.py26 @pytest.mark.parametrize(
52 @pytest.mark.require_user("root")
57 @pytest.mark.parametrize(
84 @pytest.mark.require_user("root")
132 @pytest.mark.require_user("root")
138 @pytest.mark.require_user("root")
155 @pytest.mark.require_user("root")
161 @pytest.mark.require_user("root")
167 @pytest.mark.require_user("root")
180 @pytest.mark.require_user("root")
[all …]
H A Dtest_routing_l3.py21 @pytest.mark.parametrize("family", ["inet", "inet6"])
22 @pytest.mark.require_user("root")
50 @pytest.mark.parametrize(
54 pytest.param("inet6", marks=pytest.mark.xfail(reason="currently fails")),
57 @pytest.mark.require_user("root")
91 @pytest.mark.parametrize("family", ["inet", "inet6"])
92 @pytest.mark.require_user("root")
/freebsd/contrib/libedit/
H A Demacs.c136 el->el_chared.c_kill.mark = el->el_line.cursor; in em_yank()
177 * Cut area between mark and cursor and save in cut buffer
186 if (!el->el_chared.c_kill.mark) in em_kill_region()
189 if (el->el_chared.c_kill.mark > el->el_line.cursor) { in em_kill_region()
192 while (cp < el->el_chared.c_kill.mark) in em_kill_region()
196 } else { /* mark is before cursor */ in em_kill_region()
197 cp = el->el_chared.c_kill.mark; in em_kill_region()
202 c_delbefore(el, (int)(cp - el->el_chared.c_kill.mark)); in em_kill_region()
203 el->el_line.cursor = el->el_chared.c_kill.mark; in em_kill_region()
210 * Copy area between mark and cursor to cut buffer
[all …]
/freebsd/share/doc/psd/15.yacc/
H A Dssb72 %token MARK /* the %% mark */
73 %token LCURL /* the %{ mark */
74 %token RCURL /* the %} mark */
82 spec : defs MARK rules tail
85 tail : MARK { \fIIn this action, eat up the rest of the file\fR }
86 | /* empty: the second MARK is optional */
/freebsd/usr.sbin/bsdconfig/security/
H A Dsecurity65 local mark=" "
73 mark="$kern_securelevel"
75 mark="X"
78 mark=" "
81 '2 [$mark] $msg_securelevel' '$msg_securelevel_desc'"
84 [ "$ditem" = 2 ] && defaultitem="2 [$mark] $msg_securelevel"
90 [Yy][Ee][Ss]) mark="X" ;;
91 *) mark=" " ;;
94 '3 [$mark] $msg_nfs_port' '$msg_nfs_port_desc'"
97 [ "$ditem" = 3 ] && defaultitem="3 [$mark] $msg_nfs_port"
/freebsd/contrib/ncurses/man/
H A Dmenu_mark.3x35 get and set the menu mark string
40 \fBint set_menu_mark(MENU *\fImenu\fP, const char *\fImark\fP);
48 The function \fBset_menu_mark\fP sets the mark string for the given menu.
49 Calling \fBset_menu_mark\fP with a null menu item will abolish the mark string.
50 Note that changing the length of the mark string for a menu while the
57 The function \fBmenu_mark\fP returns the menu's mark string (or \fBNULL\fP if

12345678910>>...103