Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 1096) sorted by last modified time

12345678910>>...44

/php-src/
H A DUPGRADING58 . mb_http_output() now checks that the $encoding parameter does not
60 . On invalid strings (those with encoding errors), mb_substr() now interprets
690 . Looking up mbstring encoding names is much faster now.
/php-src/ext/dom/
H A Dphp_dom.h188 …e mode, const char *source, size_t source_len, size_t options, xmlCharEncodingHandlerPtr encoding);
H A Ddocument.c104 const char *encoding = (const char *) docp->encoding; in dom_document_encoding_read() local
106 if (encoding != NULL) { in dom_document_encoding_read()
107 ZVAL_STRING(retval, encoding); in dom_document_encoding_read()
132 if (docp->encoding != NULL) { in dom_document_encoding_write()
133 xmlFree(BAD_CAST docp->encoding); in dom_document_encoding_write()
1223 char *encoding, *version = NULL; in PHP_METHOD() local
1239 docp->encoding = (const xmlChar *) xmlStrdup(BAD_CAST encoding); in PHP_METHOD()
1359 if (encoding != NULL) { in dom_document_parser()
1361 (void) xmlSwitchToEncoding(ctxt, encoding); in dom_document_parser()
2109 const char *encoding; in PHP_METHOD() local
[all …]
H A Dphp_dom_arginfo.h332 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"\"")
989 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"UTF-8\"")
1024 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"UTF-8\"")
H A Dphp_dom.stub.php727 public ?string $encoding; variable in DOMDocument
771 public function __construct(string $version = "1.0", string $encoding = "") {} argument
963 public ?string $encoding = null; variable in DOMEntity
1588 public static function createEmpty(string $encoding = "UTF-8"): HTMLDocument {} argument
1607 …public static function createEmpty(string $version = "1.0", string $encoding = "UTF-8"): XMLDocume… argument
H A Dconfig.w3227 …ADD_SOURCES("ext/dom/lexbor/lexbor/html", "encoding.c interface.c parser.c token.c token_attr.c to…
28 …ADD_SOURCES("ext/dom/lexbor/lexbor/encoding", "big5.c decode.c encode.c encoding.c euc_kr.c gb1803…
H A Dconfig.m422encoding/big5.c $LEXBOR_DIR/encoding/decode.c $LEXBOR_DIR/encoding/encode.c $LEXBOR_DIR/encoding/e…
23 …$LEXBOR_DIR/html/encoding.c $LEXBOR_DIR/html/interface.c $LEXBOR_DIR/html/parser.c $LEXBOR_DIR/htm…
47 PHP_ADD_BUILD_DIR($ext_builddir/$LEXBOR_DIR/encoding)
/php-src/ext/dom/tests/
H A DDOMNode_C14N_references.phpt10 <?xml version="1.0" encoding="ISO-8859-1" ?>
H A Dgh13863.phpt136 <?xml version="1.0" encoding="UTF-8"?>
151 <?xml version="1.0" encoding="UTF-8"?>
163 <?xml version="1.0" encoding="UTF-8"?>
/php-src/ext/openssl/
H A Dopenssl.c6011 zend_long encoding = ENCODING_SMIME; in PHP_FUNCTION() local
6028 if (encoding == ENCODING_SMIME) { in PHP_FUNCTION()
6041 switch (encoding) { in PHP_FUNCTION()
6167 zend_long encoding = ENCODING_SMIME; in PHP_FUNCTION() local
6281 switch (encoding) { in PHP_FUNCTION()
6447 zend_long encoding = ENCODING_SMIME; in PHP_FUNCTION() local
6468 Z_PARAM_LONG(encoding) in PHP_FUNCTION()
6559 switch (encoding) { in PHP_FUNCTION()
6627 zend_long encoding = ENCODING_SMIME; in PHP_FUNCTION() local
6641 Z_PARAM_LONG(encoding) in PHP_FUNCTION()
[all …]
/php-src/ext/pgsql/
H A Dpgsql.c2917 char *encoding; in PHP_FUNCTION() local
2924 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &encoding, &encoding_len) == FAILURE) { in PHP_FUNCTION()
2930 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &pgsql_link, pgsql_link_ce, &encoding, &encoding_… in PHP_FUNCTION()
2939 RETURN_LONG(PQsetClientEncoding(pgsql, encoding)); in PHP_FUNCTION()
/php-src/ext/opcache/jit/ir/
H A Dir_aarch64.dasc110 * Used to guard the immediate encoding for add/adds/sub/subs/cmp/cmn instructions. */
/php-src/ext/mbstring/
H A Dmbstring.c246 if (!encoding) { in php_mb_get_encoding()
266 return encoding; in php_mb_get_encoding()
408 if (encoding) { in php_mb_parse_encoding_array()
754 _php_mb_ini_mbstring_http_input_set(encoding, strlen(encoding)); in PHP_INI_MH()
765 if (!encoding) { in _php_mb_ini_mbstring_http_output_set()
784 _php_mb_ini_mbstring_http_output_set(encoding, strlen(encoding)); in PHP_INI_MH()
975 _php_mb_ini_mbstring_http_input_set(encoding, strlen(encoding)); in PHP_INI_END()
1246 if (!encoding) { in PHP_FUNCTION()
1328 if (encoding) { in PHP_FUNCTION()
6539 if (*encoding == 'Q' || *encoding == 'q') { in mime_header_decode_encoded_word()
[all …]
H A Dmbstring.stub.php58 function mb_internal_encoding(?string $encoding = null): string|bool {} argument
67 function mb_http_output(?string $encoding = null): string|bool {} argument
73 function mb_detect_order(array|string|null $encoding = null): array|bool {} argument
79 function mb_preferred_mime_name(string $encoding): string|false {} argument
89 function mb_strlen(string $string, ?string $encoding = null): int {} argument
119 function mb_strwidth(string $string, ?string $encoding = null): int {} argument
138 function mb_ucfirst(string $string, ?string $encoding = null): string {} argument
160 function mb_encoding_aliases(string $encoding): array {} argument
190 function mb_scrub(string $string, ?string $encoding = null): string {} argument
192 function mb_ord(string $string, ?string $encoding = null): int|false {} argument
[all …]
H A Dmbstring_arginfo.h9 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
27 ZEND_ARG_TYPE_INFO(0, encoding, IS_STRING, 0)
43 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
48 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
55 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
68 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
80 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
87 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
99 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
111 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
[all …]
/php-src/ext/mbstring/tests/
H A Dgh13815.phpt9 var_dump(mb_strlen(mb_trim($strUtf8, encoding: 'UTF-8')));
14 var_dump(mb_strlen(mb_trim($strSjis, encoding: 'Shift_JIS')));
H A Dmb_encode_mimeheader_basic4.phpt14 // Regression test for QPrint-encoding of strings with embedded NUL (zero) bytes
55 // Regression test: converting UTF-8 to UCS-4 and then QPrint-encoding makes string
59 // Regression test: include space after ASCII word when switching to Base64 encoding
62 // Regression test for buffer overrun while performing Base64-encoding
85 // Regression test: After we see a non-ASCII character and switch into Base64/QPrint encoding mode,
94 …on test: After decoding part of a line as ASCII, before we switch into Base64/QPrint encoding mode,
111 // with no transfer encoding, and when it would transfer-encode
126 // Regression test for problem where MIME encoding loop would not leave enough space in wchar
185 …ode_mimeheader(): Argument #2 ($charset) "Quoted-Printable" cannot be used for MIME header encoding
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c802 char *encoding = NULL; in PHP_METHOD() local
806 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
822 if (encoding && CHECK_NULL_PATH(encoding, encoding_len)) { in PHP_METHOD()
831 reader = xmlReaderForFile(valid_file, encoding, options); in PHP_METHOD()
984 char *source, *uri = NULL, *encoding = NULL; in PHP_METHOD() local
990 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|s!l", &source, &source_len, &encoding, &encoding_len… in PHP_METHOD()
1006 if (encoding && CHECK_NULL_PATH(encoding, encoding_len)) { in PHP_METHOD()
1032 ret = xmlTextReaderSetup(reader, NULL, uri, encoding, options); in PHP_METHOD()
/php-src/ext/zlib/
H A Dzlib.c529 int encoding; in PHP_FUNCTION() local
548 switch (encoding) { in PHP_FUNCTION()
720 switch (encoding) { \
890 switch (encoding) { in PHP_FUNCTION()
909 if (encoding < 0) { in PHP_FUNCTION()
910 encoding += 15 - window; in PHP_FUNCTION()
912 encoding -= 15 - window; in PHP_FUNCTION()
1139 switch (encoding) { in PHP_FUNCTION()
1155 if (encoding < 0) { in PHP_FUNCTION()
1156 encoding += 15 - window; in PHP_FUNCTION()
[all …]
/php-src/ext/standard/
H A Dbasic_functions.stub.php2275 …tring, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?string $encoding = null, bool $dou…
2279 …tring, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?string $encoding = null): string {}
2282 …tring, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?string $encoding = null, bool $dou…
2288 …LCHARS, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, string $encoding = "UTF-8"): array…
H A Dbasic_functions_arginfo.h768 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
780 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 1, "null")
788 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, encoding, IS_STRING, 0, "\"UTF-8\"")
/php-src/ext/fileinfo/tests/
H A Dbug78987.phpt2 Bug #78987 High memory usage during encoding detection
/php-src/ext/dom/tests/modern/common/
H A Dserialize_entity_reference_in_attribute.phpt24 <?xml version="1.0" encoding="UTF-8"?>
/php-src/ext/xsl/tests/
H A Dbug71571_b.phpt11 <?xml version="1.0" encoding="UTF-8"?>
H A Dbug71571_a.phpt11 <?xml version="1.0" encoding="UTF-8"?>

Completed in 175 milliseconds

12345678910>>...44