Searched refs:path (Results 26 - 50 of 3419) sorted by relevance

1234567891011>>

/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dbasename.c11 /* char *basename(path)
12 /* const char *path;
40 char *basename(const char *path) argument
44 if ((result = strrchr(path, '/')) == 0)
45 result = (char *) path;
/netbsd-current/external/bsd/unbound/dist/libunbound/python/doc/
H A Dconf.py16 # is relative to the documentation root, use os.path.abspath to make it
18 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../')))
19 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../../../')))
20 sys.path
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/bindings/python/llvm/tests/
H A Dbase.py1 import os.path namespace
31 path = os.path.join(d, lib)
33 if os.path.exists(path):
34 return path
40 return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_file")
43 return os.path
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/recipes/
H A D80-test_x509aux.t17 my @path = qw(test certs);
25 srctop_file(@path, "roots.pem"),
26 srctop_file(@path, "root+anyEKU.pem"),
27 srctop_file(@path, "root-anyEKU.pem"),
28 srctop_file(@path, "root-cert.pem"),
29 srctop_file(@path, "invalid-cert.pem"),
H A D15-test_out_option.t33 my $path = File::Spec->canonpath('./');
34 ok(!run(app([ 'openssl', 'rand', '-out', $path, '1'])),
35 "invalid output path: $path");
40 my $path = File::Spec->canonpath('randomname.bin');
41 ok(run(app([ 'openssl', 'rand', '-out', $path, '1'])),
42 "valid output path: $path");
55 my $path = File::Spec->canonpath($rand_path);
56 ok(!run(app([ 'openssl', 'rand', '-out', $path, '
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/test/recipes/
H A D80-test_x509aux.t17 my @path = qw(test certs);
25 srctop_file(@path, "roots.pem"),
26 srctop_file(@path, "root+anyEKU.pem"),
27 srctop_file(@path, "root-anyEKU.pem"),
28 srctop_file(@path, "root-cert.pem"),
29 srctop_file(@path, "invalid-cert.pem"),
H A D15-test_out_option.t33 my $path = File::Spec->canonpath('./');
34 ok(!run(app([ 'openssl', 'rand', '-out', $path, '1'])),
35 "invalid output path: $path");
40 my $path = File::Spec->canonpath('randomname.bin');
41 ok(run(app([ 'openssl', 'rand', '-out', $path, '1'])),
42 "valid output path: $path");
55 my $path = File::Spec->canonpath($rand_path);
56 ok(!run(app([ 'openssl', 'rand', '-out', $path, '
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dfs_ops.h47 path absolute(const path& __p);
48 path absolute(const path& __p, error_code& __ec);
50 path canonical(const path& __p);
51 path canonical(const path& __p, error_code& __ec);
54 copy(const path& __from, const path
[all...]
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dfs_ops.h48 path absolute(const path& __p);
51 path absolute(const path& __p, error_code& __ec);
54 path canonical(const path& __p);
57 path canonical(const path& __p, error_code& __ec);
60 copy(const path& __from, const path
[all...]
/netbsd-current/external/bsd/kyua-cli/dist/engine/
H A Dkyuafile.hpp41 #include "utils/fs/path.hpp"
52 /// Test suites have two path references: one to the "source root" and another
56 /// containing the generated test programs and is prepended to the absolute path
66 utils::fs::path _source_root;
69 utils::fs::path _build_root;
75 explicit kyuafile(const utils::fs::path&, const utils::fs::path&,
79 static kyuafile load(const utils::fs::path&,
80 const utils::optional< utils::fs::path >);
82 const utils::fs::path
[all...]
/netbsd-current/lib/libc/stdio/
H A Dmkostemps.c31 mkostemps(char *path, int slen, int oflags) argument
35 return GETTEMP(path, &fd, 0, slen, oflags) ? fd : -1;
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dlstat.c41 lstat(const char *path, struct stat *buf) argument
43 return stat(path, buf);
/netbsd-current/external/gpl2/lvm2/dist/lib/misc/
H A Dsharedlib.c29 char *path, size_t path_len)
38 (dm_snprintf(path, path_len, "%s/%s", lib_dir,
39 libname) == -1) || stat(path, &info) == -1)
40 strncpy(path, libname, path_len);
46 char path[PATH_MAX]; local
55 get_shared_library_path(cmd, libname, path, sizeof(path));
57 log_very_verbose("Opening shared %s library %s", desc, path);
59 if (!(library = dlopen(path, RTLD_LAZY | RTLD_GLOBAL))) {
62 desc, path, dlerro
28 get_shared_library_path(struct cmd_context *cmd, const char *libname, char *path, size_t path_len) argument
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dinfcall-exec.c31 char path[PATH_MAX]; local
32 strcpy (path, argv[0]);
33 int len = strlen (path);
35 /* Make a path name out of an exec name. */
39 char c = path[i];
42 path[i] = '\0';
54 memmove (path + prefix_len, path, len);
55 path[prefix_len + len] = '\0';
56 memcpy (path, prefi
[all...]
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/
H A Dfs_ops.h55 path absolute(const path& __p, const path& __base = current_path());
58 path canonical(const path& __p, const path& __base = current_path());
61 path canonical(const path& __p, error_code& __ec);
64 path canonical(const path
[all...]
/netbsd-current/external/bsd/atf/dist/atf-c++/detail/
H A Dfs_test.cpp66 // Test cases for the "path" class.
72 set_md_var("descr", "Tests the path's normalization");
76 using atf::fs::path;
78 ATF_REQUIRE_EQ(path(".").str(), ".");
79 ATF_REQUIRE_EQ(path("..").str(), "..");
81 ATF_REQUIRE_EQ(path("foo").str(), "foo");
82 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar");
83 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar");
85 ATF_REQUIRE_EQ(path("/foo").str(), "/foo");
86 ATF_REQUIRE_EQ(path("/fo
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Dmail_run.c82 char *path; local
87 #define RETURN(x) { myfree(path); return(x); }
89 path = concatenate(dir, "/", argv[0], (char *) 0);
94 msg_warn("fork %s: %m", path);
99 execv(path, argv);
100 msg_fatal("execv %s: %m", path);
118 char *path; local
121 #define RETURN(x) { myfree(path); return(x); }
123 path = concatenate(dir, "/", argv[0], (char *) 0);
128 msg_warn("fork %s: %m", path);
147 char *path; local
[all...]
/netbsd-current/external/gpl2/groff/dist/src/include/
H A Drelocate.h28 char *relocatep (const char *path);
29 char *relocate (const char *path);
/netbsd-current/external/bsd/tmux/dist/compat/
H A Dgetdtablecount.c31 char path[PATH_MAX]; local
35 if (snprintf(path, sizeof path, "/proc/%ld/fd/*", (long)getpid()) < 0)
37 if (glob(path, 0, NULL, &g) == 0)
/netbsd-current/lib/libc/gen/
H A Ddirname.c48 xdirname_r(const char *path, char *buf, size_t buflen) argument
54 * If `path' is a null pointer or points to an empty string,
57 if (path == NULL || *path == '\0') {
58 path = ".";
64 endp = path + strlen(path) - 1;
65 while (endp != path && *endp == '/')
69 while (endp > path && *endp != '/')
72 if (endp == path) {
95 dirname(char *path) argument
[all...]
H A Dutimens.c43 utimens(const char *path, const struct timespec times[2]) argument
45 return utimensat(AT_FDCWD, path, times, 0);
49 lutimens(const char *path, const struct timespec times[2]) argument
51 return utimensat(AT_FDCWD, path, times, AT_SYMLINK_NOFOLLOW);
/netbsd-current/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/py-config-discovery/
H A Dlit.site.cfg.py3 config.test_exec_root = os.path.dirname(__file__)
4 config.test_source_root = os.path.join(os.path.dirname(config.test_exec_root), "discovery")
5 lit_config.load_config(config, os.path.join(config.test_source_root, "lit.cfg"))
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dprefix.h33 extern char *update_path (const char *path, const char *key);
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dprefix.h33 extern char *update_path (const char *path, const char *key);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc132 const char *path = (const char *)path_;
133 if (path) {
134 PRE_READ(path, __sanitizer::internal_strlen(path) + 1);
140 const char *path = (const char *)path_;
141 if (path) {
142 POST_READ(path, __sanitizer::internal_strlen(path) + 1);
162 const char *path = (const char *)path_;
164 if (path) {
[all...]

Completed in 333 milliseconds

1234567891011>>