TianoCore EDK2 master
|
#include "OnigurumaUefiPort.h"
Go to the source code of this file.
Data Structures | |
struct | ONIGMEM_HEAD |
Macros | |
#define | ONIGMEM_HEAD_SIGNATURE SIGNATURE_32('o','m','h','d') |
#define | ONIGMEM_OVERHEAD sizeof(ONIGMEM_HEAD) |
Functions | |
int EFIAPI | sprintf_s (char *str, size_t sizeOfBuffer, char const *fmt,...) |
int | OnigStrCmp (const char *Str1, const char *Str2) |
int | strlen (const char *str) |
void * | malloc (size_t size) |
void * | realloc (void *ptr, size_t size) |
void * | memcpy (void *dest, const void *src, unsigned int count) |
void * | memset (void *dest, int ch, unsigned int count) |
void | free (void *ptr) |
Module to rewrite stdlib references within Oniguruma
(C) Copyright 2014-2021 Hewlett Packard Enterprise Development LP
Copyright (c) 2020, Intel Corporation. All rights reserved.
Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file OnigurumaUefiPort.c.
#define ONIGMEM_HEAD_SIGNATURE SIGNATURE_32('o','m','h','d') |
Definition at line 13 of file OnigurumaUefiPort.c.
#define ONIGMEM_OVERHEAD sizeof(ONIGMEM_HEAD) |
Definition at line 20 of file OnigurumaUefiPort.c.
void free | ( | void * | ptr | ) |
Definition at line 137 of file OnigurumaUefiPort.c.
void * malloc | ( | size_t | size | ) |
Allocates memory blocks.
Definition at line 58 of file OnigurumaUefiPort.c.
void * memcpy | ( | void * | dest, |
const void * | src, | ||
unsigned int | count | ||
) |
Definition at line 115 of file OnigurumaUefiPort.c.
void * memset | ( | void * | dest, |
int | ch, | ||
unsigned int | count | ||
) |
Definition at line 127 of file OnigurumaUefiPort.c.
int OnigStrCmp | ( | const char * | Str1, |
const char * | Str2 | ||
) |
Definition at line 41 of file OnigurumaUefiPort.c.
void * realloc | ( | void * | ptr, |
size_t | size | ||
) |
Definition at line 81 of file OnigurumaUefiPort.c.
int EFIAPI sprintf_s | ( | char * | str, |
size_t | sizeOfBuffer, | ||
char const * | fmt, | ||
... | |||
) |
Definition at line 23 of file OnigurumaUefiPort.c.
int strlen | ( | const char * | str | ) |
Definition at line 50 of file OnigurumaUefiPort.c.