MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / UnicodeStrLen

Function UnicodeStrLen

BaseTools/Source/C/VolInfo/VolInfo.c:145–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 );
144
145UINT32
146UnicodeStrLen (
147 IN CHAR16 *String
148 )
149 /*++
150
151 Routine Description:
152
153 Returns the length of a null-terminated unicode string.
154
155 Arguments:
156
157 String - The pointer to a null-terminated unicode string.
158
159 Returns:
160
161 N/A
162
163 --*/
164{
165 UINT32 Length;
166
167 for (Length = 0; *String != L'\0'; String++, Length++) {
168 ;
169 }
170 return Length;
171}
172
173VOID
174Unicode2AsciiString (

Callers 1

ParseSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected