Lines Matching refs:elements

376 …ine int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, zend_long elements, int objprops)  in process_nested_data()  argument
378 while (elements-- > 0) { in process_nested_data()
448 if (elements && *(*p-1) != ';' && *(*p-1) != '}') { in process_nested_data()
500 zend_long elements; in object_common1() local
507 elements = parse_iv2((*p) + 2, p); in object_common1()
520 return elements; in object_common1()
526 static inline int object_common2(UNSERIALIZE_PARAMETER, zend_long elements) in object_common2() argument
539 if (elements >= HT_MAX_SIZE - zend_hash_num_elements(ht)) { in object_common2()
543 zend_hash_extend(ht, zend_hash_num_elements(ht) + elements, (ht->u.flags & HASH_FLAG_PACKED)); in object_common2()
544 if (!process_nested_data(UNSERIALIZE_PASSTHRU, ht, elements, 1)) { in object_common2()
1153 zend_long elements; in php_var_unserialize_internal() local
1288 elements = object_common1(UNSERIALIZE_PASSTHRU, ce); in php_var_unserialize_internal()
1290 if (elements < 0) { in php_var_unserialize_internal()
1300 return object_common2(UNSERIALIZE_PASSTHRU, elements); in php_var_unserialize_internal()
1344 zend_long elements = parse_iv(start + 2); in php_var_unserialize_internal() local
1349 if (elements < 0 || elements >= HT_MAX_SIZE) { in php_var_unserialize_internal()
1353 array_init_size(rval, elements); in php_var_unserialize_internal()
1354 if (elements) { in php_var_unserialize_internal()
1360 if (!process_nested_data(UNSERIALIZE_PASSTHRU, Z_ARRVAL_P(rval), elements, 0)) { in php_var_unserialize_internal()
1393 zend_long elements; in php_var_unserialize_internal() local
1396 elements = object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR); in php_var_unserialize_internal()
1397 if (elements < 0 || elements >= HT_MAX_SIZE) { in php_var_unserialize_internal()
1400 return object_common2(UNSERIALIZE_PASSTHRU, elements); in php_var_unserialize_internal()