Searched refs:path (Results 101 - 125 of 1464) sorted by relevance

1234567891011>>

/freebsd-9.3-release/gnu/usr.bin/gdb/kgdb/
H A Dmain.c94 char path[PATH_MAX]; local
106 snprintf(path, sizeof(path), "%s/kernel.%d", crashdir, nr);
107 if (stat(path, &st) == 0) {
109 kernel = strdup(path);
113 snprintf(path, sizeof(path), "%s/kernel.%d/kernel",
115 if (stat(path, &st) == 0 && S_ISREG(st.st_mode)) {
116 kernel = strdup(path);
129 snprintf(path, sizeo
273 char path[PATH_MAX]; local
301 char path[PATH_MAX]; local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DIntervalMap.cpp20 assert(!path.empty() && "Can't replace missing root");
21 path.front() = Entry(Root, Size, Offsets.first);
22 path.insert(path.begin() + 1, Entry(subtree(0), Offsets.second));
32 while (l && path[l].offset == 0)
36 if (path[l].offset == 0)
40 NodeRef NR = path[l].subtree(path[l].offset - 1);
55 while (path[l].offset == 0) {
60 // end() may have created a height=0 path
[all...]
/freebsd-9.3-release/contrib/ofed/management/libibmad/src/
H A Dportid.c83 n += sprintf(buf + n, "DR path ");
90 str2drpath(ib_dr_path_t *path, char *routepath, int drslid, int drdlid) argument
94 path->cnt = -1;
100 path->p[++path->cnt] = atoi(str);
106 path->drdlid = drdlid ? drdlid : 0xffff;
107 path->drslid = drslid ? drslid : 0xffff;
109 return path->cnt;
113 drpath2str(ib_dr_path_t *path, char *dstr, size_t dstr_size) argument
117 path
[all...]
/freebsd-9.3-release/gnu/usr.bin/grep/
H A Dsavedir.c75 char *path; variable
87 path = calloc (dirlen + 1 + filelen + 1, sizeof (*path));
90 strcpy (path, dir);
91 slash = (path[dirlen] != '/');
92 path[dirlen] = '/';
93 strcpy (path + dirlen + slash , file);
94 status = isdir (path);
143 && !excluded_filename (included_patterns, path, 0))
146 && excluded_filename (excluded_patterns, path,
[all...]
/freebsd-9.3-release/sys/cam/
H A Dcam_debug.h85 #define CAM_DEBUGGED(path, flag) \
88 && (xpt_path_comp(cam_dpath, path) >= 0) \
89 && (xpt_path_comp(cam_dpath, path) < 2))
91 #define CAM_DEBUG(path, flag, printfargs) \
94 && (xpt_path_comp(cam_dpath, path) >= 0) \
95 && (xpt_path_comp(cam_dpath, path) < 2)) { \
96 xpt_print_path(path); \
121 #define CAM_DEBUG_PATH_PRINT(flag, path, printfargs) \
123 xpt_print(path, "cam_debug: "); \
/freebsd-9.3-release/tools/regression/ufs/uprintf/
H A Dufs_uprintf.c42 * accepts a pointer to a path -- ideally, a very small UFS partition -- and
131 char path[PATH_MAX]; local
139 snprintf(path, PATH_MAX, "%d", i);
140 fd = open(path, O_CREAT | O_TRUNC | O_RDWR, 0600);
148 warn("fill_inodes: open(%s)", path);
153 fd = open(path, O_CREAT | O_TRUNC | O_RDWR, 0600);
155 warn("fill_inodes: open(%s) after ENOSPC", path);
160 " %d", path, fd);
168 snprintf(path, PATH_MAX, "%d", i);
169 (void)unlink(path);
[all...]
/freebsd-9.3-release/contrib/amd/conf/checkmount/
H A Dcheckmount_bsd44.c50 int fixmount_check_mount(char *host, struct in_addr hostaddr, char *path);
53 fixmount_check_mount(char *host, struct in_addr hostaddr, char *path) argument
70 if (STREQ(colon + 1, path) &&
/freebsd-9.3-release/contrib/bmake/mk/
H A Dmeta2deps.sh20 # # Meta data file "path"
28 # E "pid" "path"
29 # R "pid" "path"
31 # R "pid" "path"
40 # be prefixed to any "path" which is not absolute.
42 # If the "path" being read ends in '.srcrel' it is the content
46 # Any "path" which lies outside of the sandbox "SB" is generally
70 # DPDEPS_$path += $RELDIR
73 # with "$path" geting turned into reldir's, so that we can end
217 while read op pid path jun
[all...]
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dsmpdump.c80 char path[64]; member in struct:__anon3921
106 drsmp_get_init(void *umad, DRPath *path, int attr, int mod) argument
125 if (path)
126 memcpy(smp->initial_path, path->path, path->hop_cnt+1);
128 smp->hop_cnt = path->hop_cnt;
151 drsmp_set_init(void *umad, DRPath *path, int attr, int mod, void *data) argument
166 if (path)
167 memcpy(smp->initial_path, path
188 str2DRPath(char *str, DRPath *path) argument
238 DRPath path; local
[all...]
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dfstatat.h42 fstatat(int fd, const char *path, struct stat *buf, int flag) argument
58 ret = lstat(path, buf);
60 ret = stat(path, buf);
H A Dunlinkat.h41 unlinkat(int fd, const char *path, int flag) argument
57 ret = rmdir(path);
59 ret = unlink(path);
/freebsd-9.3-release/contrib/texinfo/makeinfo/
H A Dfiles.h40 extern char *get_file_info_in_path (char *filename, char *path,
48 extern void append_to_include_path (char *path);
49 extern void prepend_to_include_path (char *path);
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_open.c43 int __open(const char *path, int flags,...);
48 __open(const char *path, int flags,...) argument
65 ret = __sys_open(path, flags, mode);
/freebsd-9.3-release/sbin/mksnap_ffs/
H A Dmksnap_ffs.c64 char errmsg[255], path[PATH_MAX]; local
91 strlcpy(path, ".", PATH_MAX);
93 strlcpy(path, "/", PATH_MAX);
95 strlcpy(path, snapname, cp - snapname + 1);
97 if (statfs(path, &stfsbuf) < 0)
98 err(1, "%s", path);
99 if (stat(path, &stbuf) < 0)
100 err(1, "%s", path);
102 errx(1, "%s: Not a directory", path);
103 if (access(path, W_O
[all...]
/freebsd-9.3-release/tools/regression/usr.bin/make/shell/path_select/
H A DMakefile2 # Change the path for builtin shells. There are two methods to do this.
3 # This is the second of them when both a path and a name are specified.
5 # from the specified path.
15 .SHELL: name=sh path=${.CURDIR}/shell
21 .SHELL: name=csh path=${.CURDIR}/shell
27 .SHELL: name=ksh path=${.CURDIR}/shell
/freebsd-9.3-release/usr.sbin/ngctl/
H A Dmkpeer.c50 "mkpeer [path] <type> <hook> <peerhook>",
51 "Create and connect a new node to the node at \"path\"",
53 " and connects it to the node at \"path\". The hooks used for the"
56 " If \"path\" is omitted then \".\" is assumed.",
64 const char *path = "."; local
69 path = av[1];
83 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
H A Dname.c51 "name <path> <name>",
52 "Assign name <name> to the node at <path>",
61 char *path; local
66 path = av[1];
74 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
/freebsd-9.3-release/contrib/cvs/src/
H A Dhardlink.c120 char *path; local
126 path = xstrdup (file);
133 path = xmalloc (strlen(dir) + strlen(file) + 2);
134 sprintf (path, "%s/%s", dir, file);
138 n = lookup_file_by_inode (path);
165 char *inodestr, *path; local
177 path = xstrdup (file);
181 path = (char *) xmalloc (strlen(dir) + strlen(file) + 2);
182 sprintf (path, "%s/%s", dir, file);
187 is a node for `path' i
274 char *path; local
[all...]
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dfopen_unlocked.c39 @deftypefn Extension {FILE *} fopen_unlocked (const char *@var{path}, const char * @var{mode})
57 @deftypefn Extension {FILE *} freopen_unlocked (const char * @var{path}, const char * @var{mode}, FILE * @var{stream})
105 fopen_unlocked (const char *path, const char *mode) argument
107 FILE *const fp = fopen (path, mode);
121 freopen_unlocked (const char *path, const char *mode, FILE *stream) argument
123 FILE *const fp = freopen (path, mode, stream);
/freebsd-9.3-release/lib/libc/posix1e/
H A Dmac_get.c53 mac_get_file(const char *path, struct mac *label) argument
56 return (__mac_get_file(path, label));
60 mac_get_link(const char *path, struct mac *label) argument
63 return (__mac_get_link(path, label));
/freebsd-9.3-release/sys/boot/zfs/
H A Ddevicename_stubs.c35 zfs_parsedev(struct zfs_devdesc *dev, const char *devspec, const char **path) argument
/freebsd-9.3-release/sys/sys/
H A Dkernel.h276 const char *path; member in struct:tunable_int
279 #define TUNABLE_INT(path, var) \
281 (path), \
288 #define TUNABLE_INT_FETCH(path, var) getenv_int((path), (var))
295 const char *path; member in struct:tunable_long
298 #define TUNABLE_LONG(path, var) \
300 (path), \
307 #define TUNABLE_LONG_FETCH(path, var) getenv_long((path), (va
314 const char *path; member in struct:tunable_ulong
333 const char *path; member in struct:tunable_quad
349 const char *path; member in struct:tunable_str
[all...]
/freebsd-9.3-release/tools/regression/usr.bin/make/shell/replace/
H A DMakefile13 .SHELL: name="shell" path="${.CURDIR}/shell" \
/freebsd-9.3-release/crypto/openssl/crypto/x509/
H A Dx509_d2.c86 const char *path)
97 if (path != NULL) {
101 if (X509_LOOKUP_add_dir(lookup, path, X509_FILETYPE_PEM) != 1)
104 if ((path == NULL) && (file == NULL))
85 X509_STORE_load_locations(X509_STORE *ctx, const char *file, const char *path) argument
/freebsd-9.3-release/crypto/openssl/crypto/rand/
H A Drand_egd.c66 * RAND_query_egd_bytes(path, buf, bytes)
68 * at path and will write them to buf (if supplied) or will directly feed
82 * RAND_egd_bytes(path, bytes) will query "bytes" bytes and have them
93 * RAND_egd(path) will query 255 bytes and use the bytes retreived to seed
99 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) argument
104 int RAND_egd(const char *path) argument
109 int RAND_egd_bytes(const char *path, int bytes) argument
127 char sun_path[108]; /* path name (gag) */
137 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) argument
148 if (strlen(path) >
273 RAND_egd_bytes(const char *path, int bytes) argument
286 RAND_egd(const char *path) argument
[all...]

Completed in 211 milliseconds

1234567891011>>