Lines Matching refs:vec
150 char **vec; in main() local
243 vec = xs_read_watch(xs, &num); in main()
244 dodebug("read from xen watch: %s", *vec); in main()
245 if (!vec) { in main()
254 if (strlen(vec[XS_WATCH_PATH]) < sizeof("state")) in main()
258 p = &vec[XS_WATCH_PATH][ in main()
259 strlen(vec[XS_WATCH_PATH]) - sizeof("state")]; in main()
267 snprintf(buf, sizeof(buf), "%s/state", vec[XS_WATCH_PATH]); in main()
277 vec[XS_WATCH_PATH]); in main()
283 if (strncmp(vec[XS_WATCH_PATH], in main()
288 if (strncmp(vec[XS_WATCH_PATH], in main()
297 vec[XS_WATCH_PATH]); in main()
305 doexec(s, vec[XS_WATCH_PATH], sstate); in main()
309 doexec(vbd_script, vec[XS_WATCH_PATH], sstate); in main()
322 free(vec); in main()