Searched refs:dirlen (Results 1 – 3 of 3) sorted by relevance
409 idx_t dirlen = dir_len (const_dir); in make_dir_parents_private() local415 if (dirlen <= src_offset) in make_dir_parents_private()422 dst_dir = alloca (dirlen + 1); in make_dir_parents_private()423 memcpy (dst_dir, dir, dirlen); in make_dir_parents_private()424 dst_dir[dirlen] = '\0'; in make_dir_parents_private()
1501 size_t dirlen = dir_len (f[i].name); in tail_forever_inotify() local1502 char prev = f[i].name[dirlen]; in tail_forever_inotify()1505 f[i].name[dirlen] = '\0'; in tail_forever_inotify()1509 f[i].parent_wd = inotify_add_watch (wd, dirlen ? f[i].name : ".", in tail_forever_inotify()1514 f[i].name[dirlen] = prev; in tail_forever_inotify()
2560 idx_t dirlen = dst_relname - dst_name; in copy_internal() local2562 dst_backup = alloca (dirlen + backupsize); in copy_internal()2563 memcpy (mempcpy (dst_backup, dst_name, dirlen), in copy_internal()