Home
last modified time | relevance | path

Searched refs:Filename (Results 1 – 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/cmd/acpi/iasl/
H A Daslfiles.c164 char *Filename);
211 char *Filename) in FlSetFilename() argument
215 Filename, Gbl_Files[ASL_FILE_INPUT].Filename); in FlSetFilename()
219 Gbl_Files[ASL_FILE_INPUT].Filename = Filename; in FlSetFilename()
409 char *Filename) in FlOpenIncludeWithPrefix() argument
418 Pathname = FlMergePathnames (PrefixDir, Filename); in FlOpenIncludeWithPrefix()
496 Gbl_Files[ASL_FILE_INPUT].Filename, " - Null parse node"); in FlOpenIncludeFile()
612 char *Filename; in FlOpenAmlOutputFile() local
617 Filename = Gbl_Files[ASL_FILE_AML_OUTPUT].Filename; in FlOpenAmlOutputFile()
618 if (!Filename) in FlOpenAmlOutputFile()
[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()
351 char *Filename, in PrOpenIncludeFile() argument
366 if ((Filename[0] == '/') || in PrOpenIncludeFile()
367 (Filename[0] == '\\') || in PrOpenIncludeFile()
368 (Filename[1] == ':')) in PrOpenIncludeFile()
371 "", Filename, OpenMode, FullPathname); in PrOpenIncludeFile()
388 Gbl_DirectoryPath, Filename, OpenMode, FullPathname); in PrOpenIncludeFile()
402 NextDir->Dir, Filename, OpenMode, FullPathname); in PrOpenIncludeFile()
414 sprintf (Gbl_MainTokenBuffer, "%s, %s", Filename, strerror (errno)); in PrOpenIncludeFile()
[all …]
H A Dcvparser.c170 char *Filename);
179 char *Filename,
204 char *Filename) in CvIsFilename() argument
206 UINT64 Length = strlen(Filename); in CvIsFilename()
207 char *FileExt = Filename + Length - 4; in CvIsFilename()
218 if (!isprint ((int) Filename[i])) in CvIsFilename()
251 char *Filename = NULL; in CvInitFileTree() local
272 AcpiGbl_FileTreeRoot->Filename = (char *)(AmlStart+2); in CvInitFileTree()
283 Filename = NULL; in CvInitFileTree()
302 PreviousFilename = Filename; in CvInitFileTree()
[all …]
H A Daslstartup.c233 Gbl_Files[i].Filename = NULL; in AslInitializeGlobals()
271 Status = FlIsFileAsciiSource (Info->Filename, FALSE); in AslDetectSourceFileType()
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()
432 char *Filename) in AslDoOneFile() argument
447 Status = FlSplitInputPathname (Filename, &Gbl_DirectoryPath, NULL); in AslDoOneFile()
455 Gbl_Files[ASL_FILE_INPUT].Filename = in AslDoOneFile()
456 UtLocalCacheCalloc (strlen (Filename) + 1); in AslDoOneFile()
[all …]
H A Daslsupport.l212 char *Filename; in AslDoLineDirective() local
259 Filename = ACPI_ALLOCATE_ZEROED (strlen (Token) + 1); in AslDoLineDirective()
260 strcpy (Filename, Token); in AslDoLineDirective()
261 FlSetFilename (Filename); in AslDoLineDirective()
298 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()
354 char *Filename) in AslPushInputFileStack() argument
367 Fnode->Filename = Gbl_Files[ASL_FILE_INPUT].Filename; in AslPushInputFileStack()
384 Gbl_Files[ASL_FILE_INPUT].Filename = in AslPushInputFileStack()
[all …]
H A Daslerror.c181 char *Filename,
194 char *Filename,
502 fprintf (OutputFile, "%-8s", Enode->Filename); 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()
588 fprintf (OutputFile, "%s", Enode->Filename); in AePrintErrorSourceLine()
688 if (!Enode->Filename) in AePrintException()
810 char *Filename, in AslInitEnode() argument
829 Enode->Filename = NULL; in AslInitEnode()
[all …]
H A Dcvdisasm.c478 FNode->Filename, FNode->Parent->Filename); in CvPrintInclude()
483 AcpiOsPrintf ("Include (\"%s\")\n", FNode->Filename); in CvPrintInclude()
485 FNode->Filename); in CvPrintInclude()
510 char *Filename = Op->Common.CvFilename; in CvSwitchFiles() local
516 Filename); in CvSwitchFiles()
517 FNode = CvFilenameExists (Filename, AcpiGbl_FileTreeRoot); in CvSwitchFiles()
526 Filename, strerror (errno)); in CvSwitchFiles()
541 AcpiUtStricmp (Current->Filename, AcpiGbl_CurrentFilename)) in CvSwitchFiles()
550 AcpiGbl_CurrentFilename = FNode->Filename; in CvSwitchFiles()
H A Daslfileio.c179 sprintf (MsgBuffer, "\"%s\" (%s) - %s", Gbl_Files[FileId].Filename, in FlFileError()
204 char *Filename, in FlOpenFile() argument
210 Gbl_Files[FileId].Filename = Filename; in FlOpenFile()
213 File = fopen (Filename, Mode); in FlOpenFile()
495 if (!Info->Filename) in FlDeleteFile()
500 if (remove (Info->Filename)) in FlDeleteFile()
503 Info->Filename, Info->Description); in FlDeleteFile()
507 Info->Filename = NULL; in FlDeleteFile()
H A Daslparseop.c293 Op->Asl.Filename = Child->Asl.Filename; in TrCreateOp()
491 Op->Asl.Filename = OriginalOp->Asl.Filename; in TrCreateTargetOp()
696 char *Filename; in TrCreateConstantLeafOp() local
721 Op->Asl.Value.String = Op->Asl.Filename; in TrCreateConstantLeafOp()
730 FlSplitInputPathname (Op->Asl.Filename, NULL, &Filename); in TrCreateConstantLeafOp()
731 Op->Asl.Value.String = Filename; in TrCreateConstantLeafOp()
787 Op->Asl.Filename = Gbl_Files[ASL_FILE_INPUT].Filename; in TrAllocateOp()
812 strcmp (LatestOp->Asl.Filename, Op->Asl.Filename)) in TrAllocateOp()
818 Op->Asl.ParentFilename = Gbl_IncludeFileStack->Filename; in TrAllocateOp()
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()
584 Gbl_Files[ASL_FILE_AML_OUTPUT].Filename, in UtDisplaySummary()
595 if (!Gbl_Files[i].Filename || !Gbl_Files[i].Handle) 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 Dpreprocess.h230 char *Filename; member
380 char *Filename,
387 char *Filename,
394 char *Filename);
H A Dasltypes.h247 char *Filename; member
356 char *Filename; member
378 char *Filename; member
477 char *Filename; member
H A Daslascii.c193 char *Filename, in FlIsFileAsciiSource() argument
205 Handle = fopen (Filename, "rb"); in FlIsFileAsciiSource()
296 AslError (ASL_ERROR, ASL_MSG_NON_ASCII, NULL, Filename); in FlIsFileAsciiSource()
H A Daslmain.c389 Gbl_Files[i].Filename = NULL; in AslInitialize()
393 Gbl_Files[ASL_FILE_STDOUT].Filename = "STDOUT"; in AslInitialize()
396 Gbl_Files[ASL_FILE_STDERR].Filename = "STDERR"; in AslInitialize()
H A Dasloptions.c175 char *Filename);
1057 char *Filename) in AslDoResponseFile() argument
1066 ResponseFile = fopen (Filename, "r"); in AslDoResponseFile()
1070 Filename, strerror (errno)); in AslDoResponseFile()
1098 Filename, StringBuffer); in AslDoResponseFile()
H A Dasllistsup.c522 Gbl_ListingNode->Filename, Gbl_ListingNode->LineNumber, in LsWriteOneSourceLine()
761 char *Filename) in LsPushNode() argument
772 Lnode->Filename = Filename; in LsPushNode()
H A Daslcompiler.h219 char *Filename);
239 char *Filename);
321 char *Filename,
505 char *Filename,
515 char *Filename,
596 char *Filename);
761 char *Filename,
1053 char *Filename);
/illumos-gate/usr/src/cmd/acpi/acpidump/
H A Dapfiles.c260 char Filename[ACPI_NAME_SIZE + 16]; in ApWriteToBinaryFile() local
275 ACPI_MOVE_NAME (Filename, ACPI_RSDP_NAME); in ApWriteToBinaryFile()
279 ACPI_MOVE_NAME (Filename, Table->Signature); in ApWriteToBinaryFile()
282 Filename[0] = (char) tolower ((int) Filename[0]); in ApWriteToBinaryFile()
283 Filename[1] = (char) tolower ((int) Filename[1]); in ApWriteToBinaryFile()
284 Filename[2] = (char) tolower ((int) Filename[2]); in ApWriteToBinaryFile()
285 Filename[3] = (char) tolower ((int) Filename[3]); in ApWriteToBinaryFile()
286 Filename[ACPI_NAME_SIZE] = 0; in ApWriteToBinaryFile()
293 strcat (Filename, InstanceStr); in ApWriteToBinaryFile()
296 strcat (Filename, FILE_SUFFIX_BINARY_TABLE); in ApWriteToBinaryFile()
[all …]
/illumos-gate/usr/src/cmd/acpi/common/
H A Dadfile.c167 char *Filename,
231 char *Filename, in AdWriteBuffer() argument
239 File = fopen (Filename, "wb"); in AdWriteBuffer()
242 printf ("Could not open file %s\n", Filename); in AdWriteBuffer()
249 printf ("Could not write to file %s\n", Filename); in AdWriteBuffer()
279 char *Filename; in AdWriteTable() local
282 Filename = AdGenerateFilename (TableName, OemTableId); in AdWriteTable()
283 AdWriteBuffer (Filename, (char *) Table, Length); in AdWriteTable()
285 AcpiOsPrintf ("Table [%s] written to \"%s\"\n", TableName, Filename); in AdWriteTable()
393 char *Filename; in FlSplitInputPathname() local
[all …]
H A Dadisasm.c168 char *Filename);
174 char *Filename,
294 char *Filename, in AdAmlDisassemble() argument
309 if (Filename) in AdAmlDisassemble()
313 Status = AcGetAllTablesFromFile (Filename, in AdAmlDisassemble()
318 Filename, AcpiFormatException (Status)); in AdAmlDisassemble()
324 Status = AdDoExternalFileList (Filename); in AdAmlDisassemble()
393 File, Filename, DisasmFilename); in AdAmlDisassemble()
444 char *Filename, in AdDisassembleOneTable() argument
470 AdDisassemblerHeader (Filename, ACPI_IS_DATA_TABLE); in AdDisassembleOneTable()
[all …]
H A Dacfileio.c166 char *Filename,
222 char *Filename, in AcGetAllTablesFromFile() argument
235 File = fopen (Filename, "rb"); in AcGetAllTablesFromFile()
238 fprintf (stderr, "Could not open input file: %s\n", Filename); in AcGetAllTablesFromFile()
258 Filename, FileSize, FileSize); in AcGetAllTablesFromFile()
274 Filename); in AcGetAllTablesFromFile()
286 Filename, File, GetOnlyAmlTables, &Table); in AcGetAllTablesFromFile()
381 char *Filename, in AcGetOneTableFromFile() argument
422 Filename, TableHeader.Signature); in AcGetOneTableFromFile()
H A Ddmtables.c170 char *Filename,
199 char *Filename, in AdDisassemblerHeader() argument
228 AcpiOsPrintf (" * Disassembly of %s, %s", Filename, ctime (&Timer)); in AdDisassemblerHeader()
249 char *Filename, in AdCreateTableHeader() argument
263 AdDisassemblerHeader (Filename, ACPI_IS_AML_TABLE); in AdCreateTableHeader()
351 char *Filename, in AdDisplayTables() argument
363 AdCreateTableHeader (Filename, Table); in AdDisplayTables()
522 AcpiGbl_ParseOpRoot->Common.CvFilename = AcpiGbl_FileTreeRoot->Filename; in AdParseTable()
/illumos-gate/usr/src/cmd/acpi/acpixtract/
H A Daxmain.c204 char *Filename; in main() local
283 Filename = argv[AcpiGbl_Optind]; in main()
284 if (!Filename) in main()
296 Status = AxExtractTables (Filename, NULL, AX_OPTIONAL_TABLES); in main()
301 Status = AxExtractToMultiAmlFile (Filename); in main()
306 Status = AxListAllTables (Filename); in main()
311 Status = AxExtractTables (Filename, AcpiGbl_Optarg, AX_REQUIRED_TABLE); in main()
319 Status = AxExtractTables (Filename, "DSDT", AX_REQUIRED_TABLE); in main()
325 Status = AxExtractTables (Filename, "SSDT", AX_OPTIONAL_TABLES); in main()
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Ddownload.c54 char *Filename; in ADM_Process_download() local
71 Filename = argv[3]; in ADM_Process_download()
76 Filename = argv[2]; in ADM_Process_download()
81 if ((FilePtr = fopen(Filename, "r")) == NULL) { in ADM_Process_download()
83 gettext("scadm: file could not be opened"), Filename); in ADM_Process_download()
91 gettext("scadm: file not a valid s-record"), Filename); in ADM_Process_download()
176 gettext("scadm: Error downloading file"), Filename); in ADM_Process_download()
/illumos-gate/usr/src/uts/intel/sys/acpi/
H A Dacoutput.h437 #define ACPI_DO_DEBUG_PRINT(Function, Level, Line, Filename, Modulename, Component, ...) \ argument
441 Function (Level, Line, Filename, Modulename, Component, __VA_ARGS__); \
445 #define ACPI_ACTUAL_DEBUG(Level, Line, Filename, Modulename, Component, ...) \ argument
447 Filename, Modulename, Component, __VA_ARGS__)
449 #define ACPI_ACTUAL_DEBUG_RAW(Level, Line, Filename, Modulename, Component, ...) \ argument
451 Filename, Modulename, Component, __VA_ARGS__)

123