/PHP-7.3/ext/intl/ |
H A D | intl_convert.c | 52 const char* src, size_t src_len, in intl_convert_utf8_to_utf16() argument 64 if(src_len > INT32_MAX) { in intl_convert_utf8_to_utf16() 70 u_strFromUTF8( *target, *target_len, &dst_len, src, (int32_t)src_len, status ); in intl_convert_utf8_to_utf16() 92 u_strFromUTF8( dst_buf, dst_len+1, NULL, src, src_len, status ); in intl_convert_utf8_to_utf16() 119 const UChar* src, int32_t src_len, in intl_convert_utf16_to_utf8() argument 127 u_strToUTF8( NULL, 0, &dst_len, src, src_len, status ); in intl_convert_utf16_to_utf8() 141 u_strToUTF8( ZSTR_VAL(dst), dst_len, NULL, src, src_len, status ); in intl_convert_utf16_to_utf8()
|
H A D | intl_convert.h | 25 const char* src, size_t src_len, 29 const UChar* src, int32_t src_len,
|
/PHP-7.3/ext/xmlrpc/libxmlrpc/ |
H A D | encodings.c | 52 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* … in convert() argument 55 if(src && src_len && from_enc && to_enc) { in convert() 56 size_t outlenleft = src_len; in convert() 57 size_t inlenleft = src_len; in convert() 58 int outlen = src_len; in convert()
|
/PHP-7.3/ext/standard/ |
H A D | uuencode.c | 66 PHPAPI zend_string *php_uuencode(char *src, size_t src_len) /* {{{ */ in php_uuencode() argument 75 dest = zend_string_safe_alloc(src_len/2, 3, 46, 0); in php_uuencode() 78 e = src + src_len; in php_uuencode() 130 PHPAPI zend_string *php_uudecode(char *src, size_t src_len) /* {{{ */ in php_uudecode() argument 136 dest = zend_string_alloc((size_t) ceil(src_len * 0.75), 0); in php_uudecode() 139 e = src + src_len; in php_uudecode() 146 if (len > src_len) { in php_uudecode()
|
H A D | php_uuencode.h | 25 PHPAPI zend_string *php_uudecode(char *src, size_t src_len); 26 PHPAPI zend_string *php_uuencode(char *src, size_t src_len);
|
/PHP-7.3/ext/intl/msgformat/ |
H A D | msgformat_parse.c | 31 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t src_len, zval *retur… in msgfmt_do_parse() argument 39 intl_convert_utf8_to_utf16(&usource, &usrc_len, source, src_len, &INTL_DATA_ERROR_CODE(mfo)); in msgfmt_do_parse() 99 size_t src_len = 0; in PHP_FUNCTION() local 105 &slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE ) in PHP_FUNCTION() 149 msgfmt_do_parse(mfo, source, src_len, return_value); in PHP_FUNCTION()
|
/PHP-7.3/ext/intl/normalizer/ |
H A D | normalizer_normalize.c | 62 static int32_t intl_normalize(zend_long form, const UChar *src, int32_t src_len, UChar *dst, int32_… in intl_normalize() argument 71 if (dst_len >= src_len) { in intl_normalize() 72 memmove(dst, src, sizeof(UChar) * src_len); in intl_normalize() 73 dst[src_len] = '\0'; in intl_normalize() 75 return src_len; in intl_normalize() 87 return unorm2_normalize(norm, src, src_len, dst, dst_len, err); in intl_normalize()
|
/PHP-7.3/ext/intl/converter/ |
H A D | converter.c | 562 size_t src_len = sizeof("utf-8") - 1; in PHP_METHOD() local 564 size_t dest_len = src_len; in PHP_METHOD() 568 …if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|s!s!", &dest, &dest_len, &src, &src_len) == FAI… in PHP_METHOD() 572 php_converter_set_encoding(objval, &(objval->src), src, src_len ); in PHP_METHOD() 661 UConverter *src_cnv, const char *src, int32_t src_len, in php_converter_do_convert() argument 676 temp_len = 1 + ucnv_toUChars(src_cnv, NULL, 0, src, src_len, &error); in php_converter_do_convert() 685 temp_len = ucnv_toUChars(src_cnv, temp, temp_len, src, src_len, &error); in php_converter_do_convert() 789 size_t str_len, src_len, dest_len; in PHP_METHOD() local 794 &str, &str_len, &dest, &dest_len, &src, &src_len, &options) == FAILURE) { in PHP_METHOD() 801 if (php_converter_set_encoding(NULL, &src_cnv, src, src_len) && in PHP_METHOD()
|
/PHP-7.3/ext/ftp/ |
H A D | ftp.h | 203 int ftp_rename(ftpbuf_t *ftp, const char *src, const size_t src_len, const char *dest, const size_…
|
H A D | php_ftp.c | 1430 size_t src_len, dest_len; in PHP_FUNCTION() local 1432 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &z_ftp, &src, &src_len, &dest, &dest_len) == FAI… in PHP_FUNCTION() 1441 if (!ftp_rename(ftp, src, src_len, dest, dest_len)) { in PHP_FUNCTION()
|
H A D | ftp.c | 1225 ftp_rename(ftpbuf_t *ftp, const char *src, const size_t src_len, const char *dest, const size_t des… in ftp_rename() argument 1230 if (!ftp_putcmd(ftp, "RNFR", sizeof("RNFR")-1, src, src_len)) { in ftp_rename()
|