/netbsd-current/sbin/mount_portal/examples/ |
H A D | sysctlfs.sh.sh | 3 ## Fast hack at a sysctl filesystem. The path can be either in 6 for path in $*; do 8 path=`echo $path | tr '/' '.'` 14 sysctl $path | sed -e "s/$path//;s/^\.//;s/^ = //"
|
/netbsd-current/external/bsd/pdisk/dist/ |
H A D | pathname.c | 76 open_pathname_as_media(char *path, int oflag) argument 83 if (strncmp("/dev/", path, 5) == 0) { 84 if (strncmp("/dev/scsi", path, 9) == 0) { 85 if (path[9] >= '0' && path[9] <= '7' && path[10] == 0) { 87 id = path[9] - '0'; 89 } else if (path[9] >= '0' && path[9] <= '7' && path[1 146 get_linux_name(char *path) argument [all...] |
/netbsd-current/usr.sbin/sysinst/arch/amd64/ |
H A D | md.c | 7 void amd64_md_boot_cfg_finalize(const char *path); 10 amd64_md_boot_cfg_finalize(const char *path) argument 19 "< %s > %s.1", path, path); 20 snprintf(buf, sizeof buf, "%s.1", path); 21 mv_within_target_or_die(buf, path);
|
/netbsd-current/external/bsd/kyua-cli/dist/utils/fs/ |
H A D | path.hpp | 29 /// \file utils/fs/path.hpp 30 /// Provides the utils::fs::path class. 32 /// This is a poor man's reimplementation of the path class provided by 46 /// Representation and manipulation of a file system path. 48 /// Application code should always use this class to represent a path instead of 53 class path { class in namespace:utils::fs 54 /// Internal representation of the path. 58 explicit path(const std::string&); 63 path branch_path(void) const; 65 path to_absolut [all...] |
H A D | operations.hpp | 46 class path; 49 path current_path(void); 50 bool exists(const fs::path&); 51 utils::optional< path > find_in_path(const char*); 52 void mkdir(const path&, const int); 53 void mkdir_p(const path&, const int); 54 fs::path mkdtemp(const std::string&); 55 fs::path mkstemp(const std::string&); 56 void rm_r(const path&); 57 void rmdir(const path [all...] |
H A D | path_test.cpp | 29 #include "utils/fs/path.hpp" 43 using utils::fs::path; 59 ATF_REQUIRE_EQ(".", path(".").str()); 60 ATF_REQUIRE_EQ("..", path("..").str()); 61 ATF_REQUIRE_EQ("/", path("/").str()); 62 ATF_REQUIRE_EQ("/", path("///").str()); 64 ATF_REQUIRE_EQ("foo", path("foo").str()); 65 ATF_REQUIRE_EQ("foo/bar", path("foo/bar").str()); 66 ATF_REQUIRE_EQ("foo/bar", path("foo/bar/").str()); 68 ATF_REQUIRE_EQ("/foo", path("/fo [all...] |
/netbsd-current/lib/libc/stdio/ |
H A D | mktemp.c | 45 _mktemp(char *path) argument 48 _DIAGASSERT(path != NULL); 50 return GETTEMP(path, NULL, 0, 0, 0) ? path : NULL; 57 mktemp(char *path) argument 60 _DIAGASSERT(path != NULL); 62 return GETTEMP(path, NULL, 0, 0, 0) ? path : NULL;
|
H A D | mkdtemp.c | 46 mkdtemp(char *path) argument 48 _DIAGASSERT(path != NULL); 50 return GETTEMP(path, NULL, 1, 0, 0) ? path : NULL;
|
H A D | mkostemp.c | 31 mkostemp(char *path, int oflags) argument 35 return GETTEMP(path, &fd, 0, 0, oflags) ? fd : -1;
|
H A D | mkstemps.c | 31 mkstemps(char *path, int slen) argument 35 return GETTEMP(path, &fd, 0, slen, 0) ? fd : -1;
|
/netbsd-current/sys/external/bsd/acpica/dist/generate/lint/ |
H A D | lset.bat | 1 set path=%PATH%;$G variable
|
/netbsd-current/external/gpl2/lvm2/dist/scripts/ |
H A D | last_cvs_update.sh | 19 ## it was updated. May be given a relative or absolute path. 30 ## $path/$file 37 then path=.; 40 then echo "usage: $0 [ -h | path ]" 44 then path=$1; 46 echo "usage: $0 [ -h | path ]" 52 # grab the tag from the path passed in 53 if [[ -f $path/CVS/Tag ]]; 54 then echo "Tag: " `cat $path/CVS/Tag | sed -e 's/^[NT]//'` 62 # find the path fo [all...] |
/netbsd-current/usr.bin/make/unit-tests/ |
H A D | varmod-path.exp | 1 varmod-path.subdir/varmod-path.phony 2 varmod-path.subdir/varmod-path.real 3 varmod-path.enoent
|
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/profile/ |
H A D | InstrProfilingUtil.c | 23 void __llvm_profile_recursive_mkdir(char *path) { argument 26 for (i = 1; path[i] != '\0'; ++i) { 27 if (path[i] != '/') continue; 28 path[i] = '\0'; 30 _mkdir(path); 32 mkdir(path, 0755); /* Some of these will fail, ignore it. */ 34 path[i] = '/';
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/bits/ |
H A D | fs_ops.h | 54 path absolute(const path& __p, const path& __base = current_path()); 56 path canonical(const path& __p, const path& __base = current_path()); 57 path canonical(const path& __p, error_code& __ec); 58 path canonical(const path [all...] |
/netbsd-current/external/bsd/atf/dist/atf-c++/detail/ |
H A D | fs.hpp | 57 // The "path" class. 61 //! \brief A class to represent a path to a file. 63 //! The path class represents the route to a file or directory in the 68 //! It is important to note that the file pointed to by a path need not 71 class path { class in namespace:atf::fs 73 //! \brief Internal representation of a path. 78 //! \brief Constructs a new path from a user-provided string. 81 //! code or by the user and constructs a new path object. The string 87 explicit path(const std::string&); 92 path(cons [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/tools/scan-build-py/bin/ |
H A D | analyze-c++ | 8 import os.path namespace 9 this_dir = os.path.dirname(os.path.realpath(__file__)) 10 sys.path.append(os.path.dirname(this_dir))
|
H A D | analyze-cc | 8 import os.path namespace 9 this_dir = os.path.dirname(os.path.realpath(__file__)) 10 sys.path.append(os.path.dirname(this_dir))
|
H A D | intercept-c++ | 8 import os.path namespace 9 this_dir = os.path.dirname(os.path.realpath(__file__)) 10 sys.path.append(os.path.dirname(this_dir))
|
H A D | intercept-cc | 8 import os.path namespace 9 this_dir = os.path.dirname(os.path.realpath(__file__)) 10 sys.path.append(os.path.dirname(this_dir))
|
H A D | intercept-build | 9 import os.path namespace 10 this_dir = os.path.dirname(os.path.realpath(__file__)) 11 sys.path.append(os.path.dirname(this_dir))
|
H A D | analyze-build | 9 import os.path namespace 10 this_dir = os.path.dirname(os.path.realpath(__file__)) 11 sys.path.append(os.path.dirname(this_dir))
|
H A D | scan-build | 9 import os.path namespace 10 this_dir = os.path.dirname(os.path.realpath(__file__)) 11 sys.path.append(os.path.dirname(this_dir))
|
/netbsd-current/external/bsd/atf/dist/tools/ |
H A D | fs.hpp | 49 // The "path" class. 53 //! \brief A class to represent a path to a file. 55 //! The path class represents the route to a file or directory in the 60 //! It is important to note that the file pointed to by a path need not 63 class path { class in namespace:tools::fs 65 //! \brief Internal representation of a path. 70 //! \brief Constructs a new path from a user-provided string. 73 //! code or by the user and constructs a new path object. The string 79 explicit path(const std::string&); 82 //! \brief Destructor for the path clas [all...] |
/netbsd-current/usr.sbin/cpuctl/arch/ |
H A D | sparc.c | 49 char path[128]; local 60 snprintf(path, sizeof path, "hw.%s.cacheinfo", cpuname); 62 if (sysctlbyname(path, &cacheinfo, &len, 0, 0) == -1) 63 err(1, "couldn't get %s", path); 65 snprintf(path, sizeof path, "hw.%s.mid", cpuname); 67 if (sysctlbyname(path, &mid, &len, 0, 0) == -1) 68 err(1, "couldn't get %s", path); 70 snprintf(path, sizeo [all...] |