Lines Matching refs:DBusString
41 * @defgroup DBusString DBusString class
43 * @brief DBusString data structure for safer string handling
45 * Types and functions related to DBusString. DBusString is intended
52 * A DBusString has a maximum length set at initialization time; this
66 * @todo #DBusString needs a lot of cleaning up; some of the
74 * @addtogroup DBusString
132 _dbus_string_init_preallocated (DBusString *str,
139 _dbus_assert (sizeof (DBusString) == sizeof (DBusRealString));
175 _dbus_string_init (DBusString *str)
190 _dbus_string_init_const (DBusString *str,
210 _dbus_string_init_const_len (DBusString *str,
242 _dbus_string_free (DBusString *str)
294 _dbus_string_lock (DBusString *str)
367 _dbus_string_compact (DBusString *str,
421 * This function should be little-used, extend DBusString or add
429 _dbus_string_get_data (DBusString *str)
446 _dbus_string_get_const_data (const DBusString *str)
468 _dbus_string_get_data_len (DBusString *str,
492 _dbus_string_get_const_data_len (const DBusString *str,
516 _dbus_string_set_byte (DBusString *str,
540 _dbus_string_get_byte (const DBusString *str,
562 _dbus_string_insert_bytes (DBusString *str,
592 _dbus_string_insert_byte (DBusString *str,
619 _dbus_string_steal_data (DBusString *str,
650 _dbus_string_copy_data (const DBusString *str,
666 * Copies the contents of a DBusString into a different buffer. It is
675 _dbus_string_copy_to_buffer (const DBusString *str,
688 * Copies the contents of a DBusString into a different buffer. It is
697 _dbus_string_copy_to_buffer_with_nul (const DBusString *str,
717 _dbus_string_get_length (const DBusString *str)
738 _dbus_string_lengthen (DBusString *str,
758 _dbus_string_shorten (DBusString *str,
780 _dbus_string_set_length (DBusString *str,
790 align_insert_point_then_open_gap (DBusString *str,
839 align_length_then_lengthen (DBusString *str,
861 _dbus_string_align_length (DBusString *str,
877 _dbus_string_alloc_space (DBusString *str,
895 if (!_dbus_string_lengthen ((DBusString*)real, buffer_len))
906 * Appends a nul-terminated C-style string to a DBusString.
908 * @param str the DBusString
913 _dbus_string_append (DBusString *str,
964 * @param str the DBusString
970 _dbus_string_insert_2_aligned (DBusString *str,
988 * @param str the DBusString
994 _dbus_string_insert_4_aligned (DBusString *str,
1012 * @param str the DBusString
1018 _dbus_string_insert_8_aligned (DBusString *str,
1040 * @param str the DBusString
1046 _dbus_string_insert_alignment (DBusString *str,
1062 * to the #DBusString.
1070 _dbus_string_append_printf_valist (DBusString *str,
1104 * to the #DBusString.
1111 _dbus_string_append_printf (DBusString *str,
1126 * Appends block of bytes with the given length to a DBusString.
1128 * @param str the DBusString
1134 _dbus_string_append_len (DBusString *str,
1154 _dbus_string_append_byte (DBusString *str,
1181 * Deletes a segment of a DBusString with length len starting at
1185 * @param str the DBusString
1190 _dbus_string_delete (DBusString *str,
1256 _dbus_string_move (DBusString *source,
1258 DBusString *dest,
1280 _dbus_string_copy (const DBusString *source,
1282 DBusString *dest,
1305 _dbus_string_move_len (DBusString *source,
1308 DBusString *dest,
1372 _dbus_string_copy_len (const DBusString *source,
1375 DBusString *dest,
1401 _dbus_string_replace_len (const DBusString *source,
1404 DBusString *dest,
1464 _dbus_string_split_on_byte (DBusString *source,
1466 DBusString *tail)
1609 _dbus_string_find (const DBusString *str,
1632 _dbus_string_find_eol (const DBusString *str,
1702 _dbus_string_find_to (const DBusString *str,
1770 _dbus_string_find_blank (const DBusString *str,
1808 _dbus_string_skip_blank (const DBusString *str,
1842 _dbus_string_skip_white (const DBusString *str,
1875 _dbus_string_skip_white_reverse (const DBusString *str,
1914 _dbus_string_pop_line (DBusString *source,
1915 DBusString *dest)
1959 _dbus_string_delete_first_word (DBusString *str)
1977 _dbus_string_delete_leading_blanks (DBusString *str)
1994 _dbus_string_chop_white(DBusString *str)
2009 * Tests two DBusString for equality.
2018 _dbus_string_equal (const DBusString *a,
2019 const DBusString *b)
2048 * Tests two DBusString for equality up to the given length.
2061 _dbus_string_equal_len (const DBusString *a,
2062 const DBusString *b,
2093 * Tests two sub-parts of two DBusString for equality. The specified
2109 _dbus_string_equal_substring (const DBusString *a,
2112 const DBusString *b,
2157 _dbus_string_equal_c_str (const DBusString *a,
2193 _dbus_string_starts_with_c_str (const DBusString *a,
2230 _dbus_string_append_byte_as_hex (DBusString *str,
2264 _dbus_string_hex_encode (const DBusString *source,
2266 DBusString *dest,
2269 DBusString result;
2314 _dbus_string_hex_decode (const DBusString *source,
2317 DBusString *dest,
2320 DBusString result;
2446 * @todo this is inconsistent with most of DBusString in that
2455 _dbus_string_validate_ascii (const DBusString *str,
2490 _dbus_string_tolower_ascii (const DBusString *str,
2521 _dbus_string_toupper_ascii (const DBusString *str,
2551 * @todo this is inconsistent with most of DBusString in that
2560 _dbus_string_validate_utf8 (const DBusString *str,
2649 * @todo this is inconsistent with most of DBusString in that
2658 _dbus_string_validate_nul (const DBusString *str,
2690 _dbus_string_zero (DBusString *str)