Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 68) sorted by relevance

123

/busybox-1.35.0/shell/ash_test/ash-vars/
Dunset.tests14 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 …]
Dunset.right7 0 f g
8 0 g
11 0 f g
13 0 f g
17 2 f g
Dparam_expand_len.tests16 g=
17 echo ${#e} ${#f} ${#g}
/busybox-1.35.0/shell/hush_test/hush-vars/
Dunset.tests16 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 …]
Dunset.right6 0 f g
7 0 g
10 0 f g
12 0 f g
16 1 f g
Dparam_expand_len.tests16 g=
17 echo ${#e} ${#f} ${#g}
/busybox-1.35.0/applets/
Dusage_compressed25 -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/
Dfree.c63 # 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/
Daddgroup.c50 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/
Dchattr.c232 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/
Dmany_ifs.tests31 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/
Dmany_ifs.tests31 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/
Did-g-works1 test x$(id -g) = x$(busybox id -g)
/busybox-1.35.0/shell/hush_test/hush-quoting/
Dcase_glob1.tests1 g='[3](a)(b)(c)'
3 case $g in
/busybox-1.35.0/shell/ash_test/ash-quoting/
Dcase_glob1.tests1 g='[3](a)(b)(c)'
3 case $g in
/busybox-1.35.0/shell/hush_test/hush-misc/
Dexitcode_trap5.tests3 g() { echo Nested; return 22; }
4 trap "echo TERM;false;g" term
Dfunc_local2.tests3 g() { f; echo $x; f; local x=$((x+1)); f; echo $x; f; }
5 g
Dfunc1.tests2 g () { echo One: $# Param1: $1; }
13 { g World; }
/busybox-1.35.0/shell/ash_test/ash-misc/
Dfunc_local2.tests3 g() { f; echo $x; f; local x=$((x+1)); f; echo $x; f; }
5 g
Dexitcode_trap5.tests3 g() { echo Nested; return 22; }
4 trap "echo TERM;false;g" term
Dfunc1.tests2 g () { echo One: $# Param1: $1; }
13 { g World; }
/busybox-1.35.0/coreutils/
Dchown.c110 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()
Did_test.sh94 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/
Dleak_argv1.tests4 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/
Dwc-counts-all2 test "`echo i\'m a little teapot | busybox wc | sed 's/ */ /g' | sed 's/^ //'`" = '1 4 20'

123