Searched defs:enc (Results 1 - 25 of 36) sorted by relevance

12

/PHP_TRUNK/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_TRUNK/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_TRUNK/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);
H A Dunicode.c10817 onigenc_unicode_property_name_to_ctype(OnigEncoding enc, UChar* name, UChar* end) argument
10828 code = ONIGENC_MBC_TO_CODE(enc, p, end);
10836 p += enclen(enc, p);
10961 onigenc_unicode_mbc_case_fold(OnigEncoding enc, argument
10972 code = ONIGENC_MBC_TO_CODE(enc, p, end);
10973 len = enclen(enc, p);
10979 return ONIGENC_CODE_TO_MBC(enc, 0x0131, fold);
10982 return ONIGENC_CODE_TO_MBC(enc, 0x0069, fold);
10989 return ONIGENC_CODE_TO_MBC(enc, to->code[0], fold);
10999 len = ONIGENC_CODE_TO_MBC(enc, t
11156 onigenc_unicode_get_case_fold_codes_by_str(OnigEncoding enc, OnigCaseFoldType flag, const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) argument
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
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 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 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.h281 OnigEncoding enc; member in struct:__anon274
327 extern int onig_scan_unsigned_number P_((UChar** src, const UChar* end, OnigEncoding enc));
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;
/PHP_TRUNK/ext/zip/lib/
H A Dzip_utf-8.c125 enum zip_encoding_type enc;
135 enc = str->encoding;
137 enc = ZIP_ENCODING_ASCII;
142 enc = ZIP_ENCODING_UTF8_GUESSED;
150 enc = ZIP_ENCODING_CP437;
155 enc = ZIP_ENCODING_CP437;
161 enc = ZIP_ENCODING_CP437;
170 str->encoding = enc;
173 if (expected_encoding == ZIP_ENCODING_UTF8_KNOWN && enc == ZIP_ENCODING_UTF8_GUESSED)
174 str->encoding = enc
122 enum zip_encoding_type enc; local
[all...]
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c384 const char *enc, int enc_len
387 UConverter *cnv = ucnv_open(enc, &error);
424 char *enc; local
427 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &enc, &enc_len) == FAILURE) {
434 RETURN_BOOL(php_converter_set_encoding(objval, &(objval->src), enc, enc_len TSRMLS_CC));
382 php_converter_set_encoding(php_converter_object *objval, UConverter **pcnv, const char *enc, int enc_len TSRMLS_DC) argument
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c378 php_libxml_input_buffer_create_filename(const char *URI, xmlCharEncoding enc) argument
398 ret = xmlAllocParserInputBuffer(enc);
634 xmlCharEncoding enc = XML_CHAR_ENCODING_NONE; local
635 xmlParserInputBufferPtr pib = xmlAllocParserInputBuffer(enc);
646 ret = xmlNewIOInputStream(context, pib, enc);
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c397 encodePtr enc = NULL; local
411 enc = hdr->encode;
415 master_to_zval(&val, enc, trav TSRMLS_CC);
H A Dphp_schema.c52 encodePtr enc, enc_ptr; local
63 enc = enc_ptr;
64 if (enc->details.ns) {
65 efree(enc->details.ns);
67 if (enc->details.type_str) {
68 efree(enc->details.type_str);
72 enc = emalloc(sizeof(encode));
74 memset(enc, 0, sizeof(encode));
76 enc->details.ns = estrdup((char*)ns);
77 enc
91 encodePtr enc = get_encoder(sdl, (char*)ns, (char*)type); local
[all...]
/PHP_TRUNK/ext/xml/
H A Dxml.c544 xml_encoding *enc = &xml_encodings[0]; local
546 while (enc && enc->name) {
547 if (strcasecmp((char *)name, (char *)enc->name) == 0) {
548 return enc;
550 enc++;
563 xml_encoding *enc = xml_get_encoding(encoding); local
565 if (enc) {
566 encoder = enc->encoding_function;
613 xml_encoding *enc local
1571 xml_encoding *enc; local
[all...]
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c1305 char *version = NULL, *enc = NULL, *alone = NULL; local
1312 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!", &version, &version_len, &enc, &enc_len, &alone, &alone_len) == FAILURE) {
1317 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!s!s!", &pind, &version, &version_len, &enc, &enc_len, &alone, &alone_len) == FAILURE) {
1326 retval = xmlTextWriterStartDocument(ptr, version, enc, alone);
/PHP_TRUNK/ext/zlib/
H A Dzlib.c70 zval *enc; local
77 (enc = zend_hash_str_find(Z_ARRVAL(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_ACCEPT_ENCODING", sizeof("HTTP_ACCEPT_ENCODING") - 1))) {
78 convert_to_string(enc);
79 if (strstr(Z_STRVAL_P(enc), "gzip")) {
81 } else if (strstr(Z_STRVAL_P(enc), "deflate")) {
/PHP_TRUNK/ext/filter/
H A Dsanitizing_filters.c185 unsigned char enc[256] = {0}; local
195 enc['\''] = enc['"'] = 1;
198 enc['&'] = 1;
201 memset(enc, 1, 32);
204 memset(enc + 127, 1, sizeof(enc) - 127);
207 php_filter_encode_html(value, enc);
238 unsigned char enc[256] = {0}; local
243 enc['\'']
278 unsigned char enc[256] = {0}; local
[all...]
/PHP_TRUNK/ext/iconv/
H A Diconv.c199 static php_iconv_err_t _php_iconv_strlen(size_t *pretval, const char *str, size_t nbytes, const char *enc);
201 static php_iconv_err_t _php_iconv_substr(smart_str *pretval, const char *str, size_t nbytes, zend_long offset, zend_long len, const char *enc);
203 static php_iconv_err_t _php_iconv_strpos(size_t *pretval, const char *haystk, size_t haystk_nbytes, const char *ndl, size_t ndl_nbytes, zend_long offset, const char *enc);
205 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, size_t max_line_len, const char *lfchars, php_iconv_enc_scheme_t enc_scheme, const char *out_charset, const char *enc);
207 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);
702 static php_iconv_err_t _php_iconv_strlen(size_t *pretval, const char *str, size_t nbytes, const char *enc) argument
720 cd = iconv_open(GENERIC_SUPERSET_NAME, enc);
787 const char *str, size_t nbytes, zend_long offset, zend_long len, const char *enc)
804 err = _php_iconv_strlen(&total_len, str, nbytes, enc);
841 cd1 = iconv_open(GENERIC_SUPERSET_NAME, enc);
786 _php_iconv_substr(smart_str *pretval, const char *str, size_t nbytes, zend_long offset, zend_long len, const char *enc) argument
932 _php_iconv_strpos(size_t *pretval, const char *haystk, size_t haystk_nbytes, const char *ndl, size_t ndl_nbytes, zend_long offset, const char *enc) argument
1117 _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_nbytes, const char *fval, size_t fval_nbytes, size_t max_line_len, const char *lfchars, php_iconv_enc_scheme_t enc_scheme, const char *out_charset, const char *enc) argument
1445 _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_TRUNK/ext/mbstring/
H A Dphp_mbregex.c447 static php_mb_regex_t *php_mbregex_compile_pattern(const char *pattern, int patlen, OnigOptionType options, OnigEncoding enc, OnigSyntaxType *syntax TSRMLS_DC) argument
455 if (!rc || rc->options != options || rc->enc != enc || rc->syntax != syntax) {
456 if ((err_code = onig_new(&retval, (OnigUChar *)pattern, (OnigUChar *)(pattern + patlen), options, enc, syntax, &err_info)) != ONIG_NORMAL) {
815 const mbfl_encoding *enc; local
821 (enc = mbfl_name2encoding(current_enc_name)) == NULL) {
917 int fwd = (int) php_mb_mbchar_bytes_ex(p, enc);
/PHP_TRUNK/ext/session/
H A Dsession.c2037 zend_string *enc; local
2043 enc = php_session_encode(TSRMLS_C);
2044 if (enc == NULL) {
2048 RETURN_STR(enc);
/PHP_TRUNK/ext/tidy/
H A Dtidy.c558 char *enc = NULL; local
567 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "P|zsb", &arg1, &config, &enc, &enc_len, &use_include_path) == FAILURE) {
574 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|zsb", &arg1, &config, &enc, &enc_len, &use_include_path) == FAILURE) {
601 if (tidySetCharEncoding(doc, enc) < 0) {
602 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not set encoding '%s'", enc);
1007 static int php_tidy_parse_string(PHPTidyObj *obj, char *string, int len, char *enc TSRMLS_DC)
1011 if(enc) {
1012 if (tidySetCharEncoding(obj->ptdoc->doc, enc) < 0) {
1013 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not set encoding '%s'", enc);
1186 char *enc local
1241 char *enc = NULL; local
1556 char *enc = NULL; local
1588 char *enc = NULL; local
1622 char *enc = NULL; local
[all...]

Completed in 47 milliseconds

12