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/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, int 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 int 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/ftp/
H A Dphp_ftp.c1278 int src_len, dest_len; local
1280 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rss", &z_ftp, &src, &src_len, &dest, &dest_len) == FAILURE) {
/PHP_TRUNK/ext/standard/
H A Dphp_uuencode.h27 PHPAPI int php_uudecode(char *src, int src_len, char **dest);
28 PHPAPI int php_uuencode(char *src, int src_len, char **dest);
H A Duuencode.c68 PHPAPI int php_uuencode(char *src, int src_len, char **dest) /* {{{ */ argument
74 p = *dest = safe_emalloc((size_t) ceil(src_len * 1.38), 1, 46);
76 e = src + src_len;
127 PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */ argument
132 p = *dest = safe_emalloc((size_t) ceil(src_len * 0.75), 1, 1);
134 e = src + src_len;
141 if (len > src_len) {
196 int src_len, dst_len; local
198 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &src, &src_len) == FAILURE || src_len <
213 int src_len, dst_len; local
[all...]
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c582 int src_len = sizeof("utf-8") - 1; local
584 int dest_len = src_len;
589 &dest, &dest_len, &src, &src_len) == FAILURE) {
595 php_converter_set_encoding(objval, &(objval->src), src, src_len TSRMLS_CC);
683 UConverter *src_cnv, const char *src, int32_t src_len,
699 temp_len = 1 + ucnv_toUChars(src_cnv, NULL, 0, src, src_len, &error);
708 temp_len = ucnv_toUChars(src_cnv, temp, temp_len, src, src_len, &error);
815 int str_len, src_len, dest_len; local
820 &str, &str_len, &dest, &dest_len, &src, &src_len, &options) == FAILURE) {
827 if (php_converter_set_encoding(NULL, &src_cnv, src, src_len TSRMLS_C
682 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...]

Completed in 17 milliseconds