Lines Matching defs:srcdir
402 srcdir_strip_libtool(atf_fs_path_t *srcdir)
407 err = atf_fs_path_branch_path(srcdir, &parent);
411 atf_fs_path_fini(srcdir);
412 *srcdir = parent;
425 atf_fs_path_t exe, srcdir;
428 err = atf_fs_path_copy(&srcdir, &p->m_srcdir);
432 if (!atf_fs_path_is_absolute(&srcdir)) {
435 err = atf_fs_path_to_absolute(&srcdir, &srcdirabs);
439 atf_fs_path_fini(&srcdir);
440 srcdir = srcdirabs;
443 err = atf_fs_path_leaf_name(&srcdir, &leafname);
451 err = srcdir_strip_libtool(&srcdir);
457 err = atf_fs_path_copy(&exe, &srcdir);
468 err = atf_map_insert(&p->m_config, "srcdir",
469 strdup(atf_fs_path_cstring(&srcdir)), true);
472 "directory `%s'", atf_fs_path_cstring(&srcdir));
479 atf_fs_path_fini(&srcdir);