Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/freebsd/stand/forth/
H A Dmenu.4th144 s" arch-i386" environment? dup if
151 dup -1 = if
160 dup -1 <> if
210 menurow dup @ 1+ swap ! ( increment menurow )
211 menuidx dup @ 1+ swap ! ( increment menuidx )
217 dup menuX @ swap at-xy
220 loader_color? dup ( -- bool bool )
226 dup menuX @ 1+ swap at-xy
266 menuidx dup @ 1+ swap ! ( increment menuidx )
275 dup 32 = ( c -- c bool ) \ [sp] space
[all …]
H A Dcheck-password.4th60 dup 0<> if ( and ) readlen @ readmax < if
62 read-tick @ dup 1+ 4 mod read-tick !
64 dup 0 = if ( 1 ) ." /" else
65 dup 1 = if ( 2 ) ." -" else
66 dup 2 = if ( 3 ) ." \" else
67 dup 3 = if ( 4 ) ." |" else
75 dup bs_key = if exit then
76 dup enter_key = if exit then
77 dup ctrl_u = if exit then
84 begin dup 0> while
[all …]
H A Dsupport.4th93 does> create here swap dup @ allot cell+ @ execute
95 : member: create dup , over , + does> cell+ @ + ;
218 : 2r@ postpone 2r> postpone 2dup postpone 2>r ; immediate
240 2dup + 0= if
246 else dup 0= if
249 dup ( taddr' tlen' tlen' )
250 tlen swap - dup
272 dup 0= if 2drop 2drop false exit then
275 swap dup c@ dup 32 = over 9 = or over 10 = or
282 2 pick tuck - -rot + swap over c@ dup 32 =
[all …]
H A Dloader.4th33 2dup u< if 2drop 0 exit then
43 dup 0x80 u< if emit exit then
45 begin 2dup u> while
46 2/ >r dup 0x3F and 0x80 or swap 6 rshift r>
48 begin dup 0x80 u< 0= while emit repeat drop
81 loader_color? dup ( -- bool bool )
91 dup -1 <> if
118 dup if
128 ?dup if exit then
138 ?dup if exit then
[all …]
H A Dversion.4th46 s" loader_version_x" getenv dup -1 <> if
49 s" loader_version_y" getenv dup -1 <> if
54 s" loader_version" getenv dup -1 = if
57 s" loader_logo" getenv dup -1 = if
61 2dup s" tribute" compare-insensitive 0= if
68 else 2dup s" tributebw" compare-insensitive 0= if
79 then dup -1 = if
84 dup versionX @ swap - versionY @ at-xy
87 loader_color? dup ( c-addr/u -- c-addr/u bool bool )
/freebsd/tools/test/stress2/misc/
H A Ddup.sh40 rm -f /tmp/dup /tmp/dup.c || exit 1
41 sed '1,/^EOF/d' < $odir/$0 > $dir/dup.c
42 mycc -o dup -Wall -Wextra dup.c || exit 1
43 rm -f dup.c
46 /tmp/dup; s=$?
48 rm -f /tmp/dup
86 if ((fd2 = dup(fd)) == -1) {
/freebsd/contrib/capsicum-test/
H A Dcapability-fd-pair.cc22 int cap_in_ro = dup(in_fd); in TEST()
25 int cap_in_wo = dup(in_fd); in TEST()
28 int cap_out_ro = dup(sock_fds[0]); in TEST()
31 int cap_out_wo = dup(sock_fds[0]); in TEST()
69 int cap_in_wo = dup(pipe1_fds[0]); in TEST()
72 int cap_in_rw = dup(pipe1_fds[0]); in TEST()
75 int cap_out_ro = dup(pipe2_fds[1]); in TEST()
78 int cap_out_rw = dup(pipe2_fds[1]); in TEST()
118 int cap_in_wo = dup(pipe1_fds[0]); in TEST()
121 int cap_in_ro = dup(pipe1_fds[0]); in TEST()
[all …]
H A Dlinux.cc43 int cap_fd_ro = dup(fd); in TEST()
46 int cap_fd_wo = dup(fd); in TEST()
49 int cap_fd_rw = dup(fd); in TEST()
52 int cap_fd_all = dup(fd); in TEST()
133 int cap_fd_none = dup(fd); in FORK_TEST()
136 int cap_fd_read = dup(fd); in FORK_TEST()
139 int cap_fd_sig = dup(fd); in FORK_TEST()
142 int cap_fd_sig_read = dup(fd); in FORK_TEST()
145 int cap_fd_all = dup(fd); in FORK_TEST()
199 int cap_ro = dup(fd); in TEST()
[all …]
/freebsd/sys/gnu/gcov/
H A Dgcc_4_7.c284 struct gcov_info *dup; in gcov_info_dup() local
293 if ((dup = malloc(sizeof(*dup), M_GCOV, M_NOWAIT|M_ZERO)) == NULL) in gcov_info_dup()
295 memcpy(dup, info, sizeof(*dup)); in gcov_info_dup()
297 dup->next = NULL; in gcov_info_dup()
298 dup->filename = NULL; in gcov_info_dup()
299 dup->functions = NULL; in gcov_info_dup()
301 dup->filename = strdup_flags(info->filename, M_GCOV, M_NOWAIT); in gcov_info_dup()
302 if (dup->filename == NULL) in gcov_info_dup()
305dup->functions = malloc(info->n_functions * sizeof(struct gcov_fn_info *), M_GCOV, M_NOWAIT|M_ZERO… in gcov_info_dup()
306 if (dup->functions == NULL) in gcov_info_dup()
[all …]
/freebsd/stand/ficl/softwords/
H A Dmarker.fr10 get-order dup ,
14 dup body> >name drop
16 dup @ ( pfa current-wid )
17 dup set-current forget-wid ( pfa )
18 cell+ dup @ swap ( count count-addr )
21 dup @ dup ( wid-addr wid wid )
H A Dsoftcore.fr12 nUser dup @ user 1 swap +! ;
25 dup 0< if negate endif ;
71 rot over - dup 0< if
81 dup 0= abort" where's the delimiter??"
103 r> r> r> dup >r swap >r swap >r ;
107 IF 3 spaces ELSE dup c@ 0 <# # # #> type space THEN
112 ?DO I c@ dup 127 bl within
117 dup .4 space .4 ." - " .4 space .4 drop 16 /dump +! space .chars ;
122 dup 8 u.r ." : " dup .line cr 16 +
128 \ wordlist dup create , brand-wordlist
[all …]
H A Difbrack.fr9 2dup s" [if]" compare-insensitive 0=
13 2dup s" [else]" compare-insensitive 0=
17 2dup s" [then]" compare-insensitive 0= >r
18 2dup s" [endif]" compare-insensitive 0= r>
28 parse-word dup while \ ( level addr len )
33 2drop 1- dup if 1+ endif
37 endif ?dup 0= if exit endif \ level
H A Djhlocal.fr24 2dup s" --" compare 0= ;
26 2dup s" }" compare 0= ;
28 2dup s" |" compare 0= ;
35 over dup c@ [char] 2 =
49 dup 0=
57 0 dup locals| locstate |
62 ?delim dup to locstate
76 ?delim dup to locstate
93 ?delim dup to locstate
H A Dficllocal.fr20 0 dup locals| nLocs locstate |
23 ?dup 0= abort" Error: out of text without seeing }}"
24 2dup 2dup ?-- -rot ?}} or 0=
38 2dup ?}} 0=
/freebsd/contrib/bearssl/src/codec/
H A Dpemdec.t0110 begin read8-native dup 0< ifnot ret then drop co again ;
120 begin read8 dup `\n <> while ws? ifnot 0 >r then repeat
125 dup dup `a >= swap `z <= and if 32 - then ;
131 dup data-get8 norm-upper dup ifnot 2drop -1 ret then
132 read8 norm-upper dup `\n = if drop 2drop 0 ret then
142 dup { orig-len }
146 read8 dup `\n = if 2drop orig-len swap - ret then
147 dup `\r = if drop else norm-upper over set8 then
153 begin dup while
155 dup addr-name + get8 `- <> if
[all …]
/freebsd/contrib/bearssl/src/x509/
H A Dasn1.t053 : skip-blanks begin char dup 32 > if ret then drop again ;
64 dup dup `. = swap 32 <= or if ret then
73 swap dup 0x7F > if
74 dup 7 u>> 0x80 encode7E-inner 0x7F and
85 skip-blanks decval dup 2 > if fail-oid then
91 dup 40 >= if fail-oid then
99 dup current-data swap - 1- swap data-set8
162 read8-low dup 0 >= if ret then
168 dup ifnot ERR_X509_INNER_TRUNC fail then
183 begin dup while read-blob-inner dup if co then repeat
[all …]
/freebsd/sys/netgraph/
H A Dng_tee.c72 struct hookinfo *dest, *dup; member
179 privdata->left.dup = privdata->left.dest; in ng_tee_newhook()
185 privdata->right.dup = privdata->right.dest; in ng_tee_newhook()
191 privdata->right.dup = hinfo; in ng_tee_newhook()
197 privdata->left.dup = hinfo; in ng_tee_newhook()
308 if (hinfo->dup) { in ng_tee_rcvdata()
315 h = hinfo->dup; in ng_tee_rcvdata()
380 sc->left.dest = sc->left.dup; in ng_tee_disconnect()
381 sc->left.dup = NULL; in ng_tee_disconnect()
382 } else if (sc->left.dup == hinfo) in ng_tee_disconnect()
[all …]
/freebsd/share/examples/bootforth/
H A Dframes.4th61 2dup 4 pick
66 2dup
72 2dup 1+ 4 pick 1- -rot
74 2dup 1+ swap 5 pick + swap 4 pick 1- -rot
76 2dup swap 1+ swap 5 pick 1- -rot
78 2dup swap 1+ swap 4 pick + 5 pick 1- -rot
80 2dup at-xy lt_el @ emit \ Draw left-top corner
81 2dup 4 pick + at-xy lb_el @ emit \ Draw left bottom corner
82 2dup swap 5 pick + swap at-xy rt_el @ emit \ Draw right top corner
H A Dmenuconf.4th29 dup seconds u< if
47 dup 32 = if
50 dup 0< if
53 dup emit
77 dup 49 = if
84 dup 50 = if
91 dup 51 = if
97 dup 52 = if
H A Dmenu.4th27 dup seconds u< if
45 dup 32 = if
48 dup 0< if
51 dup emit
76 dup 49 = if
82 dup 50 = if
87 dup 51 = if
/freebsd/contrib/bearssl/src/ssl/
H A Dssl_hs_client.t0362 addr-reneg get8 dup if 1 - 17 * else drop 5 then ;
366 addr-server_name strlen dup if 9 + then ;
377 dup if 1 << 6 + then ;
388 dup 0x10 and if 4 write8 sign write8 then
389 dup 0x08 and if 3 write8 sign write8 then
390 dup 0x20 and if 5 write8 sign write8 then
391 dup 0x40 and if 6 write8 sign write8 then
396 supported-curves dup if
398 begin dup while
399 dup 1 and x + >x
[all …]
/freebsd/contrib/ofed/libibverbs/
H A Dsysfs.c64 char *dup; in ibv_get_sysfs_path() local
66 sysfs_path = dup = strndup(env, IBV_SYSFS_PATH_MAX); in ibv_get_sysfs_path()
67 len = strlen(dup); in ibv_get_sysfs_path()
68 while (len > 0 && dup[len - 1] == '/') { in ibv_get_sysfs_path()
70 dup[len] = '\0'; in ibv_get_sysfs_path()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_clone_livelist_dedup.ksh58 log_must cp /$TESTPOOL/$TESTCLONE/data /$TESTPOOL/$TESTCLONE/data-dup-0
59 log_must cp /$TESTPOOL/$TESTCLONE/data /$TESTPOOL/$TESTCLONE/data-dup-1
60 log_must cp /$TESTPOOL/$TESTCLONE/data /$TESTPOOL/$TESTCLONE/data-dup-2
61 log_must cp /$TESTPOOL/$TESTCLONE/data /$TESTPOOL/$TESTCLONE/data-dup-3
71 log_must rm /$TESTPOOL/$TESTCLONE/data-dup-2
72 log_must rm /$TESTPOOL/$TESTCLONE/data-dup-3
/freebsd/contrib/bearssl/T0/
H A Dkern.t029 dup (local) swap if
36 dup "}" eqstr if
39 dup ";" eqstr if
54 dup `| = if
58 dup 0x20 > if
68 hexval-nf dup 0 < if "Not an hex digit: " puts . cr exitvm then ;
73 dup dup `0 >= swap `9 <= and if `0 - ret then
74 dup dup `A >= swap `F <= and if `A - 10 + ret then
75 dup dup `a >= swap `f <= and if `a - 10 + ret then
81 decval-nf dup 0 < if "Not a decimal digit: " puts . cr exitvm then ;
[all …]
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Di64 pass in on lo0(!) dup-to qe0(!) inet from 127.0.0.1/32 to 127.0.0.1/32
5 pass in on le0(!) dup-to qe0:127.0.0.1 inet from 127.0.0.1/32 to 127.0.0.1/32
6 pass in on le0(!) to hme0:10.1.1.1 dup-to qe0:127.0.0.1 inet from 127.0.0.1/32 to 127.0.0.1/32
9 pass out quick dup-to hme0(!) from any to any
11 pass in on le0(!) dup-to qe0:127.0.0.1 reply-to hme1:10.10.10.10 inet all

12345678910>>...12