Home
last modified time | relevance | path

Searched refs:Gbl_Files (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/acpi/iasl/
H A Daslfileio.c179 sprintf (MsgBuffer, "\"%s\" (%s) - %s", Gbl_Files[FileId].Filename, in FlFileError()
180 Gbl_Files[FileId].Description, strerror (errno)); in FlFileError()
210 Gbl_Files[FileId].Filename = Filename; in FlOpenFile()
211 Gbl_Files[FileId].Handle = NULL; in FlOpenFile()
220 Gbl_Files[FileId].Handle = File; in FlOpenFile()
244 FileSize = CmGetFileSize (Gbl_Files[FileId].Handle); in FlGetFileSize()
280 Actual = fread (Buffer, 1, Length, Gbl_Files[FileId].Handle); in FlReadFile()
283 if (feof (Gbl_Files[FileId].Handle)) in FlReadFile()
324 Actual = fwrite ((char *) Buffer, 1, Length, Gbl_Files[FileId].Handle); in FlWriteFile()
336 Gbl_Files[ASL_FILE_PREPROCESSOR_USER].Handle); in FlWriteFile()
[all …]
H A Daslstartup.c232 Gbl_Files[i].Handle = NULL; in AslInitializeGlobals()
233 Gbl_Files[i].Filename = NULL; in AslInitializeGlobals()
382 Gbl_Files[ASL_FILE_INPUT].Filename, Gbl_OutputFilenamePrefix, in AslDoDisassembly()
383 &Gbl_Files[ASL_FILE_INPUT].Filename); in AslDoDisassembly()
405 Gbl_Files[ASL_FILE_INPUT].Filename); in AslDoDisassembly()
411 Gbl_Files[ASL_FILE_INPUT].Filename = NULL; in AslDoDisassembly()
455 Gbl_Files[ASL_FILE_INPUT].Filename = in AslDoOneFile()
458 strcpy (Gbl_Files[ASL_FILE_INPUT].Filename, Filename); in AslDoOneFile()
459 UtConvertBackslashes (Gbl_Files[ASL_FILE_INPUT].Filename); in AslDoOneFile()
477 Status = FlOpenInputFile (Gbl_Files[ASL_FILE_INPUT].Filename); in AslDoOneFile()
[all …]
H A Daslsupport.l298 Gbl_PreviousIncludeFilename = Gbl_Files[ASL_FILE_INPUT].Filename; in AslPopInputFileStack()
304 "Include: Closing \"%s\"\n\n", Gbl_Files[ASL_FILE_INPUT].Filename); in AslPopInputFileStack()
321 Gbl_Files[ASL_FILE_INPUT].Filename = Fnode->Filename; in AslPopInputFileStack()
367 Fnode->Filename = Gbl_Files[ASL_FILE_INPUT].Filename; in AslPushInputFileStack()
384 Gbl_Files[ASL_FILE_INPUT].Filename = in AslPushInputFileStack()
387 strcpy (Gbl_Files[ASL_FILE_INPUT].Filename, Filename); in AslPushInputFileStack()
415 if (Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Handle) in AslResetCurrentLineBuffer()
487 Gbl_Files[ASL_FILE_INPUT].Filename, MsgBuffer); in AslInsertLineBuffer()
620 Gbl_Files[ASL_FILE_INPUT].Filename, NULL); in AslDoComment()
659 Gbl_Files[ASL_FILE_INPUT].Filename, NULL); in AslDoComment()
[all …]
H A Dprutils.c264 AcpiOsPrintf ("%s (%u) : %s", Gbl_Files[ASL_FILE_INPUT].Filename, in PrError()
279 Gbl_Files[ASL_FILE_INPUT].Filename, "Preprocessor"); in PrError()
499 Fnode->File = Gbl_Files[ASL_FILE_INPUT].Handle; in PrPushInputFileStack()
501 Fnode->Filename = Gbl_Files[ASL_FILE_INPUT].Filename; in PrPushInputFileStack()
514 Gbl_Files[ASL_FILE_INPUT].Filename = in PrPushInputFileStack()
516 strcpy (Gbl_Files[ASL_FILE_INPUT].Filename, Filename); in PrPushInputFileStack()
518 Gbl_Files[ASL_FILE_INPUT].Handle = InputFile; in PrPushInputFileStack()
561 fclose (Gbl_Files[ASL_FILE_INPUT].Handle); in PrPopInputFileStack()
569 Gbl_Files[ASL_FILE_INPUT].Filename = Fnode->Filename; in PrPopInputFileStack()
570 Gbl_Files[ASL_FILE_INPUT].Handle = Fnode->File; in PrPopInputFileStack()
H A Daslmain.c340 Gbl_Files[ASL_FILE_PREPROCESSOR].Handle = NULL; in AslSignalHandler()
388 Gbl_Files[i].Handle = NULL; in AslInitialize()
389 Gbl_Files[i].Filename = NULL; in AslInitialize()
392 Gbl_Files[ASL_FILE_STDOUT].Handle = stdout; in AslInitialize()
393 Gbl_Files[ASL_FILE_STDOUT].Filename = "STDOUT"; in AslInitialize()
395 Gbl_Files[ASL_FILE_STDERR].Handle = stderr; in AslInitialize()
396 Gbl_Files[ASL_FILE_STDERR].Filename = "STDERR"; in AslInitialize()
H A Daslutils.c555 Gbl_Files[ASL_FILE_INPUT].Filename, Gbl_CurrentLineNumber, in UtDisplaySummary()
563 Gbl_Files[ASL_FILE_AML_OUTPUT].Filename, Gbl_TableLength); in UtDisplaySummary()
571 Gbl_Files[ASL_FILE_INPUT].Filename, Gbl_CurrentLineNumber, in UtDisplaySummary()
578 if (Gbl_Files[ASL_FILE_AML_OUTPUT].Handle) in UtDisplaySummary()
584 Gbl_Files[ASL_FILE_AML_OUTPUT].Filename, in UtDisplaySummary()
595 if (!Gbl_Files[i].Filename || !Gbl_Files[i].Handle) in UtDisplaySummary()
615 Gbl_Files[i].ShortDescription, in UtDisplaySummary()
616 Gbl_Files[i].Filename, FlGetFileSize (i)); in UtDisplaySummary()
904 Gbl_CurrentColumn, Gbl_Files[ASL_FILE_INPUT].Filename, ErrBuf); in UtDoConstant()
H A Daslfiles.c215 Filename, Gbl_Files[ASL_FILE_INPUT].Filename); in FlSetFilename()
219 Gbl_Files[ASL_FILE_INPUT].Filename = Filename; in FlSetFilename()
496 Gbl_Files[ASL_FILE_INPUT].Filename, " - Null parse node"); in FlOpenIncludeFile()
589 AslCompilerin = Gbl_Files[ASL_FILE_INPUT].Handle; in FlOpenInputFile()
617 Filename = Gbl_Files[ASL_FILE_AML_OUTPUT].Filename; in FlOpenAmlOutputFile()
636 Gbl_Files[ASL_FILE_AML_OUTPUT].Filename = Filename; in FlOpenAmlOutputFile()
727 Gbl_Files[ASL_FILE_DEBUG_OUTPUT].Filename = Filename; in FlOpenMiscOutputFiles()
728 Gbl_Files[ASL_FILE_DEBUG_OUTPUT].Handle = in FlOpenMiscOutputFiles()
731 if (!Gbl_Files[ASL_FILE_DEBUG_OUTPUT].Handle) in FlOpenMiscOutputFiles()
989 AcpiGbl_ConvDebugFile = Gbl_Files[ASL_FILE_CONV_DEBUG_OUTPUT].Handle; in FlOpenMiscOutputFiles()
H A Daslcompile.c651 Prefix, Gbl_Files[ASL_FILE_INPUT].Filename, asctime (NewTime), in AslCompilerFileHeader()
873 Gbl_Files[ASL_FILE_AML_OUTPUT].Handle) in CmCleanupAndExit()
886 if (Gbl_Files[ASL_FILE_PREPROCESSOR].Handle == in CmCleanupAndExit()
887 Gbl_Files[ASL_FILE_INPUT].Handle) in CmCleanupAndExit()
889 Gbl_Files[ASL_FILE_PREPROCESSOR].Handle = NULL; in CmCleanupAndExit()
H A Dprscan.c391 Gbl_Files[ASL_FILE_INPUT].Handle = Gbl_Files[ASL_FILE_PREPROCESSOR].Handle; in PrDoPreprocess()
392 AslCompilerin = Gbl_Files[ASL_FILE_INPUT].Handle; in PrDoPreprocess()
439 while ((Status = PrGetNextLine (Gbl_Files[ASL_FILE_INPUT].Handle)) != ASL_EOF) in PrPreprocessInputFile()
593 Gbl_CurrentLineNumber, Gbl_Files[ASL_FILE_INPUT].Filename, in PrDoDirective()
899 Gbl_CurrentLineNumber, Gbl_Files[ASL_FILE_INPUT].Filename); in PrDoDirective()
H A Daslhex.c245 Gbl_Files[ASL_FILE_AML_OUTPUT].Handle); in HxReadAmlOutputFile()
247 if (ferror (Gbl_Files[ASL_FILE_AML_OUTPUT].Handle)) in HxReadAmlOutputFile()
288 FileBasename = FlGetFileBasename (Gbl_Files [ASL_FILE_HEX_OUTPUT].Filename); in HxDoHexOutputC()
H A Daslerror.c472 SourceFile = Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Handle; in AePrintErrorSourceLine()
475 SourceFile = Gbl_Files[ASL_FILE_INPUT].Handle; in AePrintErrorSourceLine()
533 Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename); in AePrintErrorSourceLine()
543 Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename); in AePrintErrorSourceLine()
572 Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename); in AePrintErrorSourceLine()
681 OutputFile = Gbl_Files[FileId].Handle; in AePrintException()
1426 Gbl_CurrentColumn, Gbl_Files[ASL_FILE_INPUT].Filename, in AslCompilererror()
H A Daslsupport.y186 Gbl_Files[ASL_FILE_INPUT].Filename, NULL);
H A Daslallocate.c191 Gbl_Files[ASL_FILE_INPUT].Filename, NULL); in UtLocalCalloc()
H A Ddtutils.c204 Gbl_Files[ASL_FILE_INPUT].Filename, ExtraMessage); in DtError()
260 Gbl_Files[ASL_FILE_INPUT].Filename, ExtraMessage); in DtNameError()
H A Ddtcompile.c231 FieldList = DtScanFile (Gbl_Files[ASL_FILE_INPUT].Handle); in DtDoCompile()
267 Gbl_Files[ASL_FILE_AML_OUTPUT].Filename = NULL; in DtDoCompile()
H A Daslglobal.h176 ASL_FILE_INFO Gbl_Files [ASL_NUM_FILES] = variable
229 extern ASL_FILE_INFO Gbl_Files [ASL_NUM_FILES];
H A Ddtio.c935 Gbl_TableLength = CmGetFileSize (Gbl_Files[ASL_FILE_AML_OUTPUT].Handle); in DtOutputBinary()
1248 AcpiOsRedirectOutput (Gbl_Files[ASL_FILE_LISTING_OUTPUT].Handle); in DtWriteTableToListing()
H A Daslnamesp.c195 Gbl_Files[ASL_FILE_NAMESPACE_OUTPUT].Handle = Handle; in NsSetupNamespaceListing()
H A Dasloptions.c899 Gbl_Files[ASL_FILE_STDERR].Handle = stdout; in AslDoOptions()
H A Dasllisting.c264 LsPushNode (Gbl_Files[ASL_FILE_INPUT].Filename); in LsGenerateListing()
H A Daslcodegen.c646 Op->Asl.FinalAmlOffset = ftell (Gbl_Files[ASL_FILE_AML_OUTPUT].Handle); in CgWriteTableHeader()
H A Daslparseop.c787 Op->Asl.Filename = Gbl_Files[ASL_FILE_INPUT].Filename; in TrAllocateOp()
/illumos-gate/usr/src/cmd/acpi/common/
H A Dadisasm.c582 Gbl_Files[ASL_FILE_MAP_OUTPUT].ShortDescription, in AdDisassembleOneTable()
583 Gbl_Files[ASL_FILE_MAP_OUTPUT].Filename, in AdDisassembleOneTable()