Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 58) sorted by relevance

123

/php-src/ext/dom/lexbor/lexbor/encoding/
H A Dencoding.h49 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 …]
H A Dencoding.c62 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 …]
/php-src/ext/standard/
H A Durl_scanner_ex.h26 …l(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen, int encode);
27 …dd_session_var(const char *name, size_t name_len, const char *value, size_t value_len, int encode);
28 PHPAPI int php_url_scanner_reset_session_var(zend_string *name, int encode);
30 …canner_add_var(const char *name, size_t name_len, const char *value, size_t value_len, int encode);
31 PHPAPI int php_url_scanner_reset_var(zend_string *name, int encode);
H A Dmetaphone.c82 static zend_always_inline char encode(char c) { in encode() function
91 #define isvowel(c) (encode(c) & 1) /* AEIOU */
94 #define NOCHANGE(c) (encode(c) & 2) /* FJMNR */
97 #define AFFECTH(c) (encode(c) & 4) /* CGPST */
100 #define MAKESOFT(c) (encode(c) & 8) /* EIY */
103 #define NOGHTOF(c) (encode(c) & 16) /* BDH */
/php-src/ext/standard/tests/file/
H A Dbug68532.phpt2 Bug #68532: convert.base64-encode omits padding bytes
9 $filter = stream_filter_append($stream, 'convert.base64-encode');
16 $filter = stream_filter_append($fileStream , 'convert.base64-encode');
/php-src/ext/standard/tests/streams/
H A Dbug64166.phpt2 Bug #64166: quoted-printable-encode stream filter incorrectly discarding whitespace
11 $res = stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_READ, array(
20 stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_READ, array(
H A Dbug64166_3.phpt2 Bug #64166: quoted-printable-encode stream filter incorrectly discarding whitespace - writes
8 $res = stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_WRITE, array(
20 stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_WRITE, array(
H A Dbug64166_2.phpt2 Bug #64166: quoted-printable-encode stream filter incorrectly discarding whitespace - split reads
11 $res = stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_READ, array(
22 stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_READ, array(
H A Dbug65483.phpt2 Bug #65483: quoted-printable encode stream filter incorrectly encoding spaces
12 $res = stream_filter_append($fd, 'convert.quoted-printable-encode', STREAM_FILTER_READ);
/php-src/ext/gd/tests/
H A Dbug79945.phpt15 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/dom/
H A Dhtml_document.c62 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/soap/
H A Dphp_encoding.c424 enc = encode; in master_to_xml_int()
478 encode = enc; in master_to_xml_int()
504 node = encode->to_xml(&encode->details, data, style, parent); in master_to_xml_int()
562 ret = encode->to_zval(ret, &encode->details, data); in master_to_zval_int()
593 encode = enc; in master_to_zval()
1406 sdlType->encode && type != &sdlType->encode->details) { in to_zval_object_ex()
1455 (sdlType->encode->details.sdl_type->encode == NULL || in to_zval_object_ex()
1815 sdlType->encode && type != &sdlType->encode->details) { in to_xml_object()
1841 sdlType->encode && type != &sdlType->encode->details) { in to_xml_object()
3200 if (type->encode && enc != &type->encode->details) { in sdl_guess_convert_zval()
[all …]
H A Dphp_encoding.h196 xmlNodePtr master_to_xml(encodePtr encode, zval *data, int style, xmlNodePtr parent);
197 zval *master_to_zval(zval *ret, encodePtr encode, xmlNodePtr data);
213 encodePtr get_conversion(int encode);
218 extern encode defaultEncoding[];
H A Dphp_sdl.h98 encodePtr encode; member
204 encodePtr encode; member
215 encodePtr encode; member
250 encodePtr encode; member
H A Dphp_schema.c72 enc = emalloc(sizeof(encode)); in create_encoder()
74 memset(enc, 0, sizeof(encode)); in create_encoder()
340 cur_type->encode = emalloc(sizeof(encode)); in schema_simpleType()
341 memset(cur_type->encode, 0, sizeof(encode)); in schema_simpleType()
345 …cur_type->encode->details.clark_notation = zend_strpprintf(0, "{%s}%s", cur_type->encode->details.… in schema_simpleType()
1398 cur_type->encode = emalloc(sizeof(encode)); in schema_complexType()
1399 memset(cur_type->encode, 0, sizeof(encode)); in schema_complexType()
1403 …cur_type->encode->details.clark_notation = zend_strpprintf(0, "{%s}%s", cur_type->encode->details.… in schema_complexType()
1947 newAttr->encode = dummy_type->encode; in schema_attribute()
2125 attr->encode = tmp->encode; in schema_attribute_fixup()
[all …]
/php-src/ext/standard/tests/filters/
H A Dbug77231.phpt2 Bug #77231 (Segfault when using convert.quoted-printable-encode filter)
5 var_dump(file(urldecode('php://filter/convert.quoted-printable-encode/resource=data://,%bfAAAAAAAAF…
/php-src/ext/json/tests/
H A Dbug50224.phpt2 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/bz2/tests/
H A Dbz2_filter_compress.phpt2 bzip2.compress (with convert.base64-encode)
11 stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
/php-src/ext/zlib/tests/
H A Dzlib_filter_deflate.phpt2 zlib.deflate (with convert.base64-encode)
11 stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE);
/php-src/ext/standard/tests/strings/
H A Dconvert_uudecode_basic.phpt31 $encode = convert_uuencode($string);
32 $decode = convert_uudecode($encode);
35 var_dump($encode, $decode, $string);
H A Dstr_rot13_basic.phpt27 $encode = str_rot13($str);
28 $decode = str_rot13($encode);
/php-src/ext/session/tests/
H A Dsession_encode_variation1.phpt30 Warning: session_encode(): Cannot encode non-existent session in %s on line %d
40 Warning: session_encode(): Cannot encode non-existent session in %s on line %d
H A Dsession_encode_variation2.phpt28 Warning: session_encode(): Cannot encode non-existent session in %s on line %d
/php-src/ext/standard/tests/http/http_build_query/
H A Dbug77608.phpt2 Bug #77608: http_build_query doesn't encode "+" in a float number
/php-src/ext/iconv/tests/
H A Dbug53891.phpt2 Bug #53891 (iconv_mime_encode() fails to Q-encode UTF-8 string)

Completed in 60 milliseconds

123