Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/busybox-1.35.0/testsuite/
Dbc_misc1.bc1 define x(x) {
2 return(x)
9 x=2
10 x[0]=3
11 x
12 x[0]
16 x ( 7 )
17 x + x( 8 )
18 x - x[0]
19 321 * x
[all …]
Dbc_misc2.bc1 define x() {
2 "x"
14 if ( x() == y() ) {1}
16 if ( x() <= y() ) {2}
17 if ( y() >= x() ) {3}
18 if ( x() != y() ) {4}
19 if ( x() < y() ) {5}
20 if ( y() > x() ) {6}
22 if ( x() == z() ) {11}
24 if ( x() <= z() ) {12}
[all …]
Dls.tests16 test x"$CONFIG_UNICODE_SUPPORT" = x"y" \
17 && test x"$CONFIG_UNICODE_USING_LOCALE" != x"y" \
18 && test x"$CONFIG_SUBST_WCHAR" = x"63" \
19 && test x"$CONFIG_LAST_SUPPORTED_WCHAR" = x"767" \
20 && test x"$CONFIG_FEATURE_LS_SORTFILES" = x"y" \
136 test x"$CONFIG_UNICODE_SUPPORT" = x"y" \
137 && test x"$CONFIG_UNICODE_USING_LOCALE" != x"y" \
138 && test x"$CONFIG_SUBST_WCHAR" = x"63" \
139 && test x"$CONFIG_LAST_SUPPORTED_WCHAR" = x"0" \
259 test x"$CONFIG_FEATURE_LS_SORTFILES" = x"y" \
Dcal.tests21 test x"$CONFIG_LOCALE_SUPPORT" = x"y" \
22 && test x"$CONFIG_UNICODE_SUPPORT" = x"y" \
23 && test x"$CONFIG_LAST_SUPPORTED_WCHAR" = x"0" \
24 && test x"$CONFIG_UNICODE_WIDE_WCHARS" = x"y" \
25 && test x"$CONFIG_STATIC" != x"y" \
26 && test x"$CONFIG_CROSS_COMPILER_PREFIX" = x"" \
Dbzcat.tests33 test x"$CONFIG_ZCAT" = x"y" && \
35 `test x"$CONFIG_FEATURE_SEAMLESS_GZ" = x"y" && echo gz` \
36 `test x"$CONFIG_FEATURE_SEAMLESS_BZ2" = x"y" && echo bz2` \
37 `test x"$CONFIG_FEATURE_SEAMLESS_Z" = x"y" && echo Z`
101 test x"$CONFIG_ZCAT" = x"y" && \
102 test x"$CONFIG_FEATURE_SEAMLESS_Z" = x"y" && \
114 test x"$CONFIG_ZCAT" = x"y" && \
115 test x"$CONFIG_FEATURE_SEAMLESS_Z" = x"y" && \
Dash.tests11 test x"CONFIG_SCRIPT" = x"y" || exit 0
12 test x"CONFIG_HEXDUMP" = x"y" || exit 0
13 test x"CONFIG_FEATURE_DEVPTS" = x"y" || exit 0
17 if test x"$CONFIG_UNICODE_PRESERVE_BROKEN" = x"y"; then
/busybox-1.35.0/shell/hush_test/hush-quoting/
Ddollar_altvalue2.tests2 x=a
5 f ${x:+''}
6 f ${x:+'' }
7 f ${x:+ ''}
8 f ${x:+ '' }
9 f ${x:+'' ''}
13 f ${x:+""}
14 f ${x:+"" }
15 f ${x:+ ""}
16 f ${x:+ "" }
[all …]
Ddollar_altvalue9.tests4 x='1 2'; f a${x:+ 'x y' $x '' "$x" `echo A B` "`echo C D`" z}b
6 x='1 2'; f "a${x:+ 'x y' $x '' "$x" `echo A B` "`echo C D`" z}b"
9 x='1 2'; f a${x:+'x y' $x '' "$x" `echo A B` "`echo C D`" z }b
11 x='1 2'; f "a${x:+ 'x y' $x '' "$x" `echo A B` "`echo C D`" z }b"
15 #x='1 2'; f a${x:+'x y' $x '' "$x" $e $e "$e" $e `echo A B` "`echo C D`" z }b
17 #x='1 2'; f "a${x:+ 'x y' $x '' "$x" $e $e "$e" $e `echo A B` "`echo C D`" z }b"
Dsquote_in_varexp.tests1 x=yz
2 echo ${x#'y'}
3 echo "${x#'y'}"
4 echo ${x#"y"}
5 echo "${x#"y"}"
6 echo ${x%'z'}
7 echo "${x%'z'}"
8 echo ${x%"z"}
9 echo "${x%"z"}"
/busybox-1.35.0/shell/ash_test/ash-quoting/
Ddollar_altvalue2.tests2 x=a
5 f ${x:+''}
6 f ${x:+'' }
7 f ${x:+ ''}
8 f ${x:+ '' }
9 f ${x:+'' ''}
13 f ${x:+""}
14 f ${x:+"" }
15 f ${x:+ ""}
16 f ${x:+ "" }
[all …]
Ddollar_altvalue9.tests4 x='1 2'; f a${x:+ 'x y' $x '' "$x" `echo A B` "`echo C D`" z}b
6 x='1 2'; f "a${x:+ 'x y' $x '' "$x" `echo A B` "`echo C D`" z}b"
9 x='1 2'; f a${x:+'x y' $x '' "$x" `echo A B` "`echo C D`" z }b
11 x='1 2'; f "a${x:+ 'x y' $x '' "$x" `echo A B` "`echo C D`" z }b"
15 #x='1 2'; f a${x:+'x y' $x '' "$x" $e $e "$e" $e `echo A B` "`echo C D`" z }b
17 #x='1 2'; f "a${x:+ 'x y' $x '' "$x" $e $e "$e" $e `echo A B` "`echo C D`" z }b"
Dsquote_in_varexp.tests1 x=yz
2 echo ${x#'y'}
3 echo "${x#'y'}"
4 echo ${x#"y"}
5 echo "${x#"y"}"
6 echo ${x%'z'}
7 echo "${x%'z'}"
8 echo ${x%"z"}
9 echo "${x%"z"}"
/busybox-1.35.0/shell/ash_test/ash-vars/
Dvar3.tests1 x=0; f() { local x=1; echo $x; local x; echo $x; unset x; echo $x; local x; echo $x; }; f; echo $x
/busybox-1.35.0/shell/hush_test/hush-vars/
Dvar3.tests1 x=0; f() { local x=1; echo $x; local x; echo $x; unset x; echo $x; local x; echo $x; }; f; echo $x
/busybox-1.35.0/examples/shutdown-1.0/script/
Dshutdown17 test x"$1" = x"-f" && {
21 test ! "$*" && test x"${0##*/}" = x"halt" && exec "$0" $force -h
22 test ! "$*" && test x"${0##*/}" = x"reboot" && exec "$0" $force -r
23 test ! "$*" && test x"${0##*/}" = x"poweroff" && exec "$0" $force -p
25 test x"$*" = x"" || test x"$*" = x"-h" || test x"$*" = x"-r" || test x"$*" = x"-p" || {
/busybox-1.35.0/shell/hush_test/hush-misc/
Dfunc_local2.tests1 x=1
2 f() { echo $x; local x=$((x+1)); echo $x; }
3 g() { f; echo $x; f; local x=$((x+1)); f; echo $x; f; }
6 echo $x
/busybox-1.35.0/shell/ash_test/ash-misc/
Dfunc_local2.tests1 x=1
2 f() { echo $x; local x=$((x+1)); echo $x; }
3 g() { f; echo $x; f; local x=$((x+1)); f; echo $x; f; }
6 echo $x
/busybox-1.35.0/shell/hush_test/hush-read/
Dread_ifs2.tests1 echo "X:Y:Z:" | (IFS=": " read x y; echo "|$x|$y|")
2 echo "X:Y:Z" | (IFS=": " read x y; echo "|$x|$y|")
3 echo "X:Y:" | (IFS=": " read x y; echo "|$x|$y|")
4 echo "X:Y" | (IFS=": " read x y; echo "|$x|$y|")
5 echo "X:" | (IFS=": " read x y; echo "|$x|$y|")
6 echo "X" | (IFS=": " read x y; echo "|$x|$y|")
7 echo "" | (IFS=": " read x y; echo "|$x|$y|")
9 echo "X:Y : " | (IFS=": " read x y; echo "|$x|$y|")
/busybox-1.35.0/shell/hush_test/hush-glob/
Dglob_altvalue1.tests1 x=x
3 echo 1u: ${x:+glob_altvalue1.t*}
4 echo 2u: ${x:+'glob_altvalue1.t*'}
5 echo 3u: ${x:+"glob_altvalue1.t*"}
6 echo 4u: ${x:+glob_altvalue1.t\*}
7 ##echo 5u: ${x:+"glob_altvalue1.t\*"}
9 echo 1q: "${x:+glob_altvalue1.t*}"
10 echo 2q: "${x:+'glob_altvalue1.t*'}"
11 echo 3q: "${x:+"glob_altvalue1.t*"}"
12 ##echo 4q: "${x:+glob_altvalue1.t\*}"
[all …]
/busybox-1.35.0/shell/ash_test/ash-glob/
Dglob_altvalue1.tests1 x=x
3 echo 1u: ${x:+glob_altvalue1.t*}
4 echo 2u: ${x:+'glob_altvalue1.t*'}
5 echo 3u: ${x:+"glob_altvalue1.t*"}
6 echo 4u: ${x:+glob_altvalue1.t\*}
7 ##echo 5u: ${x:+"glob_altvalue1.t\*"}
9 echo 1q: "${x:+glob_altvalue1.t*}"
10 echo 2q: "${x:+'glob_altvalue1.t*'}"
11 echo 3q: "${x:+"glob_altvalue1.t*"}"
12 ##echo 4q: "${x:+glob_altvalue1.t\*}"
[all …]
/busybox-1.35.0/libbb/
Dhash_md5prime.c118 #define F(x, y, z) (((x) & (y)) | (~(x) & (z))) argument
119 #define G(x, y, z) (((x) & (z)) | ((y) & ~(z))) argument
120 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument
121 #define I(x, y, z) ((y) ^ ((x) | ~(z))) argument
124 #define rotl32(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) argument
130 #define FF(a, b, c, d, x, s, ac) { \ argument
131 (a) += F((b), (c), (d)) + (x) + (uint32_t)(ac); \
135 #define GG(a, b, c, d, x, s, ac) { \ argument
136 (a) += G((b), (c), (d)) + (x) + (uint32_t)(ac); \
140 #define HH(a, b, c, d, x, s, ac) { \ argument
[all …]
/busybox-1.35.0/testsuite/date/
Ddate-R-works5 test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
6 test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
7 test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
8 test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
9 test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
10 test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
11 test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
12 test x"`date -R`" = x"`busybox date -R`" && exit 0 || true
Ddate-works4 test x"$dt" = x"OK"
8 test x"$dt" = x"01:02:00"
12 test x"$dt" = x"01:02:03"
16 test x"$dt" = x"Jan 2 03:04:00"
20 test x"$dt" = x"Jan 2 03:04:05"
24 test x"$dt" = x"Sat Jan 2 03:04:00"
28 test x"$dt" = x"Sat Jan 2 03:04:05"
32 test x"$dt" = x"Sat Jan 2 03:04:05"
38 #test x"$dt" = x"Jan 23 11:33:00"
42 test x"$dt" = x"Sun Jan 23 11:33:00"
[all …]
/busybox-1.35.0/util-linux/volume_id/
Dvolume_id_internal.h100 # define le16_to_cpu(x) (uint16_t)(x) argument
101 # define le32_to_cpu(x) (uint32_t)(x) argument
102 # define le64_to_cpu(x) (uint64_t)(x) argument
103 # define be16_to_cpu(x) (uint16_t)(bswap_16(x)) argument
104 # define be32_to_cpu(x) (uint32_t)(bswap_32(x)) argument
105 # define cpu_to_le16(x) (uint16_t)(x) argument
106 # define cpu_to_le32(x) (uint32_t)(x) argument
107 # define cpu_to_be32(x) (uint32_t)(bswap_32(x)) argument
109 # define le16_to_cpu(x) (uint16_t)(bswap_16(x)) argument
110 # define le32_to_cpu(x) (uint32_t)(bswap_32(x)) argument
[all …]
/busybox-1.35.0/shell/hush_test/
Drun-all48 for x in run-*; do
49 test -f "$x" || continue
50 case "$x" in
55 echo -n "$1/$x:"
56 sh "$x" >"$TOPDIR/$noslash-$x.fail" 2>&1 && \
57 { { echo " ok"; rm "$TOPDIR/$noslash-$x.fail"; } || echo " fail"; }
63 for x in *.tests; do
64 test -x "$x" || continue
68 echo -n "$1/$x:"
70 "$THIS_SH" "./$x" >"$name.xx" 2>&1
[all …]

12345678910>>...12