Lines Matching refs:maxlen
233 static char *unserialize_str(const unsigned char **p, size_t *len, size_t maxlen) in unserialize_str() argument
237 unsigned char *end = *(unsigned char **)p+maxlen; in unserialize_str()
674 size_t len, len2, len3, maxlen; in php_var_unserialize() local
695 maxlen = max - YYCURSOR; in php_var_unserialize()
696 if (maxlen < len || len == 0) { in php_var_unserialize()
929 size_t len, maxlen; in php_var_unserialize() local
933 maxlen = max - YYCURSOR; in php_var_unserialize()
934 if (maxlen < len) { in php_var_unserialize()
939 if ((str = unserialize_str(&YYCURSOR, &len, maxlen)) == NULL) { in php_var_unserialize()
985 size_t len, maxlen; in php_var_unserialize() local
989 maxlen = max - YYCURSOR; in php_var_unserialize()
990 if (maxlen < len) { in php_var_unserialize()