Home
last modified time | relevance | path

Searched refs:enc (Results 26 – 50 of 96) sorted by relevance

1234

/php-src/ext/soap/tests/soap12/
H A DT27.phpt13 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"
15 <test:array enc:itemType="xs:string" enc:arraySize="1">
H A DT58.phpt15 <inputIntegerArray enc:itemType="xsd:int" enc:arraySize="1"
16 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
H A DT61.phpt14 xmlns:enc="http://www.w3.org/2003/05/soap-encoding"
16 <inputStringArray enc:itemType="xsd:string" enc:arraySize="2 *">
H A DT56.phpt12 xmlns:enc="http://www.w3.org/2003/05/soap-encoding">
16 <test:Data enc:id="data-1" xsi:type="xsd:string">
24 <inputString enc:ref="#data-2" xsi:type="xsd:string" />
H A DT31.phpt20 …//example.org/ts-tests" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://www.w3.org/…
/php-src/ext/mbstring/tests/
H A Dmb_str_split_jp.phpt35 $enc = mb_convert_encoding($string, $cs, "UTF-8");
36 $split = mb_str_split($enc, 1, $cs);
41 $cnt = count(mb_str_split($enc,$i,$cs));
58 $enc = mb_convert_encoding($long, "ISO-2022-JP", "UTF-8");
59 $array = mb_str_split($enc, $len, "ISO-2022-JP");
66 $enc = mb_convert_encoding($string, "ISO-2022-JP", "UTF-8");
67 if(end($array) !== $enc){
69 last array element: %s expected: %s\n", unpack("H*", end($array))[1],unpack("H*", $enc)[1]);
H A Dmb_strlen_variation3.phpt78 foreach($encoding as $enc) {
79 echo "\n-- Iteration $iterator: $enc --\n";
82 if(mb_strlen($string_ascii, $enc)) {
83 echo "Encoding $enc recognised\n";
85 echo "Encoding $enc not recognised\n";
89 if(mb_strlen($string_mb, $enc)){
90 echo "Encoding $enc recognised\n";
92 echo "Encoding $enc not recognised\n";
/php-src/ext/standard/tests/strings/
H A Dbug24312.phpt7 $enc = chunk_split(base64_encode($data), 10, chr($i));
8 var_dump(base64_decode($enc));
/php-src/ext/pgsql/tests/
H A D07optional.phpt14 $enc = pg_client_encoding($db);
16 pg_set_client_encoding($db, $enc);
/php-src/ext/zip/tests/
H A Doo_addglob2.phpt52 ", enc=" . $sb['encryption_method'] . "\n";
65 0: foo.txt, comp=8, enc=0
66 1: bar.txt, comp=0, enc=259
/php-src/ext/tidy/
H A Dtidy.c274 char *enc = NULL; in php_tidy_quick_repair() local
288 Z_PARAM_STRING(enc, enc_len) in php_tidy_quick_repair()
300 Z_PARAM_STRING(enc, enc_len) in php_tidy_quick_repair()
807 if(enc) { in php_tidy_parse_string()
1001 char *enc = NULL; in PHP_FUNCTION() local
1011 Z_PARAM_STRING_OR_NULL(enc, enc_len) in PHP_FUNCTION()
1061 char *enc = NULL; in PHP_FUNCTION() local
1073 Z_PARAM_STRING_OR_NULL(enc, enc_len) in PHP_FUNCTION()
1356 char *enc = NULL; in PHP_METHOD() local
1396 char *enc = NULL; in PHP_METHOD() local
[all …]
/php-src/ext/mbstring/
H A Dmbstring.h56 … char *php_mb_safe_strrchr(const char *s, unsigned int c, size_t nbytes, const mbfl_encoding *enc);
65 MBSTRING_API size_t php_mb_mbchar_bytes(const char *s, const mbfl_encoding *enc);
67 …bool mode, zend_string *haystack, zend_string *needle, zend_long offset, const mbfl_encoding *enc);
H A Dphp_mbregex.h39 int php_mb_regex_set_mbctype(const char *enc);
H A Dphp_mbregex.c461 OnigEncoding enc = MBREX(current_mbctype); in php_mbregex_compile_pattern() local
465 "Pattern is not valid under %s encoding", _php_mb_regex_mbctype2name(enc)); in php_mbregex_compile_pattern()
714 const mbfl_encoding *enc in mb_regex_substitute() argument
724 clen = (int) php_mb_mbchar_bytes(p, enc); in mb_regex_substitute()
732 clen = (int) php_mb_mbchar_bytes(++p, enc); in mb_regex_substitute()
762 clen = (int) php_mb_mbchar_bytes(++p, enc); in mb_regex_substitute()
775 clen = (int) php_mb_mbchar_bytes(name_end, enc); in mb_regex_substitute()
1007 const mbfl_encoding *enc = php_mb_regex_get_mbctype_encoding(); in _php_mb_regex_ereg_replace_exec() local
1008 ZEND_ASSERT(enc != NULL); in _php_mb_regex_ereg_replace_exec()
1032 if (!php_mb_check_encoding(string, string_len, enc)) { in _php_mb_regex_ereg_replace_exec()
[all …]
/php-src/ext/standard/tests/url/
H A Dbase64_encode_basic_002.phpt29 $enc = base64_encode($str);
30 $dec = base64_decode($enc);
H A Dbase64_encode_basic_001.phpt13 $enc = base64_encode($str);
14 printf("0x%X: %s\n", $i, $enc);
30 $enc = base64_encode($str);
31 printf("%s\n", $enc);
/php-src/ext/soap/
H A Dphp_sdl.c66 return enc; in get_encoder_from_prefix()
170 enc = new_enc; in get_encoder()
174 return enc; in get_encoder()
179 encodePtr enc; in get_encoder_ex() local
182 return enc; in get_encoder_ex()
184 return enc; in get_encoder_ex()
1432enc->details.clark_notation = zend_strpprintf(0, "{%s}%s", enc->details.ns, enc->details.type_str); in sdl_deserialize_encoder()
1629 i++; enc++; in get_sdl_from_cache()
1829 if (enc) { in sdl_serialize_encoder_ref()
2229 enc++; in add_sdl_to_cache()
[all …]
H A Dsoap.c301 encode* enc; in php_soap_prepare_globals() local
724 if (enc) { in soap_create_typemap()
2879 encodePtr enc; local
2886 enc = NULL;
3948 encodePtr enc; local
3953 enc = param->encode;
3966 enc = NULL;
4307 while (enc && enc->details.sdl_type &&
4308 enc != enc->details.sdl_type->encode &&
4312 enc = enc->details.sdl_type->encode;
[all …]
H A Dphp_encoding.h206 xmlNodePtr sdl_guess_convert_xml(encodeTypePtr enc, zval* data, int style, xmlNodePtr parent);
207 zval *sdl_guess_convert_zval(zval *ret, encodeTypePtr enc, xmlNodePtr data);
H A Dphp_schema.c49 encodePtr enc, enc_ptr; in create_encoder() local
60 enc = enc_ptr; in create_encoder()
61 if (enc->details.ns) { in create_encoder()
62 efree(enc->details.ns); in create_encoder()
64 if (enc->details.type_str) { in create_encoder()
65 efree(enc->details.type_str); in create_encoder()
79 if (enc->details.ns != NULL){ in create_encoder()
80enc->details.clark_notation = zend_strpprintf(0, "{%s}%s", enc->details.ns, enc->details.type_str); in create_encoder()
89 return enc; in create_encoder()
95 if (enc == NULL) { in get_create_encoder()
[all …]
/php-src/ext/soap/tests/interop/Round4/GroupH/
H A Dr4_groupH_soapfault_002w.phpt18 …//soapinterop.org/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://www.w3.org/…
20 …//soapinterop.org/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://www.w3.org/…
/php-src/tests/output/
H A Dbug74725.phpt9 // Note to test reader: this file is in Windows-1251 (vim: `:e ++enc=cp1251`)
/php-src/win32/
H A Dcodepage.h39 char *enc; member
53 PW32CP const struct php_win32_cp *php_win32_cp_get_by_enc(const char *enc);
/php-src/ext/iconv/
H A Diconv.c567 cd = iconv_open(GENERIC_SUPERSET_NAME, enc); in _php_iconv_strlen()
642 err = _php_iconv_strlen(&total_len, str, nbytes, enc); in _php_iconv_substr()
674 cd1 = iconv_open(GENERIC_SUPERSET_NAME, enc); in _php_iconv_substr()
701 cd2 = iconv_open(enc, GENERIC_SUPERSET_NAME); in _php_iconv_substr()
757 size_t offset, const char *enc, bool reverse) in _php_iconv_strpos() argument
783 err = php_iconv_string(ndl, ndl_nbytes, &ndl_buf, GENERIC_SUPERSET_NAME, enc); in _php_iconv_strpos()
792 cd = iconv_open(GENERIC_SUPERSET_NAME, enc); in _php_iconv_strpos()
946 cd_pl = iconv_open(ICONV_ASCII_ENCODING, enc); in _php_iconv_mime_encode()
956 cd = iconv_open(out_charset, enc); in _php_iconv_mime_encode()
1216 cd_pl = iconv_open(enc, ICONV_ASCII_ENCODING); in _php_iconv_mime_decode()
[all …]
/php-src/ext/xml/
H A Dxml.c481 const xml_encoding *enc = &xml_encodings[0]; in xml_get_encoding() local
483 while (enc && enc->name) { in xml_get_encoding()
484 if (strcasecmp((char *)name, (char *)enc->name) == 0) { in xml_get_encoding()
485 return enc; in xml_get_encoding()
487 enc++; in xml_get_encoding()
499 const xml_encoding *enc = xml_get_encoding(encoding); in xml_utf8_decode() local
502 if (enc) { in xml_utf8_decode()
503 decoder = enc->decoding_function; in xml_utf8_decode()
1524 const xml_encoding *enc; in PHP_FUNCTION() local
1530 if (enc == NULL) { in PHP_FUNCTION()
[all …]

Completed in 114 milliseconds

1234