OpenCore
1.0.4
OpenCore Bootloader
|
#include <Library/OcTemplateLib.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
Go to the source code of this file.
Data Structures | |
union | PRIV_OC_LIST_ |
Macros | |
#define | PRIV_OC_BLOB_FIELDS(_, __) |
#define | PRIV_OC_MAP_FIELDS(_, __) |
#define | PRIV_OC_ARRAY_FIELDS(_, __) |
Typedefs | |
typedef union PRIV_OC_LIST_ | PRIV_OC_LIST |
Functions | |
VOID | OcFreePointer (VOID *Pointer, UINT32 Size) |
VOID | OcZeroField (VOID *Pointer, UINT32 Size) |
VOID | OcDestructEmpty (VOID *Pointer, UINT32 Size) |
STATIC VOID | OcFreeList (VOID *Pointer, BOOLEAN HasKeys) |
VOID | OcFreeMap (VOID *Pointer, UINT32 Size) |
VOID | OcFreeArray (VOID *Pointer, UINT32 Size) |
VOID * | OcBlobAllocate (VOID *Pointer, UINT32 Size, UINT32 **OutSize OPTIONAL) |
BOOLEAN | OcListEntryAllocate (VOID *Pointer, VOID **Value, VOID **Key) |
OcTemplateLib
Copyright (c) 2018, vit9696
All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file OcTemplateLib.c.
#define PRIV_OC_ARRAY_FIELDS | ( | _, | |
__ ) |
Definition at line 34 of file OcTemplateLib.c.
#define PRIV_OC_BLOB_FIELDS | ( | _, | |
__ ) |
Definition at line 26 of file OcTemplateLib.c.
#define PRIV_OC_MAP_FIELDS | ( | _, | |
__ ) |
Definition at line 30 of file OcTemplateLib.c.
typedef union PRIV_OC_LIST_ PRIV_OC_LIST |
VOID * OcBlobAllocate | ( | VOID * | Pointer, |
UINT32 | Size, | ||
UINT32 **OutSize | OPTIONAL ) |
Definition at line 138 of file OcTemplateLib.c.
VOID OcDestructEmpty | ( | VOID * | Pointer, |
UINT32 | Size ) |
Definition at line 79 of file OcTemplateLib.c.
VOID OcFreeArray | ( | VOID * | Pointer, |
UINT32 | Size ) |
Definition at line 129 of file OcTemplateLib.c.
STATIC VOID OcFreeList | ( | VOID * | Pointer, |
BOOLEAN | HasKeys ) |
Definition at line 90 of file OcTemplateLib.c.
VOID OcFreeMap | ( | VOID * | Pointer, |
UINT32 | Size ) |
Definition at line 120 of file OcTemplateLib.c.
VOID OcFreePointer | ( | VOID * | Pointer, |
UINT32 | Size ) |
Definition at line 56 of file OcTemplateLib.c.
BOOLEAN OcListEntryAllocate | ( | VOID * | Pointer, |
VOID ** | Value, | ||
VOID ** | Key ) |
Definition at line 199 of file OcTemplateLib.c.
VOID OcZeroField | ( | VOID * | Pointer, |
UINT32 | Size ) |
Definition at line 70 of file OcTemplateLib.c.