Lines Matching refs:str
56 PHPAPI unsigned char *php_base64_encode(const unsigned char *str, int length, int *ret_length) /* {… in php_base64_encode() argument
58 const unsigned char *current = str; in php_base64_encode()
137 PHPAPI unsigned char *php_base64_decode(const unsigned char *str, int length, int *ret_length) /* {… in php_base64_decode() argument
139 return php_base64_decode_ex(str, length, ret_length, 0); in php_base64_decode()
143 PHPAPI unsigned char *php_base64_decode_ex(const unsigned char *str, int length, int *ret_length, z… in php_base64_decode_ex() argument
145 const unsigned char *current = str; in php_base64_decode_ex()
222 char *str; in PHP_FUNCTION() local
226 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { in PHP_FUNCTION()
229 result = php_base64_encode((unsigned char*)str, str_len, &ret_length); in PHP_FUNCTION()
242 char *str; in PHP_FUNCTION() local
247 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &str, &str_len, &strict) == FAILURE) { in PHP_FUNCTION()
250 result = php_base64_decode_ex((unsigned char*)str, str_len, &ret_length, strict); in PHP_FUNCTION()