Home
last modified time | relevance | path

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

1234

/PHP-8.1/ext/intl/converter/
H A Dconverter.c368 const char *enc, size_t enc_len) { in php_converter_set_encoding() argument
370 UConverter *cnv = ucnv_open(enc, &error); in php_converter_set_encoding()
404 char *enc; in php_converter_do_set_encoding() local
407 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &enc, &enc_len) == FAILURE) { in php_converter_do_set_encoding()
412 RETURN_BOOL(php_converter_set_encoding(objval, pcnv, enc, enc_len)); in php_converter_do_set_encoding()
/PHP-8.1/ext/soap/tests/soap12/
H A DT45.phpt34 …2001/XMLSchema-instance" xmlns:ns2="http://example.org/ts-tests/xsd" xmlns:enc="http://www.w3.org/…
/PHP-8.1/ext/soap/tests/
H A Dtypemap006.phpt13 xmlns:enc=\"http://schemas.xmlsoap.org/soap/encoding/\"
H A Dtypemap013.phpt13 xmlns:enc=\"http://schemas.xmlsoap.org/soap/encoding/\"
/PHP-8.1/ext/mbstring/tests/
H A Dmb_regex_encoding_variation2.phpt77 foreach($encoding as $enc) {
81 var_dump(mb_regex_encoding($enc));
H A Dillformed_utf_sequences.phpt7 function chk_enc($str, $n, $enc = "UTF-8") {
8 $src = bin2hex(mb_convert_encoding($str, "UCS-4BE", $enc));
/PHP-8.1/ext/xmlwriter/
H A Dphp_xmlwriter.c644 char *version = NULL, *enc = NULL, *alone = NULL; in PHP_FUNCTION() local
649 …s(), "O|s!s!s!", &self, xmlwriter_class_entry_ce, &version, &version_len, &enc, &enc_len, &alone, … in PHP_FUNCTION()
655 retval = xmlTextWriterStartDocument(ptr, version, enc, alone); in PHP_FUNCTION()
/PHP-8.1/ext/xml/tests/
H A Dbug32001.phpt20 function __construct($enc, $chunk_size = 0, $bom = 0, $omit_prologue = 0) {
21 $this->encoding = $enc;
/PHP-8.1/ext/zlib/
H A Dzlib.c153 zval *enc; in php_zlib_output_encoding() local
157 …(enc = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_ACCEPT_ENCODING", s… in php_zlib_output_encoding()
158 convert_to_string(enc); in php_zlib_output_encoding()
159 if (strstr(Z_STRVAL_P(enc), "gzip")) { in php_zlib_output_encoding()
161 } else if (strstr(Z_STRVAL_P(enc), "deflate")) { in php_zlib_output_encoding()
/PHP-8.1/ext/zip/
H A Dphp_zip.c3010 bool enc = 1; local
3012 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|b", &method, &enc) == FAILURE) {
3015 RETVAL_BOOL(zip_compression_method_supported((zip_int32_t)method, enc));
3023 bool enc = 1; local
3025 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|b", &method, &enc) == FAILURE) {
3028 RETVAL_BOOL(zip_encryption_method_supported((zip_uint16_t)method, enc));
H A Dphp_zip_arginfo.h288 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enc, _IS_BOOL, 0, "true")
/PHP-8.1/ext/standard/tests/file/
H A Dfgetcsv_variation31.phpt70 $enc = 'z';
71 var_dump( fgetcsv($file_handle, 1024, $delimiter, $enc ) ); // with length, delimiter
H A Dfgetcsv_variation12.phpt71 $enc = "%%";
73 var_dump( fgetcsv($file_handle, 1024, $del, $enc) );
H A Dfgetcsv_variation8.phpt76 $enc = "%";
77 var_dump( fgetcsv($file_handle, 1024, $del, $enc) );
H A Dfgetcsv_variation11.phpt73 $enc = "+";
74 var_dump( fgetcsv($file_handle, 1024, $delimiter, $enc) );
/PHP-8.1/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c417 const mbfl_encoding *enc = NULL; in mbfl_encoding_detector_judge() local
423 enc = filter->from; in mbfl_encoding_detector_judge()
428 return enc; in mbfl_encoding_detector_judge()
507 const mbfl_encoding *enc = mbfl_encoding_detector_judge(identd); in mbfl_identify_encoding() local
509 return enc; in mbfl_identify_encoding()
/PHP-8.1/ext/session/
H A Dsession.c2411 zend_string *enc; in PHP_FUNCTION() local
2417 enc = php_session_encode(); in PHP_FUNCTION()
2418 if (enc == NULL) { in PHP_FUNCTION()
2422 RETURN_STR(enc); in PHP_FUNCTION()
/PHP-8.1/ext/openssl/
H A Dopenssl.c7400 const char *tag, int tag_len, zend_long options, int enc) /* {{{ */ in php_openssl_cipher_init() argument
7409 if (enc && *piv_len == 0 && max_iv_len > 0 && !mode->is_aead) { in php_openssl_cipher_init()
7414 if (!EVP_CipherInit_ex(cipher_ctx, cipher_type, NULL, NULL, NULL, enc)) { in php_openssl_cipher_init()
7421 if (mode->set_tag_length_always || (enc && mode->set_tag_length_when_encrypting)) { in php_openssl_cipher_init()
7427 if (!enc && tag && tag_len > 0) { in php_openssl_cipher_init()
7457 if (!EVP_CipherInit_ex(cipher_ctx, NULL, NULL, key, (unsigned char *)*piv, enc)) { in php_openssl_cipher_init()
7472 const char *aad, size_t aad_len, int enc) /* {{{ */ in php_openssl_cipher_update() argument
/PHP-8.1/ext/standard/
H A Dstring.c5201 char delim = ',', enc = '"'; local
5215 enc = enc_len ? enc_str[0] : enc;
5220 php_fgetcsv(NULL, delim, enc, esc, ZSTR_LEN(str), ZSTR_VAL(str), return_value);
/PHP-8.1/ext/fileinfo/tests/
H A Dmagic876 # ?/enc-isoff-generic
4586 >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.),
4624 >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.),
31324 # OpenSSL enc file (recognized by a magic string preceding the password's salt)
31325 0 string Salted__ openssl enc'd data with salted password
31327 0 string U2FsdGVkX1 openssl enc'd data with salted password, base64 encoded
H A Dmagic私はガラスを食べられます876 # ?/enc-isoff-generic
4586 >12 belong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.),
4624 >12 lelong 23 8-bit ISDN mu-law compressed (CCITT G.721 ADPCM voice enc.),
31324 # OpenSSL enc file (recognized by a magic string preceding the password's salt)
31325 0 string Salted__ openssl enc'd data with salted password
31327 0 string U2FsdGVkX1 openssl enc'd data with salted password, base64 encoded

Completed in 311 milliseconds

1234