/freebsd/usr.bin/sed/tests/ |
H A D | multi_test.sh | 36 # 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 D | mark.c | 2 * Copyright (C) 1984-2025 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 *m, IFILE ifile, POSITION pos, int ln) in cmark() [all …]
|
/freebsd/contrib/nvi/common/ |
H A D | mark.c | 33 * 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 D | mark.h | 11 * 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 D | log.c | 31 * LOG_CURSOR_INIT MARK 32 * LOG_CURSOR_END MARK 186 BINC_RETC(sp, ep->l_lp, ep->l_len, sizeof(u_char) + sizeof(MARK)); in log_cursor1() 188 memmove(ep->l_lp + sizeof(u_char), &ep->l_cursor, sizeof(MARK)); in log_cursor1() 193 data.size = sizeof(u_char) + sizeof(MARK); in log_cursor1() 202 /* Reset high water mark. */ in log_cursor1() 299 /* Reset high water mark. */ in log_line() 307 * Log a mark position. For the log to work, we assume that there 344 TRACE(sp, "%lu: mark %c: %lu/%u\n", in log_mark() 347 /* Reset high water mark. */ in log_mark() [all …]
|
/freebsd/contrib/libyaml/src/ |
H A D | dumper.c | 65 yaml_mark_t mark = { 0, 0, 0 }; in yaml_emitter_open() local 70 STREAM_START_EVENT_INIT(event, YAML_ANY_ENCODING, mark, mark); in yaml_emitter_open() 89 yaml_mark_t mark = { 0, 0, 0 }; in yaml_emitter_close() local 96 STREAM_END_EVENT_INIT(event, mark, mark); in yaml_emitter_close() 115 yaml_mark_t mark = { 0, 0, 0 }; in yaml_emitter_dump() local 142 document->start_implicit, mark, mark); in yaml_emitter_dump() 148 DOCUMENT_END_EVENT_INIT(event, document->end_implicit, mark, mark); in yaml_emitter_dump() 304 yaml_mark_t mark = { 0, 0, 0 }; in yaml_emitter_dump_alias() local 306 ALIAS_EVENT_INIT(event, anchor, mark, mark); in yaml_emitter_dump_alias() 320 yaml_mark_t mark = { 0, 0, 0 }; in yaml_emitter_dump_scalar() local [all …]
|
H A D | scanner.c | 496 (parser->mark.index ++, \ 497 parser->mark.column ++, \ 503 (parser->mark.index += 2, \ 504 parser->mark.column = 0, \ 505 parser->mark.line ++, \ 509 (parser->mark.index ++, \ 510 parser->mark.column = 0, \ 511 parser->mark.line ++, \ 522 parser->mark.index ++, \ 523 parser->mark.column ++, \ [all …]
|
H A D | api.c | 672 yaml_mark_t mark = { 0, 0, 0 }; in yaml_stream_start_event_initialize() local 676 STREAM_START_EVENT_INIT(*event, encoding, mark, mark); in yaml_stream_start_event_initialize() 688 yaml_mark_t mark = { 0, 0, 0 }; in yaml_stream_end_event_initialize() local 692 STREAM_END_EVENT_INIT(*event, mark, mark); in yaml_stream_end_event_initialize() 711 yaml_mark_t mark = { 0, 0, 0 }; in yaml_document_start_event_initialize() local 758 implicit, mark, mark); in yaml_document_start_event_initialize() 783 yaml_mark_t mark = { 0, 0, 0 }; in yaml_document_end_event_initialize() local 787 DOCUMENT_END_EVENT_INIT(*event, implicit, mark, mark); in yaml_document_end_event_initialize() 799 yaml_mark_t mark = { 0, 0, 0 }; in yaml_alias_event_initialize() local 811 ALIAS_EVENT_INIT(*event, anchor_copy, mark, mark); in yaml_alias_event_initialize() [all …]
|
/freebsd/tests/examples/ |
H A D | test_examples.py | 21 @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 D | packages.subr | 189 # 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 D | ERR_set_mark.pod | 6 set mark, clear mark, pop errors until mark and pop last error 20 ERR_set_mark() sets a mark on the current topmost error record if there 23 ERR_pop_to_mark() will pop the top of the error stack until a mark is found. 24 The mark is then removed. If there is no mark, the whole stack is removed. 26 ERR_clear_last_mark() removes the last mark added if there is one. 29 most recently marked entry, not including that entry. If there is no mark in the 39 ERR_clear_last_mark() and ERR_pop_to_mark() return 0 if there was no mark in the 43 most recent mark, if any, or the total number of error stack entries.
|
/freebsd/contrib/nvi/vi/ |
H A D | v_mark.c | 25 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 D | ring.c | 115 /* 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 D | ring.c | 100 /* 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 D | atf_pytest.py | 56 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/secure/lib/libcrypto/man/man3/ |
H A D | ERR_set_mark.3 | 65 set mark, clear mark, pop errors until mark and pop last error 79 \&\fBERR_set_mark()\fR sets a mark on the current topmost error record if there 82 \&\fBERR_pop_to_mark()\fR will pop the top of the error stack until a mark is found. 83 The mark is then removed. If there is no mark, the whole stack is removed. 85 \&\fBERR_clear_last_mark()\fR removes the last mark added if there is one. 88 most recently marked entry, not including that entry. If there is no mark in the 97 \&\fBERR_clear_last_mark()\fR and \fBERR_pop_to_mark()\fR return 0 if there was no mark in the 101 most recent mark, if any, or the total number of error stack entries.
|
/freebsd/tests/sys/netpfil/pf/ |
H A D | nat64.py | 106 @pytest.mark.require_user("root") 107 @pytest.mark.require_progs(["scapy"]) 140 @pytest.mark.require_user("root") 141 @pytest.mark.require_progs(["scapy"]) 162 @pytest.mark.require_user("root") 163 @pytest.mark.require_progs(["scapy"]) 188 @pytest.mark.require_user("root") 189 @pytest.mark.require_progs(["scapy"]) 238 @pytest.mark.require_user("root") 239 @pytest.mark.require_progs(["scapy"]) [all …]
|
/freebsd/usr.bin/vi/ |
H A D | extern.h | 75 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 D | sockatmark.3 | 29 .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 D | misc | 120 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 D | m_item_new.c | 183 | 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 D | keymap.subr | 55 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 D | CP1251.TXT | 53 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/tests/sys/net/routing/ |
H A D | test_rtsock_multipath.py | 26 @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 …]
|
/freebsd/crypto/krb5/src/clients/ksu/ |
H A D | t_ksu.py | 129 mark('no authorization') 134 mark('an2ln authorization') 141 mark('.k5login wrong owner') 147 mark('.k5users wrong owner') 153 mark('.k5login authorization') 165 mark('.k5users authorization (no second field)') 175 mark('k5users authorization (wildcard)') 182 mark('k5users authorization (command list)') 194 mark('principal heuristic (no authz files)') 200 mark('principal heuristic (empty authz files)') [all …]
|