Lines Matching refs:ar_flags
65 int ar_flags; member
85 if (intern->ar_flags & SPL_ARRAY_IS_SELF) { in spl_array_get_hash_table_ptr()
90 } else if (intern->ar_flags & SPL_ARRAY_USE_OTHER) { in spl_array_get_hash_table_ptr()
124 while (intern->ar_flags & SPL_ARRAY_USE_OTHER) { in spl_array_is_object()
127 return (intern->ar_flags & SPL_ARRAY_IS_SELF) || Z_TYPE(intern->array) == IS_OBJECT; in spl_array_is_object()
179 intern->ar_flags = 0; in spl_array_object_new_ex()
184 intern->ar_flags &= ~ SPL_ARRAY_CLONE_MASK; in spl_array_object_new_ex()
185 intern->ar_flags |= (other->ar_flags & SPL_ARRAY_CLONE_MASK); in spl_array_object_new_ex()
188 if (other->ar_flags & SPL_ARRAY_IS_SELF) { in spl_array_object_new_ex()
196 intern->ar_flags |= SPL_ARRAY_USE_OTHER; in spl_array_object_new_ex()
200 intern->ar_flags |= SPL_ARRAY_USE_OTHER; in spl_array_object_new_ex()
254 …if (class_type->iterator_funcs_ptr->zf_rewind->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
255 …if (class_type->iterator_funcs_ptr->zf_valid->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
256 …if (class_type->iterator_funcs_ptr->zf_key->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
257 …if (class_type->iterator_funcs_ptr->zf_current->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
258 …if (class_type->iterator_funcs_ptr->zf_next->common.scope != parent) intern->ar_flags |= SPL_AR… in spl_array_object_new_ex()
814 if (intern->ar_flags & SPL_ARRAY_STD_PROP_LIST) { in spl_array_get_properties()
835 if (intern->ar_flags & SPL_ARRAY_IS_SELF) { in spl_array_get_debug_info()
872 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_read_property()
883 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_write_property()
895 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_get_property_ptr_ptr()
911 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_has_property()
922 if ((intern->ar_flags & SPL_ARRAY_ARRAY_AS_PROPS) != 0 in spl_array_unset_property()
1014 if (object->ar_flags & SPL_ARRAY_OVERLOADED_VALID) { in spl_array_it_valid()
1031 if (object->ar_flags & SPL_ARRAY_OVERLOADED_CURRENT) { in spl_array_it_get_current_data()
1048 if (object->ar_flags & SPL_ARRAY_OVERLOADED_KEY) { in spl_array_it_get_current_key()
1065 if (object->ar_flags & SPL_ARRAY_OVERLOADED_NEXT) { in spl_array_it_move_forward()
1101 if (object->ar_flags & SPL_ARRAY_OVERLOADED_REWIND) { in spl_array_it_rewind()
1111 …et_array(zval *object, spl_array_object *intern, zval *array, zend_long ar_flags, int just_array) { in spl_array_set_array() argument
1130 ar_flags = other->ar_flags & ~SPL_ARRAY_INT_MASK; in spl_array_set_array()
1133 ar_flags |= SPL_ARRAY_IS_SELF; in spl_array_set_array()
1136 ar_flags |= SPL_ARRAY_USE_OTHER; in spl_array_set_array()
1152 intern->ar_flags &= ~SPL_ARRAY_IS_SELF & ~SPL_ARRAY_USE_OTHER; in spl_array_set_array()
1153 intern->ar_flags |= ar_flags; in spl_array_set_array()
1174 if (by_ref && (array_object->ar_flags & SPL_ARRAY_OVERLOADED_CURRENT)) { in spl_array_get_iterator()
1199 zend_long ar_flags = 0; in SPL_METHOD() local
1206 …if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "z|lC", &array, &ar_flags, &ce_get_iterator) == F… in SPL_METHOD()
1216 ar_flags &= ~SPL_ARRAY_INT_MASK; in SPL_METHOD()
1218 spl_array_set_array(object, intern, array, ar_flags, ZEND_NUM_ARGS() == 1); in SPL_METHOD()
1229 zend_long ar_flags = 0; in SPL_METHOD() local
1235 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "z|l", &array, &ar_flags) == FAILURE) { in SPL_METHOD()
1241 ar_flags &= ~SPL_ARRAY_INT_MASK; in SPL_METHOD()
1243 spl_array_set_array(object, intern, array, ar_flags, ZEND_NUM_ARGS() == 1); in SPL_METHOD()
1290 RETURN_LONG(intern->ar_flags & ~SPL_ARRAY_INT_MASK); in SPL_METHOD()
1300 zend_long ar_flags = 0; in SPL_METHOD() local
1302 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &ar_flags) == FAILURE) { in SPL_METHOD()
1306 intern->ar_flags = (intern->ar_flags & SPL_ARRAY_INT_MASK) | (ar_flags & ~SPL_ARRAY_INT_MASK); in SPL_METHOD()
1671 …RETURN_BOOL(Z_TYPE_P(entry) == IS_ARRAY || (Z_TYPE_P(entry) == IS_OBJECT && (intern->ar_flags & SP… in SPL_METHOD()
1701 if ((intern->ar_flags & SPL_ARRAY_CHILD_ARRAYS_ONLY) != 0) { in SPL_METHOD()
1711 ZVAL_LONG(&flags, intern->ar_flags); in SPL_METHOD()
1738 ZVAL_LONG(&flags, (intern->ar_flags & SPL_ARRAY_CLONE_MASK)); in SPL_METHOD()
1744 if (!(intern->ar_flags & SPL_ARRAY_IS_SELF)) { in SPL_METHOD()
1825 intern->ar_flags &= ~SPL_ARRAY_CLONE_MASK; in SPL_METHOD()
1826 intern->ar_flags |= flags & SPL_ARRAY_CLONE_MASK; in SPL_METHOD()
1840 intern->ar_flags &= ~SPL_ARRAY_CLONE_MASK; in SPL_METHOD()
1841 intern->ar_flags |= flags & SPL_ARRAY_CLONE_MASK; in SPL_METHOD()
1893 ZEND_ARG_INFO(0, ar_flags)