HomeSort by: relevance | last modified time | path
    Searched defs:Buffer (Results 1 - 25 of 79) sorted by relevancy

1 2 3 4

  /src/sys/external/bsd/acpica/dist/executer/
exstorob.c 170 * DESCRIPTION: Copy a buffer object to another buffer object.
180 UINT8 *Buffer;
193 /* We know that SourceDesc is a buffer by now */
195 Buffer = ACPI_CAST_PTR (UINT8, SourceDesc->Buffer.Pointer);
196 Length = SourceDesc->Buffer.Length;
199 * If target is a buffer of length zero or is a static buffer,
200 * allocate a new buffer of the proper lengt
    [all...]
exoparg3.c 287 char *Buffer = NULL;
302 * either a String or a Buffer, so just use its type.
318 * If the index is beyond the length of the String/Buffer, or if the
319 * requested length is zero, return a zero-length String/Buffer
326 /* Truncate request if larger than the actual String/Buffer */
340 /* Always allocate a new buffer for the String */
342 Buffer = ACPI_ALLOCATE_ZEROED ((ACPI_SIZE) Length + 1);
343 if (!Buffer)
352 /* If the requested length is zero, don't allocate a buffer */
356 /* Allocate a new buffer for the Buffer *
    [all...]
exfield.c 249 * Buffer, depending on the size of the field and whether if a
262 void *Buffer;
309 * Allocate a buffer for the contents of the field.
312 * a BUFFER to hold it. Otherwise, use an INTEGER. This allows
316 * However, all buffer fields created by CreateField operator needs to
317 * remain as a buffer to match other AML interpreter implementations.
328 /* Field is too large for an Integer, create a Buffer instead */
335 Buffer = BufferDesc->Buffer.Pointer;
348 Buffer = &BufferDesc->Integer.Value
    [all...]
exserial.c 168 * Buffer - Where the return data is returned
180 void *Buffer)
205 ObjDesc, 0, (UINT64 *) Buffer, ACPI_READ);
235 void *Buffer;
260 Buffer = &SourceDesc->Integer.Value;
269 ObjDesc, 0, (UINT64 *) Buffer, ACPI_WRITE);
305 * This is an SMBus, GSBus or IPMI read. We must create a buffer to
311 * Common buffer format:
312 * Status; (Byte 0 of the data buffer)
313 * Length; (Byte 1 of the data buffer)
    [all...]
exconcat.c 185 * String, and Buffer objects. However, we support all objects here
204 char *Buffer;
269 * guaranteed to be either Integer/String/Buffer by the operand
330 * (Both are Integer, String, or Buffer), and we can now perform
335 * 1) Two Integers concatenated to produce a new Buffer
337 * 3) Two Buffers concatenated to produce a new Buffer
343 /* Result of two Integers is a Buffer */
344 /* Need enough buffer space for two integers */
354 Buffer = (char *) ReturnDesc->Buffer.Pointer
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_monitor.h 25 InternalScopedString Buffer;
  /src/sys/external/bsd/compiler_rt/dist/test/profile/
instrprof-without-libc.c 26 static char Buffer[MaxSize];
31 int Write = __llvm_profile_write_buffer(Buffer);
32 if (__llvm_profile_write_buffer(Buffer))
44 if (fwrite(Buffer, 1, Size, File) != Size)
  /src/sys/external/bsd/gnu-efi/dist/apps/
modelist.c 78 CHAR16 Buffer[64];
79 StatusToString(Buffer, rc);
80 Print(L"Bad response from QueryMode: %s (%d)\n", Buffer, rc);
bltgrid.c 102 CHAR16 Buffer[64];
103 StatusToString(Buffer, rc);
104 Print(L"Bad response from QueryMode: %s (%d)\n", Buffer, rc);
  /src/usr.bin/make/
buf.h 82 /* An automatically growing null-terminated buffer of characters. */
83 typedef struct Buffer {
84 size_t cap; /* Allocated size of the buffer, including the '\0' */
85 size_t len; /* Number of bytes in buffer, excluding the '\0' */
86 char *data; /* The buffer itself (always null-terminated) */
87 } Buffer;
89 void Buf_Expand(Buffer *);
91 /* Mark the buffer as empty, so it can be filled with data again. */
93 Buf_Clear(Buffer *buf)
99 /* Adds a single byte to a buffer. *
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
aslcache.c 167 * PARAMETERS: Length - Size of buffer requested
169 * RETURN: Pointer to the buffer. Aborts compiler on allocation failure
171 * DESCRIPTION: Allocate a string buffer. Bypass the local
181 char *Buffer;
199 /* Link new cache buffer just following head of list */
209 return (Cache->Buffer);
216 /* Allocate a new buffer */
220 /* Link new cache buffer to head of list */
227 AslGbl_StringCacheNext = Cache->Buffer;
234 Buffer = AslGbl_StringCacheNext
    [all...]
asllength.c 396 char *Buffer;
468 Status = UtInternalizeName (Op->Asl.Value.String, &Buffer);
477 Op->Asl.Value.String = Buffer;
479 Op->Asl.AmlLength = strlen (Buffer);
aslmapenter.c 327 char *Buffer;
335 Buffer = UtLocalCacheCalloc (sizeof (ACPI_GPIO_INFO));
336 Info = ACPI_CAST_PTR (ACPI_GPIO_INFO, Buffer);
405 char *Buffer;
412 Buffer = UtLocalCacheCalloc (sizeof (ACPI_SERIAL_INFO));
413 Info = ACPI_CAST_PTR (ACPI_SERIAL_INFO, Buffer);
aslpld.c 181 * DESCRIPTION: Convert ToPLD macro to 20-byte buffer
200 UINT8 *Buffer;
676 Buffer = OpcEncodePldBuffer (&PldInfo);
678 /* Change Op to a Buffer */
688 /* Child node is the buffer length */
699 /* Peer to the child is the raw buffer data */
704 NewOp->Asl.Value.String = ACPI_CAST_PTR (char, Buffer);
715 * PARAMETERS: PldInfo - _PLD buffer struct (Using local struct)
717 * RETURN: Encode _PLD buffer suitable for return value from _PLD
719 * DESCRIPTION: Bit-packs a _PLD buffer struct
    [all...]
  /src/sys/external/bsd/acpica/dist/dispatcher/
dsdebug.c 182 * Manages allocation/freeing of a pathname buffer
191 ACPI_BUFFER Buffer;
205 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
207 Status = AcpiNsHandleToPathname (Node, &Buffer, TRUE);
216 (char *) Buffer.Pointer, Node));
217 ACPI_FREE (Buffer.Pointer);
267 "Executing subtree for Buffer/Package/Region\n"));
  /src/sys/external/bsd/acpica/dist/namespace/
nsdumpdv.c 189 ACPI_BUFFER Buffer;
200 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
201 Status = AcpiGetObjectInfo (ObjHandle, &Buffer);
204 Info = Buffer.Pointer;
  /src/sys/external/bsd/acpica/dist/utilities/
utalloc.c 330 char Buffer[7];
335 strcpy (Buffer, "MEMORY");
336 (void) AcpiDbDisplayStatistics (Buffer);
389 * PARAMETERS: Buffer - Buffer descriptor to be validated
399 ACPI_BUFFER *Buffer)
404 if (!Buffer)
411 if ((Buffer->Length == ACPI_NO_BUFFER) ||
412 (Buffer->Length == ACPI_ALLOCATE_BUFFER) ||
413 (Buffer->Length == ACPI_ALLOCATE_LOCAL_BUFFER)
    [all...]
utxface.c 238 * PARAMETERS: OutBuffer - A buffer to receive the resources for the
271 /* Validate/Allocate/Clear caller buffer */
280 * Populate the return buffer
661 * PARAMETERS: InBuffer - Buffer returned by _PLD method
663 * ReturnBuffer - Where the decode buffer is returned
665 * RETURN: Status and the decoded _PLD buffer. User must deallocate
666 * the buffer via ACPI_FREE.
668 * DESCRIPTION: Decode the bit-packed buffer returned by the _PLD method into
680 UINT32 *Buffer = ACPI_CAST_PTR (UINT32, InBuffer);
699 ACPI_MOVE_32_TO_32 (&Dword, &Buffer[0])
    [all...]
  /src/sys/external/bsd/acpica/dist/tools/acpidump/
apfiles.c 341 * RETURN: Buffer containing the ACPI table. NULL on error.
343 * DESCRIPTION: Open a file and read it entirely into a new buffer
352 ACPI_TABLE_HEADER *Buffer = NULL;
367 /* Need file size to allocate a buffer */
377 /* Allocate a buffer for the entire file */
379 Buffer = ACPI_ALLOCATE_ZEROED (FileSize);
380 if (!Buffer)
383 "Could not allocate file buffer of size: %u\n", FileSize);
389 Actual = fread (Buffer, 1, FileSize, File);
393 ACPI_FREE (Buffer);
    [all...]
  /src/sys/arch/epoc32/stand/e32boot/include/
netbsd.h 49 TUint8 *GetBuffer(void) { return Buffer; };
55 TUint8 *Buffer;
64 ELF(TInt size) { Buffer = new TUint8[size]; };
  /src/common/dist/zlib/contrib/ada/
mtest.adb 36 Buffer : Stream_Element_Array (1 .. 100_000);
66 if Buffer (Compare_First .. Next_First - 1) /= Item then
86 Buff_Diff : Stream_Element_Offset := Buffer'Last - Buffer_First;
94 Item := Buffer (Buffer_First .. Next_First - 1);
99 Item (Item'First .. Last) := Buffer (Buffer_First .. Buffer'Last);
100 Buffer_First := Buffer'Last + 1;
111 Buffer := (others => 20);
114 for J in Buffer'Range loop
115 Buffer (J) := Random_Elements.Random (Gen)
    [all...]
read.adb 136 Buffer : Stream_Element_Array (1 .. 1024);
139 Read (Filter, Buffer, Last);
141 Pack_Size := Pack_Size + Last - Buffer'First + 1;
143 exit when Last < Buffer'Last;
zlib-streams.adb 33 Free (Stream.Buffer);
91 Stream.Buffer := new Buffer_Subtype;
92 Stream.Rest_First := Stream.Buffer'Last + 1;
93 Stream.Rest_Last := Stream.Buffer'Last;
105 Buffer : Stream_Element_Array (1 .. Stream.Buffer_Size);
109 Flush (Stream.Writer, Buffer, Last, Mode);
111 Ada.Streams.Write (Stream.Back.all, Buffer (1 .. Last));
113 exit when Last < Buffer'Last;
153 Buffer => Stream.Buffer.all
    [all...]
  /src/sys/external/bsd/acpica/dist/common/
dmtbdump.c 176 * BufferOffset - Offset of buffer from Table above
177 * Length - Length of the buffer
178 * AbsoluteOffset - Offset of buffer in the main ACPI table
179 * Header - Name of the buffer field (printed on the
184 * DESCRIPTION: Format the contents of an arbitrary length data buffer (in the
197 UINT8 *Buffer;
208 Buffer = ACPI_CAST_PTR (UINT8, Table) + BufferOffset;
233 AcpiOsPrintf ("%.02X ", Buffer[(ACPI_SIZE) i + j]);
255 BufChar = Buffer[(ACPI_SIZE) i + j];
283 * BufferOffset - Offset of buffer from Table abov
    [all...]
  /src/sys/external/bsd/acpica/dist/resources/
rsxface.c 190 ACPI_BUFFER *Buffer,
199 * Buffer - Pointer to a data buffer
211 ACPI_BUFFER *Buffer,
241 * Validate the user buffer object
243 * if there is a non-zero buffer length we also need a valid pointer in
244 * the buffer. If it's a zero buffer length, we'll be returning the
245 * needed buffer size (later), so keep going.
247 Status = AcpiUtValidateBuffer (Buffer);
    [all...]

Completed in 27 milliseconds

1 2 3 4