Searched refs:src_len (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dencodings.c60 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { argument
63 if(src && src_len && from_enc && to_enc) {
64 size_t outlenleft = src_len;
65 size_t inlenleft = src_len;
66 int outlen = src_len;
/PHP_TRUNK/ext/ftp/
H A Dphp_ftp.c1281 size_t src_len, dest_len; local
1283 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &z_ftp, &src, &src_len, &dest, &dest_len) == FAILURE) {
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c565 size_t src_len = sizeof("utf-8") - 1; local
567 size_t dest_len = src_len;
572 &dest, &dest_len, &src, &src_len) == FAILURE) {
578 php_converter_set_encoding(objval, &(objval->src), src, src_len TSRMLS_CC);
667 UConverter *src_cnv, const char *src, int32_t src_len,
683 temp_len = 1 + ucnv_toUChars(src_cnv, NULL, 0, src, src_len, &error);
692 temp_len = ucnv_toUChars(src_cnv, temp, temp_len, src, src_len, &error);
804 size_t str_len, src_len, dest_len; local
809 &str, &str_len, &dest, &dest_len, &src, &src_len, &options) == FAILURE) {
816 if (php_converter_set_encoding(NULL, &src_cnv, src, src_len TSRMLS_C
666 php_converter_do_convert(UConverter *dest_cnv, char **pdest, int32_t *pdest_len, UConverter *src_cnv, const char *src, int32_t src_len, php_converter_object *objval TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/intl/
H A Dintl_convert.c48 const char* src, int src_len,
60 u_strFromUTF8( *target, *target_len, &dst_len, src, src_len, status );
82 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status );
112 const UChar* src, int src_len,
120 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status );
134 u_strToUTF8( dst_buf, dst_len, NULL, src, src_len, status );
46 intl_convert_utf8_to_utf16( UChar** target, int* target_len, const char* src, int src_len, UErrorCode* status ) argument
110 intl_convert_utf16_to_utf8( char** target, int* target_len, const UChar* src, int src_len, UErrorCode* status ) argument
H A Dintl_convert.h25 const char* src, int src_len,
30 const UChar* src, int src_len,
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_parse.c31 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t src_len, zval *return_value TSRMLS_DC) argument
39 intl_convert_utf8_to_utf16(&usource, &usrc_len, source, src_len, &INTL_DATA_ERROR_CODE(mfo));
99 size_t src_len = 0; local
105 &slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE )
147 msgfmt_do_parse(mfo, source, src_len, return_value TSRMLS_CC);
/PHP_TRUNK/ext/standard/
H A Dphp_uuencode.h27 PHPAPI zend_string *php_uudecode(char *src, size_t src_len);
28 PHPAPI zend_string *php_uuencode(char *src, size_t src_len);
H A Duuencode.c68 PHPAPI zend_string *php_uuencode(char *src, size_t src_len) /* {{{ */ argument
75 dest = zend_string_alloc((size_t)ceil(src_len * 1.38) + 46, 0);
78 e = src + src_len;
130 PHPAPI zend_string *php_uudecode(char *src, size_t src_len) /* {{{ */ argument
136 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0);
139 e = src + src_len;
146 if (len > src_len) {

Completed in 55 milliseconds