Lines Matching refs:maxlen
195 static char *unserialize_str(const unsigned char **p, size_t *len, size_t maxlen) in unserialize_str() argument
199 unsigned char *end = *(unsigned char **)p+maxlen; in unserialize_str()
634 size_t len, len2, len3, maxlen; in php_var_unserialize() local
655 maxlen = max - YYCURSOR; in php_var_unserialize()
656 if (maxlen < len || len == 0) { in php_var_unserialize()
878 size_t len, maxlen; in php_var_unserialize() local
882 maxlen = max - YYCURSOR; in php_var_unserialize()
883 if (maxlen < len) { in php_var_unserialize()
888 if ((str = unserialize_str(&YYCURSOR, &len, maxlen)) == NULL) { in php_var_unserialize()
928 size_t len, maxlen; in php_var_unserialize() local
932 maxlen = max - YYCURSOR; in php_var_unserialize()
933 if (maxlen < len) { in php_var_unserialize()