/busybox-1.35.0/shell/ash_test/ash-vars/ |
D | unset.tests | 14 f=f g=g 15 echo $? $f $g 17 echo $? $f $g 18 unset g 19 echo $? $f $g 22 f=f g=g 23 echo $? $f $g 24 unset f g 25 echo $? $f $g 26 f=f g=g [all …]
|
D | unset.right | 7 0 f g 8 0 g 11 0 f g 13 0 f g 17 2 f g
|
D | param_expand_len.tests | 16 g= 17 echo ${#e} ${#f} ${#g}
|
/busybox-1.35.0/shell/hush_test/hush-vars/ |
D | unset.tests | 16 f=f g=g 17 echo $? $f $g 19 echo $? $f $g 20 unset g 21 echo $? $f $g 24 f=f g=g 25 echo $? $f $g 26 unset f g 27 echo $? $f $g 28 f=f g=g [all …]
|
D | unset.right | 6 0 f g 7 0 g 10 0 f g 12 0 f g 16 1 f g
|
D | param_expand_len.tests | 16 g= 17 echo ${#e} ${#f} ${#g}
|
/busybox-1.35.0/applets/ |
D | usage_compressed | 25 -e 's/ //g' \ 27 -e 's/\(...\)/\\\1/g' \ 49 ## -e 's/ //g' \ 51 ## -e 's/\(..\)\(..\)/0x\2,0x\1,/g' 56 -e 's/ //g' \ 58 -e 's/\(...\)/0\1,/g' \
|
/busybox-1.35.0/procps/ |
D | free.c | 63 # define G_unit g->unit 71 static const char *scale(struct globals *g, unsigned long d) in scale() argument 77 return make_human_readable_str(d, g->mem_unit, G_unit); in scale() 81 static NOINLINE unsigned int parse_meminfo(struct globals *g) in parse_meminfo() argument 88 g->cached_kb = g->available_kb = g->reclaimable_kb = 0; in parse_meminfo() 91 if (sscanf(buf, "Cached: %lu %*s\n", &g->cached_kb) == 1) in parse_meminfo() 94 if (sscanf(buf, "MemAvailable: %lu %*s\n", &g->available_kb) == 1) in parse_meminfo() 97 if (sscanf(buf, "SReclaimable: %lu %*s\n", &g->reclaimable_kb) == 1) in parse_meminfo()
|
/busybox-1.35.0/loginutils/ |
D | addgroup.c | 50 static void xgroup_study(struct group *g) in xgroup_study() argument 55 if (getgrnam(g->gr_name)) { in xgroup_study() 56 bb_error_msg_and_die("%s '%s' in use", "group", g->gr_name); in xgroup_study() 65 g->gr_gid = CONFIG_FIRST_SYSTEM_ID; in xgroup_study() 68 g->gr_gid = CONFIG_LAST_SYSTEM_ID + 1; in xgroup_study() 74 if (!getgrgid(g->gr_gid)) { in xgroup_study() 79 bb_error_msg_and_die("%s '%s' in use", "gid", itoa(g->gr_gid)); in xgroup_study() 82 if (g->gr_gid == max) { in xgroup_study() 87 g->gr_gid++; in xgroup_study()
|
/busybox-1.35.0/e2fsprogs/ |
D | chattr.c | 232 struct globals g; in chattr_main() local 234 memset(&g, 0, sizeof(g)); in chattr_main() 244 argv = decode_arg(argv, &g); in chattr_main() 249 if ((g.flags & OPT_SET) && (g.flags & (OPT_ADD|OPT_REM))) in chattr_main() 251 if (g.rf & g.af) in chattr_main() 253 if (!g.flags) in chattr_main() 257 do change_attributes(*argv, &g); while (*++argv); in chattr_main()
|
/busybox-1.35.0/shell/ash_test/ash-z_slow/ |
D | many_ifs.tests | 31 g="[$#]" 36 g="$g($1)" 39 case $g in 45 '') S=$g 47 "$g") ;; 66 …?0*) echo "IFS=\"$ifs\"; x=\"$i\"; set x \$x; shift; echo \"[\$#]\" # expected \"$s\" got \"$g\"" … 67 …cho "IFS=\"$ifs\"; x=\"$i\"; set x \$x; shift; echo \"[\$#](\$1)\" # expected \"$s\" got \"$g\"" ;; 68 …IFS=\"$ifs\"; x=\"$i\"; set x \$x; shift; echo \"[\$#](\$1)(\$2)\" # expected \"$s\" got \"$g\"" ;; 69 …"$ifs\"; x=\"$i\"; set x \$x; shift; echo \"[\$#](\$1)(\$2)(\$3)\" # expected \"$s\" got \"$g\"" ;; 73 '') S=$g [all …]
|
/busybox-1.35.0/shell/hush_test/hush-z_slow/ |
D | many_ifs.tests | 31 g="[$#]" 36 g="$g($1)" 39 case $g in 45 '') S=$g 47 "$g") ;; 66 …?0*) echo "IFS=\"$ifs\"; x=\"$i\"; set x \$x; shift; echo \"[\$#]\" # expected \"$s\" got \"$g\"" … 67 …cho "IFS=\"$ifs\"; x=\"$i\"; set x \$x; shift; echo \"[\$#](\$1)\" # expected \"$s\" got \"$g\"" ;; 68 …IFS=\"$ifs\"; x=\"$i\"; set x \$x; shift; echo \"[\$#](\$1)(\$2)\" # expected \"$s\" got \"$g\"" ;; 69 …"$ifs\"; x=\"$i\"; set x \$x; shift; echo \"[\$#](\$1)(\$2)(\$3)\" # expected \"$s\" got \"$g\"" ;; 73 '') S=$g [all …]
|
/busybox-1.35.0/testsuite/id/ |
D | id-g-works | 1 test x$(id -g) = x$(busybox id -g)
|
/busybox-1.35.0/shell/hush_test/hush-quoting/ |
D | case_glob1.tests | 1 g='[3](a)(b)(c)' 3 case $g in
|
/busybox-1.35.0/shell/ash_test/ash-quoting/ |
D | case_glob1.tests | 1 g='[3](a)(b)(c)' 3 case $g in
|
/busybox-1.35.0/shell/hush_test/hush-misc/ |
D | exitcode_trap5.tests | 3 g() { echo Nested; return 22; } 4 trap "echo TERM;false;g" term
|
D | func_local2.tests | 3 g() { f; echo $x; f; local x=$((x+1)); f; echo $x; f; } 5 g
|
D | func1.tests | 2 g () { echo One: $# Param1: $1; } 13 { g World; }
|
/busybox-1.35.0/shell/ash_test/ash-misc/ |
D | func_local2.tests | 3 g() { f; echo $x; f; local x=$((x+1)); f; echo $x; f; } 5 g
|
D | exitcode_trap5.tests | 3 g() { echo Nested; return 22; } 4 trap "echo TERM;false;g" term
|
D | func1.tests | 2 g () { echo One: $# Param1: $1; } 13 { g World; }
|
/busybox-1.35.0/coreutils/ |
D | chown.c | 110 gid_t g = (param.ugid.gid == (gid_t)-1L) ? statbuf->st_gid : param.ugid.gid; in fileAction() local 112 if (param.chown_func(fileName, u, g) == 0) { in fileAction() 114 || (OPT_CHANGED && (statbuf->st_uid != u || statbuf->st_gid != g)) in fileAction() 117 fileName, (unsigned)u, (unsigned)g); in fileAction()
|
D | id_test.sh | 94 chmod g+s $BUSYBOX 2>&1 /dev/null 96 chmod g+s $ID 2>&1 /dev/null 132 chmod u+s,g+s $BUSYBOX 2>&1 /dev/null 134 chmod u+s,g+s $ID 2>&1 /dev/null 205 chmod g+s $BUSYBOX 2>&1 /dev/null 206 chmod g+s $ID 2>&1 /dev/null
|
/busybox-1.35.0/shell/hush_test/hush-leak/ |
D | leak_argv1.tests | 4 set -- a b c d e f g h i j k l m n o p q r s t u v w x y z 27 if test $i = 111111111111111111111111111111111111111111111f; then i=g; fi 28 if test $i = 111111111111111111111111111111111111111111111g; then i=h; fi 41 set -- a b c d e f g h i j k l m n o p q r s t u v w x y z 64 if test $i = 111111111111111111111111111111111111111111111f; then i=g; fi 65 if test $i = 111111111111111111111111111111111111111111111g; then i=h; fi
|
/busybox-1.35.0/testsuite/wc/ |
D | wc-counts-all | 2 test "`echo i\'m a little teapot | busybox wc | sed 's/ */ /g' | sed 's/^ //'`" = '1 4 20'
|