19#ifndef _STLP_CHAR_TRAITS_H
20#define _STLP_CHAR_TRAITS_H
24#ifndef _STLP_INTERNAL_CSTDDEF
28#ifndef _STLP_INTERNAL_CSTRING
33# include <sys/types.h>
36#if defined (__BORLANDC__)
40# include <sys/types.h>
43#ifndef _STLP_INTERNAL_CONSTRUCT_H
47#ifndef _STLP_INTERNAL_CWCHAR
55#define _STLP_NULL_CHAR_INIT(_ChT) _STLP_DEFAULT_CONSTRUCTED(_ChT)
59#elif defined (_STLP_WIN32)
60# if defined (_STLP_LONG_LONG) && !defined (__CYGWIN__)
68# ifdef _STLP_USE_DEFAULT_FILE_OFFSET
70# elif defined(_LARGEFILE_SOURCE) || defined(_LARGEFILE64_SOURCE) \
78#if defined (_STLP_WIN32)
87template <
class _StateT>
class fpos {
131template <
class _CharT,
class _IntT>
142 {
return __c1 == __c2; }
144 {
return __c1 < __c2; }
149 return __s1[
__i] < __s2[
__i] ? -1 : 1;
156 for (; !
eq(__s[
__i], _NullChar); ++
__i) {}
161 for ( ;
__n > 0 ; ++__s, --
__n)
171 return (
__n == 0 ? __s1 :
191 {
return __c1 == __c2; }
202template <
class _CharT>
220 {
return (
char)(
unsigned char)
__c; }
223 {
return (
unsigned char)
__c; }
240#if defined (_STLP_HAS_WCHAR_T)
245# if !defined (_STLP_NO_NATIVE_WIDE_FUNCTIONS) && !defined (_STLP_WCHAR_HPACC_EXCLUDE)
247# if !defined (__BORLANDC__)
248 static wchar_t*
_STLP_CALL move(
wchar_t* __dest,
const wchar_t* __src,
size_t __n)
252 static wchar_t*
_STLP_CALL copy(
wchar_t* __dest,
const wchar_t* __src,
size_t __n)
255# if !defined (__DMC__) && !defined (__BORLANDC__)
#define _STLP_DEFAULT_CONSTRUCTED(_TTp)
#define _STLP_NULL_CHAR_INIT(_ChT)
fpos< mbstate_t > streampos
fpos< mbstate_t > wstreampos
static char_type *_STLP_CALL copy(char_type *__s1, const char_type *__s2, size_t __n)
static int _STLP_CALL compare(const char_type *__s1, const char_type *__s2, size_t __n)
static bool _STLP_CALL lt(const char_type &__c1, const char_type &__c2)
static int_type _STLP_CALL not_eof(const int_type &__c)
static bool _STLP_CALL eq_int_type(const int_type &__c1, const int_type &__c2)
static const char_type *_STLP_CALL find(const char_type *__s, size_t __n, const char_type &__c)
static size_t _STLP_CALL length(const char_type *__s)
static int_type _STLP_CALL to_int_type(const char_type &__c)
static void _STLP_CALL assign(char_type &__c1, const char_type &__c2)
static char_type *_STLP_CALL move(char_type *__s1, const char_type *__s2, size_t _Sz)
static bool _STLP_CALL eq(const char_type &__c1, const char_type &__c2)
static char_type *_STLP_CALL assign(char_type *__s, size_t __n, char_type __c)
static char_type _STLP_CALL to_char_type(const int_type &__c)
static int_type _STLP_CALL eof()
static size_t _STLP_CALL length(const char *__s)
static char _STLP_CALL to_char_type(const int &__c)
static int _STLP_CALL to_int_type(const char &__c)
static char *_STLP_CALL assign(char *__s, size_t __n, char __c)
static void _STLP_CALL assign(char &__c1, const char &__c2)
static int _STLP_CALL compare(const char *__s1, const char *__s2, size_t __n)
fpos & operator+=(streamoff __off)
fpos operator+(streamoff __off)
bool operator!=(const fpos &__y) const
bool operator==(const fpos &__y) const
fpos operator-(streamoff __off)
fpos & operator-=(streamoff __off)
_ACRTIMP size_t __cdecl wcslen(const wchar_t *)
_ACRTIMP int __cdecl memcmp(const void *, const void *, size_t)
_ACRTIMP size_t __cdecl strlen(const char *)
static wchar_t *__cdecl wmemset(wchar_t *s, wchar_t c, size_t n)
static wchar_t *__cdecl wmemcpy(wchar_t *dst, const wchar_t *src, size_t n)
static wchar_t *__cdecl wmemmove(wchar_t *dst, const wchar_t *src, size_t n)
static int wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n)
#define _STLP_TEMPLATE_NULL
#define __STATIC_CAST(__x, __y)
#define _STLP_CLASS_DECLSPEC
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE
GLuint GLsizei GLsizei * length
#define memcpy(s1, s2, n)
#define memmove(s1, s2, n)
#define eq(received, expected, label, type)
__MINGW_EXTENSION typedef long long off64_t