Lines Matching refs:length

203 …NTRIN_AVX2_FUNC_DECL(zend_string *php_base64_encode_avx2(const unsigned char *str, size_t length));
204 …(zend_string *php_base64_decode_ex_avx2(const unsigned char *str, size_t length, zend_bool strict)…
208 …RIN_SSSE3_FUNC_DECL(zend_string *php_base64_encode_ssse3(const unsigned char *str, size_t length));
209 …zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, zend_bool strict)…
212 zend_string *php_base64_encode_default(const unsigned char *str, size_t length);
213 zend_string *php_base64_decode_ex_default(const unsigned char *str, size_t length, zend_bool strict…
216 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) __attribute__((ifunc…
217 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict)…
250 PHPAPI zend_string *(*php_base64_encode)(const unsigned char *str, size_t length) = NULL;
251 PHPAPI zend_string *(*php_base64_decode_ex)(const unsigned char *str, size_t length, zend_bool stri…
409 while (length > 15) { \
419 length -= 12; \
426 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) in php_base64_encode() argument
428 zend_string *php_base64_encode_avx2(const unsigned char *str, size_t length) in php_base64_encode()
430 zend_string *php_base64_encode_ssse3(const unsigned char *str, size_t length) in php_base64_encode()
437 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode()
440 if (length > 31) { in php_base64_encode()
453 length -= 24; in php_base64_encode()
454 if (length < 28) { in php_base64_encode()
464 o = php_base64_encode_impl(c, length, o); in php_base64_encode()
472 zend_string *php_base64_encode_ssse3(const unsigned char *str, size_t length) in php_base64_encode_ssse3() argument
478 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_ssse3()
483 o = php_base64_encode_impl(c, length, o); in php_base64_encode_ssse3()
582 while (length > 15 + 6 + 2) { \
624 length -= 16; \
632 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex() argument
634 zend_string *php_base64_decode_ex_avx2(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex()
636 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex()
644 result = zend_string_alloc(length, 0); in php_base64_decode_ex()
650 while (length > 31 + 11 + 2) { in php_base64_decode_ex()
695 length -= 32; in php_base64_decode_ex()
702 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex()
713 zend_string *php_base64_decode_ex_ssse3(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex_ssse3() argument
720 result = zend_string_alloc(length, 0); in php_base64_decode_ex_ssse3()
725 if (!php_base64_decode_impl(c, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_ssse3()
739 zend_string *php_base64_encode_default(const unsigned char *str, size_t length) in php_base64_encode_default() argument
741 PHPAPI zend_string *php_base64_encode(const unsigned char *str, size_t length) in php_base64_encode_default()
747 result = zend_string_safe_alloc(((length + 2) / 3), 4 * sizeof(char), 0, 0); in php_base64_encode_default()
750 p = php_base64_encode_impl(str, length, p); in php_base64_encode_default()
760 zend_string *php_base64_decode_ex_default(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex_default() argument
762 PHPAPI zend_string *php_base64_decode_ex(const unsigned char *str, size_t length, zend_bool strict) in php_base64_decode_ex_default()
768 result = zend_string_alloc(length, 0); in php_base64_decode_ex_default()
770 if (!php_base64_decode_impl(str, length, (unsigned char*)ZSTR_VAL(result), &outl, strict)) { in php_base64_decode_ex_default()