TianoCore EDK2 master
|
#include <CrtLibSupport.h>
Go to the source code of this file.
Typedefs | |
typedef int(* | SORT_COMPARE) (IN VOID *Buffer1, IN VOID *Buffer2) |
Functions | |
STATIC VOID | QuickSortWorker (IN OUT VOID *BufferToSort, IN CONST UINTN Count, IN CONST UINTN ElementSize, IN SORT_COMPARE CompareFunction, IN VOID *Buffer) |
char * | strchr (const char *str, int ch) |
char * | strrchr (const char *str, int c) |
int | strncasecmp (const char *s1, const char *s2, size_t n) |
int | sscanf (const char *buffer, const char *format,...) |
char * | strerror (int errnum) |
size_t | strspn (const char *s1, const char *s2) |
size_t | strcspn (const char *s1, const char *s2) |
char * | strcpy (char *strDest, const char *strSource) |
char * | strncpy (char *strDest, const char *strSource, size_t count) |
char * | strcat (char *strDest, const char *strSource) |
int | strcmp (const char *s1, const char *s2) |
int | isdigit (int c) |
int | isxdigit (int c) |
int | isspace (int c) |
int | isalnum (int c) |
int | isupper (int c) |
long | strtol (const char *nptr, char **endptr, int base) |
unsigned long | strtoul (const char *nptr, char **endptr, int base) |
int | tolower (int c) |
void | qsort (void *base, size_t num, size_t width, int(*compare)(const void *, const void *)) |
char * | getenv (const char *varname) |
char * | secure_getenv (const char *varname) |
size_t | fwrite (const void *buffer, size_t size, size_t count, FILE *stream) |
void | abort (void) |
int | fclose (FILE *f) |
FILE * | fopen (const char *c, const char *m) |
size_t | fread (void *b, size_t c, size_t i, FILE *f) |
uid_t | getuid (void) |
uid_t | geteuid (void) |
gid_t | getgid (void) |
gid_t | getegid (void) |
int | printf (char const *fmt,...) |
Variables | |
int | errno = 0 |
FILE * | stderr = NULL |
FILE * | stdin = NULL |
FILE * | stdout = NULL |
C Run-Time Libraries (CRT) Wrapper Implementation for OpenSSL-based Cryptographic Library.
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CrtWrapper.c.
Definition at line 19 of file CrtWrapper.c.
void abort | ( | void | ) |
Definition at line 555 of file CrtWrapper.c.
int fclose | ( | FILE * | f | ) |
Definition at line 565 of file CrtWrapper.c.
FILE * fopen | ( | const char * | c, |
const char * | m | ||
) |
Definition at line 573 of file CrtWrapper.c.
size_t fread | ( | void * | b, |
size_t | c, | ||
size_t | i, | ||
FILE * | f | ||
) |
Definition at line 582 of file CrtWrapper.c.
size_t fwrite | ( | const void * | buffer, |
size_t | size, | ||
size_t | count, | ||
FILE * | stream | ||
) |
Definition at line 513 of file CrtWrapper.c.
gid_t getegid | ( | void | ) |
Definition at line 617 of file CrtWrapper.c.
char * getenv | ( | const char * | varname | ) |
Definition at line 480 of file CrtWrapper.c.
uid_t geteuid | ( | void | ) |
Definition at line 601 of file CrtWrapper.c.
gid_t getgid | ( | void | ) |
Definition at line 609 of file CrtWrapper.c.
uid_t getuid | ( | void | ) |
Definition at line 593 of file CrtWrapper.c.
int isalnum | ( | int | c | ) |
Definition at line 370 of file CrtWrapper.c.
int isdigit | ( | int | c | ) |
Definition at line 332 of file CrtWrapper.c.
int isspace | ( | int | c | ) |
Definition at line 358 of file CrtWrapper.c.
int isupper | ( | int | c | ) |
Definition at line 384 of file CrtWrapper.c.
int isxdigit | ( | int | c | ) |
Definition at line 344 of file CrtWrapper.c.
int printf | ( | char const * | fmt, |
... | |||
) |
Definition at line 625 of file CrtWrapper.c.
void qsort | ( | void * | base, |
size_t | num, | ||
size_t | width, | ||
int(*)(const void *, const void *) | compare | ||
) |
Definition at line 447 of file CrtWrapper.c.
STATIC VOID QuickSortWorker | ( | IN OUT VOID * | BufferToSort, |
IN CONST UINTN | Count, | ||
IN CONST UINTN | ElementSize, | ||
IN SORT_COMPARE | CompareFunction, | ||
IN VOID * | Buffer | ||
) |
Definition at line 30 of file CrtWrapper.c.
char * secure_getenv | ( | const char * | varname | ) |
Definition at line 493 of file CrtWrapper.c.
int sscanf | ( | const char * | buffer, |
const char * | format, | ||
... | |||
) |
Definition at line 180 of file CrtWrapper.c.
char * strcat | ( | char * | strDest, |
const char * | strSource | ||
) |
Definition at line 299 of file CrtWrapper.c.
char * strchr | ( | const char * | str, |
int | ch | ||
) |
Definition at line 119 of file CrtWrapper.c.
int strcmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 318 of file CrtWrapper.c.
char * strcpy | ( | char * | strDest, |
const char * | strSource | ||
) |
Definition at line 269 of file CrtWrapper.c.
size_t strcspn | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 239 of file CrtWrapper.c.
char * strerror | ( | int | errnum | ) |
Definition at line 195 of file CrtWrapper.c.
int strncasecmp | ( | const char * | s1, |
const char * | s2, | ||
size_t | n | ||
) |
Definition at line 149 of file CrtWrapper.c.
char * strncpy | ( | char * | strDest, |
const char * | strSource, | ||
size_t | count | ||
) |
Definition at line 279 of file CrtWrapper.c.
char * strrchr | ( | const char * | str, |
int | c | ||
) |
Definition at line 129 of file CrtWrapper.c.
size_t strspn | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 205 of file CrtWrapper.c.
long strtol | ( | const char * | nptr, |
char ** | endptr, | ||
int | base | ||
) |
Definition at line 400 of file CrtWrapper.c.
unsigned long strtoul | ( | const char * | nptr, |
char ** | endptr, | ||
int | base | ||
) |
Definition at line 415 of file CrtWrapper.c.
int tolower | ( | int | c | ) |
Definition at line 430 of file CrtWrapper.c.
int errno = 0 |
Definition at line 12 of file CrtWrapper.c.
FILE* stderr = NULL |
Definition at line 14 of file CrtWrapper.c.
FILE* stdin = NULL |
Definition at line 15 of file CrtWrapper.c.
FILE* stdout = NULL |
Definition at line 16 of file CrtWrapper.c.