Back to index

glibc  2.9
Defines | Functions
string-inlines.c File Reference
#include <string.h>
#include <bits/string.h>
#include <bits/string2.h>

Go to the source code of this file.

Defines

#define __USE_STRING_INLINES
#define _FORCE_INLINES
#define __STRING_INLINE   /* empty */
#define __NO_INLINE__

Functions

void * __memcpy_by2 (void *dest, const void *src, size_t n)
 strong_alias (strong_alias(__memcpy_by2, __memcpy_by4)
 strong_alias (__memset_ccn_by2, __memset_ccn_by4)
 strong_alias (__memset_gcn_by2, __memset_gcn_by4)
char * __strcpy_g (char *d, const char *s)
char * __mempcpy_by2 (char *d, const char *s, size_t n)
 strong_alias (strong_alias(__mempcpy_by2, __mempcpy_by4)
char * __strncpy_by2 (char *d, const char s[], size_t srclen, size_t n)
 strong_alias (strong_alias(__strncpy_by2, __strncpy_by4)
char * __strcat_c (char *d, const char s[], size_t srclen)
char * __strcat_g (char *d, const char *s)
char * __strncat_g (char *d, const char s[], size_t n)
int __strcmp_gg (const char *s1, const char *s2)
int __strncmp_g (const char *s1, const char *s2, size_t n)
char * __strrchr_c (const char *s, int c)
char * __strrchr_g (const char *s, int c)
size_t __strcspn_cg (const char *s, const char reject[], size_t reject_len)
size_t __strcspn_g (const char *s, const char *reject)
size_t __strspn_cg (const char *s, const char accept[], size_t accept_len)
size_t __strspn_g (const char *s, const char *accept)
char * __strpbrk_cg (const char *s, const char accept[], size_t accept_len)
char * __strpbrk_g (const char *s, const char *accept)
char * __strstr_cg (const char *haystack, const char needle[], size_t needle_len)
char * __strstr_g (const char *haystack, const char needle[])

Define Documentation

#define __NO_INLINE__

Definition at line 27 of file string-inlines.c.

#define __STRING_INLINE   /* empty */

Definition at line 26 of file string-inlines.c.

Definition at line 24 of file string-inlines.c.

#define _FORCE_INLINES

Definition at line 25 of file string-inlines.c.


Function Documentation

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

Definition at line 39 of file string-inlines.c.

{
  return memcpy (dest, src, n);
}
char* __mempcpy_by2 ( char *  d,
const char *  s,
size_t  n 
)

Definition at line 74 of file string-inlines.c.

{
  return mempcpy (d, s, n);
}
char* __strcat_c ( char *  d,
const char  s[],
size_t  srclen 
)

Definition at line 102 of file string-inlines.c.

{
  return strcat (d, s);
}

Here is the call graph for this function:

char* __strcat_g ( char *  d,
const char *  s 
)

Definition at line 108 of file string-inlines.c.

{
  return strcat (d, s);
}

Here is the call graph for this function:

int __strcmp_gg ( const char *  s1,
const char *  s2 
)

Definition at line 120 of file string-inlines.c.

{
  return strcmp (s1, s2);
}
char* __strcpy_g ( char *  d,
const char *  s 
)

Definition at line 68 of file string-inlines.c.

{
  return strcpy (d, s);
}

Here is the call graph for this function:

size_t __strcspn_cg ( const char *  s,
const char  reject[],
size_t  reject_len 
)

Definition at line 144 of file string-inlines.c.

{
  return strcspn (s, reject);
}
size_t __strcspn_g ( const char *  s,
const char *  reject 
)

Definition at line 150 of file string-inlines.c.

{
  return strcspn (s, reject);
}
char* __strncat_g ( char *  d,
const char  s[],
size_t  n 
)

Definition at line 114 of file string-inlines.c.

{
  return strncat (d, s, n);
}
int __strncmp_g ( const char *  s1,
const char *  s2,
size_t  n 
)

Definition at line 126 of file string-inlines.c.

{
  return strncmp (s1, s2, n);
}
char* __strncpy_by2 ( char *  d,
const char  s[],
size_t  srclen,
size_t  n 
)

Definition at line 88 of file string-inlines.c.

{
  return strncpy (d, s, n);
}
char* __strpbrk_cg ( const char *  s,
const char  accept[],
size_t  accept_len 
)

Definition at line 168 of file string-inlines.c.

{
  return strpbrk (s, accept);
}
char* __strpbrk_g ( const char *  s,
const char *  accept 
)

Definition at line 174 of file string-inlines.c.

{
  return strpbrk (s, accept);
}
char* __strrchr_c ( const char *  s,
int  c 
)

Definition at line 132 of file string-inlines.c.

{
  return strrchr (s, c >> 8);
}

Here is the call graph for this function:

char* __strrchr_g ( const char *  s,
int  c 
)

Definition at line 138 of file string-inlines.c.

{
  return strrchr (s, c);
}

Here is the call graph for this function:

size_t __strspn_cg ( const char *  s,
const char  accept[],
size_t  accept_len 
)

Definition at line 156 of file string-inlines.c.

{
  return strspn (s, accept);
}
size_t __strspn_g ( const char *  s,
const char *  accept 
)

Definition at line 162 of file string-inlines.c.

{
  return strspn (s, accept);
}
char* __strstr_cg ( const char *  haystack,
const char  needle[],
size_t  needle_len 
)

Definition at line 180 of file string-inlines.c.

{
  return strstr (haystack, needle);
}
char* __strstr_g ( const char *  haystack,
const char  needle[] 
)

Definition at line 186 of file string-inlines.c.

{
  return strstr (haystack, needle);
}
strong_alias ( strong_alias __memcpy_by2,
__memcpy_by4   
)

Definition at line 43 of file string-inlines.c.

{
  return memset (s, c & 0xff, n);
}
strong_alias ( __memset_ccn_by2  ,
__memset_ccn_by4   
)

Definition at line 52 of file string-inlines.c.

{
  return memset (s, c, n);
}
strong_alias ( __memset_gcn_by2  ,
__memset_gcn_by4   
)

Definition at line 59 of file string-inlines.c.

{
  return strlen (s);
}

Here is the call graph for this function:

strong_alias ( strong_alias __mempcpy_by2,
__mempcpy_by4   
)

Definition at line 78 of file string-inlines.c.

{
  return stpcpy (d, s);
}

Here is the call graph for this function:

strong_alias ( strong_alias __strncpy_by2,
__strncpy_by4   
)

Definition at line 92 of file string-inlines.c.

{
  return strncpy (d, s, n);
}