Lines Matching refs:strict
250 …_impl(const unsigned char *in, size_t inl, unsigned char *out, size_t *outl, bool strict) /* {{{ */ in php_base64_decode_impl() argument
274 if (!strict) { in php_base64_decode_impl()
310 if (strict && i % 4 == 1) { in php_base64_decode_impl()
316 if (strict && padding && (padding > 2 || (i + padding) % 4 != 0)) { in php_base64_decode_impl()
389 …CL(zend_string *php_base64_decode_ex_avx512(const unsigned char *str, size_t length, bool strict));
393 …nd_string *php_base64_decode_ex_avx512_vbmi(const unsigned char *str, size_t length, bool strict));
398 …DECL(zend_string *php_base64_decode_ex_avx2(const unsigned char *str, size_t length, bool strict));
403 …ECL(zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict));
407 zend_string *php_base64_decode_ex_default(const unsigned char *str, size_t length, bool strict);
411 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) __at…
470 …d_string *(*php_base64_decode_ex_ptr)(const unsigned char *str, size_t length, bool strict) = NULL;
475 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) { in php_base64_decode_ex() argument
476 return php_base64_decode_ex_ptr(str, length, strict); in php_base64_decode_ex()
559 zend_string *php_base64_decode_ex_avx512_vbmi(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_avx512_vbmi() argument
613 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_avx512_vbmi()
687 zend_string *php_base64_decode_ex_avx512(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_avx512() argument
746 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_avx512()
1080 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex() argument
1082 zend_string *php_base64_decode_ex_avx2(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex()
1084 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex()
1150 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex()
1161 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_ssse3() argument
1173 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_ssse3()
1208 zend_string *php_base64_decode_ex_default(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_default() argument
1210 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, bool strict) in php_base64_decode_ex_default()
1218 if (!php_base64_decode_impl(str, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_default()
1250 bool strict = 0; in PHP_FUNCTION() local
1257 Z_PARAM_BOOL(strict) in PHP_FUNCTION()
1260 result = php_base64_decode_ex((unsigned char*)str, str_len, strict); in PHP_FUNCTION()