|
TianoCore EDK2 master
|
#include "Udf.h"Go to the source code of this file.
Functions | |
| CHAR16 * | TrimString (IN CHAR16 *String) |
| VOID | ReplaceLeft (IN CHAR16 *Destination, IN CONST CHAR16 *Source) |
| CHAR16 * | ExcludeTrailingBackslashes (IN CHAR16 *String) |
| CHAR16 * | MangleFileName (IN CHAR16 *FileName) |
Helper functions for mangling file names in UDF/ECMA-167 file systems.
Copyright (C) 2014-2017 Paulo Alcantara pcacj.nosp@m.r@zy.nosp@m.tor.c.nosp@m.om
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FileName.c.
| CHAR16 * ExcludeTrailingBackslashes | ( | IN CHAR16 * | String | ) |
Remove one or more consecutive backslashes starting from the second character of a given Unicode string.
| [in] | String | A pointer to a Unicode string. |
Definition at line 71 of file FileName.c.
| CHAR16 * MangleFileName | ( | IN CHAR16 * | FileName | ) |
Mangle a filename by cutting off trailing whitespaces, "\\", "." and "..".
| [in] | FileName | Filename. |
| The | mangled Filename. |
Definition at line 110 of file FileName.c.
Replace the content of a Unicode string with the content of another Unicode string.
| [in] | Destination | A pointer to a Unicode string. |
| [in] | Source | A pointer to a Unicode string. |
Definition at line 48 of file FileName.c.
| CHAR16 * TrimString | ( | IN CHAR16 * | String | ) |
Trim the leading and trailing spaces for a give Unicode string.
| [in] | String | The Unicode string to trim. |
Definition at line 20 of file FileName.c.