Home
last modified time | relevance | path

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

1234

/PHP-8.3/ext/filter/
H A Dsanitizing_filters.c171 unsigned char enc[256] = {0}; in php_filter_string() local
181 enc['\''] = enc['"'] = 1; in php_filter_string()
184 enc['&'] = 1; in php_filter_string()
187 memset(enc, 1, 32); in php_filter_string()
190 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_string()
229 enc['\''] = enc['"'] = enc['<'] = enc['>'] = enc['&'] = enc[0] = 1; in php_filter_special_chars()
232 memset(enc, 1, 32); in php_filter_special_chars()
235 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_special_chars()
271 enc['&'] = 1; in php_filter_unsafe_raw()
274 memset(enc, 1, 32); in php_filter_unsafe_raw()
[all …]
/PHP-8.3/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.phpt23 function do_tests( $enc ) {
24 test_ereg( $enc, 'abc ([a-z]+) ([a-z]+) ([a-z]+)$', "abc def ghi jkl" );
26 test_ereg( $enc, $pat, '���� ������ ������ ����' );
27 test_ereg( $enc, $pat, '�������� ������ ���� ���' );
30 foreach( $encs as $enc ) {
31 do_tests( $enc );
H A Dmb_str_split_ru.phpt27 $enc = mb_convert_encoding($string, $cs, "UTF-8");
28 $split = mb_str_split($enc, 1, $cs);
34 $cnt = count(mb_str_split($enc,$i,$cs));
51 $enc = mb_convert_encoding($long, "EUC-JP", "UTF-8");
52 $array = mb_str_split($enc, $len, "EUC-JP");
59 $enc = mb_convert_encoding($string, "EUC-JP", "UTF-8");
60 if(end($array) !== $enc){
62 last array element: %s expected: %s\n", unpack("H*", end($array))[1],unpack("H*", $enc)[1]);
H A Dmb_ereg_search_xxx.phpt28 function do_tests( $enc, $opt ) {
29 test_search( $enc, "�ϡ� ����\n", ' (��?�ϡ�?)[[:space:]]', $opt );
30 test_search( $enc, 'abcde abdeabcf anvfabc odu abcd ', '(ab[a-z]+)', $opt );
33 foreach( $encs as $enc ) {
34 do_tests( $enc, '' );
35 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.3/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.3/ext/mbstring/
H A Dphp_unicode.c130 if (UNEXPECTED(enc == &mbfl_encoding_8859_9 && code == 0x69)) { in php_unicode_toupper_raw()
152 if (UNEXPECTED(enc == &mbfl_encoding_8859_9 && code == 0x0049L)) { in php_unicode_tolower_raw()
161 if (UNEXPECTED(enc == &mbfl_encoding_8859_9 && code == 0x130)) { in php_unicode_tolower_raw()
178 return php_unicode_toupper_raw(code, enc); in php_unicode_totitle_raw()
181 static unsigned php_unicode_tofold_raw(unsigned code, const mbfl_encoding *enc) in php_unicode_tofold_raw() argument
186 if (UNEXPECTED(enc == &mbfl_encoding_8859_9 && code == 0x49)) { in php_unicode_tofold_raw()
195 if (UNEXPECTED(enc == &mbfl_encoding_8859_9 && code == 0x130)) { in php_unicode_tofold_raw()
205 code = php_unicode_tolower_raw(code, enc); in php_unicode_tolower_simple()
212 code = php_unicode_toupper_raw(code, enc); in php_unicode_toupper_simple()
219 code = php_unicode_totitle_raw(code, enc); in php_unicode_totitle_simple()
[all …]
H A Dmbstring.c1649 if (!enc) { in PHP_FUNCTION()
1850 if (!enc) { in PHP_FUNCTION()
1981 if (!enc) { in PHP_FUNCTION()
2010 if (!enc) { in PHP_FUNCTION()
2040 if (!enc) { in PHP_FUNCTION()
2071 if (!enc) { in PHP_FUNCTION()
2165 if (!enc) { in php_mb_strstr_variants()
2990 array[j].enc = enc; in init_candidate_array()
3022 const mbfl_encoding *enc = array[i].enc; in start_string() local
3063 const mbfl_encoding *enc = array[i].enc; in count_demerits() local
[all …]
/PHP-8.3/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.3/ext/soap/
H A Dphp_encoding.c276 return enc; in find_encoder_by_type_name()
573 if (enc != NULL && enc != encode) { in master_to_zval()
1433 while (enc && enc->details.sdl_type && in to_zval_object_ex()
1437 enc = enc->details.sdl_type->encode; in to_zval_object_ex()
1439 if (enc) { in to_zval_object_ex()
1852 while (enc && enc->details.sdl_type && in to_xml_object()
1856 enc = enc->details.sdl_type->encode; in to_xml_object()
1858 if (enc) { in to_xml_object()
2024 if (!enc) { in guess_array_map()
2840 if (enc && type == &enc->details) { in guess_zval_convert()
[all …]
/PHP-8.3/win32/
H A Dcodepage.c311 char *enc = NULL; in php_win32_cp_get_enc() local
315 enc = PG(internal_encoding); in php_win32_cp_get_enc()
317 enc = SG(default_charset); in php_win32_cp_get_enc()
325 return enc; in php_win32_cp_get_enc()
368 if (!enc || !enc[0]) { in php_win32_cp_get_by_enc()
372 enc_len = strlen(enc); in php_win32_cp_get_by_enc()
385 if (cp->enc) { in php_win32_cp_get_by_enc()
386 char *start = cp->enc, *idx; in php_win32_cp_get_by_enc()
499 if (!enc) { in php_win32_cp_do_setup()
500 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.3/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 DT57.phpt12 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
16 <test:Data enc:id="data" xsi:type="xsd:string">hello world</test:Data>
22 <test:inputString enc:ref="#data" xsi:type="xsd:string" />
31 …001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/…
H A DT76_2.phpt12 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
16 <test:Data enc:id="data" xsi:type="xsd:string">hello world</test:Data>
22 <inputString enc:ref="data" xsi:type="xsd:string" />
31 …001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/…

Completed in 111 milliseconds

1234