/php-src/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cjk.h | 6 extern const mbfl_encoding mbfl_encoding_jis; 7 extern const mbfl_encoding mbfl_encoding_2022jp; 9 extern const mbfl_encoding mbfl_encoding_2022jpms; 11 extern const mbfl_encoding mbfl_encoding_cp50220; 12 extern const mbfl_encoding mbfl_encoding_cp50221; 13 extern const mbfl_encoding mbfl_encoding_cp50222; 14 extern const mbfl_encoding mbfl_encoding_2022kr; 16 extern const mbfl_encoding mbfl_encoding_sjis; 22 extern const mbfl_encoding mbfl_encoding_cp932; 32 extern const mbfl_encoding mbfl_encoding_uhc; [all …]
|
H A D | mbfilter_singlebyte.h | 20 extern const mbfl_encoding mbfl_encoding_ascii; 21 extern const mbfl_encoding mbfl_encoding_8859_1; 22 extern const mbfl_encoding mbfl_encoding_8859_2; 23 extern const mbfl_encoding mbfl_encoding_8859_3; 24 extern const mbfl_encoding mbfl_encoding_8859_4; 25 extern const mbfl_encoding mbfl_encoding_8859_5; 26 extern const mbfl_encoding mbfl_encoding_8859_6; 27 extern const mbfl_encoding mbfl_encoding_8859_7; 38 extern const mbfl_encoding mbfl_encoding_cp866; 39 extern const mbfl_encoding mbfl_encoding_cp850; [all …]
|
H A D | mbfilter_utf8.h | 33 extern const mbfl_encoding mbfl_encoding_utf8; 37 extern const mbfl_encoding mbfl_encoding_utf8_docomo; 38 extern const mbfl_encoding mbfl_encoding_utf8_kddi_a; 39 extern const mbfl_encoding mbfl_encoding_utf8_kddi_b; 40 extern const mbfl_encoding mbfl_encoding_utf8_sb;
|
H A D | mbfilter_ucs2.h | 35 extern const mbfl_encoding mbfl_encoding_ucs2; 36 extern const mbfl_encoding mbfl_encoding_ucs2be; 37 extern const mbfl_encoding mbfl_encoding_ucs2le;
|
H A D | mbfilter_ucs4.h | 33 extern const mbfl_encoding mbfl_encoding_ucs4; 34 extern const mbfl_encoding mbfl_encoding_ucs4le; 35 extern const mbfl_encoding mbfl_encoding_ucs4be;
|
H A D | mbfilter_utf32.h | 33 extern const mbfl_encoding mbfl_encoding_utf32; 34 extern const mbfl_encoding mbfl_encoding_utf32be; 35 extern const mbfl_encoding mbfl_encoding_utf32le;
|
H A D | mbfilter_utf16.h | 33 extern const mbfl_encoding mbfl_encoding_utf16; 34 extern const mbfl_encoding mbfl_encoding_utf16be; 35 extern const mbfl_encoding mbfl_encoding_utf16le;
|
H A D | mbfilter_iso2022jp_2004.h | 35 extern const mbfl_encoding mbfl_encoding_2022jp_2004;
|
H A D | mbfilter_uuencode.h | 33 extern const mbfl_encoding mbfl_encoding_uuencode;
|
H A D | mbfilter_7bit.h | 36 extern const mbfl_encoding mbfl_encoding_7bit;
|
H A D | mbfilter_utf7imap.h | 35 extern const mbfl_encoding mbfl_encoding_utf7imap;
|
/php-src/ext/mbstring/ |
H A D | mbstring.h | 60 const mbfl_encoding *to_encoding, const mbfl_encoding *from_encoding); 74 const mbfl_encoding *internal_encoding; 75 const mbfl_encoding *current_internal_encoding; 76 const mbfl_encoding *http_output_encoding; 78 const mbfl_encoding *http_input_identify; 79 const mbfl_encoding *http_input_identify_get; 80 const mbfl_encoding *http_input_identify_post; 81 const mbfl_encoding *http_input_identify_cookie; 83 const mbfl_encoding **http_input_list; 85 const mbfl_encoding **detect_order_list; [all …]
|
H A D | mb_gpc.h | 25 const mbfl_encoding *to_encoding; 26 const mbfl_encoding **from_encodings; 39 const mbfl_encoding *_php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *…
|
H A D | php_unicode.c | 38 extern const mbfl_encoding mbfl_encoding_8859_9; 123 static unsigned php_unicode_toupper_raw(unsigned code, const mbfl_encoding *enc) in php_unicode_toupper_raw() 145 static unsigned php_unicode_tolower_raw(unsigned code, const mbfl_encoding *enc) in php_unicode_tolower_raw() 170 static unsigned php_unicode_totitle_raw(unsigned code, const mbfl_encoding *enc) in php_unicode_totitle_raw() 181 static unsigned php_unicode_tofold_raw(unsigned code, const mbfl_encoding *enc) in php_unicode_tofold_raw() 204 static inline unsigned php_unicode_tolower_simple(unsigned code, const mbfl_encoding *enc) { in php_unicode_tolower_simple() 211 static inline unsigned php_unicode_toupper_simple(unsigned code, const mbfl_encoding *enc) { in php_unicode_toupper_simple() 218 static inline unsigned php_unicode_totitle_simple(unsigned code, const mbfl_encoding *enc) { in php_unicode_totitle_simple() 225 static inline unsigned php_unicode_tofold_simple(unsigned code, const mbfl_encoding *enc) { in php_unicode_tofold_simple() 244 …r_cased_letter(unsigned char *in, size_t in_len, unsigned int state, const mbfl_encoding *encoding) in scan_ahead_for_cased_letter() [all …]
|
H A D | mbstring.c | 320 list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent); in php_mb_parse_encoding_list() 387 const mbfl_encoding **list = ecalloc(size, sizeof(mbfl_encoding*)); in php_mb_parse_encoding_array() 444 const mbfl_encoding *encoding = (const mbfl_encoding*)_encoding; in php_mb_zend_encoding_lexer_compatibility_checker() 706 const mbfl_encoding **list; in PHP_INI_MH() 732 const mbfl_encoding **list; in _php_mb_ini_mbstring_http_input_set() 735 list = (const mbfl_encoding**)pecalloc(1, sizeof(mbfl_encoding*), 1); in _php_mb_ini_mbstring_http_input_set() 3181 const mbfl_encoding **new_elist = safe_emalloc(size, sizeof(mbfl_encoding*), 0); in duplicate_elist() 3231 const mbfl_encoding *enc; 5657 const mbfl_encoding *enc; in php_mb_ord() 5720 const mbfl_encoding *enc; in php_mb_chr() [all …]
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.h | 57 const mbfl_encoding *from; 58 const mbfl_encoding *to; 65 …tern mbfl_convert_filter *mbfl_convert_filter_new(const mbfl_encoding *from, const mbfl_encoding *… 73 …convert_filter_reset(mbfl_convert_filter *filter, const mbfl_encoding *from, const mbfl_encoding *… 76 … mbfl_convert_vtbl * mbfl_convert_filter_get_vtbl(const mbfl_encoding *from, const mbfl_encoding *… 84 …mb_fast_convert(unsigned char *in, size_t in_len, const mbfl_encoding *from, const mbfl_encoding *…
|
H A D | mbfl_encoding.c | 64 static const mbfl_encoding *mbfl_encoding_ptr_list[] = { 309 const mbfl_encoding *mbfl_name2encoding(const char *name) in mbfl_name2encoding() 314 const mbfl_encoding *mbfl_name2encoding_ex(const char *name, size_t name_len) in mbfl_name2encoding_ex() 316 const mbfl_encoding *const *encoding; in mbfl_name2encoding_ex() 372 const mbfl_encoding *mbfl_no2encoding(enum mbfl_no_encoding no_encoding) in mbfl_no2encoding() 374 const mbfl_encoding **encoding; in mbfl_no2encoding() 387 const mbfl_encoding *encoding = mbfl_no2encoding(no_encoding); in mbfl_no_encoding2name() 391 const mbfl_encoding **mbfl_get_supported_encodings(void) in mbfl_get_supported_encodings() 396 const char *mbfl_encoding_preferred_mime_name(const mbfl_encoding *encoding) in mbfl_encoding_preferred_mime_name()
|
H A D | mbfl_convert.c | 69 …_convert_filter_init(mbfl_convert_filter *filter, const mbfl_encoding *from, const mbfl_encoding *… in mbfl_convert_filter_init() 95 mbfl_convert_filter* mbfl_convert_filter_new(const mbfl_encoding *from, const mbfl_encoding *to, ou… in mbfl_convert_filter_new() 111 const mbfl_encoding *from_encoding = mbfl_no2encoding(vtbl->from); in mbfl_convert_filter_new2() 112 const mbfl_encoding *to_encoding = mbfl_no2encoding(vtbl->to); in mbfl_convert_filter_new2() 150 …convert_filter_reset(mbfl_convert_filter *filter, const mbfl_encoding *from, const mbfl_encoding *… in mbfl_convert_filter_reset() 277 …t mbfl_convert_vtbl* mbfl_convert_filter_get_vtbl(const mbfl_encoding *from, const mbfl_encoding *… in mbfl_convert_filter_get_vtbl() 324 …mb_fast_convert(unsigned char *in, size_t in_len, const mbfl_encoding *from, const mbfl_encoding *… in mb_fast_convert()
|
H A D | mbfl_string.h | 43 const mbfl_encoding *encoding; 49 MBFLAPI extern void mbfl_string_init_set(mbfl_string *string, const mbfl_encoding *encoding);
|
H A D | mbfl_encoding.h | 257 } mbfl_encoding; typedef 259 extern const mbfl_encoding mbfl_encoding_utf8; 261 static inline zend_string* mb_convert_buf_result(mb_convert_buf *buf, const mbfl_encoding *enc) in mb_convert_buf_result() 288 MBFLAPI extern const mbfl_encoding *mbfl_name2encoding(const char *name); 289 MBFLAPI extern const mbfl_encoding *mbfl_name2encoding_ex(const char *name, size_t name_len); 290 MBFLAPI extern const mbfl_encoding *mbfl_no2encoding(enum mbfl_no_encoding no_encoding); 291 MBFLAPI extern const mbfl_encoding **mbfl_get_supported_encodings(void); 293 MBFLAPI extern const char *mbfl_encoding_preferred_mime_name(const mbfl_encoding *encoding);
|
H A D | mbfilter_8bit.h | 37 MBFLAPI extern const mbfl_encoding mbfl_encoding_8bit;
|
H A D | mbfilter_wchar.h | 37 MBFLAPI extern const mbfl_encoding mbfl_encoding_wchar;
|
H A D | mbfilter_pass.h | 36 MBFLAPI extern const mbfl_encoding mbfl_encoding_pass;
|
H A D | mbfilter_wchar.c | 35 const mbfl_encoding mbfl_encoding_wchar = {
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-mbstring.c | 23 …rt_encoding(const uint8_t *Data, size_t Size, const mbfl_encoding *FromEncoding, const mbfl_encodi… in convert_encoding() 73 const mbfl_encoding *ToEncoding = mbfl_name2encoding(ToEncodingName); in LLVMFuzzerTestOneInput() 74 const mbfl_encoding *FromEncoding = mbfl_name2encoding(FromEncodingName); in LLVMFuzzerTestOneInput()
|