| /PHP_5_3/ext/mbstring/oniguruma/enc/ |
| H A D | mktable.c | 82 static int IsAlpha(int enc, int c) argument 87 switch (enc) { 256 static int IsBlank(int enc, int c) argument 260 switch (enc) { 292 static int IsCntrl(int enc, int c) argument 296 switch (enc) { 331 static int IsDigit(int enc, int c) argument 337 static int IsGraph(int enc, int c) argument 341 switch (enc) { 406 static int IsLower(int enc, in argument 535 IsPrint(int enc, int c) argument 610 IsPunct(int enc, int c) argument 706 IsSpace(int enc, int c) argument 745 IsUpper(int enc, int c) argument 869 IsXDigit(int enc, int c) argument 877 IsWord(int enc, int c) argument 1055 IsAscii(int enc, int c) argument 1061 IsNewline(int enc, int c) argument 1071 int c, val, enc; local [all...] |
| /PHP_5_3/ext/mbstring/oniguruma/ |
| H A D | onigposix.h | 160 ONIG_EXTERN void reg_set_encoding P_((int enc));
|
| H A D | oniguruma.h | 269 #define enc_len(enc,p) ONIGENC_MBC_ENC_LEN(enc, p) 271 #define ONIGENC_IS_UNDEF(enc) ((enc) == ONIG_ENCODING_UNDEF) 272 #define ONIGENC_IS_SINGLEBYTE(enc) (ONIGENC_MBC_MAXLEN(enc) == 1) 273 #define ONIGENC_IS_MBC_HEAD(enc,p) (ONIGENC_MBC_ENC_LEN(enc,p) != 1) 276 #define ONIGENC_IS_CODE_SB_WORD(enc,code) \ 277 (ONIGENC_IS_CODE_ASCII(code) && ONIGENC_IS_CODE_WORD(enc,cod 714 OnigEncoding enc; member in struct:__anon204 758 OnigEncoding enc; member in struct:re_pattern_buffer [all...] |
| H A D | regcomp.c | 439 OnigEncoding enc = reg->enc; local 450 prev_len = enc_len(enc, p); 456 len = enc_len(enc, p); 487 OnigEncoding enc = reg->enc; local 499 prev_len = enc_len(enc, p); 504 len = enc_len(enc, p); 570 if (ONIGENC_MBC_MINLEN(reg->enc) > 1 || bitset_is_empty(cc->bs)) { 606 if (ONIGENC_MBC_MINLEN(reg->enc) > 3692 set_bm_skip(UChar* s, UChar* end, OnigEncoding enc, UChar skip[], int** int_skip) argument 3726 OnigEncoding enc; member in struct:__anon208 3768 map_position_value(OnigEncoding enc, int i) argument 3991 concat_opt_exact_info(OptExactInfo* to, OptExactInfo* add, OnigEncoding enc) argument 4021 concat_opt_exact_info_str(OptExactInfo* to, UChar* s, UChar* end, int raw, OnigEncoding enc) argument 4074 select_opt_exact_info(OnigEncoding enc, OptExactInfo* now, OptExactInfo* alt) argument 4139 add_char_opt_map_info(OptMapInfo* map, UChar c, OnigEncoding enc) argument 4148 add_char_amb_opt_map_info(OptMapInfo* map, UChar* p, UChar* end, OnigEncoding enc, OnigAmbigType ambig_flag) argument 4208 alt_merge_opt_map_info(OnigEncoding enc, OptMapInfo* to, OptMapInfo* add) argument 4260 concat_left_node_opt_info(OnigEncoding enc, NodeOptInfo* to, NodeOptInfo* add) argument 4823 print_enc_string(FILE* fp, OnigEncoding enc, const UChar *s, const UChar *end) argument 5319 onig_recompile(regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument 5341 onig_alloc_init(regex_t** reg, OnigOptionType option, OnigAmbigType ambig_flag, OnigEncoding enc, OnigSyntaxType* syntax) argument 5387 onig_new(regex_t** reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument 5610 onig_print_compiled_byte_code(FILE* f, UChar* bp, UChar** nextp, OnigEncoding enc) argument [all...] |
| H A D | regenc.c | 47 onigenc_set_default_encoding(OnigEncoding enc) argument 49 OnigEncDefaultCharEncoding = enc; 54 onigenc_get_right_adjust_char_head(OnigEncoding enc, const UChar* start, const UChar* s) argument 56 UChar* p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, start, s); 58 p += enc_len(enc, p); 64 onigenc_get_right_adjust_char_head_with_prev(OnigEncoding enc, argument 67 UChar* p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, start, s); 71 p += enc_len(enc, p); 80 onigenc_get_prev_char_head(OnigEncoding enc, const UChar* start, const UChar* s) argument 85 return ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, star 89 onigenc_step_back(OnigEncoding enc, const UChar* start, const UChar* s, int n) argument 101 onigenc_step(OnigEncoding enc, const UChar* p, const UChar* end, int n) argument 111 onigenc_strlen(OnigEncoding enc, const UChar* p, const UChar* end) argument 124 onigenc_strlen_null(OnigEncoding enc, const UChar* s) argument 149 onigenc_str_bytelen_null(OnigEncoding enc, const UChar* s) argument 415 onigenc_get_left_adjust_char_head(OnigEncoding enc, const UChar* start, const UChar* s) argument 691 onigenc_mbn_mbc_to_code(OnigEncoding enc, const UChar* p, const UChar* end) argument 709 onigenc_mbn_mbc_to_normalize(OnigEncoding enc, OnigAmbigType flag, const UChar** pp, const UChar* end, UChar* lower) argument 739 onigenc_mbn_is_mbc_ambiguous(OnigEncoding enc, OnigAmbigType flag, const UChar** pp, const UChar* end) argument 809 onigenc_mb2_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument 826 onigenc_mb4_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument 849 onigenc_mb2_is_code_ctype(OnigEncoding enc, OnigCodePoint code, unsigned int ctype) argument 865 onigenc_mb4_is_code_ctype(OnigEncoding enc, OnigCodePoint code, unsigned int ctype) argument 881 onigenc_with_ascii_strncmp(OnigEncoding enc, const UChar* p, const UChar* end, const UChar* sascii , int n) argument 902 onigenc_is_code_ctype(OnigEncoding enc, OnigCodePoint code, int ctype) argument 959 onigenc_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument 970 onigenc_mbc_to_lower(OnigEncoding enc, UChar* p, UChar* buf) argument 982 onigenc_is_mbc_ambiguous(OnigEncoding enc, OnigAmbigType flag, UChar** pp, UChar* end) argument 1002 onigenc_get_left_adjust_char_head(OnigEncoding enc, UChar* start, UChar* s) argument 1019 onigenc_is_allowed_reverse_match(OnigEncoding enc, const UChar* s, const UChar* end) argument [all...] |
| H A D | regenc.h | 94 ONIG_EXTERN OnigCodePoint onigenc_mbn_mbc_to_code P_((OnigEncoding enc, const UChar* p, const UChar* end)); 95 ONIG_EXTERN int onigenc_mbn_mbc_to_normalize P_((OnigEncoding enc, OnigAmbigType flag, const UChar** p, const UChar* end, UChar* lower)); 96 ONIG_EXTERN int onigenc_mbn_is_mbc_ambiguous P_((OnigEncoding enc, OnigAmbigType flag, const UChar** p, const UChar* end)); 99 ONIG_EXTERN int onigenc_mb2_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf)); 100 ONIG_EXTERN int onigenc_mb2_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype)); 103 ONIG_EXTERN int onigenc_mb4_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf)); 104 ONIG_EXTERN int onigenc_mb4_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype)); 108 /* in enc/unicode.c */ 128 onigenc_with_ascii_strncmp P_((OnigEncoding enc, const UChar* p, const UChar* end, const UChar* sascii /* ascii */, int n)); 130 onigenc_step P_((OnigEncoding enc, cons [all...] |
| H A D | regerror.c | 186 static int to_ascii(OnigEncoding enc, UChar *s, UChar *end, argument 193 if (ONIGENC_MBC_MINLEN(enc) > 1) { 197 code = ONIGENC_MBC_TO_CODE(enc, p, end); 212 p += enc_len(enc, p); 258 len = to_ascii(einfo->enc, einfo->par, einfo->par_end, 301 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, argument 304 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist) 307 OnigEncoding enc; 331 if (*p == MC_ESC(enc)) { 333 len = enc_len(enc, [all...] |
| H A D | regexec.c | 33 #define ONIGENC_IS_MBC_CRNL(enc,p,end) \ 34 (ONIGENC_MBC_TO_CODE(enc,p,end) == 13 && \ 35 ONIGENC_IS_MBC_NEWLINE(enc,(p+enc_len(enc,p)),end)) 1031 static int string_cmp_ic(OnigEncoding enc, int ambig_flag, argument 1043 len1 = ONIGENC_MBC_TO_NORMALIZE(enc, ambig_flag, &s1, end, buf1); 1044 len2 = ONIGENC_MBC_TO_NORMALIZE(enc, ambig_flag, &s2, end2, buf2); 1169 if (string_cmp_ic(reg->enc, ambig_flag, 1398 onig_is_code_in_cc(OnigEncoding enc, OnigCodePoint code, CClassNode* cc) argument 1402 if (ONIGENC_MBC_MINLEN(enc) > 2922 slow_search(OnigEncoding enc, UChar* target, UChar* target_end, const UChar* text, const UChar* text_end, UChar* text_range) argument 2953 str_lower_case_match(OnigEncoding enc, int ambig_flag, const UChar* t, const UChar* tend, const UChar* p, const UChar* end) argument 2980 slow_search_ic(OnigEncoding enc, int ambig_flag, UChar* target, UChar* target_end, const UChar* text, const UChar* text_end, UChar* text_range) argument 3004 slow_search_backward(OnigEncoding enc, UChar* target, UChar* target_end, const UChar* text, const UChar* adjust_text, const UChar* text_end, const UChar* text_start) argument 3036 slow_search_backward_ic(OnigEncoding enc, int ambig_flag, UChar* target, UChar* target_end, const UChar* text, const UChar* adjust_text, const UChar* text_end, const UChar* text_start) argument 3158 set_bm_backward_skip(UChar* s, UChar* end, OnigEncoding enc, int** skip) argument 3208 map_search(OnigEncoding enc, UChar map[], const UChar* text, const UChar* text_range) argument 3222 map_search_backward(OnigEncoding enc, UChar map[], const UChar* text, const UChar* adjust_text, const UChar* text_start) argument [all...] |
| H A D | reggnu.c | 47 if (startpos > 0 && ONIGENC_MBC_MAXLEN(reg->enc) != 1 && startpos < size) { 52 p = onigenc_get_right_adjust_char_head(reg->enc, (UChar* )string, s); 55 p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(reg->enc, (UChar* )string, s); 102 OnigEncoding enc; local 107 enc = OnigEncDefaultCharEncoding; 110 reg->options, enc, OnigDefaultSyntax, &einfo); 142 re_mbcinit(OnigEncoding enc) argument 149 onigenc_set_default_encoding(enc); 153 OnigEncoding enc; 157 enc [all...] |
| H A D | regint.h | 394 #define XDIGITVAL(enc,code) \ 395 (ONIGENC_IS_CODE_DIGIT(enc,code) ? DIGITVAL(code) \ 396 : (ONIGENC_IS_CODE_UPPER(enc,code) ? (code) - 'A' + 10 : (code) - 'a' + 10)) 748 #define MC_ESC(enc) (enc)->meta_char_table.esc 749 #define MC_ANYCHAR(enc) (enc)->meta_char_table.anychar 750 #define MC_ANYTIME(enc) (enc)->meta_char_table.anytime 751 #define MC_ZERO_OR_ONE_TIME(enc) (en [all...] |
| H A D | regparse.c | 125 #define MBCODE_START_POS(enc) \ 126 (OnigCodePoint )(ONIGENC_MBC_MINLEN(enc) > 1 ? 0 : 0x80) 128 #define SET_ALL_MULTI_BYTE_RANGE(enc, pbuf) \ 129 add_code_range_to_buf(pbuf, MBCODE_START_POS(enc), ~((OnigCodePoint )0)) 131 #define ADD_ALL_MULTI_BYTE_RANGE(enc, mbuf) do {\ 132 if (! ONIGENC_IS_SINGLEBYTE(enc)) {\ 133 r = SET_ALL_MULTI_BYTE_RANGE(enc, &(mbuf));\ 237 strdup_with_null(OnigEncoding enc, UChar* s, UChar* end) argument 243 term_len = ONIGENC_MBC_MINLEN(enc); 264 p += ONIGENC_MBC_ENC_LEN(enc, 500 OnigEncoding enc; member in struct:__anon227 1510 str_node_split_last_char(StrNode* sn, OnigEncoding enc) argument 1528 str_node_can_be_split(StrNode* sn, OnigEncoding enc) argument 1555 onig_scan_unsigned_number(UChar** src, const UChar* end, OnigEncoding enc) argument 1582 scan_unsigned_hexadecimal_number(UChar** src, UChar* end, int maxlen, OnigEncoding enc) argument 1610 scan_unsigned_octal_number(UChar** src, UChar* end, int maxlen, OnigEncoding enc) argument 1752 not_code_range_buf(OnigEncoding enc, BBuf* bbuf, BBuf** pbuf) argument 1794 or_code_range_buf(OnigEncoding enc, BBuf* bbuf1, int not1, BBuf* bbuf2, int not2, BBuf** pbuf) argument 1948 and_cclass(CClassNode* dest, CClassNode* cc, OnigEncoding enc) argument 2006 or_cclass(CClassNode* dest, CClassNode* cc, OnigEncoding enc) argument 2287 OnigEncoding enc = env->enc; local 2377 OnigEncoding enc = env->enc; local 2459 OnigEncoding enc = env->enc; local 2541 OnigEncoding enc = env->enc; local 2617 OnigEncoding enc = env->enc; local 2680 find_str_position(OnigCodePoint s[], int n, UChar* from, UChar* to, UChar **next, OnigEncoding enc) argument 2709 str_exist_check_with_esc(OnigCodePoint s[], int n, UChar* from, UChar* to, OnigCodePoint bad, OnigEncoding enc) argument 2752 OnigEncoding enc = env->enc; local 2961 OnigEncoding enc = env->enc; local 3556 add_ctype_to_cc_by_range(CClassNode* cc, int ctype, int not, OnigEncoding enc, const OnigCodePoint sbr[], const OnigCodePoint mbr[]) argument 3622 OnigEncoding enc = env->enc; local 3778 OnigEncoding enc = env->enc; local 3827 property_name_to_ctype(UChar* p, UChar* end, OnigEncoding enc) argument 3864 OnigEncoding enc = env->enc; local 4038 code_exist_check(OnigCodePoint c, UChar* from, UChar* end, int ignore_escaped, OnigEncoding enc) argument 4398 OnigEncoding enc = env->enc; local 4715 OnigEncoding enc; member in struct:__anon236 [all...] |
| H A D | regposix.c | 38 /* #define ENC_STRING_LEN(enc,s,len) len = strlen(s) */ 39 #define ENC_STRING_LEN(enc,s,len) do { \ 40 if (ONIGENC_MBC_MINLEN(enc) == 1) { \ 46 len = onigenc_str_bytelen_null(enc, (UChar* )s); \ 192 ENC_STRING_LEN(ONIG_C(reg)->enc, str, len); 233 OnigEncoding enc; local 237 enc = ONIG_ENCODING_ASCII; 240 enc = ONIG_ENCODING_EUC_JP; 243 enc = ONIG_ENCODING_SJIS; 246 enc [all...] |
| H A D | regsyntax.c | 208 extern int onig_set_meta_char(OnigEncoding enc, argument 213 enc->meta_char_table.esc = code; 216 enc->meta_char_table.anychar = code; 219 enc->meta_char_table.anytime = code; 222 enc->meta_char_table.zero_or_one_time = code; 225 enc->meta_char_table.one_or_more_time = code; 228 enc->meta_char_table.anychar_anytime = code;
|
| /PHP_5_3/ext/filter/ |
| H A D | sanitizing_filters.c | 182 unsigned char enc[256] = {0}; local 188 enc['\''] = enc['"'] = 1; 191 enc['&'] = 1; 194 memset(enc, 1, 32); 197 memset(enc + 127, 1, sizeof(enc) - 127); 200 php_filter_encode_html(value, enc); 231 unsigned char enc[256] = {0}; local 236 enc['\''] 272 unsigned char enc[256] = {0}; local [all...] |
| /PHP_5_3/ext/iconv/ |
| H A D | iconv.c | 205 static php_iconv_err_t _php_iconv_strlen(unsigned int *pretval, const char *str, size_t nbytes, const char *enc); 207 static php_iconv_err_t _php_iconv_substr(smart_str *pretval, const char *str, size_t nbytes, int offset, int len, const char *enc); 209 static php_iconv_err_t _php_iconv_strpos(unsigned int *pretval, const char *haystk, size_t haystk_nbytes, const char *ndl, size_t ndl_nbytes, int offset, const char *enc); 211 static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_nbytes, const char *fval, size_t fval_nbytes, unsigned int max_line_len, const char *lfchars, php_iconv_enc_scheme_t enc_scheme, const char *out_charset, const char *enc); 213 static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbytes, const char *enc, const char **next_pos, int mode); 574 static php_iconv_err_t _php_iconv_strlen(unsigned int *pretval, const char *str, size_t nbytes, const char *enc) argument 592 cd = iconv_open(GENERIC_SUPERSET_NAME, enc); 658 const char *str, size_t nbytes, int offset, int len, const char *enc) 675 err = _php_iconv_strlen(&total_len, str, nbytes, enc); 712 cd1 = iconv_open(GENERIC_SUPERSET_NAME, enc); 657 _php_iconv_substr(smart_str *pretval, const char *str, size_t nbytes, int offset, int len, const char *enc) argument 803 _php_iconv_strpos(unsigned int *pretval, const char *haystk, size_t haystk_nbytes, const char *ndl, size_t ndl_nbytes, int offset, const char *enc) argument 989 _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_nbytes, const char *fval, size_t fval_nbytes, unsigned int max_line_len, const char *lfchars, php_iconv_enc_scheme_t enc_scheme, const char *out_charset, const char *enc) argument 1320 _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbytes, const char *enc, const char **next_pos, int mode) argument [all...] |
| /PHP_5_3/ext/mbstring/ |
| H A D | mbstring.h | 134 size_t nbytes, const mbfl_encoding *enc); 146 MBSTRING_API size_t php_mb_mbchar_bytes_ex(const char *s, const mbfl_encoding *enc);
|
| H A D | php_mbregex.c | 448 static php_mb_regex_t *php_mbregex_compile_pattern(const char *pattern, int patlen, OnigOptionType options, OnigEncoding enc, OnigSyntaxType *syntax TSRMLS_DC) argument 457 if (found == FAILURE || (*rc)->options != options || (*rc)->enc != enc || (*rc)->syntax != syntax) { 458 if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, enc, syntax, &err_info)) != ONIG_NORMAL) { 813 const mbfl_encoding *enc; local 819 (enc = mbfl_name2encoding(current_enc_name)) == NULL) { 896 int fwd = (int) php_mb_mbchar_bytes_ex(p, enc);
|
| H A D | php_mbregex.h | 74 int php_mb_regex_set_mbctype(const char *enc TSRMLS_DC);
|
| H A D | php_unicode.c | 163 MBSTRING_API unsigned long php_unicode_toupper(unsigned long code, enum mbfl_no_encoding enc TSRMLS_DC) 179 if (enc == mbfl_no_encoding_8859_9) { 194 MBSTRING_API unsigned long php_unicode_tolower(unsigned long code, enum mbfl_no_encoding enc TSRMLS_DC) 210 if (enc == mbfl_no_encoding_8859_9) { 225 MBSTRING_API unsigned long php_unicode_totitle(unsigned long code, enum mbfl_no_encoding enc TSRMLS_DC)
|
| /PHP_5_3/ext/soap/ |
| H A D | php_encoding.c | 59 static xmlNodePtr to_xml_list(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent); 60 static xmlNodePtr to_xml_list1(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent); 281 encodePtr *enc; local 284 zend_hash_get_current_data_ex(sdl->encoders, (void **) &enc, &pos) == SUCCESS; 286 if (strcmp((*enc)->details.type_str, type) == 0) { 287 return *enc; 405 encodePtr enc = NULL; local 414 enc = get_encoder(SOAP_GLOBAL(sdl), Z_STRVAL_PP(zns), Z_STRVAL_PP(zstype)); 417 enc = get_encoder_ex(SOAP_GLOBAL(sdl), Z_STRVAL_PP(zstype), Z_STRLEN_PP(zstype)); 419 if (enc 485 encodePtr enc = NULL; local 600 encodePtr enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, type_attr->children->content); local 1513 encodePtr enc; local 1713 encodePtr enc; local 1800 encodePtr enc; local 1932 encodePtr enc; local 2109 encodePtr enc = NULL; local 2218 add_xml_array_elements(xmlNodePtr xmlParam, sdlTypePtr type, encodePtr enc, xmlNsPtr ns, int dimension , int* dims, zval* data, int style) argument 2305 encodePtr enc = NULL; local 2587 encodePtr enc = NULL; local 2902 encodePtr enc; local 2921 encodePtr enc = NULL; local 3116 to_zval_list(encodeTypePtr enc, xmlNodePtr data) argument 3121 to_xml_list(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent) argument 3206 to_xml_list1(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent) argument 3211 to_zval_union(encodeTypePtr enc, xmlNodePtr data) argument 3216 to_xml_union(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent) argument 3261 encodePtr enc = get_conversion(XSD_ANYXML); local 3304 sdl_guess_convert_zval(encodeTypePtr enc, xmlNodePtr data) argument 3368 sdl_guess_convert_xml(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent) argument 3621 encodePtr *enc = NULL; local 3723 encodePtr enc; local [all...] |
| H A D | php_encoding.h | 39 #define SOAP_1_2_ENC_NS_PREFIX "enc" 201 xmlNodePtr sdl_guess_convert_xml(encodeTypePtr enc, zval* data, int style, xmlNodePtr parent); 202 zval *sdl_guess_convert_zval(encodeTypePtr enc, xmlNodePtr data);
|
| H A D | php_packet_soap.c | 401 encodePtr enc = NULL; local 415 enc = (*hdr)->encode; 419 val = master_to_zval(enc, trav);
|
| H A D | php_sdl.c | 51 encodePtr enc = NULL; local 58 enc = get_encoder(sdl, (char*)nsptr->href, cptype); 59 if (enc == NULL) { 60 enc = get_encoder_ex(sdl, cptype, strlen(cptype)); 63 enc = get_encoder_ex(sdl, (char*)type, xmlStrlen(type)); 67 return enc; 112 encodePtr enc = NULL; local 124 enc = get_encoder_ex(sdl, nscat, len); 126 if (enc == NULL && 143 enc 169 encodePtr *enc; local 1408 sdl_deserialize_encoder(encodePtr enc, sdlTypePtr *types, char **in) argument 1542 encodePtr enc; local 1814 sdl_serialize_encoder_ref(encodePtr enc, HashTable *tmp_encoders, smart_str *out) argument 2022 sdl_serialize_encoder(encodePtr enc, HashTable *tmp_types, smart_str *out) argument 2118 encodePtr enc; local 2422 make_persistent_sdl_encoder_ref(encodePtr *enc, HashTable *ptr_map, HashTable *bp_encoders) argument 2843 make_persistent_sdl_encoder(encodePtr enc, HashTable *ptr_map, HashTable *bp_types, HashTable *bp_encoders) argument [all...] |
| /PHP_5_3/ext/tidy/ |
| H A D | tidy.c | 559 char *data=NULL, *arg1, *enc = NULL; local 566 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|Zsb", &arg1, &arg1_len, &config, &enc, &enc_len, &use_include_path) == FAILURE) { 603 if (tidySetCharEncoding(doc, enc) < 0) { 604 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not set encoding '%s'", enc); 1035 static int php_tidy_parse_string(PHPTidyObj *obj, char *string, int len, char *enc TSRMLS_DC) 1039 if(enc) { 1040 if (tidySetCharEncoding(obj->ptdoc->doc, enc) < 0) { 1041 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not set encoding '%s'", enc); 1164 char *input, *enc = NULL; local 1170 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|Zs", &input, &input_len, &options, &enc, 1222 char *inputfile, *enc = NULL; local 1538 char *inputfile = NULL, *enc = NULL; local 1573 char *inputfile, *enc = NULL; local 1610 char *input, *enc = NULL; local [all...] |
| /PHP_5_3/ext/xml/ |
| H A D | xml.c | 596 xml_encoding *enc = &xml_encodings[0]; local 598 while (enc && enc->name) { 599 if (strcasecmp(name, enc->name) == 0) { 600 return enc; 602 enc++; 615 xml_encoding *enc = xml_get_encoding(encoding); local 618 if (enc) { 619 encoder = enc->encoding_function; 770 xml_encoding *enc local 1731 xml_encoding *enc; local [all...] |