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

Function StrDecimalToUintn

MdePkg/Library/BaseLib/String.c:686–700  ·  view source on GitHub ↗

Convert a Null-terminated Unicode decimal string to a value of type UINTN. This function returns a value of type UINTN by interpreting the contents of the Unicode string specified by String as a decimal number. The format of the input Unicode string String is: [spaces] [decimal digits]. The valid decimal digit character is in the range [0-9]. The function

Source from the content-addressed store, hash-verified

684
685**/
686UINTN
687EFIAPI
688StrDecimalToUintn (
689 IN CONST CHAR16 *String
690 )
691{
692 UINTN Result = 0;
693 RETURN_STATUS Status;
694
695 Status = StrDecimalToUintnS (String, (CHAR16 **) NULL, &Result);
696 if (Status != RETURN_SUCCESS) {
697 return 0;
698 }
699 return Result;
700}
701
702
703/**

Callers 11

StrtoiFunction · 0.85
BdsEntryFunction · 0.85
ApplyInputsFunction · 0.85
SetupDataForOSXFunction · 0.85
egSetScreenResolutionFunction · 0.85
RunDpFunction · 0.85
UefiMainFunction · 0.85
UnicodeToEfiKeyFunction · 0.85
NicNameToIndexFunction · 0.85
StrToVlanIdFunction · 0.85
AddVlanFunction · 0.85

Calls 1

StrDecimalToUintnSFunction · 0.85

Tested by

no test coverage detected