Lines Matching refs:srcdir
404 srcdir_strip_libtool(atf_fs_path_t *srcdir)
409 err = atf_fs_path_branch_path(srcdir, &parent);
413 atf_fs_path_fini(srcdir);
414 *srcdir = parent;
427 atf_fs_path_t exe, srcdir;
430 err = atf_fs_path_copy(&srcdir, &p->m_srcdir);
434 if (!atf_fs_path_is_absolute(&srcdir)) {
437 err = atf_fs_path_to_absolute(&srcdir, &srcdirabs);
441 atf_fs_path_fini(&srcdir);
442 srcdir = srcdirabs;
445 err = atf_fs_path_leaf_name(&srcdir, &leafname);
453 err = srcdir_strip_libtool(&srcdir);
459 err = atf_fs_path_copy(&exe, &srcdir);
470 err = atf_map_insert(&p->m_config, "srcdir",
471 strdup(atf_fs_path_cstring(&srcdir)), true);
474 "directory `%s'", atf_fs_path_cstring(&srcdir));
481 atf_fs_path_fini(&srcdir);