Searched refs:encoding (Results 1 - 25 of 33) sorted by relevance

12

/PHP_5_3/ext/soap/interop/
H A Dclient_round2_params.php37 var $encoding = 'UTF-8'; variable
177 $test->encoding = 'UTF-8';
180 $test->encoding = 'UTF-8';
/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dencode.c47 ** To minimize the encoding size, we first add a fixed offset value to each
62 ** Here, then, are the encoding steps:
167 ** This routine reverses the encoding created by sqlite_encode_binary().
170 ** encoding, -1 is returned.
252 fprintf(stderr,"Finished. Total encoding: %d->%d bytes\n",
/PHP_5_3/ext/xmlrpc/libxmlrpc/
H A Dencodings.c116 char* utf8_encode(const char *s, int len, int *newlen, const char* encoding) argument
118 return convert(s, len, newlen, encoding, "UTF-8");
122 char* utf8_decode(const char *s, int len, int *newlen, const char* encoding) argument
124 return convert(s, len, newlen, "UTF-8", encoding);
H A Dencodings.h43 char* utf8_encode(const char *s, int len, int *newlen, ENCODING_ID encoding);
44 char* utf8_decode(const char *s, int len, int *newlen, ENCODING_ID encoding);
H A Dxml_element.c82 * patch from mukund - fix non utf-8 encoding conversions
114 * - output option for character encoding. Defaults to (none) utf-8.
139 #define XML_DECL_ENCODING_ATTR "encoding"
398 if(options->encoding && *options->encoding) {
403 xml_elem_writefunc(fptr, options->encoding, data, 0);
642 /* Check if we need to decode utf-8 parser output to another encoding */
643 if(mydata->needs_enc_conversion && mydata->input_options->encoding) {
645 char* add_text = utf8_decode(s, len, &new_len, mydata->input_options->encoding);
706 mydata.needs_enc_conversion = options->encoding
[all...]
H A Dxml_element.h92 const char* encoding; /* <?xml encoding="<encoding>" ?> */ member in struct:_xml_output_options
104 ENCODING_ID encoding; /* which encoding to use. */ member in struct:_xml_input_options
/PHP_5_3/ext/gd/libgd/
H A Dgdft.c350 unsigned short platform, encoding; local
464 encoding = charmap->encoding_id;
468 if (charmap->encoding == FT_ENCODING_MS_SYMBOL
469 || charmap->encoding == FT_ENCODING_ADOBE_CUSTOM
470 || charmap->encoding == FT_ENCODING_ADOBE_STANDARD) {
479 if ((platform == 3 && encoding == 1) /* Windows Unicode */
480 || (platform == 3 && encoding == 0) /* Windows Symbol */
481 || (platform == 2 && encoding == 1) /* ISO Unicode */
486 } else if (platform == 3 && encoding == 4) { /* Windows Big5 */
489 } else if (platform == 3 && encoding
[all...]
/PHP_5_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c3 * vim600: encoding=utf-8
117 * encoding filter
359 * encoding detector
460 enum mbfl_no_encoding encoding; local
464 encoding = mbfl_no_encoding_invalid;
471 encoding = filter->encoding->no_encoding;
478 if (encoding == mbfl_no_encoding_invalid) {
483 encoding = filter->encoding
505 const mbfl_encoding *encoding; local
572 const mbfl_encoding *encoding; local
652 const mbfl_encoding *encoding; local
667 const mbfl_encoding *encoding; local
696 const mbfl_encoding *encoding; local
820 const mbfl_encoding *encoding; local
1187 const mbfl_encoding *encoding; local
1345 const mbfl_encoding *encoding; local
1848 const mbfl_encoding *encoding; local
2220 mbfl_mime_header_encode( mbfl_string *string, mbfl_string *result, enum mbfl_no_encoding outcode, enum mbfl_no_encoding encoding, const char *linefeed, int indent) argument
2279 enum mbfl_no_encoding encoding; member in struct:mime_header_decoder_data
2287 const mbfl_encoding *encoding; local
[all...]
H A Dmbfilter.h2 * vim: encoding=utf-8:
143 * encoding detector
160 * encoding converter
167 * identify encoding
236 enum mbfl_no_encoding encoding);
251 enum mbfl_no_encoding encoding,
H A Dmbfl_encoding.c202 /* encoding resolver */
206 const mbfl_encoding *encoding; local
214 while ((encoding = mbfl_encoding_ptr_list[i++]) != NULL){
215 if (strcasecmp(encoding->name, name) == 0) {
216 return encoding;
222 while ((encoding = mbfl_encoding_ptr_list[i++]) != NULL) {
223 if (encoding->mime_name != NULL) {
224 if (strcasecmp(encoding->mime_name, name) == 0) {
225 return encoding;
232 while ((encoding
250 const mbfl_encoding *encoding; local
266 const mbfl_encoding *encoding; local
279 const mbfl_encoding *encoding; local
298 const mbfl_encoding *encoding; local
311 const mbfl_encoding *encoding; local
[all...]
H A Dmbfl_ident.c161 const struct mbfl_identify_vtbl * mbfl_identify_filter_get_vtbl(enum mbfl_no_encoding encoding) argument
168 if (vtbl->encoding == encoding) {
176 mbfl_identify_filter *mbfl_identify_filter_new(enum mbfl_no_encoding encoding) argument
186 if (mbfl_identify_filter_init(filter, encoding)) {
194 int mbfl_identify_filter_init(mbfl_identify_filter *filter, enum mbfl_no_encoding encoding) argument
198 /* encoding structure */
199 filter->encoding = mbfl_no2encoding(encoding);
200 if (filter->encoding
[all...]
H A Dmbfl_ident.h49 const mbfl_encoding *encoding; member in struct:_mbfl_identify_filter
53 enum mbfl_no_encoding encoding; member in struct:mbfl_identify_vtbl
59 MBFLAPI extern const struct mbfl_identify_vtbl * mbfl_identify_filter_get_vtbl(enum mbfl_no_encoding encoding);
60 MBFLAPI extern mbfl_identify_filter * mbfl_identify_filter_new(enum mbfl_no_encoding encoding);
62 MBFLAPI extern int mbfl_identify_filter_init(mbfl_identify_filter *filter, enum mbfl_no_encoding encoding);
/PHP_5_3/ext/dom/
H A Ddocument.c140 ZEND_ARG_INFO(0, encoding)
321 /* {{{ encoding string
322 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-encoding
328 char *encoding; local
337 encoding = (char *) docp->encoding;
340 if (encoding != NULL) {
341 ZVAL_STRING(*retval, encoding, 1);
375 if (docp->encoding != NULL) {
376 xmlFree((xmlChar *)docp->encoding);
1456 char *encoding, *version = NULL; local
2255 const char *encoding; local
[all...]
/PHP_5_3/ext/mbstring/
H A Dmbstring.c102 static size_t php_mb_oddlen(const unsigned char *string, size_t length, const char *encoding TSRMLS_DC);
224 ZEND_ARG_INFO(0, encoding)
232 ZEND_ARG_INFO(0, encoding)
236 ZEND_ARG_INFO(0, encoding)
244 ZEND_ARG_INFO(0, encoding)
259 ZEND_ARG_INFO(0, encoding)
266 ZEND_ARG_INFO(0, encoding)
273 ZEND_ARG_INFO(0, encoding)
280 ZEND_ARG_INFO(0, encoding)
287 ZEND_ARG_INFO(0, encoding)
1927 enum mbfl_no_encoding encoding; local
2546 char *str, *encoding; local
2619 char *encoding; local
2716 char *str, *trimmarker, *encoding; local
3081 const mbfl_encoding *encoding; local
3097 const mbfl_encoding *encoding; local
3528 char *str, *encoding; local
4579 enum mbfl_no_encoding encoding = mbfl_no_encoding_invalid; local
[all...]
H A Dphp_mbregex.c181 * encoding name resolver
184 /* {{{ encoding name map */
654 /* {{{ proto string mb_regex_encoding([string encoding])
655 Returns the current encoding for regex as a string. */
659 char *encoding; local
663 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &encoding, &encoding_len) == FAILURE) {
676 mbctype = _php_mb_regex_name2mbctype(encoding);
679 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown encoding \"%s\"", encoding);
/PHP_5_3/ext/pspell/
H A Dpspell.c80 ZEND_ARG_INFO(0, encoding)
89 ZEND_ARG_INFO(0, encoding)
135 ZEND_ARG_INFO(0, encoding)
258 /* {{{ proto int pspell_new(string language [, string spelling [, string jargon [, string encoding [, int mode]]]])
262 char *language, *spelling = NULL, *jargon = NULL, *encoding = NULL; local
281 &jargon, &jargon_len, &encoding, &encoding_len, &mode) == FAILURE) {
319 pspell_config_replace(config, "encoding", encoding);
355 /* {{{ proto int pspell_new_personal(string personal, string language [, string spelling [, string jargon [, string encoding [, int mode]]]])
359 char *personal, *language, *spelling = NULL, *jargon = NULL, *encoding local
696 char *language, *spelling = NULL, *jargon = NULL, *encoding = NULL; local
[all...]
/PHP_5_3/ext/soap/
H A Dphp_soap.h105 xmlCharEncodingHandlerPtr encoding; member in struct:_soapService
170 xmlCharEncodingHandlerPtr encoding; variable
H A Dsoap.c320 ZEND_ARG_INFO(0, encoding)
697 SOAP_GLOBAL(encoding) = NULL;
1051 /* {{{ proto object SoapVar::SoapVar ( mixed data, int encoding [, string type_name [, string type_namespace [, string node_name [, string node_namespace]]]])
1266 if (zend_hash_find(ht, "encoding", sizeof("encoding"), (void**)&tmp) == SUCCESS &&
1268 xmlCharEncodingHandlerPtr encoding; local
1270 encoding = xmlFindCharEncodingHandler(Z_STRVAL_PP(tmp));
1271 if (encoding == NULL) {
1272 php_error_docref(NULL TSRMLS_CC, E_ERROR, "Invalid 'encoding' option - '%s'", Z_STRVAL_PP(tmp));
1274 service->encoding
1693 zval **server_vars, **encoding; local
2641 xmlCharEncodingHandlerPtr encoding; local
[all...]
/PHP_5_3/ext/xml/
H A Dcompat.c450 XML_ParserCreate(const XML_Char *encoding) argument
452 return XML_ParserCreate_MM(encoding, NULL, NULL);
456 XML_ParserCreateNS(const XML_Char *encoding, const XML_Char sep) argument
461 return XML_ParserCreate_MM(encoding, NULL, tmp);
465 XML_ParserCreate_MM(const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *sep) argument
582 the inifite loop in libxml <= 2.6.17 which occurs when no encoding
653 "Unknown encoding",
654 "Unsupported encoding",
702 "Invalid XML encoding name",
704 "Invalid encoding",
[all...]
H A Dphp_xml.h138 PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding);
H A Dxml.c100 ZEND_ARG_INFO(0, encoding)
104 ZEND_ARG_INFO(0, encoding)
272 /* All the encoding functions are set to NULL right now, since all
273 * the encoding is currently done internally by expat/xmltok.
402 static zval *_xml_xmlchar_zval(const XML_Char *s, int len, const XML_Char *encoding) argument
415 Z_STRVAL_P(ret) = xml_utf8_decode(s, len, &Z_STRLEN_P(ret), encoding);
609 PHPAPI char *xml_utf8_encode(const char *s, int len, int *newlen, const XML_Char *encoding) argument
615 xml_encoding *enc = xml_get_encoding(encoding);
621 /* If the target encoding was unknown, fail */
764 PHPAPI char *xml_utf8_decode(const XML_Char *s, int len, int *newlen, const XML_Char *encoding) argument
1276 XML_Char *encoding; local
[all...]
/PHP_5_3/ext/xmlreader/
H A Dphp_xmlreader.c862 /* {{{ proto boolean XMLReader::open(string URI [, string encoding [, int options]])
871 char *encoding = NULL; local
875 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!l", &source, &source_len, &encoding, &encoding_len, &options) == FAILURE) {
897 reader = xmlReaderForFile(valid_file, encoding, options);
1045 /* {{{ proto boolean XMLReader::XML(string source [, string encoding [, int options]])
1053 char *source, *uri = NULL, *encoding = NULL; local
1059 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!l", &source, &source_len, &encoding, &encoding_len, &options) == FAILURE) {
1098 ret = xmlTextReaderSetup(reader, NULL, uri, encoding, options);
1238 ZEND_ARG_INFO(0, encoding)
1270 ZEND_ARG_INFO(0, encoding)
[all...]
/PHP_5_3/ext/xmlrpc/
H A Dxmlrpc-epi-php.c87 ZEND_ARG_INFO(0, encoding)
93 ZEND_ARG_INFO(0, encoding)
236 #define ENCODING_KEY "encoding"
377 options->xmlrpc_out.xml_elem_opts.encoding = ENCODING_DEFAULT;
424 /* encoding code set */
427 options->xmlrpc_out.xml_elem_opts.encoding = estrdup(Z_STRVAL_PP(val));
740 if (strcmp(out.xmlrpc_out.xml_elem_opts.encoding, ENCODING_DEFAULT) != 0) {
741 efree((char *)out.xmlrpc_out.xml_elem_opts.encoding);
783 opts.xml_elem_opts.encoding = encoding_in ? utf8_get_encoding_id_from_string(encoding_in) : ENCODING_DEFAULT;
813 /* {{{ proto array xmlrpc_decode_request(string xml, string& method [, string encoding])
817 char *xml, *encoding = NULL; local
[all...]
/PHP_5_3/Zend/
H A Dzend_multibyte.c567 /* if encoding specfic filters exist, use them */
606 zend_encoding *encoding; local
612 for (i = 0; (encoding = zend_encoding_table[i]) != NULL; i++) {
613 if (zend_binary_strcasecmp(encoding->name, strlen(encoding->name), encoding_name, strlen(encoding_name)) == 0) {
614 return encoding;
618 for (i = 0; (encoding = zend_encoding_table[i]) != NULL; i++) {
619 if (encoding->aliases != NULL) {
620 for (j = 0; (*encoding->aliases)[j] != NULL; j++) {
621 if (zend_binary_strcasecmp((*encoding
968 zend_encoding **list, **entry, *encoding; local
[all...]
H A Dzend_multibyte.h39 typedef size_t (*zend_encoding_oddlen)(const unsigned char *string, size_t length, const char *encoding TSRMLS_DC);
44 const char *name; /* encoding name */
45 const char *(*aliases)[]; /* encoding name aliases */

Completed in 45 milliseconds

12