Lines Matching refs:strict
246 …_impl(const unsigned char *in, size_t inl, unsigned char *out, size_t *outl, bool strict) /* {{{ */ in php_base64_decode_impl() argument
270 if (!strict) { in php_base64_decode_impl()
306 if (strict && i % 4 == 1) { in php_base64_decode_impl()
312 if (strict && padding && (padding > 2 || (i + padding) % 4 != 0)) { in php_base64_decode_impl()
371 …DECL(zend_string *php_base64_decode_ex_avx2(const unsigned char *str, size_t length, bool strict));
376 …ECL(zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict));
380 zend_string *php_base64_decode_ex_default(const unsigned char *str, size_t length, bool strict);
384 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) __at…
423 …d_string *(*php_base64_decode_ex_ptr)(const unsigned char *str, size_t length, bool strict) = NULL;
428 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) { in php_base64_decode_ex() argument
429 return php_base64_decode_ex_ptr(str, length, strict); in php_base64_decode_ex()
778 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex() argument
780 zend_string *php_base64_decode_ex_avx2(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex()
782 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex()
848 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex()
859 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_ssse3() argument
871 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_ssse3()
906 zend_string *php_base64_decode_ex_default(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_default() argument
908 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_default()
916 if (!php_base64_decode_impl(str, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_default()
948 bool strict = 0; in PHP_FUNCTION() local
955 Z_PARAM_BOOL(strict) in PHP_FUNCTION()
958 result = php_base64_decode_ex((unsigned char*)str, str_len, strict); in PHP_FUNCTION()