/[pcre]/code/branches/pcre16/pcre_string_utils.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_string_utils.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

code/branches/pcre16/pcre_str_utils.c revision 763 by zherczeg, Tue Nov 22 21:46:22 2011 UTC code/branches/pcre16/pcre_string_utils.c revision 764 by zherczeg, Wed Nov 23 17:23:20 2011 UTC
# Line 65  Returns:      0 if both string are equal Line 65  Returns:      0 if both string are equal
65  */  */
66    
67  int  int
68  _pcre_strcmp_uc_uc(const pcre_uchar *str1, const pcre_uchar *str2)  PRIV(strcmp_uc_uc)(const pcre_uchar *str1, const pcre_uchar *str2)
69  {  {
70  pcre_uchar c1;  pcre_uchar c1;
71  pcre_uchar c2;  pcre_uchar c2;
# Line 82  return 0; Line 82  return 0;
82  }  }
83    
84  int  int
85  _pcre_strcmp_uc_c8(const pcre_uchar *str1, const char *str2)  PRIV(strcmp_uc_c8)(const pcre_uchar *str1, const char *str2)
86  {  {
87  const pcre_uint8 *ustr2 = (pcre_uint8 *)str2;  const pcre_uint8 *ustr2 = (pcre_uint8 *)str2;
88  pcre_uchar c1;  pcre_uchar c1;
# Line 111  Returns:      0 if both string are equal Line 111  Returns:      0 if both string are equal
111  */  */
112    
113  int  int
114  _pcre_strncmp_uc_uc(const pcre_uchar *str1, const pcre_uchar *str2, unsigned int num)  PRIV(strncmp_uc_uc)(const pcre_uchar *str1, const pcre_uchar *str2, unsigned int num)
115  {  {
116  pcre_uchar c1;  pcre_uchar c1;
117  pcre_uchar c2;  pcre_uchar c2;
# Line 128  return 0; Line 128  return 0;
128  }  }
129    
130  int  int
131  _pcre_strncmp_uc_c8(const pcre_uchar *str1, const char *str2, unsigned int num)  PRIV(strncmp_uc_c8)(const pcre_uchar *str1, const char *str2, unsigned int num)
132  {  {
133  const pcre_uint8 *ustr2 = (pcre_uint8 *)str2;  const pcre_uint8 *ustr2 = (pcre_uint8 *)str2;
134  pcre_uchar c1;  pcre_uchar c1;
# Line 155  Returns:      length of the string Line 155  Returns:      length of the string
155  */  */
156    
157  unsigned int  unsigned int
158  _pcre_strlen_uc(const pcre_uchar *str)  PRIV(strlen_uc)(const pcre_uchar *str)
159  {  {
160  unsigned int len = 0;  unsigned int len = 0;
161  while (*str++ != 0)  while (*str++ != 0)
# Line 165  return len; Line 165  return len;
165    
166  #endif /* COMPILE_PCRE8 */  #endif /* COMPILE_PCRE8 */
167    
168  /* End of pcre_str_utils.c */  /* End of pcre_string_utils.c */

Legend:
Removed from v.763  
changed lines
  Added in v.764

  ViewVC Help
Powered by ViewVC 1.1.5