Ruby  1.9.3p547(2014-05-14revision45962)
us_ascii.c
Go to the documentation of this file.
1 #include "regenc.h"
2 
3 static int
5 {
6  if (*p & 0x80)
9 }
10 
11 OnigEncodingDefine(us_ascii, US_ASCII) = {
13  "US-ASCII",/* name */
14  1, /* max byte length */
15  1, /* min byte length */
28 };
29 ENC_ALIAS("ASCII", "US-ASCII")
30 ENC_ALIAS("ANSI_X3.4-1968", "US-ASCII")
31 ENC_ALIAS("646", "US-ASCII")
OnigEncodingDefine(us_ascii, US_ASCII)
int onigenc_always_true_is_allowed_reverse_match(const UChar *s ARG_UNUSED, const UChar *end ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:649
OnigCodePoint onigenc_single_byte_mbc_to_code(const UChar *p, const UChar *end ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:619
int onigenc_ascii_is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:663
int onigenc_ascii_apply_all_case_fold(OnigCaseFoldType flag ARG_UNUSED, OnigApplyAllCaseFoldFunc f, void *arg, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:409
#define ENC_ALIAS(name, orig)
Definition: encdb.c:18
Win32OLEIDispatch * p
Definition: win32ole.c:778
Definition: nkf.c:87
int onigenc_single_byte_code_to_mbclen(OnigCodePoint code ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:626
UChar * onigenc_single_byte_left_adjust_char_head(const UChar *start ARG_UNUSED, const UChar *s, const UChar *end, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:641
int onigenc_is_mbc_newline_0x0a(const UChar *p, const UChar *end, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:580
#define ONIGENC_CONSTRUCT_MBCLEN_CHARFOUND(n)
Definition: oniguruma.h:243
int onigenc_not_support_get_ctype_code_range(OnigCtype ctype, OnigCodePoint *sb_out, const OnigCodePoint *ranges[], OnigEncoding enc)
Definition: regenc.c:572
int onigenc_ascii_get_case_fold_codes_by_str(OnigCaseFoldType flag ARG_UNUSED, const OnigUChar *p, const OnigUChar *end ARG_UNUSED, OnigCaseFoldCodeItem items[], OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:432
#define UChar
Definition: oniguruma.h:107
#define ONIGENC_CONSTRUCT_MBCLEN_INVALID()
Definition: oniguruma.h:247
static int us_ascii_mbc_enc_len(const UChar *p, const UChar *e, OnigEncoding enc)
Definition: us_ascii.c:4
int onigenc_single_byte_code_to_mbc(OnigCodePoint code, UChar *buf, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:632
int onigenc_minimum_property_name_to_ctype(OnigEncoding enc, UChar *p, UChar *end)
Definition: regenc.c:790
int onigenc_ascii_mbc_case_fold(OnigCaseFoldType flag ARG_UNUSED, const UChar **p, const UChar *end, UChar *lower, OnigEncoding enc ARG_UNUSED)
Definition: regenc.c:590