Lines Matching refs:watches

69     g_hash_table_unref(s->watches);  in xs_impl_delete()
497 GString *watches = g_string_new(NULL); in do_test_xs_node_tx() local
506 watch_cb, watches); in do_test_xs_node_tx()
508 g_assert(watches->len == strlen("somewatch")); in do_test_xs_node_tx()
509 g_assert(!strcmp(watches->str, "somewatch")); in do_test_xs_node_tx()
510 g_string_truncate(watches, 0); in do_test_xs_node_tx()
517 g_assert(!strcmp(watches->str, in do_test_xs_node_tx()
519 g_string_truncate(watches, 0); in do_test_xs_node_tx()
531 g_assert(!strcmp(watches->str, in do_test_xs_node_tx()
533 g_string_truncate(watches, 0); in do_test_xs_node_tx()
536 g_assert(!watches->len); in do_test_xs_node_tx()
543 g_assert(!watches->len); in do_test_xs_node_tx()
572 g_assert(!strcmp(watches->str, in do_test_xs_node_tx()
574 g_string_truncate(watches, 0); in do_test_xs_node_tx()
576 g_assert(!watches->len); in do_test_xs_node_tx()
583 watch_cb, watches); in do_test_xs_node_tx()
599 g_string_free(watches, true); in do_test_xs_node_tx()
621 GString *watches = g_string_new(NULL); in test_xs_node_tx_rm() local
630 watch_cb, watches); in test_xs_node_tx_rm()
632 g_assert(watches->len == strlen("somewatch")); in test_xs_node_tx_rm()
633 g_assert(!strcmp(watches->str, "somewatch")); in test_xs_node_tx_rm()
634 g_string_truncate(watches, 0); in test_xs_node_tx_rm()
641 g_assert(!strcmp(watches->str, in test_xs_node_tx_rm()
643 g_string_truncate(watches, 0); in test_xs_node_tx_rm()
653 g_assert(!watches->len); in test_xs_node_tx_rm()
669 g_assert(!strcmp(watches->str, "some/deep/darkwatch")); in test_xs_node_tx_rm()
670 g_string_truncate(watches, 0); in test_xs_node_tx_rm()
679 watch_cb, watches); in test_xs_node_tx_rm()
682 g_string_free(watches, true); in test_xs_node_tx_rm()
689 GString *watches = g_string_new(NULL); in test_xs_node_tx_resurrect() local
715 watch_cb, watches); in test_xs_node_tx_resurrect()
717 g_assert(watches->len == strlen("somewatch")); in test_xs_node_tx_resurrect()
718 g_assert(!strcmp(watches->str, "somewatch")); in test_xs_node_tx_resurrect()
719 g_string_truncate(watches, 0); in test_xs_node_tx_resurrect()
729 g_assert(!watches->len); in test_xs_node_tx_resurrect()
747 g_assert(strstr(watches->str, "some/deep/dark/different/pathwatch")); in test_xs_node_tx_resurrect()
749 g_assert(strstr(watches->str, "some/deep/dark/relativewatch")); in test_xs_node_tx_resurrect()
751 g_assert(strstr(watches->str, "some/deep/darkwatch")); in test_xs_node_tx_resurrect()
753 g_string_truncate(watches, 0); in test_xs_node_tx_resurrect()
764 watch_cb, watches); in test_xs_node_tx_resurrect()
767 g_string_free(watches, true); in test_xs_node_tx_resurrect()
774 GString *watches = g_string_new(NULL); in test_xs_node_tx_resurrect2() local
800 watch_cb, watches); in test_xs_node_tx_resurrect2()
802 g_assert(watches->len == strlen("somewatch")); in test_xs_node_tx_resurrect2()
803 g_assert(!strcmp(watches->str, "somewatch")); in test_xs_node_tx_resurrect2()
804 g_string_truncate(watches, 0); in test_xs_node_tx_resurrect2()
814 g_assert(!watches->len); in test_xs_node_tx_resurrect2()
832 g_assert(strstr(watches->str, "some/deep/dark/relative/pathwatch")); in test_xs_node_tx_resurrect2()
834 g_assert(strstr(watches->str, "some/deep/darkwatch")); in test_xs_node_tx_resurrect2()
836 g_string_truncate(watches, 0); in test_xs_node_tx_resurrect2()
850 watch_cb, watches); in test_xs_node_tx_resurrect2()
853 g_string_free(watches, true); in test_xs_node_tx_resurrect2()