Lines Matching defs:line
749 DBusString line;
751 #define FIRST_LINE "this is a line"
752 #define SECOND_LINE "this is a second line"
753 /* third line is empty */
755 #define FOURTH_LINE "this is a fourth line"
763 if (!_dbus_string_init (&line))
766 if (!_dbus_string_pop_line (&str, &line))
767 _dbus_assert_not_reached ("failed to pop first line");
769 _dbus_assert (_dbus_string_equal_c_str (&line, FIRST_LINE));
771 if (!_dbus_string_pop_line (&str, &line))
772 _dbus_assert_not_reached ("failed to pop second line");
774 _dbus_assert (_dbus_string_equal_c_str (&line, SECOND_LINE));
776 if (!_dbus_string_pop_line (&str, &line))
777 _dbus_assert_not_reached ("failed to pop third line");
779 _dbus_assert (_dbus_string_equal_c_str (&line, THIRD_LINE));
781 if (!_dbus_string_pop_line (&str, &line))
782 _dbus_assert_not_reached ("failed to pop fourth line");
784 _dbus_assert (_dbus_string_equal_c_str (&line, FOURTH_LINE));
787 _dbus_string_free (&line);