Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 25 of 36) sorted by relevance

12

/systemd-251/shell-completion/bash/
Djournalctl38 local field_vals= cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
59 COMPREPLY=( $(compgen -f -- "$cur") )
69 comps=$(compgen -d -- "$cur")
73 comps=$(compgen -f -- "$cur")
101 if ! [[ $cur =~ '\\' ]]; then
102 cur="$(printf '%q' $cur)"
119 COMPREPLY=( $(compgen -o filenames -W '$comps' -- "$cur") )
123 if [[ $cur = -* ]]; then
124 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
126 elif [[ $cur = *=* ]]; then
[all …]
Dsystemd-analyze54 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
99 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
103 if [[ -z ${verb-} && $cur = -* ]]; then
104 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
112 if [[ $cur = -* ]]; then
117 if [[ $cur = -* ]]; then
124 if [[ $cur = -* ]]; then
129 if [[ $cur = -* ]]; then
136 if [[ $cur = -* ]]; then
139 comps=$( compgen -A file -- "$cur" )
[all …]
Dudevadm47 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
82 if [[ "$cur" = -* ]]; then
83 COMPREPLY=( $(compgen -W '${OPTS[COMMON]} ${OPTS[DEBUG]}' -- "$cur") )
85 COMPREPLY=( $(compgen -W '${verbs[*]}' -- "$cur") )
108 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
112 if [[ $cur = -* ]]; then
140 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
144 if [[ $cur = -* ]]; then
156 comps=$( compgen -A file -- "$cur" )
162 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
[all …]
Dsystemctl.in123 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
163 comps=$(compgen -A directory -- "$cur" )
188 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
192 if [[ "$cur" = -* ]]; then
193 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
250 cur_orig=$cur
251 if [[ $cur =~ '\\' ]]; then
252 cur="$(echo $cur | xargs echo)"
254 cur_orig="$(printf '%q' $cur)"
261 comps=$( __get_all_units $mode "$cur" )
[all …]
Dcoredumpctl40 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
51 comps=$( compgen -A file -- "$cur" )
54 comps=$( compgen -A directory -- "$cur" )
57 comps=$( compgen -A command -- "$cur" )
60 comps=$( compgen -W '${__journal_fields[*]}' -- "$cur" )
62 comps=$( compgen -W 'pretty short off' -- "$cur" )
63 elif [[ $cur = -* ]]; then
69 COMPREPLY=( $(compgen -W '${__journal_fields[*]}' -S= -- "$cur") )
71 elif [[ $cur = *=* ]]; then
73 COMPREPLY=( $(compgen -W '${field_vals[*]}' -- "${cur#=}") )
[all …]
Dlocalectl36 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
46 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
50 if [[ $cur = -* ]]; then
51 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
75 if [[ $cur = *=* ]]; then
77 COMPREPLY=( $(compgen -W '${locale_vals[*]}' -- "${cur#=}") )
80 COMPREPLY=( $(compgen -W '${locale_vals[*]}' -- "$cur") )
83 COMPREPLY=( $(compgen -W '${__locale_fields[*]}' -S= -- "$cur") )
92 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dsystemd-run33 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
69 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
75 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
93 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
99 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
105 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
110 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
115 if [[ -z $cur ]]; then
118 comps=$(compgen -A directory -- "$cur" )
121 COMPREPLY=( $(compgen -W '$comps' -- "$cur" ) )
[all …]
Dportablectl34 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
63 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
67 if [[ "$cur" = -* ]]; then
68 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
88 comps=$( compgen -A file -- "$cur" )
94 comps=$( compgen -A file -- "$cur" )
98 comps=$( compgen -A file -- "$cur" )
107 COMPREPLY=( $(compgen -o filenames -W '$comps' -- "$cur") )
Dhomectl38 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
119 comps=$(compgen -A file -- "$cur" )
132 comps=$(compgen -A directory -- "$cur" )
136 comps=$(compgen -A group -- "$cur" )
145 comps=$(compgen -A user -- "$cur" )
148 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
152 if [[ "$cur" = -* ]]; then
153 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
185 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dbootctl32 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
41 if [[ -z $cur ]]; then
44 comps=$(compgen -A directory -- "$cur" )
52 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
56 if [[ "$cur" = -* ]]; then
57 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
98 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dsystemd-nspawn61 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
83 comps=$(compgen -S/ -A directory -- "$cur" )
106 comps=$(compgen -f -- "$cur" )
110 comps=$(compgen -S/ -A directory -- "$cur" )
147 comps=$( compgen -A file -- "$cur" )
160 comps=$( compgen -A file -- "$cur" )
188 comps=$( compgen -A file -- "$cur" )
191 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
195 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
Dkernel-install22 local cur=${COMP_WORDS[COMP_CWORD]}
38 [[ "$cur" ]] || cur=/lib/modules/${COMP_WORDS[2]}/vmlinuz
39 comps=$(compgen -f -- "$cur")
44 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dsystemd-delta27 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
47 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
51 if [[ "$cur" = -* ]] || [[ -z ${comps-} ]]; then
52 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
56 COMPREPLY=( $(compgen -W '${comps-}' -- "$cur") )
Dsystemd-path33 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
47 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
51 if [[ "$cur" = -* ]]; then
52 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
57 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dsystemd-id12829 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
47 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
51 if [[ "$cur" = -* ]]; then
52 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
70 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dmachinectl33 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
89 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
93 if [[ "$cur" = -* ]]; then
94 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
108 comps=$(compgen -f -- "cur")
112 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dnetworkctl33 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
63 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
67 if [[ "$cur" = -* ]]; then
68 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
80 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dhostnamectl36 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
57 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
61 if [[ $cur = -* ]]; then
62 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
88 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dloginctl39 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
71 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
75 if [[ "$cur" = -* ]]; then
76 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
115 comps=$(compgen -A file -- "$cur" )
120 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dtimedatectl41 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
55 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
59 if [[ $cur = -* ]]; then
60 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
91 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Doomctl28 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
31 if [[ "$cur" = -* ]]; then
32 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
53 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
Dsystemd-resolve35 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
70 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
74 if [[ "$cur" = -* ]] || [[ -z ${comps-} ]]; then
75 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
Dsystemd-cat28 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
50 COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
54 COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
/systemd-251/src/libsystemd-network/
Dsd-radv.c591 LIST_FOREACH(prefix, cur, ra->prefixes) { in sd_radv_add_prefix()
594 (const union in_addr_union*) &cur->opt.in6_addr, in sd_radv_add_prefix()
595 cur->opt.prefixlen, in sd_radv_add_prefix()
603 if (cur->opt.prefixlen == p->opt.prefixlen) { in sd_radv_add_prefix()
604 found = cur; in sd_radv_add_prefix()
609 (void) in6_addr_prefix_to_string(&cur->opt.in6_addr, cur->opt.prefixlen, &addr_cur); in sd_radv_add_prefix()
668 LIST_FOREACH(prefix, cur, ra->prefixes) { in sd_radv_remove_prefix()
669 if (prefixlen != cur->opt.prefixlen) in sd_radv_remove_prefix()
672 if (!in6_addr_equal(prefix, &cur->opt.in6_addr)) in sd_radv_remove_prefix()
675 LIST_REMOVE(prefix, ra->prefixes, cur); in sd_radv_remove_prefix()
[all …]
/systemd-251/src/fsck/
Dfsck.c140 static double percent(int pass, unsigned long cur, unsigned long max) { in percent() argument
155 (double) cur / (double) max; in percent()
176 unsigned long cur, max; in process_progress() local
181 if (fscanf(f, "%i %lu %lu %ms", &pass, &cur, &max, &device) != 4) { in process_progress()
208 p = percent(pass, cur, max); in process_progress()

12