#include "config.h"
#include "intsym.h"
#include "compat.h"
Go to the source code of this file.
◆ uint16_t
◆ uint8_t
◆ icy2utf8()
Definition at line 378 of file icy2utf8.c.
379{
384
385
386
388
390
393
401 }
402
403
407 }
409}
ACPI_SIZE strlen(const char *String)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static const uint8_t cp1252_utf8[]
static int is_utf8(const char *src)
static const uint16_t tblofs[257]
static DWORD LPDWORD LPCSTR DWORD srclen
◆ is_utf8()
Definition at line 336 of file icy2utf8.c.
337{
341
342
343
344 while ((ch = *
s++)) {
345
346 if(ch < 0x80) continue;
347
348
349 else if ((ch < 0xC2) || (ch > 0xFD))
350 return 0;
351
352 if (((ch == 0xC2) && (
s[0] < 0xA0)) ||
353 ((ch == 0xEF) && (
s[0] == 0xBF) && (
s[1] > 0xBD)))
354
355 return 0;
356
357
358 if (ch < 0xE0)
i = 1;
359 else if (ch < 0xF0)
i = 2;
360 else if (ch < 0xF8)
i = 3;
361 else if (ch < 0xFC)
i = 4;
362 else
364
366 if ((*
s++ & 0xC0) != 0x80)
367 return 0;
368 }
369
370
371 return 1;
372}
Referenced by icy2utf8().
◆ cp1252_utf8
◆ tblofs