OpenOCD
|
Go to the source code of this file.
Macros | |
#define | IN_REPLACEMENTS_C |
Functions | |
void * | clear_malloc (size_t size) |
void * | fill_malloc (size_t size) |
char * | strndup (const char *s, size_t n) |
size_t | strnlen (const char *s, size_t maxlen) |
#define IN_REPLACEMENTS_C |
Definition at line 44 of file replacements.c.
void* clear_malloc | ( | size_t | size | ) |
Definition at line 22 of file replacements.c.
References size.
void* fill_malloc | ( | size_t | size | ) |
Definition at line 30 of file replacements.c.
References size.
char* strndup | ( | const char * | s, |
size_t | n | ||
) |
Definition at line 111 of file replacements.c.
References NULL, and strnlen().
Referenced by adapter_usb_location_equal(), decode_xfer_read(), gdb_get_char_inner(), gdb_get_registers_packet(), jim_arc_add_reg(), and str_to_buf().
size_t strnlen | ( | const char * | s, |
size_t | maxlen | ||
) |
Definition at line 103 of file replacements.c.
Referenced by adapter_usb_location_equal(), and strndup().