HomeSort by: relevance | last modified time | path
    Searched refs:File (Results 1 - 25 of 84) sorted by relevancy

1 2 3 4

  /src/lib/libcurses/PSD.doc/
life.c 86 * The input can also be from a file. The list is built after the
114 mvaddstr(0, 0, "File name: ");
  /src/sys/external/bsd/acpica/dist/tools/efihello/
efihello.c 76 ACPI_FILE File;
87 File = fopen (argv[1], "r");
88 if (!File)
97 File = stdin;
102 Result = fgets (LineBuffer, LINE_SIZE, File);
106 fclose (File);
121 fclose (File);
  /src/sys/external/bsd/acpica/dist/common/
cmfsize.c 3 * Module Name: cmfsize - Common get file size function
56 * PARAMETERS: File - Open file descriptor
58 * RETURN: File Size. On error, -1 (ACPI_UINT32_MAX)
60 * DESCRIPTION: Get the size of a file. Uses seek-to-EOF. File must be open.
61 * Does not disturb the current file pointer.
67 ACPI_FILE File)
74 /* Save the current file pointer, seek to EOF to obtain file size *
    [all...]
acfileio.c 3 * Module Name: acfileio - Get ACPI tables from file
59 FILE *File,
108 * DESCRIPTION: Get all ACPI tables from within a single file.
121 FILE *File;
127 File = fopen (Filename, "rb");
128 if (!File)
130 fprintf (stderr, "Could not open input file: %s\n", Filename);
139 /* Get the file size *
    [all...]
adisasm.c 66 FILE *File,
73 FILE *File,
174 * OutToFile - TRUE if output should go to a file
193 FILE *File = NULL;
199 * Input: AML code from either a file or via GetTables (memory or
204 /* Get the list of all AML tables in the file */
253 * Output: ASL code. Redirect to a file if requeste
    [all...]
adfile.c 3 * Module Name: adfile - Application-level disassembler file support routines
111 * PARAMETERS: Filename - name of file
117 * DESCRIPTION: Open a file and write out a single buffer
127 FILE *File;
131 File = fopen (Filename, "wb");
132 if (!File)
134 printf ("Could not open file %s\n", Filename);
138 Actual = fwrite (Buffer, 1, (size_t) Length, File);
141 printf ("Could not write to file %s\n", Filename)
    [all...]
  /src/sys/external/bsd/acpica/dist/tools/acpidump/
apfiles.c 3 * Module Name: apfiles - File-related functions for acpidump utility
62 * DESCRIPTION: Query for file overwrite if it already exists.
102 * RETURN: Open file handle
104 * DESCRIPTION: Open a text output file for acpidump. Checks if file already
113 ACPI_FILE File;
116 /* If file exists, prompt for overwrite */
123 /* Point stdout to the file */
125 File = fopen (Pathname, "w");
126 if (!File)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/test/profile/
instrprof-without-libc.c 41 FILE *File = fopen(argv[1], "w");
42 if (!File)
44 if (fwrite(Buffer, 1, Size, File) != Size)
46 return fclose(File);
instrprof-bufferio.c 14 ProfBufferIO *llvmCreateBufferIOInternal(FILE *File, uint32_t DefaultBufferSz);
28 FILE *File[4];
41 File[J] = fopen(argv[1 + J], "w");
42 if (!File[J])
45 BufferIO = llvmCreateBufferIOInternal(File[J], IOBufferSize[J]);
74 fclose(File[J]);
  /src/usr.bin/crunch/crunchgen/
mkskel.sh 8 /* File created via mkskel.sh */
  /src/sys/rump/fs/lib/libnofifovfs/
Makefile 5 COMMENT=File system null FIFO support
  /src/sys/external/bsd/acpica/dist/utilities/
utbuffer.c 243 * PARAMETERS: File - File descriptor
255 * DESCRIPTION: Generic dump buffer in both hex and ascii to a file.
261 ACPI_FILE File,
275 fprintf (File, "Null Buffer Pointer in DumpBuffer!\n");
290 fprintf (File, "%8.4X: ", (BaseOffset + i));
300 fprintf (File, "%*s", ((Display * 2) + 1), " ");
310 fprintf (File, "%02X ", Buffer[(ACPI_SIZE) i + j]);
316 fprintf (File, "%04X ", Temp32);
322 fprintf (File, "%08X ", Temp32)
    [all...]
  /src/sys/arch/hpc/stand/hpcboot/
boot.h 41 class File;
58 File *_file; // FAT/FFS/via HTTP
load.h 41 class File;
56 File *_file;
74 virtual BOOL setFile(File *&file) { _file = file; return TRUE; }
85 static LoaderOps objectFormat(File &);
file.h 1 /* -*-C++-*- $NetBSD: file.h,v 1.6 2008/04/28 20:23:20 martin Exp $ */
40 class File {
48 File(Console *&cons) : _cons(cons) { /* NO-OP */ }
49 virtual ~File() { /* NO-OP */ }
62 class FileManager : public File {
67 ASCII_FLAG = 0x01, /* bit 0 set: file probably ascii text */
70 ORIG_NAME = 0x08, /* bit 3 set: original file name present */
71 COMMENT = 0x10, /* bit 4 set: file comment present */
78 int _z_eof; /* set if end of input file */
92 File *_file
    [all...]
file.cpp 1 /* -*-C++-*- $NetBSD: file.cpp,v 1.5 2008/04/28 20:23:20 martin Exp $ */
33 #include <file.h>
39 : File(cons)
41 // File System
64 File::_to_ascii(char *m, const TCHAR *w, size_t mlen)
  /src/sys/external/bsd/acpica/dist/tools/acpibin/
abcompare.c 207 FILE *File;
210 File = fopen (FilePath, "rb");
211 if (!File)
213 printf ("Could not open file %s\n", FilePath);
217 Actual = fread (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File);
218 fclose (File);
222 printf ("File %s does not contain a valid ACPI table header\n", FilePath);
250 FILE *File;
    [all...]
  /src/sys/rump/dev/lib/libfss/
Makefile 7 COMMENT=File system snapshot device
  /src/sys/rump/fs/lib/libfifovfs/
Makefile 7 COMMENT=File system FIFO support
  /src/sys/rump/fs/lib/libmfs/
Makefile 7 COMMENT=Memory File System (in-memory FFS)
  /src/sys/external/bsd/acpica/dist/include/
acclib.h 79 #define ENOENT 2 /* No such file or directory */
82 #define EBADF 9 /* Bad file number */
88 #define EEXIST 17 /* File exists */
239 * NOTE: Currently we only need to update errno for file IOs. Other
264 FILE *File,
270 FILE *File,
274 FILE *
281 FILE *File)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/profile/
InstrProfilingFile.c 1 /*===- InstrProfilingFile.c - Write instrumentation to a file -------------===*\
5 |* This file is distributed under the University of Illinois Open Source
24 FILE *File = (FILE *)*WriterCtx;
26 if (fwrite(IOVecs[I].Data, IOVecs[I].ElmSize, IOVecs[I].NumElm, File) !=
34 llvmCreateBufferIOInternal(void *File, uint32_t BufferSz) {
37 return llvmCreateBufferIO(fileWriter, File, BufferSz);
40 static int writeFile(FILE *File) {
    [all...]
InstrProfilingInternal.h 5 |* This file is distributed under the University of Illinois Open Source
58 /* File handle. */
59 void *File;
71 ProfBufferIO *llvmCreateBufferIOInternal(void *File, uint32_t DefaultBufferSz);
75 ProfBufferIO *llvmCreateBufferIO(WriterCallback FileWriter, void *File,
InstrProfilingWriter.c 1 /*===- InstrProfilingWriter.c - Write instrumentation to a file or buffer -===*\
5 |* This file is distributed under the University of Illinois Open Source
37 void *File, uint8_t *Buffer, uint32_t BufferSz) {
38 BufferIO->File = File;
46 llvmCreateBufferIO(WriterCallback FileWriter, void *File, uint32_t BufferSz) {
53 llvmInitBufferIO(BufferIO, FileWriter, File, Buffer, BufferSz);
72 if (BufferIO->FileWriter(IO, 1, &BufferIO->File))
87 if (BufferIO->FileWriter(IO, 1, &BufferIO->File))
  /src/sys/external/bsd/acpica/dist/compiler/
dttemplate.c 75 FILE *File,
223 * DESCRIPTION: Create one template file of the requested signature.
312 /* If table has a template, create the template file */
374 * TableCount - Used for SSDTs in same file as DSDT
380 * DESCRIPTION: Create one template source file for the requested ACPI table.
391 FILE *File;
397 /* New file will have a .asl suffix */
413 File = fopen (DisasmFilename, "w+")
    [all...]

Completed in 29 milliseconds

1 2 3 4