String functions.
More...
|
static void | mem_cpy (void *dst, const void *src, UINT cnt) |
| Copy memory to memory. More...
|
|
static void | mem_set (void *dst, int val, UINT cnt) |
| Fill memory. More...
|
|
static int | mem_cmp (const void *dst, const void *src, UINT cnt) |
| Compare memory to memory. More...
|
|
static int | chk_chr (const char *str, int chr) |
| Check if chr is contained in the string. More...
|
|
String functions.
static int chk_chr |
( |
const char * |
str, |
|
|
int |
chr |
|
) |
| |
|
static |
Check if chr is contained in the string.
- Parameters
-
str | Search string |
chr | Pattern to search |
- Returns
- 0 if chr isn't contained in the string
Definition at line 662 of file ff.c.
static int mem_cmp |
( |
const void * |
dst, |
|
|
const void * |
src, |
|
|
UINT |
cnt |
|
) |
| |
|
static |
Compare memory to memory.
- Parameters
-
dst | Destination string |
src | Source string |
cnt | Count of bytes |
- Returns
- 0 if memories are the same
Definition at line 647 of file ff.c.
static void mem_cpy |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
UINT |
cnt |
|
) |
| |
|
static |
Copy memory to memory.
- Parameters
-
dst | Destination string |
src | Source string |
cnt | Count of bytes |
Definition at line 612 of file ff.c.
static void mem_set |
( |
void * |
dst, |
|
|
int |
val, |
|
|
UINT |
cnt |
|
) |
| |
|
static |
Fill memory.
- Parameters
-
dst | Memory buffer |
src | Value to fill in |
cnt | Count of bytes |
Definition at line 633 of file ff.c.