Lines Matching refs:i

27     local where i cur serial
32 for ((i=1; i <= COMP_CWORD; i++)); do
56 if [[ $where == COMMAND && $i -ge $COMP_CWORD ]]; then
72 if [[ $i -eq $COMP_CWORD ]]; then
75 i=$((i+1))
78 _adb_cmd_install "$serial" $i
81 _adb_cmd_sideload "$serial" $i
84 _adb_cmd_pull "$serial" $i
87 _adb_cmd_push "$serial" $i
90 if [[ $COMP_CWORD == $i ]]; then
96 _adb_cmd_shell "$serial" $i
99 _adb_cmd_uninstall "$serial" $i
110 local serial i cur where
113 i=$2
116 for ((; i <= COMP_CWORD; i++)); do
139 local serial i cur
142 i=$2
150 local serial IFS=$'\n' i cur
153 i=$2
157 if [[ $COMP_CWORD == $i ]]; then
159 elif [[ $COMP_CWORD == $(($i+1)) ]]; then
168 local serial IFS=$'\n' i cur
171 i=$2
175 if [[ $COMP_CWORD == $i ]]; then
180 elif [[ $COMP_CWORD == $(($i+1)) ]]; then
186 local serial IFS=$'\n' i cur
190 i=$2
197 if [[ $i -eq $COMP_CWORD && ${cur:0:1} != "/" ]]; then
209 i=$((i+1))
212 …_adb_shell_file_command $serial $i "--color -A -C -F -H -L -R -S -Z -a -c -d -f -h -i -k -l -m -n …
215 _adb_shell_file_command $serial $i "-h -e -t -u -v"
218 _adb_cmd_shell_dumpsys "$serial" $i
221 _adb_cmd_shell_am "$serial" $i
224 _adb_cmd_shell_pm "$serial" $i
238 local serial i cur
245 i=$2
251 if (( $i == $COMP_CWORD )) ; then
265 local serial i cur
271 i=$2
273 if (( $i == $COMP_CWORD )) ; then
286 local serial i cur
292 i=$2
294 if (( $i == $COMP_CWORD )) ; then
311 if (( $i + 1 == $COMP_CWORD )) && [[ "${COMP_WORDS[COMP_CWORD -1]}" == "list" ]] ; then
323 local serial i where cur packages
326 i=$2
332 for ((; i <= COMP_CWORD; i++)); do
363 local serial i cur file options
367 i=$2
374 for ((; i <= COMP_CWORD; i++)); do
447 local file xspec i j IFS=$'\n'
474 for i in "${files[@]}"; do
477 if [[ $i == $j ]]; then
482 [[ -n $skip ]] || printf "%s\n" "$i"
487 for i in "${dirs[@]}"; do
488 printf "%s/\n" "$i"