/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/ |
GenSection.c | 167 char **InputFileName,
184 InputFileName - Name of the input file.
216 InFile = fopen (InputFileName[0], "rb");
218 Error (NULL, 0, 0, InputFileName[0], "failed to open input file");
239 Error (NULL, 0, 0, InputFileName[0], "file size (0x%X) exceeds section size limit(%dM).", TotalLength, MAX_SECTION_SIZE>>20);
259 Error (NULL, 0, 0, InputFileName[0], "failed to read contents of file");
281 char **InputFileName,
290 Get the contents of all section files specified in InputFileName
295 InputFileName - Name of the input file.
333 InFile = fopen (InputFileName[Index], "rb"); [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/xml/ |
AndroidManifestWriterTest.java | 60 private void assertMinSdkChange(String inputFileName, String resultFileName) 62 File manifest = extractTestXml(inputFileName); 68 assertTrue(String.format("File contents of %s and %s are not equal", inputFileName,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/ |
GenFfs.c | 236 IN CHAR8 **InputFileName,
249 Get the contents of all section files specified in InputFileName
254 InputFileName - Name of the input file.
311 InFile = fopen (LongFilePath (InputFileName[Index]), "rb");
313 Error (NULL, 0, 0001, "Error opening file", InputFileName[Index]);
321 "the input section name is %s and the size is %u bytes", InputFileName[Index], (unsigned) FileSize);
428 Error (NULL, 0, 0004, "Error reading file", InputFileName[Index]);
482 CHAR8 **InputFileName;
503 InputFileName = NULL;
628 if ((InputFileNum == 0) && (InputFileName == NULL)) { [all...] |
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/ |
TextMappingWorker.java | 60 String inputFileName = input.getString(INPUT_FILE, null); 61 String outputFileName = "out_" + inputFileName; 67 inputStream = assetManager.open(inputFileName); 125 Log.d("Map", "Mapping finished for " + inputFileName);
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/ |
GenSec.c | 229 CHAR8 **InputFileName,
246 InputFileName - Name of the input file.
279 InFile = fopen (LongFilePath (InputFileName[0]), "rb");
281 Error (NULL, 0, 0001, "Error opening file", InputFileName[0]);
293 DebugMsg (NULL, 0, 9, "Input file", "File name is %s and File size is %u bytes", InputFileName[0], (unsigned) InputFileLength);
299 // Error (NULL, 0, 2000, "Invalid parameter", "%s file size (0x%X) exceeds section size limit(%uM).", InputFileName[0], (unsigned) TotalLength, MAX_SECTION_SIZE>>20);
332 Error (NULL, 0, 0004, "Error reading file", InputFileName[0]);
391 CHAR8 **InputFileName,
401 Get the contents of all section files specified in InputFileName
406 InputFileName - Name of the input file. [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Split/ |
Split.c | 228 CHAR8 *InputFileName = NULL;
275 InputFileName = argv[1];
276 if (InputFileName == NULL) {
354 if (InputFileName == NULL) {
359 In = fopen (LongFilePath (InputFileName), "rb");
361 // ("Unable to open file \"%s\"\n", InputFileName);
362 Error (InputFileName, 0, 1, "File open failure", NULL);
367 OutName1 = (CHAR8*)malloc(strlen(InputFileName) + 16);
373 strcpy (OutName1, InputFileName);
379 OutName2 = (CHAR8*)malloc(strlen(InputFileName) + 16); [all...] |
/external/llvm/examples/BrainF/ |
BrainFDriver.cpp | 61 InputFilename(cl::Positional, cl::desc("<input brainf>")); 108 if (InputFilename == "") { 118 std::string base = InputFilename; 119 if (InputFilename == "-") { base = "a"; } 132 if (InputFilename != "-") 133 in = new std::ifstream(InputFilename.c_str());
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
BrainFDriver.cpp | 45 InputFilename(cl::Positional, cl::desc("<input brainf>")); 93 if (InputFilename == "") { 103 std::string base = InputFilename; 104 if (InputFilename == "-") { base = "a"; } 118 if (InputFilename != "-") 119 in = new std::ifstream(InputFilename.c_str());
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
CommonLib.c | 157 IN CHAR8 *InputFileName,
170 InputFileName The name of the file to read.
189 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) {
198 InputFile = fopen (InputFileName, "rb");
200 printf ("ERROR: Could not open input file \"%s\".\n", InputFileName);
207 printf ("ERROR: System error reading input file \"%s\".\n", InputFileName);
216 printf ("ERROR: System error parsing input file \"%s\".\n", InputFileName);
232 printf ("ERROR: System error reading input file \"%s\".\n", InputFileName);
243 printf ("ERROR: Reading file \"%s\"%i.\n", InputFileName);
[all...] |
CommonLib.h | 65 IN CHAR8 *InputFileName,
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/ |
GenCrc32.c | 130 CHAR8 *InputFileName;
144 InputFileName = NULL;
243 InputFileName = argv[0];
262 if (InputFileName == NULL) {
266 VerboseMsg ("Input file name is %s", InputFileName);
279 InFile = fopen (LongFilePath (InputFileName), "rb");
281 Error (NULL, 0, 0001, "Error opening file", InputFileName);
|
/external/llvm/tools/llvm-dis/ |
llvm-dis.cpp | 42 InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-")); 144 MemoryBuffer::getFileOrSTDIN(InputFilename); 157 getDataFileStreamer(InputFilename, &ErrorMessage); 161 if (InputFilename == "-") 164 DisplayFilename = InputFilename; 200 if (InputFilename == "-") { 203 StringRef IFN = InputFilename;
|
/external/swiftshader/third_party/LLVM/utils/FileUpdate/ |
FileUpdate.cpp | 30 InputFilename("input-file", cl::desc("Input file (defaults to stdin)"), 48 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), In)) { 50 << InputFilename << "': " << ec.message() << '\n';
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
OsPath.h | 118 IN CHAR8 *InputFileName
129 InputFileName The name of the file to check for existence
|
CommonLib.c | 156 IN CHAR8 *InputFileName,
169 InputFileName The name of the file to read.
188 if (InputFileName == NULL || strlen (InputFileName) == 0 || InputFileImage == NULL) {
197 InputFile = fopen (LongFilePath (InputFileName), "rb");
199 Error (NULL, 0, 0001, "Error opening the input file", InputFileName);
206 Error (NULL, 0, 0004, "Error reading the input file", InputFileName);
215 Error (NULL, 0, 0003, "Error parsing the input file", InputFileName);
231 Error (NULL, 0, 0004, "Error reading the input file", InputFileName);
242 Error (NULL, 0, 0004, "Error reading the input file", InputFileName);
[all...] |
MemoryFile.c | 38 IN CHAR8 *InputFileName,
65 Status = GetFileImage (InputFileName, &InputFileImage, &BytesRead);
|
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/ |
FileName.c | 435 @param InputFileName - The input file name.
438 @retval TRUE - The InputFileName is a valid long file name.
439 @retval FALSE - The InputFileName is not a valid long file name.
444 IN CHAR16 *InputFileName,
453 while (*InputFileName == L' ') {
454 InputFileName++;
458 while (*InputFileName != 0) {
459 *TempNamePointer++ = *InputFileName++;
|
/external/llvm/tools/obj2yaml/ |
obj2yaml.cpp | 48 cl::opt<std::string> InputFilename(cl::Positional, cl::desc("<input file>"), 57 if (std::error_code EC = dumpInput(InputFilename)) {
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/ |
BPDG.py | 126 # @Param InputFileName The filename include the vpd type pcd information
133 def StartBpdg(InputFileName, MapFileName, VpdFileName, Force):
140 GenVPD = GenVpd.GenVPD (InputFileName, MapFileName, VpdFileName)
142 EdkLogger.info('%-24s = %s' % ("VPD input data file: ", InputFileName))
|
/external/llvm/tools/llvm-as/ |
llvm-as.cpp | 34 static cl::opt<std::string> InputFilename(cl::Positional, 65 if (InputFilename == "-") { 68 StringRef IFN = InputFilename; 100 std::unique_ptr<Module> M = parseAssemblyFile(InputFilename, Err, Context);
|
/external/swiftshader/third_party/LLVM/tools/llvm-as/ |
llvm-as.cpp | 34 InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-"));
56 if (InputFilename == "-") {
59 std::string IFN = InputFilename;
97 std::auto_ptr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
|
/external/swiftshader/third_party/LLVM/tools/llvm-dis/ |
llvm-dis.cpp | 37 InputFilename(cl::Positional, cl::desc("<input bitcode>"), cl::init("-"));
131 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename, BufferPtr))
151 if (InputFilename == "-") {
154 const std::string &IFN = InputFilename;
|
/frameworks/compile/slang/ |
llvm-rs-as.cpp | 41 InputFilename(cl::Positional, cl::desc("<input .llvm file>"), cl::init("-")); 73 if (InputFilename == "-") { 76 std::string IFN = InputFilename; 132 std::unique_ptr<Module> M(parseAssemblyFile(InputFilename, Err, Context));
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
OptimizerDriver.cpp | 124 sys::Path inputFilename(OutputPrefix + "-input.bc");
125 if (inputFilename.makeUnique(true, &ErrMsg)) {
132 tool_output_file InFile(inputFilename.c_str(), ErrInfo,
137 errs() << "Error opening bitcode file: " << inputFilename.str() << "\n";
143 errs() << "Error writing bitcode file: " << inputFilename.str() << "\n";
184 Args.push_back(inputFilename.c_str());
215 inputFilename.eraseFromDisk();
|
/external/llvm/tools/bugpoint/ |
OptimizerDriver.cpp | 147 SmallString<128> InputFilename; 150 InputFilename); 157 tool_output_file InFile(InputFilename, InputFD); 162 errs() << "Error writing bitcode file: " << InputFilename << "\n"; 220 Args.push_back(InputFilename.c_str()); 246 sys::fs::remove(InputFilename.c_str());
|