/freebsd/bin/sh/tests/parameters/ |
H A D | positional2.0 | 21 testcase 'set -- a b; set -- p$@q' '2|pa|bq' 22 testcase 'set -- a b; set -- $@q' '2|a|bq' 23 testcase 'set -- a b; set -- p$@' '2|pa|b' 24 testcase 'set -- a b; set -- p$@q' '2|pa|bq' 25 testcase 'set -- a b; set -- $@q' '2|a|bq' 26 testcase 'set -- a b; set -- p$@' '2|pa|b' 27 testcase 'set -- a b; set -- p$*q' '2|pa|bq' 28 testcase 'set -- a b; set -- $*q' '2|a|bq' 29 testcase 'set -- a b; set -- p$*' '2|pa|b' 30 testcase 'set -- a b; set -- p$*q' '2|pa|bq' [all …]
|
/freebsd/stand/forth/ |
H A D | menu.rc | 28 set menuset_name1="main" 30 set mainmenu_init[1]="init_boot" 31 set mainmenu_caption[1]="Boot Multi User [Enter]" 32 set maintoggled_text[1]="Boot [S]ingle User [Enter]" 33 set mainmenu_command[1]="boot" 34 set mainansi_caption[1]="^[1mB^[moot Multi User ^[1m[Enter]^[m" 35 set maintoggled_ansi[1]="Boot ^[1mS^[mingle User ^[1m[Enter]^[m" 36 \ keycode set by init_boot 38 set mainmenu_init[2]="init_altboot" 39 set mainmenu_caption[2]="Boot [S]ingle User" [all …]
|
/freebsd/bin/sh/tests/expansion/ |
H A D | trim9.0 | 24 testcase 'shift $#; set -- "${*#Q}"' '1|' 25 testcase 'shift $#; set -- "${*##Q}"' '1|' 26 testcase 'shift $#; set -- "${*%Q}"' '1|' 27 testcase 'shift $#; set -- "${*%%Q}"' '1|' 28 testcase 'set -- Q R; set -- "${*#Q}"' '1| R' 29 testcase 'set -- Q R; set -- "${*##Q}"' '1| R' 30 testcase 'set -- Q R; set -- "${*%R}"' '1|Q ' 31 testcase 'set -- Q R; set -- "${*%%R}"' '1|Q ' 32 testcase 'set -- Q R; set -- "${*#S}"' '1|Q R' 33 testcase 'set -- Q R; set -- "${*##S}"' '1|Q R' [all …]
|
H A D | trim1.0 | 23 testcase 'set -- ${t%t}' '1|texttex' 24 testcase 'set -- "${t%t}"' '1|texttex' 25 testcase 'set -- ${t%e*}' '1|textt' 26 testcase 'set -- "${t%e*}"' '1|textt' 27 testcase 'set -- ${t%%e*}' '1|t' 28 testcase 'set -- "${t%%e*}"' '1|t' 29 testcase 'set -- ${t%%*}' '0|' 30 testcase 'set -- "${t%%*}"' '1|' 31 testcase 'set -- ${t#t}' '1|exttext' 32 testcase 'set -- "${t#t}"' '1|exttext' [all …]
|
H A D | plus-minus1.0 | 23 testcase 'set -- a b' '2|a|b' 24 testcase 'set --' '0|' 25 testcase 'set -- ${e}' '0|' 26 testcase 'set -- "${e}"' '1|' 28 testcase 'set -- $p' '1|/etc/' 29 testcase 'set -- "$p"' '1|/et[c]/' 30 testcase 'set -- ${s+$p}' '1|/etc/' 31 testcase 'set -- "${s+$p}"' '1|/et[c]/' 32 testcase 'set -- ${s+"$p"}' '1|/et[c]/' 34 #testcase 'set -- "${s+"$p"}"' '1|/et[c]/' [all …]
|
H A D | trim8.0 | 32 testcase 'set -- "$s"' "1|$s" 33 testcase 'set -- "${s#$c2}"' "1|$s" 34 testcase 'set -- "${s#*}"' "1|$s" 35 testcase 'set -- "${s#$c1}"' "1|$c2$c3$c4" 36 testcase 'set -- "${s#$c1$c2}"' "1|$c3$c4" 37 testcase 'set -- "${s#$c1$c2$c3}"' "1|$c4" 38 testcase 'set -- "${s#$c1$c2$c3$c4}"' "1|" 39 testcase 'set -- "${s#?}"' "1|$c2$c3$c4" 40 testcase 'set -- "${s#??}"' "1|$c3$c4" 41 testcase 'set -- "${s#???}"' "1|$c4" [all …]
|
/freebsd/share/examples/ppp/ |
H A D | ppp.conf.sample | 30 set log Phase Chat LCP IPCP CCP tun command 31 set device /dev/cuau1 32 set speed 115200 33 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ 53 # The /0 bit in "set ifaddr" says that we insist on 0 bits of the 57 # The fourth arg to "set ifaddr" makes us send "0.0.0.0" as our requested 64 # The "set ifaddr" is required in -auto mode only. 79 set phone 1234567 80 set login "ABORT NO\\sCARRIER TIMEOUT 5 ogin:--ogin: ppp word: ppp" 81 set timeout 120 [all …]
|
H A D | ppp.conf.span-isp.working | 42 set speed 115200 43 set device /dev/cuaD00 /dev/cuaD01 /dev/cuaD03 44 set dial 45 set login 46 set redial 3 5 47 set timeout 0 49 set lqrperiod 15 52 set authname "isp1name" 53 set authkey "isp1key" 56 set authname "isp2name" [all …]
|
/freebsd/tests/sys/kern/ |
H A D | sched_affinity.c | 43 cpuset_t *set; in support_getmaxcpuid() local 49 set = CPU_ALLOC(i); in support_getmaxcpuid() 50 ATF_REQUIRE(set != NULL); in support_getmaxcpuid() 51 CPU_ZERO_S(setsize, set); in support_getmaxcpuid() 53 -1, setsize, set); in support_getmaxcpuid() 55 id = __BIT_FLS(i, set) - 1; in support_getmaxcpuid() 56 CPU_FREE(set); in support_getmaxcpuid() 59 CPU_FREE(set); in support_getmaxcpuid() 69 cpuset_t *set; in ATF_TC_BODY() local 75 set = CPU_ALLOC(maxcpuid + 1); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | f11 | 25 List of groups configured (set 0) 26 List of groups configured (set 1) 27 Rules configured (set 0, in) 29 Rules configured (set 0, out) 30 Rules configured (set 1, in) 31 Rules configured (set 1, out) 32 Accounting rules configured (set 0, in) 33 Accounting rules configured (set 0, out) 34 Accounting rules configured (set 1, in) 35 Accounting rules configured (set 1, out) [all …]
|
/freebsd/contrib/netbsd-tests/bin/sh/ |
H A D | t_set_e.sh | 29 # http://www.opengroup.org/onlinepubs/009695399/utilities/set.html 71 atf_set "descr" "Tests that 'set -e' works correctly" 78 dcheck '(set -e; exit 1; echo ERR$?); echo OK$?' 'OK1' 79 echeck '(set -e; exit 1; echo ERR$?); echo OK$?' 'OK1' 84 dcheck '(set -e; false; echo ERR$?); echo OK$?' 'OK1' 85 echeck '(set -e; false; echo ERR$?); echo OK$?' 'OK1' 88 dcheck '(set -e; /nonexistent; echo ERR); echo OK' 'OK' 89 echeck '(set -e; /nonexistent; echo ERR); echo OK' 'OK' 90 dcheck '(set -e; nonexistent-program-on-path; echo ERR); echo OK' 'OK' 91 echeck '(set -e; nonexistent-program-on-path; echo ERR); echo OK' 'OK' [all …]
|
H A D | t_fsplit.sh | 35 # So: sh -c 'set ${x-a b c}; echo $#' should give 3. 36 # and: sh -c 'set -- ${x-}' echo $#' shold give 0 66 set -- "$(expr "$1" : '\(............\).*')..." "$2" ;; 103 # any set of "..." 104 check 'set -- ${x-a b c}; echo $#' 3 106 check 'set -- ${x-"a b" c}; echo $#' 2 107 check 'set -- ${x-a "b c"}; echo $#' 2 108 check 'set -- ${x-"a b c"}; echo $#' 1 110 check "set -- \${x-'a b' c}; echo \$#" 2 111 check "set -- \${x-a 'b c'}; echo \$#" 2 [all …]
|
/freebsd/lib/libc/tests/string/ |
H A D | strcspn_test.c | 51 testcase(char *buf, size_t buflen, char *set, size_t setlen, int want_match) in testcase() argument 67 set[i] = UCHAR_MAX - i; in testcase() 69 set[i] = '\0'; in testcase() 87 outcome = STRXSPN(buf, set); in testcase() 89 __XSTRING(STRXSPN), buf, buflen, set, setlen, outcome, expected); in testcase() 92 /* test set with all alignments and lengths of buf */ 94 test_buf_alignments(char *set, size_t setlen, int want_match) in test_buf_alignments() argument 101 testcase(buf + i, j, set, setlen, want_match); in test_buf_alignments() 104 /* test buf with all alignments and lengths of set */ 108 char set[MAXALIGN + MAXBUF + 1]; in test_set_alignments() local [all …]
|
/freebsd/sbin/pfctl/tests/files/ |
H A D | pf0055.ok | 1 set timeout interval 43 2 set timeout frag 23 3 set timeout tcp.first 423 4 set timeout tcp.opening 123 5 set timeout tcp.established 43758 6 set timeout tcp.closing 744 7 set timeout tcp.finwait 25 8 set timeout tcp.closed 38 9 set timeout udp.first 356 10 set timeout udp.single 73 [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_tree.def | 303 (2 wlanIfaceName OCTETSTRING GET SET) 304 (3 wlanParentIfName OCTETSTRING GET SET) 305 (4 wlanIfaceOperatingMode WlanIfaceOperatingModeType GET SET) 306 (5 wlanIfaceFlags WlanIfaceFlagsType GET SET) 307 (6 wlanIfaceBssid OCTETSTRING | MacAddress GET SET) 308 (7 wlanIfaceLocalAddress OCTETSTRING | MacAddress GET SET) 309 (8 wlanIfaceStatus RowStatus GET SET) 310 (9 wlanIfaceState ENUM ( 1 up 2 down ) GET SET) 320 (1 wlanIfacePacketBurst ENUM ( 1 true 2 false ) GET SET) 321 (2 wlanIfaceCountryCode OCTETSTRING GET SET) [all …]
|
/freebsd/sys/kern/ |
H A D | kern_cpuset.c | 85 * Each process belongs to an identified set, by default this is set 1. Each 87 * named set. This creates an anonymous set which other threads and processes 90 * The named set is referred to herein as the 'base' set to avoid ambiguity. 91 * This set is usually a child of a 'root' set while the anonymous set may 95 * Threads inherit their set from their creator whether it be anonymous or 97 * shared. To modify an anonymous set a new set is created with the desired 98 * mask and the same parent as the existing anonymous set. This gives the 102 * or mask that is discovered via a pid, tid, or setid. Modifying a set 105 * exist within the assigned parent set. 156 * Find the first non-anonymous set starting from 'set'. [all …]
|
/freebsd/tools/regression/poll/m/ |
H A D | pipeselect.out | 3 ok 2 Pipe state 5: expected set; got set 4 ok 3 Pipe state 6: expected set; got set 5 ok 4 Pipe state 6a: expected set; got set 7 ok 6 Sock state 5: expected set; got set 8 ok 7 Sock state 6: expected set; got set 9 ok 8 Sock state 6a: expected set; got set 10 not ok 9 FIFO state 0: expected set; got clear 12 ok 11 FIFO state 2: expected set; got set 14 ok 13 FIFO state 3: expected set; got set 16 ok 15 FIFO state 5: expected set; got set [all …]
|
/freebsd/tools/regression/poll/4/ |
H A D | pipeselect.out | 3 ok 2 Pipe state 5: expected set; got set 4 ok 3 Pipe state 6: expected set; got set 5 ok 4 Pipe state 6a: expected set; got set 7 ok 6 Sock state 5: expected set; got set 8 ok 7 Sock state 6: expected set; got set 9 ok 8 Sock state 6a: expected set; got set 10 not ok 9 FIFO state 0: expected clear; got set 12 ok 11 FIFO state 2: expected set; got set 14 ok 13 FIFO state 3: expected set; got set 16 ok 15 FIFO state 5: expected set; got set [all …]
|
/freebsd/tools/regression/poll/l/ |
H A D | pipeselect.out | 3 ok 2 Pipe state 5: expected set; got set 4 ok 3 Pipe state 6: expected set; got set 5 ok 4 Pipe state 6a: expected set; got set 7 ok 6 Sock state 5: expected set; got set 8 ok 7 Sock state 6: expected set; got set 9 ok 8 Sock state 6a: expected set; got set 10 not ok 9 FIFO state 0: expected set; got clear 12 ok 11 FIFO state 2: expected set; got set 14 ok 13 FIFO state 3: expected set; got set 16 ok 15 FIFO state 5: expected set; got set [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs/ |
H A D | zfs_001_neg.ksh | 48 set -A args "" "create" "create -s" "create -V" "create -s -V" \ 53 "set" "get" "get -rHp" "get -o" "get -s" \ 55 "set reservation=" "set atime=" "set checksum=" "set compression=" \ 56 "set type=" "set creation=" "set used=" "set available=" "set referenced=" \ 57 "set compressratio=" "set mounted=" "set origin=" "set quota=" \ 58 "set reservation=" "set volsize=" " set volblocksize=" "set recordsize=" \ 59 "set mountpoint=" "set devices=" "set exec=" "set setuid=" "set readonly=" \ 60 "set snapdir=" "set aclmode=" "set aclinherit=" \ 61 "set quota=blah" "set reservation=blah" "set atime=blah" "set checksum=blah" \ 62 "set compression=blah" \ [all …]
|
/freebsd/tools/build/cross-build/include/mac/sys/ |
H A D | linker_set.h | 40 * For Mach-O, this is done by constructing a separate section for each set. 51 * violating the assumption that linker set elements are packed. 55 #define __MAKE_SET_QV(set, sym, qv) \ argument 58 __set_##set##_sym_##sym __section("__DATA,set_" #set) \ 60 #define __MAKE_SET(set, sym) __MAKE_SET_QV(set, sym, __MAKE_SET_CONST) argument 85 #define __SET_RANGE(set) ({ \ argument 89 "set_" #set, &__set_size); \ 91 __CONCAT(__typeof_set_,set) **begin; \ 92 __CONCAT(__typeof_set_,set) **limit; \ 94 .begin = (__CONCAT(__typeof_set_,set) **)__set_data, \ [all …]
|
/freebsd/sys/sys/ |
H A D | linker_set.h | 36 * For ELF, this is done by constructing a separate segment for each set. 58 * violating the assumption that linker set elements are packed. 66 #define __MAKE_SET_QV(set, sym, qv) \ argument 67 __WEAK(__CONCAT(__start_set_,set)); \ 68 __WEAK(__CONCAT(__stop_set_,set)); \ 71 __set_##set##_sym_##sym __section("set_" #set) \ 73 #define __MAKE_SET(set, sym) __MAKE_SET_QV(set, sym, __MAKE_SET_CONST) argument 78 #define TEXT_SET(set, sym) __MAKE_SET(set, sym) argument 79 #define DATA_SET(set, sym) __MAKE_SET(set, sym) argument 80 #define DATA_WSET(set, sym) __MAKE_SET_QV(set, sym, ) argument [all …]
|
/freebsd/lib/libc/gen/ |
H A D | setmode.c | 80 * bits) followed by a '+' (set bits). 85 const BITCMD *set; in getmode() local 88 set = (const BITCMD *)bbox; in getmode() 90 for (value = 0;; set++) in getmode() 91 switch(set->cmd) { in getmode() 108 common: if (set->cmd2 & CMD2_CLR) { in getmode() 110 (set->cmd2 & CMD2_SET) ? S_IRWXO : value; in getmode() 111 if (set->cmd2 & CMD2_UBITS) in getmode() 112 newmode &= ~((clrval<<6) & set->bits); in getmode() 113 if (set->cmd2 & CMD2_GBITS) in getmode() [all …]
|
/freebsd/tools/regression/poll/n/ |
H A D | pipeselect.out | 3 ok 2 Pipe state 5: expected set; got set 4 ok 3 Pipe state 6: expected set; got set 5 ok 4 Pipe state 6a: expected set; got set 7 ok 6 Sock state 5: expected set; got set 8 ok 7 Sock state 6: expected set; got set 9 ok 8 Sock state 6a: expected set; got set 12 ok 11 FIFO state 2: expected set; got set 14 ok 13 FIFO state 3: expected set; got set 16 ok 15 FIFO state 5: expected set; got set 17 ok 16 FIFO state 6: expected set; got set [all …]
|
/freebsd/tools/tools/vop_table/ |
H A D | vop_table.tcl | 3 set fo [open _.html w] 7 set f [open $file] 9 set s 0 17 set name $a 18 set names($a) 0 19 set s 1 25 set s 0 31 set b [lindex $a 0] 33 set s 0 37 set o [lindex $b 0] [all …]
|