Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 3999) sorted by relevance

12345678910>>...160

/freebsd/bin/sh/tests/parameters/
H A Dpositional2.021 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/bin/sh/tests/expansion/
H A Dtrim9.024 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 Dtrim1.023 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 Dplus-minus1.023 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 Dtrim8.032 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 …]
H A Dtilde2.025 testcase 'set -- ${$+~}' '1|/tmp'
26 testcase 'set -- ${$+~/}' '1|/tmp/'
27 testcase 'set -- ${$+~/foo}' '1|/tmp/foo'
28 testcase 'set -- ${$+x~}' '1|x~'
29 testcase 'set -- ${$+~root}' "1|$roothome"
30 testcase 'set -- ${$+"~"}' '1|~'
31 testcase 'set -- ${$+"~/"}' '1|~/'
32 testcase 'set -- ${$+"~/foo"}' '1|~/foo'
33 testcase 'set -- ${$+"x~"}' '1|x~'
34 testcase 'set -- ${$+"~root"}' "1|~root"
[all …]
H A Dtrim2.023 set -f
24 testcase 'set -- $s' '1|ast*que?non'
25 testcase 'set -- ${s%\?*}' '1|ast*que'
26 testcase 'set -- "${s%\?*}"' '1|ast*que'
27 testcase 'set -- ${s%\**}' '1|ast'
28 testcase 'set -- "${s%\**}"' '1|ast'
29 testcase 'set -- ${s%"$q"*}' '1|ast*que'
30 testcase 'set -- "${s%"$q"*}"' '1|ast*que'
31 testcase 'set -- ${s%"$a"*}' '1|ast'
32 testcase 'set -- "${s%"$a"*}"' '1|ast'
[all …]
/freebsd/tests/sys/kern/
H A Dsched_affinity.c43 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/stand/forth/
H A Dmenu.rc28 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/lib/libc/tests/string/
H A Dstrcspn_test.c51 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()
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()
108 char set[MAXALIGN + MAXBUF + 1]; in test_set_alignments() local
113 testcase(buf, buflen, set + i, j, want_match); in test_set_alignments()
119 char set[41]; in ATF_TC_BODY() local
[all …]
/freebsd/lib/libc/gen/
H A Dsetmode.c85 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()
114 newmode &= ~((clrval<<3) & set->bits); in getmode()
[all …]
/freebsd/tools/build/cross-build/include/mac/sys/
H A Dlinker_set.h55 #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, \
95 .limit = (__CONCAT(__typeof_set_,set) **)(__set_data + \
103 #define TEXT_SET(set, sym) __MAKE_SET(set, sym) argument
[all …]
/freebsd/sys/sys/
H A Dlinker_set.h66 #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
81 #define BSS_SET(set, sym) __MAKE_SET(set, sym) argument
82 #define ABS_SET(set, sym) __MAKE_SET(set, sym) argument
[all …]
/freebsd/sbin/pfctl/tests/files/
H A Dpf0055.ok1 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/contrib/netbsd-tests/ipf/expected/
H A Dn421 List of groups configured (set 0)
22 List of groups configured (set 1)
23 Rules configured (set 0, in)
24 Rules configured (set 0, out)
25 Rules configured (set 1, in)
26 Rules configured (set 1, out)
27 Accounting rules configured (set 0, in)
28 Accounting rules configured (set 0, out)
29 Accounting rules configured (set 1, in)
30 Accounting rules configured (set 1, out)
[all …]
H A Dn4_621 List of groups configured (set 0)
22 List of groups configured (set 1)
23 Rules configured (set 0, in)
24 Rules configured (set 0, out)
25 Rules configured (set 1, in)
26 Rules configured (set 1, out)
27 Accounting rules configured (set 0, in)
28 Accounting rules configured (set 0, out)
29 Accounting rules configured (set 1, in)
30 Accounting rules configured (set 1, out)
[all …]
H A Dn625 List of groups configured (set 0)
26 List of groups configured (set 1)
27 Rules configured (set 0, in)
28 Rules configured (set 0, out)
29 Rules configured (set 1, in)
30 Rules configured (set 1, out)
31 Accounting rules configured (set 0, in)
32 Accounting rules configured (set 0, out)
33 Accounting rules configured (set 1, in)
34 Accounting rules configured (set 1, out)
[all …]
H A Dn6_625 List of groups configured (set 0)
26 List of groups configured (set 1)
27 Rules configured (set 0, in)
28 Rules configured (set 0, out)
29 Rules configured (set 1, in)
30 Rules configured (set 1, out)
31 Accounting rules configured (set 0, in)
32 Accounting rules configured (set 0, out)
33 Accounting rules configured (set 1, in)
34 Accounting rules configured (set 1, out)
[all …]
H A Df1125 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/tools/regression/poll/m/
H A Dpipeselect.out3 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/kern/
H A Dkern_cpuset.c159 cpuset_getbase(struct cpuset *set) in cpuset_getbase() argument
162 if (set->cs_id == CPUSET_INVALID) in cpuset_getbase()
163 set = set->cs_parent; in cpuset_getbase()
164 return (set); in cpuset_getbase()
171 cpuset_getroot(struct cpuset *set) in cpuset_getroot() argument
174 while ((set->cs_flags & CPU_SET_ROOT) == 0 && set->cs_parent != NULL) in cpuset_getroot()
175 set = set->cs_parent; in cpuset_getroot()
176 return (set); in cpuset_getroot()
183 cpuset_ref(struct cpuset *set) in cpuset_ref() argument
186 refcount_acquire(&set->cs_ref); in cpuset_ref()
[all …]
/freebsd/tools/regression/poll/4/
H A Dpipeselect.out3 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 Dpipeselect.out3 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/n/
H A Dpipeselect.out3 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/lib/libc/compat-43/
H A Dsigcompat.c68 sigset_t set, oset; in sigsetmask() local
71 sigemptyset(&set); in sigsetmask()
72 set.__bits[0] = mask; in sigsetmask()
73 n = __libc_sigprocmask(SIG_SETMASK, &set, &oset); in sigsetmask()
82 sigset_t set, oset; in sigblock() local
85 sigemptyset(&set); in sigblock()
86 set.__bits[0] = mask; in sigblock()
87 n = __libc_sigprocmask(SIG_BLOCK, &set, &oset); in sigblock()
96 sigset_t set; in sigpause() local
98 sigemptyset(&set); in sigpause()
[all …]

12345678910>>...160