Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_multibyte.h23 typedef struct _zend_encoding zend_encoding; typedef
30 typedef const zend_encoding *(*zend_encoding_detector)(const unsigned char *string, size_t length, …
33 typedef const zend_encoding *(*zend_encoding_internal_encoding_getter)(void);
53 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf32be;
54 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf32le;
55 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf16be;
56 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf16le;
57 ZEND_API extern const zend_encoding *zend_multibyte_encoding_utf8;
67 ZEND_API const zend_encoding *zend_multibyte_encoding_detector(const unsigned char *string, size_t …
71 ZEND_API const zend_encoding *zend_multibyte_get_internal_encoding(void);
[all …]
H A Dzend_multibyte.c41 static const zend_encoding *dummy_encoding_detector(const unsigned char *string, size_t length, con… in dummy_encoding_detector()
58 static const zend_encoding *dummy_internal_encoding_getter(void) in dummy_internal_encoding_getter()
81 ZEND_API const zend_encoding *zend_multibyte_encoding_utf32be = (const zend_encoding*)"UTF-32BE";
82 ZEND_API const zend_encoding *zend_multibyte_encoding_utf32le = (const zend_encoding*)"UTF-32LE";
83 ZEND_API const zend_encoding *zend_multibyte_encoding_utf16be = (const zend_encoding*)"UTF-16BE";
84 ZEND_API const zend_encoding *zend_multibyte_encoding_utf16le = (const zend_encoding*)"UTF-32LE";
85 ZEND_API const zend_encoding *zend_multibyte_encoding_utf8 = (const zend_encoding*)"UTF-8";
148 ZEND_API const zend_encoding *zend_multibyte_encoding_detector(const unsigned char *string, size_t … in zend_multibyte_encoding_detector()
163 ZEND_API const zend_encoding *zend_multibyte_get_internal_encoding(void) in zend_multibyte_get_internal_encoding()
168 ZEND_API const zend_encoding *zend_multibyte_get_script_encoding(void) in zend_multibyte_get_script_encoding()
[all …]
H A Dzend_language_scanner.h50 const zend_encoding *script_encoding;
79 …_multibyte_yyinput_again(zend_encoding_filter old_input_filter, const zend_encoding *old_encoding);
80 ZEND_API zend_result zend_multibyte_set_filter(const zend_encoding *onetime_encoding);
H A Dzend_globals.h131 const zend_encoding **script_encoding_list;
373 const zend_encoding *script_encoding;
H A Dzend_language_scanner.l139 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in encoding_filter_script_to_internal()
157 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in encoding_filter_intermediate_to_internal()
327 static const zend_encoding *zend_multibyte_detect_utf_encoding(const unsigned char *script, size_t … in zend_multibyte_detect_utf_encoding()
375 static const zend_encoding* zend_multibyte_detect_unicode(void) in zend_multibyte_detect_unicode()
377 const zend_encoding *script_encoding = NULL; in zend_multibyte_detect_unicode()
458 static const zend_encoding* zend_multibyte_find_script_encoding(void) in zend_multibyte_find_script_encoding()
460 const zend_encoding *script_encoding; in zend_multibyte_find_script_encoding()
484 ZEND_API zend_result zend_multibyte_set_filter(const zend_encoding *onetime_encoding) in zend_multibyte_set_filter()
486 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding(); in zend_multibyte_set_filter()
487 …const zend_encoding *script_encoding = onetime_encoding ? onetime_encoding: zend_multibyte_find_sc… in zend_multibyte_set_filter()
[all …]
H A Dzend.c1069 zend_encoding **script_encoding_list; in zend_post_startup()
1105 if ((script_encoding_list = (zend_encoding **)compiler_globals->script_encoding_list)) { in zend_post_startup()
1107 compiler_globals->script_encoding_list = (const zend_encoding **)script_encoding_list; in zend_post_startup()
H A Dzend_compile.c6461 const zend_encoding *new_encoding, *old_encoding; in zend_handle_encoding_declaration()
/php-src/main/
H A Drfc1867.h77 typedef void (*php_rfc1867_get_detect_order_t)(const zend_encoding ***list, size_t *list_size);
78 typedef void (*php_rfc1867_set_input_encoding_t)(const zend_encoding *encoding);
79 typedef char* (*php_rfc1867_getword_t)(const zend_encoding *encoding, char **line, char stop);
80 typedef char* (*php_rfc1867_getword_conf_t)(const zend_encoding *encoding, char *str);
81 typedef char* (*php_rfc1867_basename_t)(const zend_encoding *encoding, char *str);
H A Drfc1867.c43 static char *php_ap_getword(const zend_encoding *encoding, char **line, char stop);
44 static char *php_ap_getword_conf(const zend_encoding *encoding, char *str);
198 const zend_encoding *input_encoding;
199 const zend_encoding **detect_order;
451 static char *php_ap_getword(const zend_encoding *encoding, char **line, char stop) in php_ap_getword()
505 static char *php_ap_getword_conf(const zend_encoding *encoding, char *str) in php_ap_getword_conf()
530 static char *php_ap_basename(const zend_encoding *encoding, char *path) in php_ap_basename()
672 const zend_encoding *internal_encoding = zend_multibyte_get_internal_encoding();
/php-src/ext/mbstring/
H A Dmbstring.c84 static void php_mb_gpc_get_detect_order(const zend_encoding ***list, size_t *list_size);
86 static void php_mb_gpc_set_input_encoding(const zend_encoding *encoding);
427 static const zend_encoding* php_mb_zend_encoding_fetcher(const char *encoding_name) in php_mb_zend_encoding_fetcher()
429 return (const zend_encoding*)mbfl_name2encoding(encoding_name); in php_mb_zend_encoding_fetcher()
432 static const char *php_mb_zend_encoding_name_getter(const zend_encoding *encoding) in php_mb_zend_encoding_name_getter()
443 static const zend_encoding *php_mb_zend_encoding_detector(const unsigned char *arg_string, size_t a… in php_mb_zend_encoding_detector()
446 list = (const zend_encoding**)MBSTRG(current_detect_order_list); in php_mb_zend_encoding_detector()
457 …const unsigned char *from, size_t from_length, const zend_encoding *encoding_to, const zend_encodi… in php_mb_zend_encoding_converter()
478 static const zend_encoding *php_mb_zend_internal_encoding_getter(void) in php_mb_zend_internal_encoding_getter()
480 return (const zend_encoding *)MBSTRG(internal_encoding); in php_mb_zend_internal_encoding_getter()
[all …]
/php-src/win32/
H A Dcodepage.c312 const zend_encoding *zenc; in php_win32_cp_get_enc()
/php-src/ext/exif/
H A Dexif.c111 const zend_encoding **return_list; in ZEND_DECLARE_MODULE_GLOBALS()
126 const zend_encoding **return_list; in ZEND_INI_MH()
3048 const zend_encoding *from, *to; in exif_process_user_comment()

Completed in 147 milliseconds