Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 25 of 60) sorted by relevance

123

/php-src/ext/json/tests/
H A Dbug64874_part1.phpt12 decode(" true");
13 decode("\ttrue");
14 decode("\ntrue");
15 decode("\rtrue");
18 decode("true ");
19 decode("true\t");
20 decode("true\n");
21 decode("true\r");
24 decode(" true ");
25 decode(" true\t");
[all …]
H A Dbug64874_part2.phpt11 decode('true');
12 decode('True');
13 decode('[true]');
14 decode('[True]');
17 decode('false');
18 decode('False');
19 decode('[false]');
23 decode('null');
24 decode('Null');
25 decode('[null]');
[all …]
H A Dbug63737.phpt2 Bug #63737 (json_decode does not properly decode with options parameter)
5 function decode($json) {
12 decode('123456789012345678901234567890');
13 decode('-123456789012345678901234567890');
16 decode('123456789012345678901234567890.1');
17 decode('-123456789012345678901234567890.1');
H A Dbug50224.phpt15 echo "\n* Testing encode/decode symmetry\n\n";
35 * Testing encode/decode symmetry
H A Dbug41403.phpt2 Bug #41403 (json_decode cannot decode floats if localeconv decimal_point is not '.')
/php-src/ext/dom/lexbor/lexbor/encoding/
H A Dencoding.h130 if ((decode->buffer_used + length) > decode->buffer_length) { in lxb_encoding_decode_buf_add_to()
134 memcpy(&decode->buffer_out[decode->buffer_used], data, in lxb_encoding_decode_buf_add_to()
137 decode->buffer_used += length; in lxb_encoding_decode_buf_add_to()
153 decode->buffer_out = buffer_out; in lxb_encoding_decode_init()
177 status = lxb_encoding_decode_buf_add_to(decode, decode->replace_to, in lxb_encoding_decode_finish()
190 return decode->buffer_out; in lxb_encoding_decode_buf()
199 decode->buffer_used = 0; in lxb_encoding_decode_buf_set()
212 return decode->buffer_used; in lxb_encoding_decode_buf_used()
219 if (decode->buffer_out == NULL || decode->buffer_length < length) { in lxb_encoding_decode_replace_set()
223 decode->replace_to = replace; in lxb_encoding_decode_replace_set()
[all …]
H A Dencoding.c117 lxb_encoding_decode_init_noi(lxb_encoding_decode_t *decode, in lxb_encoding_decode_init_noi() argument
121 return lxb_encoding_decode_init(decode, encoding_data, in lxb_encoding_decode_init_noi()
126 lxb_encoding_decode_finish_noi(lxb_encoding_decode_t *decode) in lxb_encoding_decode_finish_noi() argument
128 return lxb_encoding_decode_finish(decode); in lxb_encoding_decode_finish_noi()
132 lxb_encoding_decode_buf_noi(lxb_encoding_decode_t *decode) in lxb_encoding_decode_buf_noi() argument
134 return lxb_encoding_decode_buf(decode); in lxb_encoding_decode_buf_noi()
138 lxb_encoding_decode_buf_set_noi(lxb_encoding_decode_t *decode, in lxb_encoding_decode_buf_set_noi() argument
148 lxb_encoding_decode_buf_used_set(decode, buffer_used); in lxb_encoding_decode_buf_used_set_noi()
152 lxb_encoding_decode_buf_used_noi(lxb_encoding_decode_t *decode) in lxb_encoding_decode_buf_used_noi() argument
154 return lxb_encoding_decode_buf_used(decode); in lxb_encoding_decode_buf_used_noi()
[all …]
/php-src/ext/session/tests/
H A Dsession_decode_error2.phpt39 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
46 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
53 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
60 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
67 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
74 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
81 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
88 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
95 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
102 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
[all …]
H A Dbug73529.phpt34 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
38 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…
/php-src/ext/standard/tests/filters/
H A Dfilter_errors_convert_base64_decode.phpt2 Filter errors: convert.base64-decode
4 <?php require 'filter_errors.inc'; filter_errors_skipif('convert.base64-decode'); ?>
8 filter_errors_test('convert.base64-decode', '===');
13 Warning: stream_filter_append(): Stream filter (convert.base64-decode): invalid byte sequence in %s
18 Warning: stream_get_contents(): Stream filter (convert.base64-decode): invalid byte sequence in %s
H A Dbug74267.phpt6 stream_filter_append($stream, 'convert.quoted-printable-decode', STREAM_FILTER_WRITE, ['line-break-…
23 Warning: fwrite(): Stream filter (convert.quoted-printable-decode): invalid byte sequence in %s on …
25 Warning: fwrite(): Stream filter (convert.quoted-printable-decode): invalid byte sequence in %s on …
H A Dbug50363.phpt2 Bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
9 stream_filter_append($b, 'convert.quoted-printable-decode', STREAM_FILTER_WRITE);
/php-src/ext/standard/tests/strings/
H A Dhtml_entity_decode2.phpt6 echo "*** HTML 4.01 implicit (shouldn't decode) ***\n";
9 echo "*** HTML 4.01 (shouldn't decode) ***\n";
24 *** HTML 4.01 implicit (shouldn't decode) ***
26 *** HTML 4.01 (shouldn't decode) ***
H A Dconvert_uudecode_basic.phpt15 "Here is a simple string to test convert_uuencode/decode",
32 $decode = convert_uudecode($encode);
34 if ($decode != $string) {
35 var_dump($encode, $decode, $string);
H A Dhtml_entity_decode_win1252.phpt41 echo "Special test for &#x81; (shouldn't decode):\n";
45 echo "Special test for &#x8D; (shouldn't decode):\n";
49 echo "Special test for &#x8F; (shouldn't decode):\n";
53 echo "Special test for &#x90; (shouldn't decode):\n";
57 echo "Special test for &#x9D; (shouldn't decode):\n";
74 Special test for &#x81; (shouldn't decode):
77 Special test for &#x8D; (shouldn't decode):
80 Special test for &#x8F; (shouldn't decode):
83 Special test for &#x90; (shouldn't decode):
86 Special test for &#x9D; (shouldn't decode):
H A Dbug61374.phpt2 Bug #61374: html_entity_decode tries to decode code points that don't exist in ISO-8859-1
H A Dstr_rot13_basic.phpt28 $decode = str_rot13($encode);
29 if (strcmp($str, $decode) == 0) {
H A Dhtmlspecialchars_basic.phpt40 echo "\nTry with double decode FALSE\n";
48 echo "\nTry with double decode TRUE\n";
83 Try with double decode FALSE
88 Try with double decode TRUE
H A Dbug35817.phpt2 Bug #35817 (unpack() does not decode odd number of hexadecimal values)
/php-src/sapi/phpdbg/
H A Dphpdbg_utils.c661 char *decode = NULL; in phpdbg_short_zval_print() local
665 decode = estrdup(""); in phpdbg_short_zval_print()
668 decode = estrdup("null"); in phpdbg_short_zval_print()
671 decode = estrdup("false"); in phpdbg_short_zval_print()
674 decode = estrdup("true"); in phpdbg_short_zval_print()
684 size_t len = strlen(decode); in phpdbg_short_zval_print()
686 memcpy(decode2, decode, len); in phpdbg_short_zval_print()
690 efree(decode); in phpdbg_short_zval_print()
691 decode = decode2; in phpdbg_short_zval_print()
728 decode = estrdup("<ast>"); in phpdbg_short_zval_print()
[all …]
/php-src/ext/zlib/tests/
H A Dzlib_filter_inflate.phpt2 zlib.inflate (with convert.base64-decode)
10 stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
/php-src/ext/bz2/tests/
H A Dbz2_filter_decompress.phpt2 bzip2.decompress (with convert.base64-decode)
10 stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
/php-src/ext/dom/
H A Dhtml_document.c63 lxb_encoding_decode_t *decode; member
75 lxb_encoding_decode_t decode; member
452 &decoding_encoding_ctx->decode, in dom_setup_parser_encoding_manually()
458 &decoding_encoding_ctx->decode, in dom_setup_parser_encoding_manually()
602 …decode_status = decoding_encoding_ctx->decode_data->decode(&decoding_encoding_ctx->decode, &buf_re… in dom_decode_encode_slow_path()
1179 decode_status = output->decoding_data->decode(output->decode, &buf_ref, buf_end); in dom_saveHTML_write_string_len()
1194 lxb_encoding_decode_buf_used_set(output->decode, 0); in dom_saveHTML_write_string_len()
1214 lxb_encoding_decode_t decode; in dom_common_save() local
1230 output_ctx->decode = &decode; in dom_common_save()
1242 (void) lxb_encoding_decode_finish(&decode); in dom_common_save()
[all …]
/php-src/ext/standard/tests/file/
H A Dstream_rfc2397_006.phpt29 …base64,#Zm9vYmFyIGZvb2Jhcg==): Failed to open stream: rfc2397: unable to decode in %sstream_rfc239…
32 …:;base64,#Zm9vYmFyIGZvb2Jhc=): Failed to open stream: rfc2397: unable to decode in %sstream_rfc239…
/php-src/ext/standard/tests/serialize/
H A Dbug72663_3.phpt17 Warning: session_decode(): Failed to decode session object. Session has been destroyed in %s on lin…

Completed in 39 milliseconds

123