/PHP-7.0/ext/mbstring/oniguruma/ |
H A D | oniguruma.h | 262 #define onig_enc_len(enc,p,end) ONIGENC_MBC_ENC_LEN(enc,p) argument 264 #define ONIGENC_IS_UNDEF(enc) ((enc) == ONIG_ENCODING_UNDEF) argument 265 #define ONIGENC_IS_SINGLEBYTE(enc) (ONIGENC_MBC_MAXLEN(enc) == 1) argument 270 ONIGENC_IS_CODE_WORD(enc,ONIGENC_MBC_TO_CODE(enc,s,end)) 273 #define ONIGENC_NAME(enc) ((enc)->name) argument 288 #define ONIGENC_MBC_ENC_LEN(enc,p) (enc)->mbc_enc_len(p) argument 289 #define ONIGENC_MBC_MAXLEN(enc) ((enc)->max_enc_len) argument 290 #define ONIGENC_MBC_MAXLEN_DIST(enc) ONIGENC_MBC_MAXLEN(enc) argument 291 #define ONIGENC_MBC_MINLEN(enc) ((enc)->min_enc_len) argument 297 (enc)->property_name_to_ctype(enc,p,end) [all …]
|
H A D | README.ja | 146 enc/ascii.c ASCII �����ǥ��� 147 enc/euc_jp.c EUC-JP �����ǥ��� 148 enc/euc_tw.c EUC-TW �����ǥ��� 151 enc/big5.c Big5 �����ǥ��� 152 enc/gb18030.c GB18030 �����ǥ��� 153 enc/koi8.c KOI8 �����ǥ��� 154 enc/koi8_r.c KOI8-R �����ǥ��� 155 enc/cp1251.c CP1251 �����ǥ��� 166 enc/iso8859_11.c ISO-8859-11 (Thai) 170 enc/iso8859_16.c ISO-8859-16 [all …]
|
H A D | regenc.c | 49 OnigEncDefaultCharEncoding = enc; in onigenc_set_default_encoding() 58 p += enclen(enc, p); in onigenc_get_right_adjust_char_head() 71 p += enclen(enc, p); in onigenc_get_right_adjust_char_head_with_prev() 105 q += ONIGENC_MBC_ENC_LEN(enc, q); in onigenc_step() 117 q += ONIGENC_MBC_ENC_LEN(enc, q); in onigenc_strlen() 143 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_strlen_null() 168 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_str_bytelen_null() 647 len = enclen(enc, p); in onigenc_mbn_mbc_to_code() 675 len = enclen(enc, p); in onigenc_mbn_mbc_case_fold() 696 (*pp) += enclen(enc, p); [all …]
|
H A D | reggnu.c | 52 p = onigenc_get_right_adjust_char_head(reg->enc, (UChar* )string, s); in re_adjust_startpos() 55 p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(reg->enc, (UChar* )string, s); in re_adjust_startpos() 102 OnigEncoding enc; in re_recompile_pattern() local 107 enc = OnigEncDefaultCharEncoding; in re_recompile_pattern() 110 reg->options, enc, OnigDefaultSyntax, &einfo); in re_recompile_pattern() 146 OnigEncoding enc; in re_mbcinit() local 150 enc = ONIG_ENCODING_ASCII; in re_mbcinit() 153 enc = ONIG_ENCODING_EUC_JP; in re_mbcinit() 156 enc = ONIG_ENCODING_SJIS; in re_mbcinit() 159 enc = ONIG_ENCODING_UTF8; in re_mbcinit() [all …]
|
H A D | README | 140 enc/ascii.c ASCII encoding. 141 enc/euc_jp.c EUC-JP encoding. 142 enc/euc_tw.c EUC-TW encoding. 144 enc/sjis.c Shift_JIS encoding. 145 enc/big5.c Big5 encoding. 146 enc/gb18030.c GB18030 encoding. 166 enc/utf8.c UTF-8 encoding. 167 enc/utf16_be.c UTF-16BE encoding. 168 enc/utf16_le.c UTF-16LE encoding. 169 enc/utf32_be.c UTF-32BE encoding. [all …]
|
H A D | regenc.h | 74 #define enclen(enc,p) ONIGENC_MBC_ENC_LEN(enc,p) argument 134 ONIG_EXTERN OnigCodePoint onigenc_mbn_mbc_to_code P_((OnigEncoding enc, const UChar* p, const UChar… 135 ONIG_EXTERN int onigenc_mbn_mbc_case_fold P_((OnigEncoding enc, OnigCaseFoldType flag, const UChar*… 137 ONIG_EXTERN int onigenc_mb2_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf)); 138 ONIG_EXTERN int onigenc_minimum_property_name_to_ctype P_((OnigEncoding enc, UChar* p, UChar* end)); 139 ONIG_EXTERN int onigenc_unicode_property_name_to_ctype P_((OnigEncoding enc, UChar* p, UChar* end)); 140 ONIG_EXTERN int onigenc_mb2_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ct… 142 ONIG_EXTERN int onigenc_mb4_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf)); 143 ONIG_EXTERN int onigenc_mb4_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ct… 167 onigenc_with_ascii_strncmp P_((OnigEncoding enc, const UChar* p, const UChar* end, const UChar* sas… [all …]
|
H A D | regerror.c | 202 if (ONIGENC_MBC_MINLEN(enc) > 1) { in to_ascii() 206 code = ONIGENC_MBC_TO_CODE(enc, p, end); in to_ascii() 228 p += enclen(enc, p); in to_ascii() 274 len = to_ascii(einfo->enc, einfo->par, einfo->par_end, 323 OnigEncoding enc; 349 len = enclen(enc, p); 356 else if (ONIGENC_IS_MBC_HEAD(enc, p)) { 357 len = enclen(enc, p); 358 if (ONIGENC_MBC_MINLEN(enc) == 1) { 372 else if (!ONIGENC_IS_CODE_PRINT(enc, *p) && [all …]
|
H A D | regposix.c | 39 #define ENC_STRING_LEN(enc,s,len) do { \ argument 40 if (ONIGENC_MBC_MINLEN(enc) == 1) { \ 192 ENC_STRING_LEN(ONIG_C(reg)->enc, str, len); in regexec() 233 OnigEncoding enc; in reg_set_encoding() local 237 enc = ONIG_ENCODING_ASCII; in reg_set_encoding() 240 enc = ONIG_ENCODING_EUC_JP; in reg_set_encoding() 243 enc = ONIG_ENCODING_SJIS; in reg_set_encoding() 246 enc = ONIG_ENCODING_UTF8; in reg_set_encoding() 249 enc = ONIG_ENCODING_UTF16_BE; in reg_set_encoding() 252 enc = ONIG_ENCODING_UTF16_LE; in reg_set_encoding() [all …]
|
H A D | regparse.c | 2323 OnigEncoding enc = env->enc; in fetch_range_quantifier() local 2413 OnigEncoding enc = env->enc; in fetch_escaped_value() local 2510 OnigEncoding enc = env->enc; in fetch_name_with_level() local 2623 OnigEncoding enc = env->enc; in fetch_name() local 2741 OnigEncoding enc = env->enc; in fetch_name() local 2913 OnigEncoding enc = env->enc; in fetch_token_in_cc() local 3130 OnigEncoding enc = env->enc; in fetch_token() local 3835 OnigEncoding enc = env->enc; in add_ctype_to_cc() local 3941 OnigEncoding enc = env->enc; in parse_posix_bracket() local 3993 OnigEncoding enc = env->enc; in fetch_char_property_to_ctype() local [all …]
|
H A D | regsyntax.c | 287 extern int onig_set_meta_char(OnigSyntaxType* enc, in onig_set_meta_char() argument 292 enc->meta_char_table.esc = code; in onig_set_meta_char() 295 enc->meta_char_table.anychar = code; in onig_set_meta_char() 298 enc->meta_char_table.anytime = code; in onig_set_meta_char() 301 enc->meta_char_table.zero_or_one_time = code; in onig_set_meta_char() 304 enc->meta_char_table.one_or_more_time = code; in onig_set_meta_char() 307 enc->meta_char_table.anychar_anytime = code; in onig_set_meta_char()
|
/PHP-7.0/ext/mbstring/tests/ |
H A D | mb_http_output.phpt | 15 $enc = mb_http_output(); 16 print "$enc\n"; 21 $enc = mb_http_output(); 22 print "$enc\n"; 27 $enc = mb_http_output(); 28 print "$enc\n"; 34 print "$enc\n"; 40 print "$enc\n"; 49 print "$enc\n"; 54 print "$enc\n"; [all …]
|
H A D | mb_internal_encoding.phpt | 15 $enc = mb_internal_encoding(); 16 print "$enc\n"; 21 $enc = mb_internal_encoding(); 22 print "$enc\n"; 27 $enc = mb_internal_encoding(); 28 print "$enc\n"; 36 $enc = mb_internal_encoding(); 37 print "$enc\n"; 41 $enc = mb_internal_encoding(); 42 print "$enc\n"; [all …]
|
H A D | mb_ereg.phpt | 22 function do_tests( $enc ) { 23 test_ereg( $enc, b'abc ([a-z]+) ([a-z]+) ([a-z]+)$', b"abc def ghi jkl" ); 25 test_ereg( $enc, $pat, b'���� ������ ������ ����' ); 26 test_ereg( $enc, $pat, b'�������� ������ ���� ���' ); 29 foreach( $encs as $enc ) { 30 do_tests( $enc );
|
H A D | mb_ereg_search_xxx.phpt | 27 function do_tests( $enc, $opt ) { 28 test_search( $enc, "�ϡ� ����\n", ' (��?�ϡ�?)[[:space:]]', $opt ); 29 test_search( $enc, 'abcde abdeabcf anvfabc odu abcd ', '(ab[a-z]+)', $opt ); 32 foreach( $encs as $enc ) { 33 do_tests( $enc, '' ); 34 do_tests( $enc, 'x' );
|
/PHP-7.0/ext/filter/ |
H A D | sanitizing_filters.c | 185 unsigned char enc[256] = {0}; in php_filter_string() local 195 enc['\''] = enc['"'] = 1; in php_filter_string() 198 enc['&'] = 1; in php_filter_string() 201 memset(enc, 1, 32); in php_filter_string() 204 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_string() 243 enc['\''] = enc['"'] = enc['<'] = enc['>'] = enc['&'] = enc[0] = 1; in php_filter_special_chars() 246 memset(enc, 1, 32); in php_filter_special_chars() 249 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_special_chars() 283 enc['&'] = 1; in php_filter_unsafe_raw() 286 memset(enc, 1, 32); in php_filter_unsafe_raw() [all …]
|
/PHP-7.0/ext/zip/lib/ |
H A D | zip_utf-8.c | 119 zip_encoding_type_t enc; in _zip_guess_encoding() local 129 enc = str->encoding; in _zip_guess_encoding() 131 enc = ZIP_ENCODING_ASCII; in _zip_guess_encoding() 136 enc = ZIP_ENCODING_UTF8_GUESSED; in _zip_guess_encoding() 144 enc = ZIP_ENCODING_CP437; in _zip_guess_encoding() 149 enc = ZIP_ENCODING_CP437; in _zip_guess_encoding() 155 enc = ZIP_ENCODING_CP437; in _zip_guess_encoding() 164 str->encoding = enc; in _zip_guess_encoding() 168 str->encoding = enc = ZIP_ENCODING_UTF8_KNOWN; in _zip_guess_encoding() 170 if (expected_encoding != enc && enc != ZIP_ENCODING_ASCII) in _zip_guess_encoding() [all …]
|
/PHP-7.0/ext/mbstring/oniguruma/enc/ |
H A D | mktable.c | 89 if (enc == ASCII) in IsAlpha() 95 switch (enc) { in IsAlpha() 271 switch (enc) { in IsBlank() 310 switch (enc) { in IsCntrl() 358 switch (enc) { in IsGraph() 430 switch (enc) { in IsLower() 562 switch (enc) { in IsPrint() 649 switch (enc) { in IsPunct() 740 switch (enc) { in IsSpace() 781 switch (enc) { in IsUpper() [all …]
|
/PHP-7.0/ext/mbstring/ |
H A D | config.m4 | 132 oniguruma/enc/unicode.c 133 oniguruma/enc/ascii.c 134 oniguruma/enc/utf8.c 135 oniguruma/enc/euc_jp.c 136 oniguruma/enc/euc_tw.c 137 oniguruma/enc/euc_kr.c 138 oniguruma/enc/sjis.c 154 oniguruma/enc/koi8.c 155 oniguruma/enc/koi8_r.c 156 oniguruma/enc/big5.c [all …]
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | uuencode.phpt | 11 var_dump($enc = convert_uuencode("~!@#$%^&*()_}{POIUYTREWQQSDFGHJKL:<MNBVCXZ")); 13 var_dump(convert_uudecode($enc)); 14 var_dump($enc = convert_uuencode("not very sophisticated")); 15 var_dump(convert_uudecode($enc)); 16 var_dump(convert_uudecode(substr($enc, 0, -10)));
|
/PHP-7.0/ext/soap/tests/bugs/ |
H A D | bug41566.phpt | 50 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 64 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/enco…
|
/PHP-7.0/ext/soap/ |
H A D | php_encoding.c | 279 return enc; in find_encoder_by_type_name() 592 if (enc != NULL && enc != encode) { in master_to_zval() 1450 while (enc && enc->details.sdl_type && in to_zval_object_ex() 1454 enc = enc->details.sdl_type->encode; in to_zval_object_ex() 1456 if (enc) { in to_zval_object_ex() 1849 while (enc && enc->details.sdl_type && in to_xml_object() 1853 enc = enc->details.sdl_type->encode; in to_xml_object() 1855 if (enc) { in to_xml_object() 2021 if (!enc) { in guess_array_map() 2821 if (enc && type == &enc->details) { in guess_zval_convert() [all …]
|
/PHP-7.0/ext/soap/tests/soap12/ |
H A D | T50.phpt | 15 <inputIntegerArray enc:itemType="xsd:int" enc:arraySize="2" 16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 28 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
|
H A D | T47.phpt | 17 <inputFloatArray enc:itemType="xsd:float" enc:arraySize="2" 18 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 30 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
|
H A D | T48.phpt | 15 <inputStringArray enc:itemType="xsd:string" enc:arraySize="2" 16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 28 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
|
H A D | T49.phpt | 15 <inputStringArray enc:arraySize="2" 16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> 28 …enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
|