Home
last modified time | relevance | path

Searched refs:zend_encoding (Results 1 – 14 of 14) sorted by relevance

/PHP-7.2/Zend/
H A Dzend_multibyte.h25 typedef struct _zend_encoding zend_encoding; typedef
32 typedef const zend_encoding *(*zend_encoding_detector)(const unsigned char *string, size_t length, …
35 typedef const zend_encoding *(*zend_encoding_internal_encoding_getter)(void);
55 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf32be;
56 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf32le;
57 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf16be;
58 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf16le;
59 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf8;
69 ZEND_API const zend_encoding *zend_multibyte_encoding_detector(const unsigned char *string, size_t …
73 ZEND_API const zend_encoding *zend_multibyte_get_internal_encoding(void);
[all …]
H A Dzend_multibyte.c43 static const zend_encoding *dummy_encoding_detector(const unsigned char *string, size_t length, con… in dummy_encoding_detector()
60 static const zend_encoding *dummy_internal_encoding_getter(void) in dummy_internal_encoding_getter()
65 static int dummy_internal_encoding_setter(const zend_encoding *encoding) in dummy_internal_encoding_setter()
83 ZEND_API const zend_encoding *zend_multibyte_encoding_utf32be = (const zend_encoding*)"UTF-32BE";
84 ZEND_API const zend_encoding *zend_multibyte_encoding_utf32le = (const zend_encoding*)"UTF-32LE";
85 ZEND_API const zend_encoding *zend_multibyte_encoding_utf16be = (const zend_encoding*)"UTF-16BE";
86 ZEND_API const zend_encoding *zend_multibyte_encoding_utf16le = (const zend_encoding*)"UTF-32LE";
87 ZEND_API const zend_encoding *zend_multibyte_encoding_utf8 = (const zend_encoding*)"UTF-8";
150 ZEND_API const zend_encoding *zend_multibyte_encoding_detector(const unsigned char *string, size_t … in zend_multibyte_encoding_detector()
170 ZEND_API const zend_encoding *zend_multibyte_get_script_encoding(void) in zend_multibyte_get_script_encoding()
[all …]
H A Dzend_language_scanner.h51 const zend_encoding *script_encoding;
70 …_multibyte_yyinput_again(zend_encoding_filter old_input_filter, const zend_encoding *old_encoding);
71 ZEND_API int zend_multibyte_set_filter(const zend_encoding *onetime_encoding);
H A Dzend_globals.h115 const zend_encoding **script_encoding_list;
288 const zend_encoding *script_encoding;
H A Dzend_language_scanner.l128 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in BEGIN_EXTERN_C()
146 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in encoding_filter_intermediate_to_internal()
302 static const zend_encoding *zend_multibyte_detect_utf_encoding(const unsigned char *script, size_t … in zend_multibyte_detect_utf_encoding()
350 static const zend_encoding* zend_multibyte_detect_unicode(void) in zend_multibyte_detect_unicode()
352 const zend_encoding *script_encoding = NULL; in zend_multibyte_detect_unicode()
433 static const zend_encoding* zend_multibyte_find_script_encoding(void) in zend_multibyte_find_script_encoding()
435 const zend_encoding *script_encoding; in zend_multibyte_find_script_encoding()
459 ZEND_API int zend_multibyte_set_filter(const zend_encoding *onetime_encoding) in zend_multibyte_set_filter()
461 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in zend_multibyte_set_filter()
462 …const zend_encoding *script_encoding = onetime_encoding ? onetime_encoding: zend_multibyte_find_sc… in zend_multibyte_set_filter()
[all …]
H A Dzend.c872 zend_encoding **script_encoding_list; in zend_post_startup()
887 if ((script_encoding_list = (zend_encoding **)compiler_globals->script_encoding_list)) { in zend_post_startup()
889 compiler_globals->script_encoding_list = (const zend_encoding **)script_encoding_list; in zend_post_startup()
H A Dzend_language_scanner.c131 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in BEGIN_EXTERN_C()
149 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in encoding_filter_intermediate_to_internal()
305 static const zend_encoding *zend_multibyte_detect_utf_encoding(const unsigned char *script, size_t … in zend_multibyte_detect_utf_encoding()
353 static const zend_encoding* zend_multibyte_detect_unicode(void) in zend_multibyte_detect_unicode()
355 const zend_encoding *script_encoding = NULL; in zend_multibyte_detect_unicode()
436 static const zend_encoding* zend_multibyte_find_script_encoding(void) in zend_multibyte_find_script_encoding()
438 const zend_encoding *script_encoding; in zend_multibyte_find_script_encoding()
462 ZEND_API int zend_multibyte_set_filter(const zend_encoding *onetime_encoding) in zend_multibyte_set_filter()
464 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in zend_multibyte_set_filter()
465 …const zend_encoding *script_encoding = onetime_encoding ? onetime_encoding: zend_multibyte_find_sc… in zend_multibyte_set_filter()
[all …]
H A Dzend_compile.c5257 const zend_encoding *new_encoding, *old_encoding; in zend_handle_encoding_declaration()
/PHP-7.2/main/
H A Drfc1867.h71 typedef void (*php_rfc1867_get_detect_order_t)(const zend_encoding ***list, size_t *list_size);
72 typedef void (*php_rfc1867_set_input_encoding_t)(const zend_encoding *encoding);
73 typedef char* (*php_rfc1867_getword_t)(const zend_encoding *encoding, char **line, char stop);
74 typedef char* (*php_rfc1867_getword_conf_t)(const zend_encoding *encoding, char *str);
75 typedef char* (*php_rfc1867_basename_t)(const zend_encoding *encoding, char *str);
H A Drfc1867.c52 static char *php_ap_getword(const zend_encoding *encoding, char **line, char stop);
53 static char *php_ap_getword_conf(const zend_encoding *encoding, char *str);
234 const zend_encoding *input_encoding;
235 const zend_encoding **detect_order;
491 static char *php_ap_getword(const zend_encoding *encoding, char **line, char stop) in php_ap_getword()
545 static char *php_ap_getword_conf(const zend_encoding *encoding, char *str) in php_ap_getword_conf()
570 static char *php_ap_basename(const zend_encoding *encoding, char *path) in php_ap_basename()
707 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding();
/PHP-7.2/ext/mbstring/
H A Dmbstring.c103 static void php_mb_gpc_get_detect_order(const zend_encoding ***list, size_t *list_size);
105 static void php_mb_gpc_set_input_encoding(const zend_encoding *encoding);
881 static const zend_encoding* php_mb_zend_encoding_fetcher(const char *encoding_name) in php_mb_zend_encoding_fetcher()
883 return (const zend_encoding*)mbfl_name2encoding(encoding_name); in php_mb_zend_encoding_fetcher()
886 static const char *php_mb_zend_encoding_name_getter(const zend_encoding *encoding) in php_mb_zend_encoding_name_getter()
903 static const zend_encoding *php_mb_zend_encoding_detector(const unsigned char *arg_string, size_t a… in php_mb_zend_encoding_detector()
908 list = (const zend_encoding **)MBSTRG(current_detect_order_list); in php_mb_zend_encoding_detector()
969 static const zend_encoding *php_mb_zend_internal_encoding_getter(void) in php_mb_zend_internal_encoding_getter()
971 return (const zend_encoding *)MBSTRG(internal_encoding); in php_mb_zend_internal_encoding_getter()
974 static int php_mb_zend_internal_encoding_setter(const zend_encoding *encoding) in php_mb_zend_internal_encoding_setter()
[all …]
/PHP-7.2/win32/
H A Dcodepage.c242 const zend_encoding *zenc; in php_win32_cp_get_enc()
/PHP-7.2/ext/standard/
H A Dhtml.c381 const zend_encoding *zenc; in determine_charset()
/PHP-7.2/ext/exif/
H A Dexif.c176 const zend_encoding **return_list; in ZEND_DECLARE_MODULE_GLOBALS()
191 const zend_encoding **return_list; in ZEND_INI_MH()
3040 const zend_encoding *from, *to; in exif_process_user_comment()

Completed in 100 milliseconds