Lines Matching refs:elements
343 …ine int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, zend_long elements, int objprops)
345 while (elements-- > 0) {
415 if (elements && *(*p-1) != ';' && *(*p-1) != '}') {
461 zend_long elements;
468 elements = parse_iv2((*p) + 2, p);
481 return elements;
487 static inline int object_common2(UNSERIALIZE_PARAMETER, zend_long elements)
500 if (elements >= HT_MAX_SIZE - zend_hash_num_elements(ht)) {
504 zend_hash_extend(ht, zend_hash_num_elements(ht) + elements, (ht->u.flags & HASH_FLAG_PACKED));
505 if (!process_nested_data(UNSERIALIZE_PASSTHRU, ht, elements, 1)) {
542 /* If the unserialization failed, mark all elements that have been added to var_hash
759 zend_long elements = parse_iv(start + 2);
764 if (elements < 0 || elements >= HT_MAX_SIZE) {
768 array_init_size(rval, elements);
769 if (elements) {
775 if (!process_nested_data(UNSERIALIZE_PASSTHRU, Z_ARRVAL_P(rval), elements, 0)) {
783 zend_long elements;
786 elements = object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR);
787 if (elements < 0 || elements >= HT_MAX_SIZE) {
790 return object_common2(UNSERIALIZE_PASSTHRU, elements);
795 zend_long elements;
930 elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
932 if (elements < 0) {
942 return object_common2(UNSERIALIZE_PASSTHRU, elements);