Lines Matching refs:ar_flags
71 int ar_flags; member
84 if ((intern->ar_flags & SPL_ARRAY_IS_SELF) != 0) { in spl_array_get_hash_table()
89 …} else if ((intern->ar_flags & SPL_ARRAY_USE_OTHER) && (check_std_props == 0 || (intern->ar_flags … in spl_array_get_hash_table()
92 …} else if ((intern->ar_flags & ((check_std_props ? SPL_ARRAY_STD_PROP_LIST : 0) | SPL_ARRAY_IS_SEL… in spl_array_get_hash_table()
183 intern->ar_flags = 0; in spl_array_object_new_ex()
189 intern->ar_flags &= ~ SPL_ARRAY_CLONE_MASK; in spl_array_object_new_ex()
190 intern->ar_flags |= (other->ar_flags & SPL_ARRAY_CLONE_MASK); in spl_array_object_new_ex()
205 intern->ar_flags |= SPL_ARRAY_IS_REF | SPL_ARRAY_USE_OTHER; in spl_array_object_new_ex()
210 intern->ar_flags &= ~SPL_ARRAY_IS_REF; in spl_array_object_new_ex()
262 …if (class_type->iterator_funcs.zf_rewind->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
263 …if (class_type->iterator_funcs.zf_valid->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
264 …if (class_type->iterator_funcs.zf_key->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
265 …if (class_type->iterator_funcs.zf_current->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
266 …if (class_type->iterator_funcs.zf_next->common.scope != parent) intern->ar_flags |= SPL_ARRAY_O… in spl_array_object_new_ex()
542 if ((obj->ar_flags & SPL_ARRAY_IS_SELF) != 0) { in spl_array_unset_dimension_ex()
545 if ((obj->ar_flags & SPL_ARRAY_USE_OTHER) == 0) { in spl_array_unset_dimension_ex()
685 …if (object->pos && (object->ar_flags & SPL_ARRAY_IS_REF) && spl_hash_verify_pos_ex(object, ht TSRM… in spl_array_object_verify_pos_ex()
863 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_read_property()
874 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_write_property()
886 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_get_property_ptr_ptr()
897 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_has_property()
908 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_unset_property()
986 …if ((intern->ar_flags & SPL_ARRAY_IS_REF) && spl_hash_verify_pos_ex(intern, aht TSRMLS_CC) == FAIL… in spl_array_next_ex()
1025 if (object->ar_flags & SPL_ARRAY_OVERLOADED_VALID) { in spl_array_it_valid()
1043 if (object->ar_flags & SPL_ARRAY_OVERLOADED_CURRENT) { in spl_array_it_get_current_data()
1059 if (object->ar_flags & SPL_ARRAY_OVERLOADED_KEY) { in spl_array_it_get_current_key()
1077 if (object->ar_flags & SPL_ARRAY_OVERLOADED_NEXT) { in spl_array_it_move_forward()
1086 …if ((object->ar_flags & SPL_ARRAY_IS_REF) && spl_hash_verify_pos_ex(object, aht TSRMLS_CC) == FAIL… in spl_array_it_move_forward()
1122 if (object->ar_flags & SPL_ARRAY_OVERLOADED_REWIND) { in spl_array_it_rewind()
1132 static void spl_array_set_array(zval *object, spl_array_object *intern, zval **array, long ar_flags… in spl_array_set_array() argument
1142 ar_flags = other->ar_flags & ~SPL_ARRAY_INT_MASK; in spl_array_set_array()
1144 ar_flags |= SPL_ARRAY_USE_OTHER; in spl_array_set_array()
1155 intern->ar_flags |= SPL_ARRAY_IS_SELF; in spl_array_set_array()
1156 intern->ar_flags &= ~SPL_ARRAY_USE_OTHER; in spl_array_set_array()
1158 intern->ar_flags &= ~SPL_ARRAY_IS_SELF; in spl_array_set_array()
1160 intern->ar_flags |= ar_flags; in spl_array_set_array()
1189 if (by_ref && (array_object->ar_flags & SPL_ARRAY_OVERLOADED_CURRENT)) { in spl_array_get_iterator()
1214 long ar_flags = 0; in SPL_METHOD() local
1226 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z|lC", &array, &ar_flags, &ce_get_iterator) … in SPL_METHOD()
1235 ar_flags &= ~SPL_ARRAY_INT_MASK; in SPL_METHOD()
1237 spl_array_set_array(object, intern, array, ar_flags, ZEND_NUM_ARGS() == 1 TSRMLS_CC); in SPL_METHOD()
1286 RETURN_LONG(intern->ar_flags & ~SPL_ARRAY_INT_MASK); in SPL_METHOD()
1296 long ar_flags = 0; in SPL_METHOD() local
1298 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &ar_flags) == FAILURE) { in SPL_METHOD()
1302 intern->ar_flags = (intern->ar_flags & SPL_ARRAY_INT_MASK) | (ar_flags & ~SPL_ARRAY_INT_MASK); in SPL_METHOD()
1652 …RETURN_BOOL(Z_TYPE_PP(entry) == IS_ARRAY || (Z_TYPE_PP(entry) == IS_OBJECT && (intern->ar_flags & … in SPL_METHOD()
1677 if ((intern->ar_flags & SPL_ARRAY_CHILD_ARRAYS_ONLY) != 0) { in SPL_METHOD()
1686 ZVAL_LONG(flags, SPL_ARRAY_USE_OTHER | intern->ar_flags); in SPL_METHOD()
1716 ZVAL_LONG(flags, (intern->ar_flags & SPL_ARRAY_CLONE_MASK)); in SPL_METHOD()
1723 if (!(intern->ar_flags & SPL_ARRAY_IS_SELF)) { in SPL_METHOD()
1809 intern->ar_flags &= ~SPL_ARRAY_CLONE_MASK; in SPL_METHOD()
1810 intern->ar_flags |= flags & SPL_ARRAY_CLONE_MASK; in SPL_METHOD()