Home | History | Annotate | Download | only in Device

Lines Matching full:path

81 /** Identify the type of path pointed to by Path.

84 ^\\ Absolute Path
85 ^\. Relative Path
86 ^[^:\\]: Mapping Path
87 .* Relative Path
90 is the Map Name, pointed to by Path, and the part to the right of the ':' is pointed
93 If Path was not a Mapping Path, then NewPath is set to Path.
95 @param[in] Path Pointer to the path to be classified.
96 @param[out] NewPath Pointer to the path portion of a mapping path.
98 @retval PathAbsolute Path is an absolute path. NewPath points to the first '\'.
99 @retval PathRelative Path is a relative path. NewPath = Path.
100 @retval PathMapping Path is a mapping path. NewPath points to the ':'.
101 @retval PathError Path is NULL.
103 PATH_CLASS EFIAPI ClassifyPath(IN wchar_t *Path, OUT wchar_t **NewPath, int * const Length);
105 /* Normalize a narrow-character path and produce a wide-character path
111 @param[in] path A pointer to the narrow-character path to be normalized.
113 @return A pointer to a buffer containing the normalized, wide-character, path.
116 NormalizePath( const char *path);
118 /** Process a MBCS path returning the final absolute path and the target device.
120 @param path
130 ParsePath( const char *path, wchar_t **FullPath, DeviceNode **DevNode, int *Which, wchar_t **MapPath);
132 /** Process a wide character string representing a Mapping Path and extract the instance number.
135 of the ":" in the Map Name portion of a Mapping Path.
138 Thus Path[Length] must be a ':' and Path[Length - 1] must be a decimal digit.
141 If Path is NULL, an instance value of 0 is returned.
143 @param[in] Path Points to the beginning of a Mapping Path
150 PathInstance( const wchar_t *Path, int length);
152 /** Transform a relative path into an absolute path.
154 If Path is NULL, return NULL.
155 Otherwise, pre-pend the CWD to Path then process the resulting path to:
162 Path must be a previously allocated buffer. PathAdjust will
164 then free Path. A pointer to the newly allocated buffer is returned.
166 @param[in] Path A pointer to the path to be transformed. This buffer
169 @return A pointer to a buffer containing the transformed path.
173 PathAdjust(wchar_t *Path);
175 /** Replace the leading portion of Path with any aliases.
180 Path must be a previously allocated buffer. PathAlias will
182 then free Path. A pointer to the newly allocated buffer is returned.
184 @param[in] Path A pointer to the original, unaliased, path. This
187 the device abstraction associated with this path.
189 @return A pointer to a buffer containing the aliased path.
193 PathAlias(wchar_t *Path, DeviceNode **Node);
196 Parses a normalized wide character path and returns a pointer to the entry
197 following the last \. If a \ is not found in the path the return value will
200 The behavior when passing in a path that has not been normalized is undefined.
202 @param Path - A pointer to a wide character string containing a path to a
211 const wchar_t *Path