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

Function Usage

BaseTools/Source/C/Split/Split.c:57–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void
58Usage (
59 void
60 )
61/*++
62
63Routine Description:
64
65 GC_TODO: Add function description
66
67Arguments:
68
69
70Returns:
71
72 GC_TODO: add return values
73
74--*/
75{
76 Version();
77 printf ("Copyright (c) 1999-2017 Intel Corporation. All rights reserved.\n");
78 printf ("\n SplitFile creates two Binary files either in the same directory as the current working\n");
79 printf (" directory or in the specified directory.\n");
80 printf ("\nUsage: \n\
81 Split\n\
82 -f, --filename inputFile to split\n\
83 -s, --split VALUE the number of bytes in the first file\n\
84 [-p, --prefix OutputDir]\n\
85 [-o, --firstfile Filename1]\n\
86 [-t, --secondfile Filename2]\n\
87 [-v, --verbose]\n\
88 [--version]\n\
89 [-q, --quiet disable all messages except fatal errors]\n\
90 [-d, --debug[#]\n\
91 [-h, --help]\n");
92}
93
94EFI_STATUS
95GetSplitValue (
96 IN CONST CHAR8* SplitValueString,
97 OUT UINT64 *ReturnValue
98)
99{
100 UINT64 len = 0;
101 UINT64 base = 1;
102 UINT64 index = 0;
103 UINT64 number = 0;
104 CHAR8 lastCHAR = 0;
105 EFI_STATUS Status = EFI_SUCCESS;
106
107 if (SplitValueString != NULL){
108 len = strlen(SplitValueString);
109 }
110
111 if (len == 0) {
112 return EFI_ABORTED;
113 }
114

Callers 4

mainFunction · 0.70
TianoCompress.cFile · 0.50
OptionInitializationMethod · 0.50
mainFunction · 0.50

Calls 7

printfFunction · 0.85
AsciiStringToUint64Function · 0.85
toupperFunction · 0.85
VersionFunction · 0.70
helpFunction · 0.50
strlenFunction · 0.50
isdigitFunction · 0.50

Tested by

no test coverage detected