Lines Matching refs:flags
184 watch->flags = parent->flags; in phpdbg_create_refcounted_watchpoint()
199 …ZEND_ASSERT(((watch->flags & PHPDBG_WATCH_RECURSIVE) == 0) ^ ((watch->flags & (PHPDBG_WATCH_IMPLIC… in phpdbg_add_watch_collision()
203 int flags = 0; in phpdbg_add_watch_collision() local
205 if (((old->flags ^ watch->flags) & (PHPDBG_WATCH_NORMAL|PHPDBG_WATCH_IMPLICIT)) == 0) { in phpdbg_add_watch_collision()
209 flags = old->flags; in phpdbg_add_watch_collision()
211 if (flags & PHPDBG_WATCH_RECURSIVE) { in phpdbg_add_watch_collision()
212 if (!(watch->flags & PHPDBG_WATCH_RECURSIVE) && !--cur->refs) { in phpdbg_add_watch_collision()
216 if (flags & PHPDBG_WATCH_NORMAL) { in phpdbg_add_watch_collision()
224 if (flags & PHPDBG_WATCH_IMPLICIT) { in phpdbg_add_watch_collision()
228 old->flags = watch->flags; in phpdbg_add_watch_collision()
233 if (watch->flags & PHPDBG_WATCH_RECURSIVE) { in phpdbg_add_watch_collision()
234 if (!(flags & PHPDBG_WATCH_RECURSIVE) && !cur->refs++) { in phpdbg_add_watch_collision()
240 coll.refs = (watch->flags & PHPDBG_WATCH_RECURSIVE) != 0; in phpdbg_add_watch_collision()
252 if (watch->flags & PHPDBG_WATCH_NORMAL) { in phpdbg_add_watch_collision()
256 if (watch->flags & PHPDBG_WATCH_IMPLICIT) { in phpdbg_add_watch_collision()
289 ref->flags = watch->flags; in phpdbg_create_reference_watch()
351 if (watch->flags & PHPDBG_WATCH_RECURSIVE) { in phpdbg_create_watchpoint()
352 if (old_watch->flags & PHPDBG_WATCH_RECURSIVE) { in phpdbg_create_watchpoint()
355 old_watch->flags &= ~(PHPDBG_WATCH_SIMPLE | PHPDBG_WATCH_IMPLICIT); in phpdbg_create_watchpoint()
356 old_watch->flags |= PHPDBG_WATCH_RECURSIVE; in phpdbg_create_watchpoint()
360 if (!(old_watch->flags & PHPDBG_WATCH_RECURSIVE)) { in phpdbg_create_watchpoint()
361 old_watch->flags |= watch->flags & (PHPDBG_WATCH_IMPLICIT | PHPDBG_WATCH_SIMPLE); in phpdbg_create_watchpoint()
407 watch->flags |= PHPDBG_WATCH_SIMPLE; in phpdbg_create_simple_watchpoint()
432 watch->flags |= PHPDBG_WATCH_ARRAY; in phpdbg_create_array_watchpoint()
434 watch->flags |= PHPDBG_WATCH_OBJECT; in phpdbg_create_array_watchpoint()
447 watch->flags |= PHPDBG_WATCH_RECURSIVE; in phpdbg_create_recursive_watchpoint()
463 new_watch->flags = PHPDBG_WATCH_RECURSIVE; in phpdbg_create_recursive_ht_watch()
474 …ch->str), (watch->flags & PHPDBG_WATCH_ARRAY) ? "[" : "->", phpdbg_get_property_key(ZSTR_VAL(new_w… in phpdbg_create_recursive_ht_watch()
500 new_watch->flags = PHPDBG_WATCH_RECURSIVE; in phpdbg_create_recursive_zval_watch()
508 new_watch->flags |= PHPDBG_WATCH_ARRAY; in phpdbg_create_recursive_zval_watch()
510 new_watch->flags |= PHPDBG_WATCH_OBJECT; in phpdbg_create_recursive_zval_watch()
529 ZEND_ASSERT(!(parent->flags & PHPDBG_WATCH_RECURSIVE)); in phpdbg_delete_implicit_parents()
530 ZEND_ASSERT(parent->flags & PHPDBG_WATCH_IMPLICIT); in phpdbg_delete_implicit_parents()
536 parent->flags &= ~PHPDBG_WATCH_IMPLICIT; in phpdbg_delete_implicit_parents()
537 if (!(parent->flags & PHPDBG_WATCH_SIMPLE)) { in phpdbg_delete_implicit_parents()
574 …R_VAL(watch->str), (watch->flags & PHPDBG_WATCH_ARRAY) ? "[" : "->", phpdbg_get_property_key(ZSTR_… in phpdbg_delete_ht_watchpoints_recursive()
576 …N(watch->str), ZSTR_VAL(watch->str), (watch->flags & PHPDBG_WATCH_ARRAY) ? "[" : "->", numkey, (wa… in phpdbg_delete_ht_watchpoints_recursive()
613 …if (!(watch->flags & PHPDBG_WATCH_NORMAL) || (watch->parent && (watch->parent->flags & PHPDBG_WATC… in phpdbg_delete_watchpoint()
617 if (watch->flags & PHPDBG_WATCH_RECURSIVE) { in phpdbg_delete_watchpoint()
660 watch->flags |= PHPDBG_WATCH_IMPLICIT; in phpdbg_watchpoint_parse_step()
666 watch->flags = PHPDBG_WATCH_IMPLICIT; in phpdbg_watchpoint_parse_step()
760 if (watch->flags & PHPDBG_WATCH_NORMAL) { in phpdbg_watch_HashTable_dtor()
763 … watchpoint%s", (int) ZSTR_LEN(watch->str), ZSTR_VAL(watch->str), (watch->flags & PHPDBG_WATCH_REC… in phpdbg_watch_HashTable_dtor()
780 if (watch->flags & PHPDBG_WATCH_RECURSIVE) { in phpdbg_watch_HashTable_dtor()
852 if (watch->flags & PHPDBG_WATCH_IMPLICIT) {
853 watch->flags = PHPDBG_WATCH_SIMPLE; // tiny hack for delete_implicit_parents
983 if (!(PHPDBG_G(flags) & PHPDBG_SHOW_REFCOUNTS)) {
989 if (!(watch->flags & PHPDBG_WATCH_NORMAL)) {
1004 if ((watch->flags & PHPDBG_WATCH_NORMAL) && (removed || show_value)) {
1019 if (watch->flags & PHPDBG_WATCH_NORMAL) {
1032 if ((watch->flags & PHPDBG_WATCH_NORMAL) && show_value) {
1049 if ((watch->flags & PHPDBG_WATCH_NORMAL) && (PHPDBG_G(flags) & PHPDBG_SHOW_REFCOUNTS)) {
1052 if (watch->flags & PHPDBG_WATCH_RECURSIVE) {
1065 if ((watch->flags & PHPDBG_WATCH_NORMAL) && elementDiff) {
1073 if (watch->flags & PHPDBG_WATCH_RECURSIVE) {
1076 …if ((watch->flags & PHPDBG_WATCH_NORMAL) && HT_WATCH_HT(watch)->nInternalPointer != HT_PTR_HT(oldP…
1081 if ((watch->flags & PHPDBG_WATCH_NORMAL) && (PHPDBG_G(flags) & PHPDBG_SHOW_REFCOUNTS)) {
1127 if (watch->flags & PHPDBG_WATCH_NORMAL) {
1128 …y" : watch->type == WATCH_ON_REFCOUNTED ? "refcount" : "variable", watch->flags == PHPDBG_WATCH_RE…
1152 if (watch->type == WATCH_ON_HASHTABLE && (watch->flags & PHPDBG_WATCH_SIMPLE)) {
1154 … watchpoint%s", (int) ZSTR_LEN(watch->str), ZSTR_VAL(watch->str), (watch->flags & PHPDBG_WATCH_REC…