/php-src/ |
H A D | UPGRADING.INTERNALS | 223 PHP_BASE64_NO_PADDING to encode without the padding character '='.
|
/php-src/ext/bz2/tests/ |
H A D | bz2_filter_compress.phpt | 2 bzip2.compress (with convert.base64-encode) 11 stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
|
/php-src/ext/dom/ |
H A D | config.m4 | 22 …$LEXBOR_DIR/encoding/big5.c $LEXBOR_DIR/encoding/decode.c $LEXBOR_DIR/encoding/encode.c $LEXBOR_DI…
|
H A D | config.w32 | 28 …ADD_SOURCES("ext/dom/lexbor/lexbor/encoding", "big5.c decode.c encode.c encoding.c euc_kr.c gb1803…
|
H A D | html_document.c | 62 lxb_encoding_encode_t *encode; member 74 lxb_encoding_encode_t encode; member 111 &ctx->encode, in dom_decoding_encoding_ctx_init() 608 …encode_status = decoding_encoding_ctx->encode_data->encode(&decoding_encoding_ctx->encode, &codepo… in dom_decode_encode_slow_path() 685 …(void) decoding_encoding_ctx->encode_data->encode(&decoding_encoding_ctx->encode, &codepoints_ref,… in dom_parse_decode_encode_finish() 1184 encode_status = output->encoding_data->encode(output->encode, &codepoints_ref, codepoints_end); in dom_saveHTML_write_string_len() 1213 lxb_encoding_encode_t encode; in dom_common_save() local 1229 output_ctx->encode = &encode; in dom_common_save() 1245 …(void) encoding_data->encode(&encode, &codepoints_ref, codepoints_ref + lxb_encoding_decode_buf_us… in dom_common_save() 1254 (void) lxb_encoding_encode_finish(&encode); in dom_common_save() [all …]
|
/php-src/ext/dom/lexbor/lexbor/encoding/ |
H A D | base.h | 191 lxb_encoding_encode_f encode; member
|
H A D | encoding.c | 62 lxb_encoding_encode_init_noi(lxb_encoding_encode_t *encode, in lxb_encoding_encode_init_noi() argument 66 return lxb_encoding_encode_init(encode, encoding_data, in lxb_encoding_encode_init_noi() 71 lxb_encoding_encode_finish_noi(lxb_encoding_encode_t *encode) in lxb_encoding_encode_finish_noi() argument 73 return lxb_encoding_encode_finish(encode); in lxb_encoding_encode_finish_noi() 77 lxb_encoding_encode_buf_noi(lxb_encoding_encode_t *encode) in lxb_encoding_encode_buf_noi() argument 79 return lxb_encoding_encode_buf(encode); in lxb_encoding_encode_buf_noi() 83 lxb_encoding_encode_buf_set_noi(lxb_encoding_encode_t *encode, in lxb_encoding_encode_buf_set_noi() argument 93 lxb_encoding_encode_buf_used_set(encode, buffer_used); in lxb_encoding_encode_buf_used_set_noi() 97 lxb_encoding_encode_buf_used_noi(lxb_encoding_encode_t *encode) in lxb_encoding_encode_buf_used_noi() argument 99 return lxb_encoding_encode_buf_used(encode); in lxb_encoding_encode_buf_used_noi() [all …]
|
H A D | encoding.h | 49 encode->buffer_out = buffer_out; in lxb_encoding_encode_init() 69 return encode->buffer_out; in lxb_encoding_encode_buf() 76 encode->buffer_out = buffer_out; in lxb_encoding_encode_buf_set() 78 encode->buffer_used = 0; in lxb_encoding_encode_buf_set() 91 return encode->buffer_used; in lxb_encoding_encode_buf_used() 98 if (encode->buffer_out == NULL || encode->buffer_length < length) { in lxb_encoding_encode_replace_set() 102 encode->replace_to = replace; in lxb_encoding_encode_replace_set() 103 encode->replace_len = length; in lxb_encoding_encode_replace_set() 112 if ((encode->buffer_used + length) > encode->buffer_length) { in lxb_encoding_encode_buf_add_to() 116 memcpy(&encode->buffer_out[encode->buffer_used], data, length); in lxb_encoding_encode_buf_add_to() [all …]
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_createFromFile_http_header.phpt | 48 …"tex.t/h#\$%!&'*%2B-.^_`|~tml;Charset=\"ISO-8859-1\"", // Note: have to encode + as 2B because of …
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_text_03.phpt | 2 DOM\HTMLDocument serialization escape text 03 - special tags in namespace should encode content
|
/php-src/ext/fileinfo/tests/ |
H A D | magic | 4637 # https://encode.ru/threads/456-zpaq-updates/page32 36302 # Using the -a or -base64 option, OpenSSL will base64-encode the data. 37894 # bencode(8) is used to encode compressed news batches (Bnews/Cnews only?)
|
H A D | magic私はガラスを食べられます | 4637 # https://encode.ru/threads/456-zpaq-updates/page32 36302 # Using the -a or -base64 option, OpenSSL will base64-encode the data. 37894 # bencode(8) is used to encode compressed news batches (Bnews/Cnews only?)
|
/php-src/ext/gd/ |
H A D | config.w32 | 28 …CHECK_HEADER_ADD_INCLUDE("encode.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\webp"…
|
/php-src/ext/gd/tests/ |
H A D | bug79945.phpt | 15 imagecreatefrompng('php://filter/read=convert.base64-encode/resource=' . __DIR__ . '/test.png'); 20 imagecreatefrompng('php://filter/read=convert.base64-encode/resource=' . __DIR__ . '/test.png'); 25 Warning: imagecreatefrompng(): "php://filter/read=convert.base64-encode/resource=%s" is not a valid…
|
/php-src/ext/iconv/tests/ |
H A D | bug53891.phpt | 2 Bug #53891 (iconv_mime_encode() fails to Q-encode UTF-8 string)
|
/php-src/ext/json/tests/ |
H A D | bug50224.phpt | 2 bug #50224 (json_encode() does not always encode a float as a float) 15 echo "\n* Testing encode/decode symmetry\n\n"; 35 * Testing encode/decode symmetry
|
/php-src/ext/mbstring/tests/data/ |
H A D | KOI8-U.txt | 26 # used to encode texts in Ukrainian, Byelorussian and Bulgarian.
|
/php-src/ext/mbstring/tests/ |
H A D | htmlent.phpt | 26 // Using UTF-8 internally allows to encode/decode ALL characters.
|
H A D | iso2022jp_encoding.phpt | 223 // Single bytes from 0xA3-0xDF can be used to encode kana in JIS8
|
H A D | mb_encode_mimeheader_basic4.phpt | 105 // transfer-encode it, it takes too many bytes to fit on a single line 111 // with no transfer encoding, and when it would transfer-encode 117 // In the general case, matching the old implementation's decision to transfer-encode or not
|
H A D | mb_encode_numericentity.phpt | 20 // HTML-encode a null byte
|
H A D | utf8_mobile_encodings.phpt | 56 // (Using more bytes than needed to encode a character)
|
H A D | utf_encodings.phpt | 808 // (Using more bytes than needed to encode a character) 998 function encode($str, $encoding) { 1017 testValidString('+' . encode("\x12\x34", 'UTF-16BE') . '-', "\x00\x00\x12\x34", 'UTF-7', 'UTF-32BE'… 1018 testValidString('+' . encode("\x12\x34\x56\x78", 'UTF-16BE') . '-', "\x00\x00\x12\x34\x00\x00\x56\x… 1020 testValidString('+' . encode("\xFF\xEE\xEE\xFF", 'UTF-16BE') . '-', "\x00\x00\xFF\xEE\x00\x00\xEE\x… 1023 testValidString('+' . encode("\x00\x01\x04\x00", 'UTF-32BE') . '-', "\x00\x01\x04\x00", 'UTF-7', 'U… 1029 testValidString('+' . encode('ABC', 'ASCII'), "\x00A\x00B\x00C", 'UTF-7', 'UTF-16BE', false); 1033 testValidString('+' . encode('AB', 'ASCII') . '-+' . encode('CD', 'ASCII') . '-', "\x00A\x00B\x00C\… 1037 testValidString('+' . encode('AB', 'ASCII') . '-!+' . encode('CD', 'ASCII') . '-', "\x00A\x00B\x00!… 1085 // Base64 section should not have 4 ASCII characters; the first 3 can encode one [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_protocol_frame_codec.c | 60 …if (PASS == pfc->data->m.encode((compress_buf + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE), &tm… in write_compressed_packet() 289 MYSQLND_METHOD(mysqlnd_pfc, encode)(zend_uchar * compress_buffer, size_t * compress_buffer_len, in MYSQLND_METHOD() argument 485 MYSQLND_METHOD(mysqlnd_pfc, encode),
|
H A D | mysqlnd_structs.h | 1105 func_mysqlnd_pfc__encode encode; in MYSQLND_CLASS_METHODS_TYPE() local
|