Searched refs:tw_cmd_state (Results 1 – 1 of 1) sorted by relevance
76 } tw_cmd_state; variable373 tw_cmd_state.cur = 0; in tw_cmd_start()374 CLRDIR(tw_cmd_state.dfd) in tw_cmd_start()378 tw_cmd_state.pathv = vp->vec; in tw_cmd_start()380 tw_cmd_state.pathv = defpath; in tw_cmd_start()383 tw_cmd_state.pathv = defpath; in tw_cmd_start()397 if (tw_cmd_state.cur < tw_cmd.nlist) { in tw_cmd_next()399 Strbuf_append(res, tw_cmd.list[tw_cmd_state.cur++]); in tw_cmd_next()406 while ((tw_cmd_state.dfd == NULL || in tw_cmd_next()407 (res->len = 0, ret = tw_dir_next(res, tw_cmd_state.dfd)) == 0) && in tw_cmd_next()[all …]