Lines Matching refs:maxlen
143 static char *unserialize_str(const unsigned char **p, size_t *len, size_t maxlen) in unserialize_str() argument
147 unsigned char *end = *(unsigned char **)p+maxlen; in unserialize_str()
549 size_t len, len2, len3, maxlen; in php_var_unserialize() local
569 maxlen = max - YYCURSOR; in php_var_unserialize()
570 if (maxlen < len || len == 0) { in php_var_unserialize()
761 size_t len, maxlen; in php_var_unserialize() local
765 maxlen = max - YYCURSOR; in php_var_unserialize()
766 if (maxlen < len) { in php_var_unserialize()
771 if ((str = unserialize_str(&YYCURSOR, &len, maxlen)) == NULL) { in php_var_unserialize()
811 size_t len, maxlen; in php_var_unserialize() local
815 maxlen = max - YYCURSOR; in php_var_unserialize()
816 if (maxlen < len) { in php_var_unserialize()