Searched refs:enc (Results 1 - 25 of 43) sorted by relevance

12

/PHP_5_5/ext/gd/libgd/
H A Dwebpimg.c629 static int codec_ctl(vpx_codec_ctx_t *enc, argument
632 const vpx_codec_err_t res = vpx_codec_control_(enc, id, value);
671 vpx_codec_ctx_t enc; local
696 res = vpx_codec_enc_init(&enc, iface, &cfg, 0);
699 codec_ctl(&enc, VP8E_SET_CPUUSED, 3);
700 codec_ctl(&enc, VP8E_SET_NOISE_SENSITIVITY, 0);
701 codec_ctl(&enc, VP8E_SET_SHARPNESS, 0);
702 codec_ctl(&enc, VP8E_SET_ENABLEAUTOALTREF, 0);
703 codec_ctl(&enc, VP8E_SET_ARNR_MAXFRAMES, 0);
704 codec_ctl(&enc, VP8E_SET_ARNR_TYP
[all...]
/PHP_5_5/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_ident.c233 const mbfl_encoding *enc = mbfl_no2encoding(encoding); local
234 return mbfl_identify_filter_init2(filter, enc ? enc: &mbfl_encoding_pass);
/PHP_5_5/ext/mbstring/oniguruma/enc/
H A Deuc_jp.c208 property_name_to_ctype(OnigEncoding enc, UChar* p, UChar* end) argument
215 return onigenc_minimum_property_name_to_ctype(enc, p, end);
271 3, /* max enc length */
272 1, /* min enc length */
H A Dmktable.c87 static int IsAlpha(int enc, int c) argument
89 if (enc == ASCII)
95 switch (enc) {
264 static int IsBlank(int enc, int c) argument
266 if (enc == ASCII)
271 switch (enc) {
303 static int IsCntrl(int enc, int c) argument
305 if (enc == ASCII)
310 switch (enc) {
345 static int IsDigit(int enc ARG_UNUSE
351 IsGraph(int enc, int c) argument
423 IsLower(int enc, int c) argument
555 IsPrint(int enc, int c) argument
633 IsPunct(int enc, int c) argument
732 IsSpace(int enc, int c) argument
774 IsUpper(int enc, int c) argument
901 IsXDigit(int enc, int c) argument
912 IsWord(int enc, int c) argument
1110 int c, val, enc; local
[all...]
H A Dsjis.c242 property_name_to_ctype(OnigEncoding enc, UChar* p, UChar* end) argument
249 return onigenc_minimum_property_name_to_ctype(enc, p, end);
/PHP_5_5/ext/mbstring/oniguruma/
H A Donigposix.h160 ONIG_EXTERN void reg_set_encoding P_((int enc));
H A Dregcomp.c461 OnigEncoding enc = reg->enc; local
472 prev_len = enclen(enc, p);
478 len = enclen(enc, p);
509 OnigEncoding enc = reg->enc; local
521 prev_len = enclen(enc, p);
526 len = enclen(enc, p);
590 if (ONIGENC_MBC_MINLEN(reg->enc) > 1 || bitset_is_empty(cc->bs)) {
626 if (ONIGENC_MBC_MINLEN(reg->enc) >
3937 OnigEncoding enc; member in struct:__anon232
3979 map_position_value(OnigEncoding enc, int i) argument
4202 concat_opt_exact_info(OptExactInfo* to, OptExactInfo* add, OnigEncoding enc) argument
4232 concat_opt_exact_info_str(OptExactInfo* to, UChar* s, UChar* end, int raw ARG_UNUSED, OnigEncoding enc) argument
4285 select_opt_exact_info(OnigEncoding enc, OptExactInfo* now, OptExactInfo* alt) argument
4350 add_char_opt_map_info(OptMapInfo* map, UChar c, OnigEncoding enc) argument
4359 add_char_amb_opt_map_info(OptMapInfo* map, UChar* p, UChar* end, OnigEncoding enc, OnigCaseFoldType case_fold_flag) argument
4413 alt_merge_opt_map_info(OnigEncoding enc, OptMapInfo* to, OptMapInfo* add) argument
4465 concat_left_node_opt_info(OnigEncoding enc, NodeOptInfo* to, NodeOptInfo* add) argument
5030 print_enc_string(FILE* fp, OnigEncoding enc, const UChar *s, const UChar *end) argument
5452 onig_recompile(regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument
5474 onig_reg_init(regex_t* reg, OnigOptionType option, OnigCaseFoldType case_fold_flag, OnigEncoding enc, OnigSyntaxType* syntax) argument
5520 onig_new_without_alloc(regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument
5534 onig_new(regex_t** reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument
5648 onig_is_code_in_cc(OnigEncoding enc, OnigCodePoint code, CClassNode* cc) argument
5815 onig_print_compiled_byte_code(FILE* f, UChar* bp, UChar** nextp, OnigEncoding enc) argument
[all...]
H A Dregenc.c47 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 += enclen(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 += enclen(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
359 onigenc_get_left_adjust_char_head(OnigEncoding enc, const UChar* start, const UChar* s) argument
642 onigenc_mbn_mbc_to_code(OnigEncoding enc, const UChar* p, const UChar* end) argument
660 onigenc_mbn_mbc_case_fold(OnigEncoding enc, OnigCaseFoldType flag ARG_UNUSED, const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) argument
718 onigenc_mb2_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument
735 onigenc_mb4_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf) argument
758 onigenc_minimum_property_name_to_ctype(OnigEncoding enc, UChar* p, UChar* end) argument
792 onigenc_mb2_is_code_ctype(OnigEncoding enc, OnigCodePoint code, unsigned int ctype) argument
807 onigenc_mb4_is_code_ctype(OnigEncoding enc, OnigCodePoint code, unsigned int ctype) argument
822 onigenc_with_ascii_strncmp(OnigEncoding enc, const UChar* p, const UChar* end, const UChar* sascii , int n) argument
[all...]
H A Dregenc.h74 #define enclen(enc,p) ONIGENC_MBC_ENC_LEN(enc,p)
134 ONIG_EXTERN OnigCodePoint onigenc_mbn_mbc_to_code P_((OnigEncoding enc, const UChar* p, const UChar* end));
135 ONIG_EXTERN int onigenc_mbn_mbc_case_fold P_((OnigEncoding enc, OnigCaseFoldType flag, const UChar** p, const UChar* end, UChar* lower));
137 ONIG_EXTERN int onigenc_mb2_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf));
138 ONIG_EXTERN int onigenc_minimum_property_name_to_ctype P_((OnigEncoding enc, UChar* p, UChar* end));
139 ONIG_EXTERN int onigenc_unicode_property_name_to_ctype P_((OnigEncoding enc, UChar* p, UChar* end));
140 ONIG_EXTERN int onigenc_mb2_is_code_ctype P_((OnigEncoding enc, OnigCodePoint code, unsigned int ctype));
142 ONIG_EXTERN int onigenc_mb4_code_to_mbc P_((OnigEncoding enc, OnigCodePoint code, UChar *buf));
143 ONIG_EXTERN int onigenc_mb4_is_code_ctype P_((OnigEncoding enc, OnigCodePoin
[all...]
H A Dregerror.c195 static int to_ascii(OnigEncoding enc, UChar *s, UChar *end, argument
202 if (ONIGENC_MBC_MINLEN(enc) > 1) {
206 code = ONIGENC_MBC_TO_CODE(enc, p, end);
228 p += enclen(enc, p);
274 len = to_ascii(einfo->enc, einfo->par, einfo->par_end,
317 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, argument
320 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist)
323 OnigEncoding enc;
349 len = enclen(enc, p);
356 else if (ONIGENC_IS_MBC_HEAD(enc,
[all...]
H A Dregexec.c35 #define ONIGENC_IS_MBC_CRNL(enc,p,end) \
36 (ONIGENC_MBC_TO_CODE(enc,p,end) == 13 && \
37 ONIGENC_IS_MBC_NEWLINE(enc,(p+enclen(enc,p)),end))
976 static int string_cmp_ic(OnigEncoding enc, int case_fold_flag, argument
988 len1 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s1, end1, buf1);
989 len2 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s2, end2, buf2);
1119 if (string_cmp_ic(reg->enc, case_fold_flag,
1251 OnigEncoding encode = reg->enc;
2741 slow_search(OnigEncoding enc, UCha argument
2772 str_lower_case_match(OnigEncoding enc, int case_fold_flag, const UChar* t, const UChar* tend, const UChar* p, const UChar* end) argument
2792 slow_search_ic(OnigEncoding enc, int case_fold_flag, UChar* target, UChar* target_end, const UChar* text, const UChar* text_end, UChar* text_range) argument
2817 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
2849 slow_search_backward_ic(OnigEncoding enc, int case_fold_flag, UChar* target, UChar* target_end, const UChar* text, const UChar* adjust_text, const UChar* text_end, const UChar* text_start) argument
3020 map_search(OnigEncoding enc, UChar map[], const UChar* text, const UChar* text_range) argument
3034 map_search_backward(OnigEncoding enc, UChar map[], const UChar* text, const UChar* adjust_text, const UChar* text_start) argument
[all...]
H A Dreggnu.c47 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);
146 OnigEncoding enc; local
150 enc = ONIG_ENCODING_ASCII;
153 enc = ONIG_ENCODING_EUC_JP;
156 enc
[all...]
H A Dregparse.c129 #define MBCODE_START_POS(enc) \
130 (OnigCodePoint )(ONIGENC_MBC_MINLEN(enc) > 1 ? 0 : 0x80)
132 #define SET_ALL_MULTI_BYTE_RANGE(enc, pbuf) \
133 add_code_range_to_buf(pbuf, MBCODE_START_POS(enc), ~((OnigCodePoint )0))
135 #define ADD_ALL_MULTI_BYTE_RANGE(enc, mbuf) do {\
136 if (! ONIGENC_IS_SINGLEBYTE(enc)) {\
137 r = SET_ALL_MULTI_BYTE_RANGE(enc, &(mbuf));\
230 strdup_with_null(OnigEncoding enc, UChar* s, UChar* end) argument
236 term_len = ONIGENC_MBC_MINLEN(enc);
257 p += ONIGENC_MBC_ENC_LEN(enc,
496 OnigEncoding enc; member in struct:__anon253
1535 str_node_split_last_char(StrNode* sn, OnigEncoding enc) argument
1553 str_node_can_be_split(StrNode* sn, OnigEncoding enc) argument
1580 onig_scan_unsigned_number(UChar** src, const UChar* end, OnigEncoding enc) argument
1607 scan_unsigned_hexadecimal_number(UChar** src, UChar* end, int maxlen, OnigEncoding enc) argument
1635 scan_unsigned_octal_number(UChar** src, UChar* end, int maxlen, OnigEncoding enc) argument
1777 not_code_range_buf(OnigEncoding enc, BBuf* bbuf, BBuf** pbuf) argument
1819 or_code_range_buf(OnigEncoding enc, BBuf* bbuf1, int not1, BBuf* bbuf2, int not2, BBuf** pbuf) argument
1973 and_cclass(CClassNode* dest, CClassNode* cc, OnigEncoding enc) argument
2031 or_cclass(CClassNode* dest, CClassNode* cc, OnigEncoding enc) argument
2315 OnigEncoding enc = env->enc; local
2405 OnigEncoding enc = env->enc; local
2503 OnigEncoding enc = env->enc; local
2616 OnigEncoding enc = env->enc; local
2736 OnigEncoding enc = env->enc; local
2836 find_str_position(OnigCodePoint s[], int n, UChar* from, UChar* to, UChar **next, OnigEncoding enc) argument
2865 str_exist_check_with_esc(OnigCodePoint s[], int n, UChar* from, UChar* to, OnigCodePoint bad, OnigEncoding enc, OnigSyntaxType* syn) argument
2908 OnigEncoding enc = env->enc; local
3125 OnigEncoding enc = env->enc; local
3830 OnigEncoding enc = env->enc; local
3936 OnigEncoding enc = env->enc; local
3989 OnigEncoding enc = env->enc; local
4154 OnigEncoding enc = env->enc; local
4510 OnigEncoding enc = env->enc; local
4852 OnigEncoding enc; member in struct:__anon261
4924 clear_not_flag_cclass(CClassNode* cc, OnigEncoding enc) argument
[all...]
H A Dregposix.c38 /* #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 Dregsyntax.c287 extern int onig_set_meta_char(OnigSyntaxType* enc, argument
292 enc->meta_char_table.esc = code;
295 enc->meta_char_table.anychar = code;
298 enc->meta_char_table.anytime = code;
301 enc->meta_char_table.zero_or_one_time = code;
304 enc->meta_char_table.one_or_more_time = code;
307 enc->meta_char_table.anychar_anytime = code;
H A Doniguruma.h162 int (*property_name_to_ctype)(struct OnigEncodingTypeST* enc, OnigUChar* p, OnigUChar* end);
262 #define onig_enc_len(enc,p,end) ONIGENC_MBC_ENC_LEN(enc,p)
264 #define ONIGENC_IS_UNDEF(enc) ((enc) == ONIG_ENCODING_UNDEF)
265 #define ONIGENC_IS_SINGLEBYTE(enc) (ONIGENC_MBC_MAXLEN(enc) == 1)
266 #define ONIGENC_IS_MBC_HEAD(enc,p) (ONIGENC_MBC_ENC_LEN(enc,p) != 1)
269 #define ONIGENC_IS_MBC_WORD(enc,
631 OnigEncoding enc; member in struct:__anon4
675 OnigEncoding enc; member in struct:re_pattern_buffer
[all...]
/PHP_5_5/ext/mbstring/oniguruma/win32/
H A DMakefile64 encdir = enc
186 $(CP) enc\ascii.c $(RUBYDIR)
187 $(CP) enc\utf8.c $(RUBYDIR)
188 $(CP) enc\euc_jp.c $(RUBYDIR)
189 $(CP) enc\sjis.c $(RUBYDIR)
190 $(CP) enc\unicode.c $(RUBYDIR)
/PHP_5_5/ext/soap/
H A Dphp_encoding.c59 static xmlNodePtr to_xml_list(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
60 static xmlNodePtr to_xml_list1(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent TSRMLS_DC);
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;
404 encodePtr enc = NULL; local
413 enc = get_encoder(SOAP_GLOBAL(sdl), Z_STRVAL_PP(zns), Z_STRVAL_PP(zstype));
416 enc = get_encoder_ex(SOAP_GLOBAL(sdl), Z_STRVAL_PP(zstype), Z_STRLEN_PP(zstype));
418 if (enc
484 encodePtr enc = NULL; local
597 encodePtr enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, type_attr->children->content); local
1497 encodePtr enc; local
1697 encodePtr enc; local
1784 encodePtr enc; local
1915 encodePtr enc; local
2092 encodePtr enc = NULL; local
2201 add_xml_array_elements(xmlNodePtr xmlParam, sdlTypePtr type, encodePtr enc, xmlNsPtr ns, int dimension , int* dims, zval* data, int style TSRMLS_DC) argument
2289 encodePtr enc = NULL; local
2561 encodePtr enc = NULL; local
2874 encodePtr enc; local
2893 encodePtr enc = NULL; local
3085 to_zval_list(encodeTypePtr enc, xmlNodePtr data TSRMLS_DC) argument
3090 to_xml_list(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent TSRMLS_DC) argument
3175 to_xml_list1(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent TSRMLS_DC) argument
3180 to_zval_union(encodeTypePtr enc, xmlNodePtr data TSRMLS_DC) argument
3185 to_xml_union(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent TSRMLS_DC) argument
3229 encodePtr enc = get_conversion(XSD_ANYXML); local
3272 sdl_guess_convert_zval(encodeTypePtr enc, xmlNodePtr data TSRMLS_DC) argument
3336 sdl_guess_convert_xml(encodeTypePtr enc, zval *data, int style, xmlNodePtr parent TSRMLS_DC) argument
3589 encodePtr *enc = NULL; local
3691 encodePtr enc; local
[all...]
H A Dphp_encoding.h39 #define SOAP_1_2_ENC_NS_PREFIX "enc"
201 xmlNodePtr sdl_guess_convert_xml(encodeTypePtr enc, zval* data, int style, xmlNodePtr parent TSRMLS_DC);
202 zval *sdl_guess_convert_zval(encodeTypePtr enc, xmlNodePtr data TSRMLS_DC);
H A Dphp_sdl.c51 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
2844 make_persistent_sdl_encoder(encodePtr enc, HashTable *ptr_map, HashTable *bp_types, HashTable *bp_encoders) argument
[all...]
/PHP_5_5/ext/tidy/
H A Dtidy.c555 char *data=NULL, *arg1, *enc = NULL; local
563 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|Zsb", &arg1, &arg1_len, &config, &enc, &enc_len, &use_include_path) == FAILURE) {
570 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|Zsb", &arg1, &arg1_len, &config, &enc, &enc_len, &use_include_path) == FAILURE) {
598 if (tidySetCharEncoding(doc, enc) < 0) {
599 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not set encoding '%s'", enc);
1042 static int php_tidy_parse_string(PHPTidyObj *obj, char *string, int len, char *enc TSRMLS_DC)
1046 if(enc) {
1047 if (tidySetCharEncoding(obj->ptdoc->doc, enc) < 0) {
1048 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not set encoding '%s'", enc);
1218 char *input, *enc local
1273 char *inputfile, *enc = NULL; local
1586 char *inputfile = NULL, *enc = NULL; local
1618 char *inputfile, *enc = NULL; local
1652 char *input, *enc = NULL; local
[all...]
/PHP_5_5/ext/xml/
H A Dxml.c597 xml_encoding *enc = &xml_encodings[0]; local
599 while (enc && enc->name) {
600 if (strcasecmp(name, enc->name) == 0) {
601 return enc;
603 enc++;
616 xml_encoding *enc = xml_get_encoding(encoding); local
619 if (enc) {
620 encoder = enc->encoding_function;
670 xml_encoding *enc local
1641 xml_encoding *enc; local
[all...]
/PHP_5_5/ext/filter/
H A Dsanitizing_filters.c182 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['\'']
273 unsigned char enc[256] = {0}; local
[all...]
/PHP_5_5/ext/mbstring/
H A Dmbstring.h132 size_t nbytes, const mbfl_encoding *enc);
143 MBSTRING_API size_t php_mb_mbchar_bytes_ex(const char *s, const mbfl_encoding *enc);
H A Dphp_unicode.c163 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)

Completed in 74 milliseconds

12