string.h File Reference

#include <stddef.h>
#include <stdlib.h>

Include dependency graph for string.h:

Go to the source code of this file.

Functions

void * memcpy (void *dest, const void *src, size_t n)
void * memmove (void *dest, const void *src, size_t n)
void * memset (void *s, int c, size_t n)
int memcmp (const void *s1, const void *s2, size_t n)
void * malloc (size_t size)
int sprintf (char *buf, const char *fmt,...)
static size_t strnlen (const char *src, size_t max)
static size_t strlen (const char *src)
static char * strchr (const char *s, int c)
static char * strdup (const char *s)
static char * strncpy (char *to, const char *from, int count)
static int strcmp (const char *s1, const char *s2)
static int isspace (int c)
static int isdigit (int c)
static int isxdigit (int c)
static int isupper (int c)
static int islower (int c)
static int toupper (int c)
static int tolower (int c)


Function Documentation

static int isdigit ( int  c  )  [inline, static]

Definition at line 95 of file string.h.

static int islower ( int  c  )  [inline, static]

Definition at line 112 of file string.h.

Referenced by simple_strtoull(), and toupper().

Here is the caller graph for this function:

static int isspace ( int  c  )  [inline, static]

Definition at line 84 of file string.h.

Referenced by convert_checksum_value(), ext2fs_dir(), fat_dir(), iso9660_dir(), prepare_cmos_write(), and skip_spaces().

Here is the caller graph for this function:

static int isupper ( int  c  )  [inline, static]

Definition at line 107 of file string.h.

Referenced by tolower().

Here is the caller graph for this function:

static int isxdigit ( int  c  )  [inline, static]

Definition at line 100 of file string.h.

void* malloc ( size_t  size  ) 

Definition at line 26 of file malloc.c.

References die(), free_mem_end_ptr, free_mem_ptr, and MALLOCDBG.

Here is the call graph for this function:

int memcmp ( const void *  s1,
const void *  s2,
size_t  n 
)

void* memcpy ( void *  dest,
const void *  src,
size_t  n 
)

void* memmove ( void *  dest,
const void *  src,
size_t  n 
)

Definition at line 2 of file memmove.c.

Referenced by compact_resources(), ext2fs_dir(), lb_cleanup_memory_ranges(), and lb_remove_memory_range().

Here is the caller graph for this function:

void* memset ( void *  s,
int  c,
size_t  n 
)

int sprintf ( char *  buf,
const char *  fmt,
  ... 
)

Definition at line 36 of file vsprintf.c.

References vsprintf().

Referenced by addrprint(), amdfam10_set_resource(), amdk8_set_resource(), bus_path(), compile_macro(), dev_path(), main(), print_intel_core_msrs(), register_builtin_macros(), report_resource_stored(), resource_type(), uint64_to_hex_string(), and update_sspr().

Here is the call graph for this function:

Here is the caller graph for this function:

static char* strchr ( const char *  s,
int  c 
) [inline, static]

Definition at line 39 of file string.h.

Referenced by append_define(), boot(), file_open(), process_cmdline_macros(), and set_arg().

Here is the caller graph for this function:

static int strcmp ( const char *  s1,
const char *  s2 
) [inline, static]

static char* strdup ( const char *  s  )  [inline, static]

Definition at line 48 of file string.h.

References malloc(), memcpy(), and strlen().

Referenced by boot(), file_open(), find_mainboard(), main(), and show_id().

Here is the call graph for this function:

Here is the caller graph for this function:

static size_t strlen ( const char *  src  )  [inline, static]

static char* strncpy ( char *  to,
const char *  from,
int  count 
) [inline, static]

Definition at line 56 of file string.h.

References ret.

Referenced by devopen(), filo(), main(), pnstr(), and process_cmos_table().

Here is the caller graph for this function:

static size_t strnlen ( const char *  src,
size_t  max 
) [inline, static]

Definition at line 21 of file string.h.

Referenced by vtxprintf().

Here is the caller graph for this function:

static int tolower ( int  c  )  [inline, static]

Definition at line 124 of file string.h.

References isupper().

Referenced by fat_dir().

Here is the call graph for this function:

Here is the caller graph for this function:

static int toupper ( int  c  )  [inline, static]

Definition at line 117 of file string.h.

References islower().

Referenced by simple_strtoull(), and strtoull_with_suffix().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Wed Jan 7 14:31:34 2009 for coreboot by  doxygen 1.5.5