Home | History | Annotate | Download | only in utoppya

Lines Matching defs:ud

143 	struct utoppy_dirent ud;
157 udp = &ud;
170 while (read(toppy_fd, &ud, sizeof(ud)) > 0)
191 struct utoppy_dirent ud;
209 while ((l = read(toppy_fd, &ud, sizeof(ud))) == sizeof(ud)) {
210 switch (ud.ud_type) {
224 if ((ext = strrchr(ud.ud_path, '.')) != NULL &&
230 tm = localtime(&ud.ud_mtime);
233 printf("%crw%c %11lld %s %s\n", ft, ex, (long long)ud.ud_size,
234 tmbuf, ud.ud_path);
275 struct utoppy_dirent ud;
301 if (find_toppy_dirent(oldpath, &ud) == 0)
304 if (ud.ud_type != UTOPPY_DIRENT_FILE)
307 if (find_toppy_dirent(newpath, &ud))
341 struct utoppy_dirent ud;
417 if (find_toppy_dirent(ur.ur_path, &ud) == 0)
418 ud.ud_size = 0;
419 init_progress(to, dst, ud.ud_size, ur.ur_offset);
466 struct utoppy_dirent ud;
515 if (find_toppy_dirent(uw.uw_path, &ud)) {
516 if (ud.ud_type == UTOPPY_DIRENT_DIRECTORY) {
521 if (ud.ud_type != UTOPPY_DIRENT_FILE)
526 if (ud.ud_size > uw.uw_size)
530 uw.uw_size -= ud.ud_size;
531 uw.uw_offset = ud.ud_size;