Searched refs:path (Results 51 - 75 of 1289) sorted by relevance

1234567891011>>

/haiku-fatelf/src/kits/storage/
H A Dstorage_support.cpp26 /*! \param path the path
27 \return \c true, if \a path is not \c NULL and absolute, \c false otherwise
30 is_absolute_path(const char *path) argument
32 return (path && path[0] == '/');
36 /*! \brief Parses the supplied path and returns the position of the leaf name
37 part of the path and the length of its directory path part.
40 function always returns a non-empty directory path par
186 split_path(const char *fullPath, char *&path, char *&leaf) argument
200 split_path(const char *fullPath, char **path, char **leaf) argument
296 parse_first_path_component(const char *path, int32& length, int32& nextComponent) argument
330 parse_first_path_component(const char *path, char *&component, int32& nextComponent) argument
384 check_path_name(const char *path) argument
[all...]
H A DPath.cpp43 \param path the object to be copied
45 BPath::BPath(const BPath& path) argument
50 *this = path;
80 /*! \brief Creates a BPath object and initializes it to the specified path or
81 path and filename combination.
153 char path[B_PATH_NAME_LENGTH]; local
155 ref->name, path, sizeof(path));
159 fCStatus = _SetPath(path);
160 // the path i
203 SetTo(const char* path, const char* leaf, bool normalize) argument
272 SetTo(const BDirectory* dir, const char* path, bool normalize) argument
316 Append(const char* path, bool normalize) argument
487 operator =(const char* path) argument
667 _SetPath(const char* path) argument
702 _MustNormalize(const char* path, status_t* _error) argument
[all...]
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dpathcanon.c49 _is_cygdrive (path)
50 char *path;
56 /* If the path is the first part of a network path, treat it as
58 if (path[0] == '/' && path[1] == '/' && !strchr (path + 2, '/'))
69 return !strcasecmp (path, user) || !strcasecmp (path, system);
75 _path_isdir (path)
[all...]
/haiku-fatelf/headers/private/fs_shell/
H A DKPath.h18 KPath(const char* path, bool normalize = false,
23 fssh_status_t SetTo(const char *path, bool normalize = false,
28 fssh_status_t SetPath(const char *path, bool normalize = false);
42 KPath& operator=(const char* path);
45 bool operator==(const char* path) const;
47 bool operator!=(const char* path) const;
H A Dfssh_module.h47 extern fssh_status_t fssh_get_module(const char *path,
49 extern fssh_status_t fssh_put_module(const char *path);
/haiku-fatelf/src/bin/
H A Dunmount.c22 printf("usage: %s [-f] <path to volume>\n"
33 const char *path; local
55 path = argv[0];
59 if (path == NULL)
62 if (stat(path, &pathStat) < 0) {
63 fprintf(stderr, "%s: The path \"%s\" is not accessible\n", programName, path);
69 status = fs_unmount_volume(path, flags);
/haiku-fatelf/headers/build/host/darwin/
H A Dunistd.h10 int faccessat(int fd, const char* path, int accessMode, int flag);
11 int fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag);
12 ssize_t readlinkat(int fd, const char *path, char *buffer, size_t bufferSize);
H A Dfcntl.h27 int unlinkat(int fd, const char *path, int flag);
28 int futimesat(int fd, const char *path, const struct timeval times[2]);
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/
H A DPackageSymlink.cpp28 PackageSymlink::SetSymlinkPath(const char* path) argument
30 if (path == NULL)
33 fSymlinkPath = strdup(path);
/haiku-fatelf/headers/private/kernel/platform/openfirmware/
H A Ddevices.h16 char *path, size_t pathSize);
/haiku-fatelf/headers/private/locale/
H A DPlainTextCatalog.h26 PlainTextCatalog(const char *path, const char *signature,
33 status_t ReadFromFile(const char *path = NULL);
34 status_t WriteToFile(const char *path = NULL);
43 void UpdateAttributes(const char* path);
/haiku-fatelf/src/apps/debugger/model/
H A DStackFrameValueInfos.h28 const TypeComponentPath* path,
33 const TypeComponentPath& path,
38 const TypeComponentPath* path) const;
40 const TypeComponentPath& path) const;
42 TypeComponentPath* path, Type* type,
63 StackFrameValueInfos::GetInfo(ObjectID* variable, const TypeComponentPath& path, argument
66 return GetInfo(variable, &path, _type, _location);
71 StackFrameValueInfos::HasInfo(ObjectID* variable, const TypeComponentPath& path)
74 return HasInfo(variable, &path);
H A DStackFrameValues.h28 const TypeComponentPath* path,
31 const TypeComponentPath& path,
34 const TypeComponentPath* path) const;
36 const TypeComponentPath& path) const;
38 TypeComponentPath* path,
59 StackFrameValues::GetValue(ObjectID* variable, const TypeComponentPath& path, argument
62 return GetValue(variable, &path, _value);
67 StackFrameValues::HasValue(ObjectID* variable, const TypeComponentPath& path)
70 return HasValue(variable, &path);
/haiku-fatelf/src/apps/debugger/user_interface/gui/model/
H A DVariablesViewState.cpp53 TypeComponentPath* path; member in struct:VariablesViewState::Key
55 Key(ObjectID* variable, TypeComponentPath* path) argument
58 path(path)
64 return variable->HashValue() ^ path->HashValue();
69 return *variable == *other.variable && *path == *other.path;
80 InfoEntry(ObjectID* variable, TypeComponentPath* path) argument
82 Key(variable, path)
85 path
176 SetNodeInfo(ObjectID* variable, TypeComponentPath* path, const VariablesViewNodeInfo& info) argument
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dsolib-haiku.h27 char path[1024]; member in struct:haiku_image_info
/haiku-fatelf/src/build/libbe/storage/
H A DMime.cpp22 If \a path points to a file, the MIME information for this file are
25 If path is \c NULL all files are considered; \a recursive is ignored in
27 \param path The path to a file or directory, or \c NULL.
39 update_mime_info(const char *path, int recursive, int synchronous, int force) argument
41 if (!path)
45 status_t error = get_ref_for_path(path, &ref);
56 \a path should either point to an application file or should be \c NULL.
59 \param path The path t
71 create_app_meta_mime(const char *path, int recursive, int synchronous, int force) argument
[all...]
/haiku-fatelf/src/build/libroot/
H A Dfs_impl.h12 status_t get_path(int fd, const char *name, std::string &path);
/haiku-fatelf/src/libs/icon/shape/
H A DPathContainer.h28 virtual void PathAdded(VectorPath* path, int32 index) = 0;
29 virtual void PathRemoved(VectorPath* path) = 0;
38 bool AddPath(VectorPath* path);
39 bool AddPath(VectorPath* path, int32 index);
40 bool RemovePath(VectorPath* path);
46 bool HasPath(VectorPath* path) const;
47 int32 IndexOf(VectorPath* path) const;
64 void _NotifyPathAdded(VectorPath* path,
66 void _NotifyPathRemoved(VectorPath* path) const;
/haiku-fatelf/src/libs/util/
H A Dauth.c44 initauthconf(const char *path) argument
49 if ((fd = open(path, O_RDONLY)) < 0) {
50 syslog(LOG_ERR, "initauthconf: unable to open file: %s", path);
56 syslog(LOG_ERR, "initauthconf: unable to parse file: %s", path);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dpath_util.h13 status_t get_last_path_component(const char *path, char *buffer, int bufferLen);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/shm_open/
H A D8-1.c38 char path[25] = "/tmp/posixtestXXXXXX"; local
40 fd1 = mkstemp(path);
49 unlink(path);
53 unlink(path);
/haiku-fatelf/src/tools/fs_shell/
H A Dpath_util.h14 fssh_status_t get_last_path_component(const char *path, char *buffer,
/haiku-fatelf/src/system/libroot/posix/unistd/
H A Dlink.c16 readlink(const char *path, char *buffer, size_t bufferSize) argument
18 return readlinkat(AT_FDCWD, path, buffer, bufferSize);
23 readlinkat(int fd, const char *path, char *buffer, size_t bufferSize) argument
26 status_t status = _kern_read_link(fd, path, buffer, &linkLen);
58 unlink(const char *path) argument
60 int status = _kern_unlink(-1, path);
67 unlinkat(int fd, const char *path, int flag) argument
70 RETURN_AND_SET_ERRNO(_kern_remove_dir(fd, path));
72 RETURN_AND_SET_ERRNO(_kern_unlink(fd, path));
/haiku-fatelf/src/tools/
H A Drm_attrs.cpp22 bool Init(const char* path) argument
24 size_t len = strlen(path);
28 strcpy(fPath, path);
88 remove_dir_contents(Path& path, bool force, bool removeAttributes) argument
91 DIR* dir = opendir(path.GetPath());
94 path.GetPath(), strerror(errno));
105 if (!path.PushLeaf(entry->d_name)) {
107 "entry: \"%s\"\n", path.GetPath(), entry->d_name);
111 remove_entry(path, true, force, removeAttributes);
113 path
129 remove_entry(Path& path, bool recursive, bool force, bool removeAttributes) argument
221 Path path; local
[all...]
/haiku-fatelf/src/add-ons/accelerants/radeon/
H A Dsettings.cpp30 BPath path; local
40 if( find_directory( B_USER_SETTINGS_DIRECTORY, &path ) != B_OK )
43 path.Append( "radeon" );
45 BFile file( path.Path(), B_READ_ONLY );
65 BPath path; local
71 if( find_directory( B_USER_SETTINGS_DIRECTORY, &path ) != B_OK )
74 path.Append( "radeon" );
76 BFile file( path.Path(), B_CREATE_FILE | B_WRITE_ONLY );

Completed in 803 milliseconds

1234567891011>>