Lines Matching refs:elements
380 …ine int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, zend_long elements, int objprops)
382 while (elements-- > 0) {
452 if (elements && *(*p-1) != ';' && *(*p-1) != '}') {
504 zend_long elements;
511 elements = parse_iv2((*p) + 2, p);
524 return elements;
530 static inline int object_common2(UNSERIALIZE_PARAMETER, zend_long elements)
543 if (elements >= HT_MAX_SIZE - zend_hash_num_elements(ht)) {
547 zend_hash_extend(ht, zend_hash_num_elements(ht) + elements, (ht->u.flags & HASH_FLAG_PACKED));
548 if (!process_nested_data(UNSERIALIZE_PASSTHRU, ht, elements, 1)) {
579 /* If the unserialization failed, mark all elements that have been added to var_hash
796 zend_long elements = parse_iv(start + 2);
801 if (elements < 0 || elements >= HT_MAX_SIZE) {
805 array_init_size(rval, elements);
806 if (elements) {
812 if (!process_nested_data(UNSERIALIZE_PASSTHRU, Z_ARRVAL_P(rval), elements, 0)) {
820 zend_long elements;
823 elements = object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR);
824 if (elements < 0 || elements >= HT_MAX_SIZE) {
827 return object_common2(UNSERIALIZE_PASSTHRU, elements);
832 zend_long elements;
967 elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
969 if (elements < 0) {
979 return object_common2(UNSERIALIZE_PASSTHRU, elements);