Home
last modified time | relevance | path

Searched refs:enc (Results 1 – 25 of 110) sorted by relevance

12345

/PHP-5.4/ext/mbstring/oniguruma/
H A Doniguruma.h269 #define enc_len(enc,p) ONIGENC_MBC_ENC_LEN(enc, p) argument
279 ONIGENC_IS_CODE_WORD(enc,ONIGENC_MBC_TO_CODE(enc,s,end))
301 #define ONIGENC_MBC_MAXLEN(enc) m17n_mbmaxlen(enc) argument
303 (ONIGENC_MBC_MAXLEN(enc) > 0 ? ONIGENC_MBC_MAXLEN(enc) \
330 #define ONIGENC_IS_CODE_PRINT(enc,code) m17n_isprint(enc,code) argument
331 #define ONIGENC_IS_CODE_ALNUM(enc,code) m17n_isalnum(enc,code) argument
332 #define ONIGENC_IS_CODE_ALPHA(enc,code) m17n_isalpha(enc,code) argument
333 #define ONIGENC_IS_CODE_LOWER(enc,code) m17n_islower(enc,code) argument
334 #define ONIGENC_IS_CODE_UPPER(enc,code) m17n_isupper(enc,code) argument
335 #define ONIGENC_IS_CODE_CNTRL(enc,code) m17n_iscntrl(enc,code) argument
[all …]
H A Dregenc.c58 p += enc_len(enc, p); in onigenc_get_right_adjust_char_head()
71 p += enc_len(enc, p); in onigenc_get_right_adjust_char_head_with_prev()
696 len = enc_len(enc, p); in onigenc_mbn_mbc_to_code()
726 len = enc_len(enc, p); in onigenc_mbn_mbc_to_normalize()
754 (*pp) += enc_len(enc, p); in onigenc_mbn_is_mbc_ambiguous()
894 p += enc_len(enc, p); in onigenc_with_ascii_strncmp()
965 len = enc_len(enc, c); in onigenc_code_to_mbc()
974 c = m17n_codepoint(enc, p, p + enc_len(enc, *p)); in onigenc_mbc_to_lower()
975 low = m17n_tolower(enc, c); in onigenc_mbc_to_lower()
989 len = enc_len(enc, *p); in onigenc_is_mbc_ambiguous()
[all …]
H A DREADME.ja146 enc/ascii.c ASCII �������ǥ���
147 enc/euc_jp.c EUC-JP �������ǥ���
148 enc/euc_tw.c EUC-TW �������ǥ���
151 enc/big5.c Big5 �������ǥ���
153 enc/koi8.c KOI8 �������ǥ���
154 enc/koi8_r.c KOI8-R �������ǥ���
160 enc/iso8859_6.c ISO-8859-6 (Arabic)
161 enc/iso8859_7.c ISO-8859-7 (Greek)
165 enc/iso8859_11.c ISO-8859-11 (Thai)
169 enc/iso8859_16.c ISO-8859-16
[all …]
H A Dreggnu.c102 OnigEncoding enc; in re_recompile_pattern() local
107 enc = OnigEncDefaultCharEncoding; in re_recompile_pattern()
110 reg->options, enc, OnigDefaultSyntax, &einfo); in re_recompile_pattern()
142 re_mbcinit(OnigEncoding enc) in re_mbcinit() argument
149 onigenc_set_default_encoding(enc); in re_mbcinit()
153 OnigEncoding enc; in re_mbcinit()
157 enc = ONIG_ENCODING_ASCII; in re_mbcinit()
160 enc = ONIG_ENCODING_EUC_JP; in re_mbcinit()
163 enc = ONIG_ENCODING_SJIS; in re_mbcinit()
166 enc = ONIG_ENCODING_UTF8; in re_mbcinit()
[all …]
H A DREADME142 enc/ascii.c ASCII encoding.
143 enc/euc_jp.c EUC-JP encoding.
144 enc/euc_tw.c EUC-TW encoding.
146 enc/sjis.c Shift_JIS encoding.
147 enc/big5.c Big5 encoding.
149 enc/koi8.c KOI8 encoding.
167 enc/utf8.c UTF-8 encoding.
168 enc/utf16_be.c UTF-16BE encoding.
169 enc/utf16_le.c UTF-16LE encoding.
170 enc/utf32_be.c UTF-32BE encoding.
[all …]
H A Dregerror.c193 if (ONIGENC_MBC_MINLEN(enc) > 1) { in to_ascii()
197 code = ONIGENC_MBC_TO_CODE(enc, p, end); in to_ascii()
212 p += enc_len(enc, p); in to_ascii()
307 OnigEncoding enc;
331 if (*p == MC_ESC(enc)) {
333 len = enc_len(enc, p);
337 *s++ = (unsigned char )MC_ESC(enc);
340 else if (ONIGENC_IS_MBC_HEAD(enc, p)) {
341 len = enc_len(enc, p);
342 if (ONIGENC_MBC_MINLEN(enc) == 1) {
[all …]
H A Dregparse.c2287 OnigEncoding enc = env->enc; in fetch_range_quantifier() local
2377 OnigEncoding enc = env->enc; in fetch_escaped_value() local
2459 OnigEncoding enc = env->enc; in fetch_name_with_level() local
2541 OnigEncoding enc = env->enc; in fetch_name() local
2617 OnigEncoding enc = env->enc; in fetch_name() local
2752 OnigEncoding enc = env->enc; in fetch_token_in_cc() local
2961 OnigEncoding enc = env->enc; in fetch_token() local
3622 OnigEncoding enc = env->enc; in add_ctype_to_cc() local
3778 OnigEncoding enc = env->enc; in parse_posix_bracket() local
3864 OnigEncoding enc = env->enc; in fetch_char_property_to_ctype() local
[all …]
H A Dregposix.c39 #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 Dregenc.h94 ONIG_EXTERN OnigCodePoint onigenc_mbn_mbc_to_code P_((OnigEncoding enc, const UChar* p, const UChar…
95 ONIG_EXTERN int onigenc_mbn_mbc_to_normalize P_((OnigEncoding enc, OnigAmbigType flag, const UChar*…
96 ONIG_EXTERN int onigenc_mbn_is_mbc_ambiguous P_((OnigEncoding enc, OnigAmbigType flag, const UChar*…
99 ONIG_EXTERN int onigenc_mb2_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf));
100 ONIG_EXTERN int onigenc_mb2_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ct…
103 ONIG_EXTERN int onigenc_mb4_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf));
104 ONIG_EXTERN int onigenc_mb4_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ct…
128 onigenc_with_ascii_strncmp P_((OnigEncoding enc, const UChar* p, const UChar* end, const UChar* sas…
130 onigenc_step P_((OnigEncoding enc, const UChar* p, const UChar* end, int n));
H A Dregsyntax.c208 extern int onig_set_meta_char(OnigEncoding enc, in onig_set_meta_char() argument
213 enc->meta_char_table.esc = code; in onig_set_meta_char()
216 enc->meta_char_table.anychar = code; in onig_set_meta_char()
219 enc->meta_char_table.anytime = code; in onig_set_meta_char()
222 enc->meta_char_table.zero_or_one_time = code; in onig_set_meta_char()
225 enc->meta_char_table.one_or_more_time = code; in onig_set_meta_char()
228 enc->meta_char_table.anychar_anytime = code; in onig_set_meta_char()
/PHP-5.4/ext/mbstring/tests/
H A Dmb_http_output.phpt15 $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 Dmb_internal_encoding.phpt15 $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 Dmb_ereg.phpt22 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 Dmb_ereg_search_xxx.phpt27 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-5.4/ext/filter/
H A Dsanitizing_filters.c182 unsigned char enc[256] = {0}; in php_filter_string() local
188 enc['\''] = enc['"'] = 1; in php_filter_string()
191 enc['&'] = 1; in php_filter_string()
194 memset(enc, 1, 32); in php_filter_string()
197 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_string()
236 enc['\''] = enc['"'] = enc['<'] = enc['>'] = enc['&'] = enc[0] = 1; in php_filter_special_chars()
239 memset(enc, 1, 32); in php_filter_special_chars()
242 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_special_chars()
278 enc['&'] = 1; in php_filter_unsafe_raw()
281 memset(enc, 1, 32); in php_filter_unsafe_raw()
[all …]
/PHP-5.4/ext/mbstring/oniguruma/enc/
H A Dmktable.c87 switch (enc) { in IsAlpha()
260 switch (enc) { in IsBlank()
296 switch (enc) { in IsCntrl()
341 switch (enc) { in IsGraph()
410 switch (enc) { in IsLower()
539 switch (enc) { in IsPrint()
623 switch (enc) { in IsPunct()
711 switch (enc) { in IsSpace()
749 switch (enc) { in IsUpper()
884 switch (enc) { in IsWord()
[all …]
/PHP-5.4/ext/mbstring/
H A Dconfig.m4132 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-5.4/ext/standard/tests/strings/
H A Duuencode.phpt11 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-5.4/ext/soap/tests/bugs/
H A Dbug41566.phpt50 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
64enc="http://www.w3.org/2003/05/soap-encoding" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/enco…
/PHP-5.4/ext/soap/
H A Dphp_encoding.c498 if (enc) { in master_to_xml_int()
606 if (enc != NULL && enc != encode) { in master_to_zval()
1507 while (enc && enc->details.sdl_type && in to_zval_object_ex()
1511 enc = enc->details.sdl_type->encode; in to_zval_object_ex()
1513 if (enc) { in to_zval_object_ex()
1925 while (enc && enc->details.sdl_type && in to_xml_object()
1929 enc = enc->details.sdl_type->encode; in to_xml_object()
1931 if (enc) { in to_xml_object()
2108 if (!enc) { in guess_array_map()
2925 if (enc && type == &enc->details) { in guess_zval_convert()
[all …]
/PHP-5.4/ext/soap/tests/soap12/
H A DT47.phpt17 <inputFloatArray enc:itemType="xsd:float" enc:arraySize="2"
18 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
30enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
H A DT48.phpt15 <inputStringArray enc:itemType="xsd:string" enc:arraySize="2"
16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
28enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
H A DT50.phpt15 <inputIntegerArray enc:itemType="xsd:int" enc:arraySize="2"
16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
28enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
H A DT49.phpt15 <inputStringArray enc:arraySize="2"
16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
28enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance…
H A DT42.phpt17 <inputStructArray enc:itemType="ns1:SOAPStruct"
18 enc:arraySize="2"
20 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
40enc="http://www.w3.org/2003/05/soap-encoding" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:x…

Completed in 96 milliseconds

12345