Home
last modified time | relevance | path

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

1234

/PHP-8.0/ext/filter/
H A Dsanitizing_filters.c172 unsigned char enc[256] = {0}; in php_filter_string() local
182 enc['\''] = enc['"'] = 1; in php_filter_string()
185 enc['&'] = 1; in php_filter_string()
188 memset(enc, 1, 32); in php_filter_string()
191 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_string()
230 enc['\''] = enc['"'] = enc['<'] = enc['>'] = enc['&'] = enc[0] = 1; in php_filter_special_chars()
233 memset(enc, 1, 32); in php_filter_special_chars()
236 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_special_chars()
272 enc['&'] = 1; in php_filter_unsafe_raw()
275 memset(enc, 1, 32); in php_filter_unsafe_raw()
[all …]
/PHP-8.0/ext/mbstring/tests/
H A Dmb_http_output.phpt14 $enc = mb_http_output();
15 print "$enc\n";
20 $enc = mb_http_output();
21 print "$enc\n";
26 $enc = mb_http_output();
27 print "$enc\n";
32 $enc = mb_http_output();
33 print "$enc\n";
38 $enc = mb_http_output();
39 print "$enc\n";
[all …]
H A Dmb_internal_encoding.phpt14 $enc = mb_internal_encoding();
15 print "$enc\n";
20 $enc = mb_internal_encoding();
21 print "$enc\n";
26 $enc = mb_internal_encoding();
27 print "$enc\n";
40 $enc = mb_internal_encoding();
41 print "$enc\n";
H A Dmb_ereg.phpt22 function do_tests( $enc ) {
23 test_ereg( $enc, 'abc ([a-z]+) ([a-z]+) ([a-z]+)$', "abc def ghi jkl" );
25 test_ereg( $enc, $pat, '���� ������ ������ ����' );
26 test_ereg( $enc, $pat, '�������� ������ ���� ���' );
29 foreach( $encs as $enc ) {
30 do_tests( $enc );
H A Dmb_str_split_jp.phpt29 $enc = mb_convert_encoding($string, $cs, "UTF-8");
30 $split = mb_str_split($enc, 1, $cs);
35 $cnt = count(mb_str_split($enc,$i,$cs));
52 $enc = mb_convert_encoding($long, "ISO-2022-JP", "UTF-8");
53 $array = mb_str_split($enc, $len, "ISO-2022-JP");
60 $enc = mb_convert_encoding($string, "ISO-2022-JP", "UTF-8");
61 if(end($array) !== $enc){
63 last array element: %s expected: %s\n", unpack("H*", end($array))[1],unpack("H*", $enc)[1]);
H A Dmb_str_split_ru.phpt28 $enc = mb_convert_encoding($string, $cs, "UTF-8");
29 $split = mb_str_split($enc, 1, $cs);
35 $cnt = count(mb_str_split($enc,$i,$cs));
52 $enc = mb_convert_encoding($long, "EUC-JP", "UTF-8");
53 $array = mb_str_split($enc, $len, "EUC-JP");
60 $enc = mb_convert_encoding($string, "EUC-JP", "UTF-8");
61 if(end($array) !== $enc){
63 last array element: %s expected: %s\n", unpack("H*", end($array))[1],unpack("H*", $enc)[1]);
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' );
H A Dbug30549.phpt11 function test($enc, $map) {
12 print "$enc\n";
15 $ustr = mb_convert_encoding(pack('C', $fromc), 'UCS-4BE', $enc);
H A Dbug77454.phpt8 function test($str, $enc) {
9 echo str_replace("\0", '\0', mb_scrub($str, $enc)), "\n";
/PHP-8.0/ext/mbstring/
H A Dphp_unicode.c144 if (UNEXPECTED(enc == mbfl_no_encoding_8859_9 && code == 0x69)) { in php_unicode_toupper_raw()
190 return php_unicode_toupper_raw(code, enc); in php_unicode_totitle_raw()
198 if (UNEXPECTED(enc == mbfl_no_encoding_8859_9 && code == 0x49)) { in php_unicode_tofold_raw()
217 code = php_unicode_tolower_raw(code, enc); in php_unicode_tolower_simple()
224 code = php_unicode_toupper_raw(code, enc); in php_unicode_toupper_simple()
231 code = php_unicode_totitle_raw(code, enc); in php_unicode_totitle_simple()
238 code = php_unicode_tofold_raw(code, enc); in php_unicode_tofold_simple()
247 code = php_unicode_tolower_raw(code, enc); in php_unicode_tolower_full()
261 code = php_unicode_toupper_raw(code, enc); in php_unicode_toupper_full()
275 code = php_unicode_totitle_raw(code, enc); in php_unicode_totitle_full()
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Duuencode.phpt6 var_dump($enc = convert_uuencode(""));
7 var_dump(convert_uudecode($enc));
8 var_dump($enc = convert_uuencode("~!@#$%^&*()_}{POIUYTREWQQSDFGHJKL:<MNBVCXZ"));
10 var_dump(convert_uudecode($enc));
11 var_dump($enc = convert_uuencode("not very sophisticated"));
12 var_dump(convert_uudecode($enc));
14 var_dump(convert_uudecode(substr($enc, 0, -10)));
/PHP-8.0/ext/soap/tests/bugs/
H A Dbug41566.phpt50 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
65enc="http://www.w3.org/2003/05/soap-encoding" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/enco…
/PHP-8.0/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 DT59.phpt15 <inputStringArray enc:itemType="xsd:string"
16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
17 <item enc:id="data" xsi:type="xsd:string" enc:ref="#data">hello</item>
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…
H A DT46.phpt20 <varArray enc:itemType="xsd:string" enc:arraySize="3"
21 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
35enc="http://www.w3.org/2003/05/soap-encoding" xmlns:ns2="http://example.org/ts-tests/xsd"><env:Bod…
H A DT60.phpt14 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"
16 <inputStringArray enc:itemType="xsd:string" enc:arraySize="*">
28 …001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/…
H A DT27.phpt13 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"
15 <test:array enc:itemType="xs:string" enc:arraySize="1">
/PHP-8.0/win32/
H A Dcodepage.c277 char *enc = NULL; in php_win32_cp_get_enc() local
281 enc = PG(internal_encoding); in php_win32_cp_get_enc()
283 enc = SG(default_charset); in php_win32_cp_get_enc()
291 return enc; in php_win32_cp_get_enc()
334 if (!enc || !enc[0]) { in php_win32_cp_get_by_enc()
338 enc_len = strlen(enc); in php_win32_cp_get_by_enc()
351 if (cp->enc) { in php_win32_cp_get_by_enc()
352 char *start = cp->enc, *idx; in php_win32_cp_get_by_enc()
465 if (!enc) { in php_win32_cp_do_setup()
466 enc = php_win32_cp_get_enc(); in php_win32_cp_do_setup()
[all …]
H A Dcp_enc_map_gen.c8 char *enc; member
229 if (!cur->enc[0]) { in main()
239 …,\n", info.CodePage, to_w_fl, from_w_fl, info.MaxCharSize, cur->name, cur->enc, info.CodePageName); in main()
/PHP-8.0/ext/soap/
H A Dphp_encoding.c275 return enc; in find_encoder_by_type_name()
576 if (enc != NULL && enc != encode) { in master_to_zval()
1401 while (enc && enc->details.sdl_type && in to_zval_object_ex()
1405 enc = enc->details.sdl_type->encode; in to_zval_object_ex()
1407 if (enc) { in to_zval_object_ex()
1806 while (enc && enc->details.sdl_type && in to_xml_object()
1810 enc = enc->details.sdl_type->encode; in to_xml_object()
1812 if (enc) { in to_xml_object()
1978 if (!enc) { in guess_array_map()
2768 if (enc && type == &enc->details) { in guess_zval_convert()
[all …]
/PHP-8.0/ext/pgsql/tests/
H A D07optional.phpt12 $enc = pg_client_encoding($db);
14 pg_set_client_encoding($db, $enc);

Completed in 69 milliseconds

1234