44 if (*(p+3) == 0x0a && *(p+2) == 0 && *(p+1) == 0 && *p == 0)
46 #ifdef USE_UNICODE_ALL_LINE_TERMINATORS
48 #ifndef USE_CRNL_AS_LINE_TERMINATOR
52 && *(p+2) == 0 && *(p+1) == 0 && *p == 0x00)
54 if (*(p+2) == 0x20 && (*(p+3) == 0x29 || *(p+3) == 0x28)
55 && *(p+1) == 0 && *p == 0)
66 return (
OnigCodePoint )(((p[0] * 256 + p[1]) * 256 + p[2]) * 256 + p[3]);
82 *p++ = (
UChar )((code & 0xff000000) >>24);
83 *p++ = (
UChar )((code & 0xff0000) >>16);
84 *p++ = (
UChar )((code & 0xff00) >> 8);
85 *p++ = (
UChar ) (code & 0xff);
100 #ifdef USE_UNICODE_CASE_FOLD_TURKISH_AZERI
102 if (*(p+3) == 0x49) {
129 if (*(p+2) == 0 && *(p+1) == 0 && *p == 0) {
138 v = ONIGENC_IS_UNICODE_ISO_8859_1_BIT_CTYPE(c,
142 if (c >= 0xaa && c <= 0xba)
160 if (s <= start)
return (
UChar* )
s;
162 rem = (s -
start) % 4;
163 return (
UChar* )(s - rem);
173 flag, p, end, items);
int onigenc_unicode_is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc ARG_UNUSED)
unsigned int OnigCodePoint
#define OnigEncodingDefine(f, n)
unsigned int OnigCaseFoldType
static int utf32be_code_to_mbc(OnigCodePoint code, UChar *buf, OnigEncoding enc ARG_UNUSED)
#define ENC_ALIAS(name, orig)
#define ONIGENC_IS_ASCII_CODE(code)
int onigenc_unicode_property_name_to_ctype(OnigEncoding enc, UChar *name, UChar *end)
static int utf32be_is_mbc_newline(const UChar *p, const UChar *end, OnigEncoding enc ARG_UNUSED)
static int utf32be_get_case_fold_codes_by_str(OnigCaseFoldType flag, const OnigUChar *p, const OnigUChar *end, OnigCaseFoldCodeItem items[], OnigEncoding enc)
int onigenc_unicode_mbc_case_fold(OnigEncoding enc, OnigCaseFoldType flag ARG_UNUSED, const UChar **pp, const UChar *end, UChar *fold)
int onigenc_always_false_is_allowed_reverse_match(const UChar *s ARG_UNUSED, const UChar *end ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
static int utf32be_code_to_mbclen(OnigCodePoint code ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
unsigned char buf[MIME_BUF_SIZE]
int onigenc_unicode_apply_all_case_fold(OnigCaseFoldType flag, OnigApplyAllCaseFoldFunc f, void *arg, OnigEncoding enc ARG_UNUSED)
#define ONIGENC_CASE_FOLD_TURKISH_AZERI
static UChar * utf32be_left_adjust_char_head(const UChar *start, const UChar *s, const UChar *end, OnigEncoding enc ARG_UNUSED)
int onigenc_unicode_get_case_fold_codes_by_str(OnigEncoding enc, OnigCaseFoldType flag, const OnigUChar *p, const OnigUChar *end, OnigCaseFoldCodeItem items[])
#define ONIGENC_ASCII_CODE_TO_LOWER_CASE(c)
static int utf32be_mbc_enc_len(const UChar *p ARG_UNUSED, const OnigUChar *e ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
#define INTERNAL_ONIGENC_CASE_FOLD_MULTI_CHAR
int onigenc_utf16_32_get_ctype_code_range(OnigCtype ctype, OnigCodePoint *sb_out, const OnigCodePoint *ranges[], struct OnigEncodingTypeST *enc ARG_UNUSED)
static OnigCodePoint utf32be_mbc_to_code(const UChar *p, const UChar *end ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
static int utf32be_mbc_case_fold(OnigCaseFoldType flag, const UChar **pp, const UChar *end, UChar *fold, OnigEncoding enc)