OpenCore
1.0.4
OpenCore Bootloader
|
#include <Library/BaseMemoryLib.h>
Go to the source code of this file.
Macros | |
#define | PRIV_OC_STRUCTOR_IGNORE(...) |
#define | PRIV_OC_STRUCTOR_EXPAND(...) |
#define | PRIV_OC_SELECT_NEXT_INNER(Dummy, Next, ...) |
#define | PRIV_OC_SELECT_NEXT_INNER_INDIR(...) |
#define | PRIV_OC_SELECT_NEXT(...) |
#define | PRIV_OC_REMOVE_NEXT(...) |
#define | PRIV_OC_DECLARE_STRUCT_MEMBER(Type, Name, Suffix, Constructor, Destructor) |
#define | PRIV_OC_CONSTRUCT_STRUCT_MEMBER(Type, Name, Suffix, Constructor, Destructor) |
#define | PRIV_OC_DESTRUCT_STRUCT_MEMBER(Type, Name, Suffix, Constructor, Destructor) |
#define | PRIV_OC_INVOKE_DESTRUCTOR(Destructor, Obj, Size) |
#define | PRIV_NO_KEY_TYPE UINT8 |
#define | OC_DECLARE(Name) |
#define | OC_STRUCTORS(Name, Destructor) |
#define | OC_CONSTR(A, _, __) |
#define | OC_CONSTR1(A, _, __) |
#define | OC_CONSTR2(A, _, __) |
#define | OC_CONSTR3(A, _, __) |
#define | OC_CONSTR5(A, _, __) |
#define | OC_DESTR(A) |
#define | OC_BLOB(Type, Count, Default, _, __) |
#define | OC_BLOB_STRUCTORS(Name) |
#define | OC_BLOB_CONSTR(Type, Constructor, SizeConstructor, _, __) |
#define | OC_MAP(KeyType, Type, _, __) |
#define | OC_MAP_STRUCTORS(Name) |
#define | OC_ARRAY(Type, _, __) |
#define | OC_ARRAY_STRUCTORS(Name) |
#define | OC_BLOB_GET(Blob) |
#define | OC_STRING_FIELDS(_, __) |
#define | OC_STRING_CONSTR(Constructor, _, __) |
#define | OC_ESTRING_CONSTR(_, __) |
#define | OC_DATA_FIELDS(_, __) |
#define | OC_EDATA_CONSTR(_, __) |
#define | OC_DATA_CONSTR(Constructor, _, __) |
#define | OC_ASSOC_FIELDS(_, __) |
Typedefs | |
typedef VOID(* | OC_STRUCTOR) (VOID *Ptr, UINT32 Size) |
Functions | |
VOID | OcFreePointer (VOID *Pointer, UINT32 Size) |
VOID | OcZeroField (VOID *Pointer, UINT32 Size) |
VOID | OcDestructEmpty (VOID *Pointer, UINT32 Size) |
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.h.
#define OC_ARRAY | ( | Type, | |
_, | |||
__ ) |
Definition at line 173 of file OcTemplateLib.h.
#define OC_ARRAY_STRUCTORS | ( | Name | ) |
Definition at line 181 of file OcTemplateLib.h.
#define OC_ASSOC_FIELDS | ( | _, | |
__ ) |
Definition at line 286 of file OcTemplateLib.h.
#define OC_BLOB | ( | Type, | |
Count, | |||
Default, | |||
_, | |||
__ ) |
Definition at line 126 of file OcTemplateLib.h.
#define OC_BLOB_CONSTR | ( | Type, | |
Constructor, | |||
SizeConstructor, | |||
_, | |||
__ ) |
Definition at line 135 of file OcTemplateLib.h.
#define OC_BLOB_GET | ( | Blob | ) |
Definition at line 247 of file OcTemplateLib.h.
#define OC_BLOB_STRUCTORS | ( | Name | ) |
Definition at line 132 of file OcTemplateLib.h.
#define OC_CONSTR | ( | A, | |
_, | |||
__ ) |
Definition at line 115 of file OcTemplateLib.h.
#define OC_CONSTR1 | ( | A, | |
_, | |||
__ ) |
Definition at line 116 of file OcTemplateLib.h.
#define OC_CONSTR2 | ( | A, | |
_, | |||
__ ) |
Definition at line 117 of file OcTemplateLib.h.
#define OC_CONSTR3 | ( | A, | |
_, | |||
__ ) |
Definition at line 118 of file OcTemplateLib.h.
#define OC_CONSTR5 | ( | A, | |
_, | |||
__ ) |
Definition at line 119 of file OcTemplateLib.h.
#define OC_DATA_CONSTR | ( | Constructor, | |
_, | |||
__ ) |
Definition at line 283 of file OcTemplateLib.h.
#define OC_DATA_FIELDS | ( | _, | |
__ ) |
Definition at line 276 of file OcTemplateLib.h.
#define OC_DECLARE | ( | Name | ) |
Definition at line 79 of file OcTemplateLib.h.
#define OC_DESTR | ( | A | ) |
Definition at line 120 of file OcTemplateLib.h.
#define OC_EDATA_CONSTR | ( | _, | |
__ ) |
Definition at line 280 of file OcTemplateLib.h.
#define OC_ESTRING_CONSTR | ( | _, | |
__ ) |
Definition at line 273 of file OcTemplateLib.h.
#define OC_MAP | ( | KeyType, | |
Type, | |||
_, | |||
__ ) |
Definition at line 148 of file OcTemplateLib.h.
#define OC_MAP_STRUCTORS | ( | Name | ) |
Definition at line 160 of file OcTemplateLib.h.
#define OC_STRING_CONSTR | ( | Constructor, | |
_, | |||
__ ) |
Definition at line 270 of file OcTemplateLib.h.
#define OC_STRING_FIELDS | ( | _, | |
__ ) |
Definition at line 266 of file OcTemplateLib.h.
#define OC_STRUCTORS | ( | Name, | |
Destructor ) |
Definition at line 91 of file OcTemplateLib.h.
#define PRIV_NO_KEY_TYPE UINT8 |
Definition at line 63 of file OcTemplateLib.h.
#define PRIV_OC_CONSTRUCT_STRUCT_MEMBER | ( | Type, | |
Name, | |||
Suffix, | |||
Constructor, | |||
Destructor ) |
Definition at line 54 of file OcTemplateLib.h.
#define PRIV_OC_DECLARE_STRUCT_MEMBER | ( | Type, | |
Name, | |||
Suffix, | |||
Constructor, | |||
Destructor ) |
Definition at line 51 of file OcTemplateLib.h.
#define PRIV_OC_DESTRUCT_STRUCT_MEMBER | ( | Type, | |
Name, | |||
Suffix, | |||
Constructor, | |||
Destructor ) |
Definition at line 57 of file OcTemplateLib.h.
#define PRIV_OC_INVOKE_DESTRUCTOR | ( | Destructor, | |
Obj, | |||
Size ) |
Definition at line 60 of file OcTemplateLib.h.
#define PRIV_OC_REMOVE_NEXT | ( | ... | ) |
Definition at line 49 of file OcTemplateLib.h.
#define PRIV_OC_SELECT_NEXT | ( | ... | ) |
Definition at line 48 of file OcTemplateLib.h.
#define PRIV_OC_SELECT_NEXT_INNER | ( | Dummy, | |
Next, | |||
... ) |
Definition at line 41 of file OcTemplateLib.h.
#define PRIV_OC_SELECT_NEXT_INNER_INDIR | ( | ... | ) |
Definition at line 47 of file OcTemplateLib.h.
#define PRIV_OC_STRUCTOR_EXPAND | ( | ... | ) |
Definition at line 39 of file OcTemplateLib.h.
#define PRIV_OC_STRUCTOR_IGNORE | ( | ... | ) |
Definition at line 38 of file OcTemplateLib.h.
typedef VOID(* OC_STRUCTOR) (VOID *Ptr, UINT32 Size) |
Definition at line 28 of file OcTemplateLib.h.
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.
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.