Lines Matching refs:maxlen
248 static zend_string *unserialize_str(const unsigned char **p, size_t len, size_t maxlen) in unserialize_str() argument
252 unsigned char *end = *(unsigned char **)p+maxlen; in unserialize_str()
1142 size_t len, len2, len3, maxlen; in php_var_unserialize_internal() local
1161 maxlen = max - YYCURSOR; in php_var_unserialize_internal()
1162 if (maxlen < len || len == 0) { in php_var_unserialize_internal()
1297 size_t len, maxlen; in php_var_unserialize_internal() local
1301 maxlen = max - YYCURSOR; in php_var_unserialize_internal()
1302 if (maxlen < len) { in php_var_unserialize_internal()
1307 if ((str = unserialize_str(&YYCURSOR, len, maxlen)) == NULL) { in php_var_unserialize_internal()
1397 size_t len, maxlen; in php_var_unserialize_internal() local
1401 maxlen = max - YYCURSOR; in php_var_unserialize_internal()
1402 if (maxlen < len) { in php_var_unserialize_internal()