Searched refs:path (Results 1 - 25 of 4335) sorted by relevance

1234567891011>>

/macosx-10.9.5/BerkeleyDB-21/db/os_windows/
H A Dos_abs.c15 * Return if a path is an absolute path.
18 __os_abspath(path)
19 const char *path;
23 * Check for drive specifications, e.g., "C:". In addition, the path
27 if (isalpha(path[0]) && path[1] == ':')
28 path += 2;
29 return (path[0] == '/' || path[
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/os_brew/
H A Dos_abs.c15 * Return if a path is an absolute path.
18 __os_abspath(path)
19 const char *path;
21 return (path[0] == 'f' && path[1] == 's' && path[2] == ':');
/macosx-10.9.5/BerkeleyDB-21/db/os/
H A Dos_abs.c15 * Return if a path is an absolute path.
20 __os_abspath(path)
21 const char *path;
23 return (path[0] == '/');
/macosx-10.9.5/man-16/man/src/
H A Dman-iconv.h1 extern const char *get_converter (const char *path);
/macosx-10.9.5/rsync-42/rsync/support/
H A Dfiles-to-excludes12 my $path = '/';
14 $path .= $1;
15 print "+ $path\n" unless $hash{$path}++;
18 print "+ $path$1\n";
20 delete $hash{$path};
/macosx-10.9.5/pdisk-9/
H A Dpathname.c75 open_pathname_as_media(char *path, int oflag) argument
82 if (strncmp("/dev/", path, 5) == 0) {
83 if (strncmp("/dev/scsi", path, 9) == 0) {
84 if (path[9] >= '0' && path[9] <= '7' && path[10] == 0) {
86 id = path[9] - '0';
88 } else if (path[9] >= '0' && path[9] <= '7' && path[1
145 get_linux_name(char *path) argument
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/os_vxworks/
H A Dos_vx_abs.c16 * Return if a path is an absolute path.
19 __os_abspath(path)
20 const char *path;
29 if ((dummy = iosDevFind((char *)path, &ptail)) == NULL)
33 * rest and we are an abs path.
35 if (ptail != path)
38 * If the path starts with a '/', then we are an absolute path,
41 return (path[
[all...]
/macosx-10.9.5/CPANInternal-140/URI/URI/file/
H A DMac.pm14 my $path = shift;
17 if ($path =~ s/^(:+)//) {
19 @pre = (".") unless length($path);
27 my $isdir = ($path =~ s/:$//);
28 $path =~ s,([%/;]),$URI::Escape::escapes{$1},g;
30 my @path = split(/:/, $path, -1);
31 for (@path) {
37 push (@path,"") if $isdir;
38 (join("/", @pre, @path),
[all...]
H A DQNX.pm10 my($class, $path) = @_;
11 # tidy path
12 $path =~ s,(.)//+,$1/,g; # ^// is correct
13 $path =~ s,(/\.)+/,/,g;
14 $path = "./$path" if $path =~ m,^[^:/]+:,,; # look like "scheme:"
15 $path;
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/comp/
H A Dgetwd.c32 getwd(char* path) argument
34 if (getcwd(path, PATH_MAX)) return(path);
35 strcpy(path, "getwd: error in . or ..");
H A Dunlink.c33 unlink(const char* path)
35 return(remove(path));
/macosx-10.9.5/dtrace-118.1/test/tst/common/funcs/
H A Dtst.cleanpath.d33 path[i++] = "/foo/bar/baz";
34 path[i++] = "/foo/bar///baz/";
35 path[i++] = "/foo/bar/baz/";
36 path[i++] = "/foo/bar/baz//";
37 path[i++] = "/foo/bar/baz/.";
38 path[i++] = "/foo/bar/baz/./";
39 path[i++] = "/foo/bar/../../baz/.//";
40 path[i++] = "foo/bar/./././././baz/";
41 path[i++] = "/foo/bar/baz/../../../../../../";
42 path[
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/tools/gentest/
H A Dgentest.h12 U_CFUNC int genres32(const char *prog, const char *path);
/macosx-10.9.5/ruby-104/ruby/sample/
H A Dfullpath.rb6 path = ARGV.shift
9 if path == nil
10 path = ""
11 elsif path !~ %r|/$|
12 path += "/"
18 path = line.chop.chop + "/"
21 print($1, path, $2, "\n")
/macosx-10.9.5/curl-78.94.1/curl/src/
H A Dtool_bname.c30 char *tool_basename(char *path) argument
35 s1 = strrchr(path, '/');
36 s2 = strrchr(path, '\\');
39 path = (s1 > s2) ? s1 + 1 : s2 + 1;
42 path = s1 + 1;
44 path = s2 + 1;
46 return path;
/macosx-10.9.5/ruby-104/ruby/test/rake/
H A Dtest_rake_path_map_partial.rb5 @path = "1/2/file"
6 def @path.call(n)
9 assert_equal("1", @path.call(1))
10 assert_equal("1/2", @path.call(2))
11 assert_equal("1/2", @path.call(3))
12 assert_equal(".", @path.call(0))
13 assert_equal("2", @path.call(-1))
14 assert_equal("1/2", @path.call(-2))
15 assert_equal("1/2", @path.call(-3))
/macosx-10.9.5/xnu-2422.115.4/libsyscall/wrappers/
H A Dcarbon_delete.c26 int __delete(const char *path);
29 __carbon_delete(const char *path) argument
31 int res = __delete(path);
H A Drmdir.c25 int __rmdir(const char *path);
28 rmdir(const char *path) argument
30 int res = __rmdir(path);
H A Dunlink.c25 int __unlink(const char *path);
28 unlink(const char *path) argument
30 int res = __unlink(path);
/macosx-10.9.5/CPANInternal-140/URI/URI/
H A Dgopher.pm12 # gopher://<host>[:<port>]/<gopher-path>
16 # <gopher-path> := <gopher-type><selector> |
34 my $path = $self->path_query;
35 $path =~ s,^/,,;
36 my $gtype = $1 if $path =~ s/^(.)//s;
42 substr($path, 0, 0) = $new_type;
43 $self->path_query($path);
46 if length($path);
71 my $path = $self->path_query;
75 $path
[all...]
/macosx-10.9.5/WebKit-7537.78.2/efl/ewk/
H A Dewk_settings_private.h26 void ewk_settings_file_system_path_set(const char *path);
/macosx-10.9.5/lukemftp-13.92.1/tnftp/libnetbsd/
H A Ddirname.c43 dirname(path)
44 char *path;
52 * If `path' is a null pointer or points to an empty string,
55 if ((path == NULL) || (*path == '\0'))
59 lastp = path + strlen(path) - 1;
60 while (lastp != path && *lastp == '/')
63 /* Terminate path at the last occurence of '/'. */
67 while (lastp != path
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/stdio/
H A Dfopen.c27 fopen(const char* path, const char* mode) argument
29 return sfopen(NiL, path, mode);
/macosx-10.9.5/llvmCore-3425.0.33/bindings/python/llvm/tests/
H A Dbase.py1 import os.path
26 path = os.path.join(d, lib)
28 if os.path.exists(path):
29 return path
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/path/
H A Dpathrepl.c27 * in place replace of first occurrence of /match/ with /replace/ in path
28 * end of path returned
36 pathrepl(char* path, const char* match, const char* replace) argument
38 return pathrepl_20100601(path, PATH_MAX, match, replace);
46 pathrepl_20100601(register char* path, size_t size, const char* match, register const char* replace) argument
57 return(path + strlen(path));
59 size = strlen(path) + 1;
62 while (*path && *path
[all...]

Completed in 528 milliseconds

1234567891011>>