Edinburgh Speech Tools  2.1-release
string16.h File Reference
#include "charset.h"
#include <stddef.h>
#include <string.h>
Include dependency graph for string16.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STD_API
 
#define WIN_IMP
 
#define strchr8(s, c)   strchr((s), c)
 
#define strlen8(s)   strlen((s))
 
#define strcmp8(s1, s2)   strcmp((s1), (s2))
 
#define strncmp8(s1, s2, n)   strncmp((s1), (s2), n)
 
#define strcpy8(s1, s2)   strcpy((s1), (s2))
 
#define strncpy8(s1, s2, n)   strncpy((s1), (s2), n)
 
#define strcat8(s1, s2)   strcat((s1), (s2))
 
#define strstr8(s1, s2)   strstr(s1, s2)
 
#define Strdup   strdup16
 
#define Strchr   strchr16
 
#define Strlen   strlen16
 
#define Strcmp   strcmp16
 
#define Strncmp   strncmp16
 
#define Strcpy   strcpy16
 
#define Strncpy   strncpy16
 
#define Strcat   strcat16
 
#define Strcasecmp   strcasecmp16
 
#define Strncasecmp   strncasecmp16
 
#define Strstr   strstr16
 
#define char8toChar   char8tochar16
 
#define Chartochar8   char16tochar8
 

Functions

STD_API char8strdup8 (const char8 *s)
 
STD_API int strcasecmp8 (const char8 *, const char8 *)
 
STD_API int strncasecmp8 (const char8 *, const char8 *, size_t)
 
STD_API char16strdup16 (const char16 *s)
 
STD_API char16strchr16 (const char16 *, int)
 
STD_API size_t strlen16 (const char16 *)
 
STD_API int strcmp16 (const char16 *, const char16 *)
 
STD_API int strncmp16 (const char16 *, const char16 *, size_t)
 
STD_API char16strcpy16 (char16 *, const char16 *)
 
STD_API char16strncpy16 (char16 *, const char16 *, size_t)
 
STD_API char16strcat16 (char16 *, const char16 *)
 
STD_API int strcasecmp16 (const char16 *, const char16 *)
 
STD_API int strncasecmp16 (const char16 *, const char16 *, size_t)
 
STD_API char16strstr16 (const char16 *, const char16 *)
 
STD_API char16char8tochar16 (const char8 *s)
 
STD_API char8char16tochar8 (const char16 *s)
 

Macro Definition Documentation

#define STD_API

Definition at line 19 of file string16.h.

#define WIN_IMP

Definition at line 20 of file string16.h.

#define strchr8 (   s,
 
)    strchr((s), c)

Definition at line 50 of file string16.h.

#define strlen8 (   s)    strlen((s))

Definition at line 51 of file string16.h.

#define strcmp8 (   s1,
  s2 
)    strcmp((s1), (s2))

Definition at line 52 of file string16.h.

#define strncmp8 (   s1,
  s2,
 
)    strncmp((s1), (s2), n)

Definition at line 53 of file string16.h.

#define strcpy8 (   s1,
  s2 
)    strcpy((s1), (s2))

Definition at line 54 of file string16.h.

#define strncpy8 (   s1,
  s2,
 
)    strncpy((s1), (s2), n)

Definition at line 55 of file string16.h.

#define strcat8 (   s1,
  s2 
)    strcat((s1), (s2))

Definition at line 57 of file string16.h.

#define strstr8 (   s1,
  s2 
)    strstr(s1, s2)

Definition at line 60 of file string16.h.

#define Strdup   strdup16

Definition at line 96 of file string16.h.

#define Strchr   strchr16

Definition at line 97 of file string16.h.

#define Strlen   strlen16

Definition at line 98 of file string16.h.

#define Strcmp   strcmp16

Definition at line 99 of file string16.h.

#define Strncmp   strncmp16

Definition at line 100 of file string16.h.

#define Strcpy   strcpy16

Definition at line 101 of file string16.h.

#define Strncpy   strncpy16

Definition at line 102 of file string16.h.

#define Strcat   strcat16

Definition at line 103 of file string16.h.

#define Strcasecmp   strcasecmp16

Definition at line 104 of file string16.h.

#define Strncasecmp   strncasecmp16

Definition at line 105 of file string16.h.

#define Strstr   strstr16

Definition at line 106 of file string16.h.

#define char8toChar   char8tochar16

Definition at line 108 of file string16.h.

#define Chartochar8   char16tochar8

Definition at line 109 of file string16.h.

Function Documentation

STD_API char8* strdup8 ( const char8 s)

Definition at line 77 of file string16.c.

STD_API int strcasecmp8 ( const char8 ,
const char8  
)

Definition at line 33 of file string16.c.

STD_API int strncasecmp8 ( const char8 ,
const char8 ,
size_t   
)

Definition at line 54 of file string16.c.

STD_API char16* strdup16 ( const char16 s)

Definition at line 158 of file string16.c.

STD_API char16* strchr16 ( const char16 ,
int   
)

Definition at line 183 of file string16.c.

STD_API size_t strlen16 ( const char16 )

Definition at line 173 of file string16.c.

STD_API int strcmp16 ( const char16 ,
const char16  
)

Definition at line 192 of file string16.c.

STD_API int strncmp16 ( const char16 ,
const char16 ,
size_t   
)

Definition at line 213 of file string16.c.

STD_API char16* strcpy16 ( char16 ,
const char16  
)

Definition at line 135 of file string16.c.

STD_API char16* strncpy16 ( char16 ,
const char16 ,
size_t   
)

Definition at line 146 of file string16.c.

STD_API char16* strcat16 ( char16 ,
const char16  
)
STD_API int strcasecmp16 ( const char16 ,
const char16  
)

Definition at line 238 of file string16.c.

STD_API int strncasecmp16 ( const char16 ,
const char16 ,
size_t   
)

Definition at line 259 of file string16.c.

STD_API char16* strstr16 ( const char16 ,
const char16  
)

Definition at line 284 of file string16.c.

STD_API char16* char8tochar16 ( const char8 s)

Definition at line 99 of file string16.c.

STD_API char8* char16tochar8 ( const char16 s)

Definition at line 118 of file string16.c.