Home
last modified time | relevance | path

Searched refs:current_dir (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_mtree.c110 struct archive_string current_dir; member
312 archive_string_free(&mtree->current_dir); in cleanup()
1145 if (archive_strlen(&mtree->current_dir) > 0) { in read_header()
1147 p = mtree->current_dir.s in read_header()
1148 + mtree->current_dir.length - 1; in read_header()
1149 while (p >= mtree->current_dir.s && *p != '/') in read_header()
1151 if (p >= mtree->current_dir.s) in read_header()
1153 mtree->current_dir.length in read_header()
1154 = p - mtree->current_dir.s + 1; in read_header()
1223 size_t n = archive_strlen(&mtree->current_dir); in parse_file()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp919 SmallString<128> current_dir; in make_absolute() local
920 current_directory.toVector(current_dir); in make_absolute()
925 path::append(current_dir, p); in make_absolute()
927 path.swap(current_dir); in make_absolute()
932 StringRef cdrn = path::root_name(current_dir); in make_absolute()
942 StringRef bRootDirectory = path::root_directory(current_dir); in make_absolute()
943 StringRef bRelativePath = path::relative_path(current_dir); in make_absolute()
960 SmallString<128> current_dir; in make_absolute() local
961 if (std::error_code ec = current_path(current_dir)) in make_absolute()
964 make_absolute(current_dir, path); in make_absolute()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_dnup.c113 dnup_switch_dir_t next_dir, current_dir; in dnup_bfs_by_node() local
136 current_dir = u->dir; in dnup_bfs_by_node()
167 if ((current_dir == UP) && (next_dir == DOWN)) { in dnup_bfs_by_node()
H A Dosm_ucast_updn.c118 updn_switch_dir_t next_dir, current_dir; in updn_bfs_by_node() local
141 current_dir = u->dir; in updn_bfs_by_node()
166 if ((current_dir == DOWN) && (next_dir == UP)) { in updn_bfs_by_node()