index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
DBusString implementation details
[
group__DBusInternals.html
D-BUS internal implementation details
]
structDBusString.html
DBusString
implementation details.
#_details
More...
Defines
#define
group__DBusStringInternals.html#ga0
_DBUS_STRING_MAX_MAX_LENGTH
(_DBUS_INT32_MAX - _DBUS_STRING_ALLOCATION_PADDING)
This is the maximum max length (and thus also the maximum length) of a
structDBusString.html
DBusString
.
#define
group__DBusStringInternals.html#ga1
DBUS_GENERIC_STRING_PREAMBLE
(real)   _dbus_assert ((real) != NULL); _dbus_assert (!(real)->invalid); _dbus_assert ((real)->len >= 0); _dbus_assert ((real)->allocated >= 0); _dbus_assert ((real)->max_length >= 0); _dbus_assert ((real)->len <= ((real)->allocated - _DBUS_STRING_ALLOCATION_PADDING)); _dbus_assert ((real)->len <= (real)->max_length)
Checks a bunch of assertions about a string object.
#ga1
#define
group__DBusStringInternals.html#ga2
DBUS_STRING_PREAMBLE
(str)
Checks assertions about a string object that needs to be modifiable - may not be locked or const.
#ga2
#define
group__DBusStringInternals.html#ga3
DBUS_LOCKED_STRING_PREAMBLE
(str)
Checks assertions about a string object that may be locked but can't be const.
#ga3
#define
group__DBusStringInternals.html#ga4
DBUS_CONST_STRING_PREAMBLE
(str)
Checks assertions about a string that may be const or locked.
#ga4
Detailed Description
structDBusString.html
DBusString
implementation details.
The guts of
structDBusString.html
DBusString
.
Define Documentation
#define DBUS_CONST_STRING_PREAMBLE
(
str
)
Value:
const
structDBusRealString.html
DBusRealString
*real = (
structDBusRealString.html
DBusRealString
*) str; \
group__DBusStringInternals.html#ga1
DBUS_GENERIC_STRING_PREAMBLE
(real)
Checks assertions about a string that may be const or locked.
Also declares the "real" variable pointing to
structDBusRealString.html
DBusRealString
.
Parameters:
str
the string.
Definition at line
dbus-string-private_8h-source.html#l00107
107
of file
dbus-string-private_8h-source.html
dbus-string-private.h
.
Referenced by
dbus-string_8c-source.html#l00696
_dbus_string_copy_data()
,
dbus-string_8c-source.html#l00720
_dbus_string_copy_to_buffer()
,
dbus-string_8c-source.html#l01878
_dbus_string_find_blank()
,
dbus-string-util_8c-source.html#l00088
_dbus_string_find_byte_backward()
,
dbus-string_8c-source.html#l01810
_dbus_string_find_to()
,
dbus-string_8c-source.html#l01916
_dbus_string_skip_blank()
,
dbus-string-util_8c-source.html#l00123
_dbus_string_skip_white()
,
dbus-string_8c-source.html#l02497
_dbus_string_validate_ascii()
,
dbus-string_8c-source.html#l02638
_dbus_string_validate_nul()
, and
dbus-string_8c-source.html#l02540
_dbus_string_validate_utf8()
.
#define DBUS_GENERIC_STRING_PREAMBLE
(
real
)
_dbus_assert ((real) != NULL); _dbus_assert (!(real)->invalid); _dbus_assert ((real)->len >= 0); _dbus_assert ((real)->allocated >= 0); _dbus_assert ((real)->max_length >= 0); _dbus_assert ((real)->len <= ((real)->allocated - _DBUS_STRING_ALLOCATION_PADDING)); _dbus_assert ((real)->len <= (real)->max_length)
Checks a bunch of assertions about a string object.
Parameters:
real
the
structDBusRealString.html
DBusRealString
Definition at line
dbus-string-private_8h-source.html#l00078
78
of file
dbus-string-private_8h-source.html
dbus-string-private.h
.
Referenced by
dbus-string-util_8c-source.html#l00044
_dbus_string_ends_with_c_str()
,
dbus-string_8c-source.html#l02056
_dbus_string_equal()
,
dbus-string_8c-source.html#l02197
_dbus_string_equal_c_str()
,
dbus-string_8c-source.html#l02149
_dbus_string_equal_substring()
, and
dbus-string_8c-source.html#l00261
_dbus_string_free()
.
#define DBUS_LOCKED_STRING_PREAMBLE
(
str
)
Value:
structDBusRealString.html
DBusRealString
*real = (
structDBusRealString.html
DBusRealString
*) str; \
group__DBusStringInternals.html#ga1
DBUS_GENERIC_STRING_PREAMBLE
(real);                                                 \
group__DBusInternalsUtils.html#ga130
_dbus_assert
(!(real)->constant)
Checks assertions about a string object that may be locked but can't be const.
i.e. a string object that we can free. Also declares the "real" variable pointing to
structDBusRealString.html
DBusRealString
.
Parameters:
str
the string
Definition at line
dbus-string-private_8h-source.html#l00098
98
of file
dbus-string-private_8h-source.html
dbus-string-private.h
.
#define DBUS_STRING_PREAMBLE
(
str
)
Value:
structDBusRealString.html
DBusRealString
*real = (
structDBusRealString.html
DBusRealString
*) str; \
group__DBusStringInternals.html#ga1
DBUS_GENERIC_STRING_PREAMBLE
(real);                                          \
group__DBusInternalsUtils.html#ga130
_dbus_assert
(!(real)->constant);                                             \
group__DBusInternalsUtils.html#ga130
_dbus_assert
(!(real)->locked)
Checks assertions about a string object that needs to be modifiable - may not be locked or const.
Also declares the "real" variable pointing to
structDBusRealString.html
DBusRealString
.
Parameters:
str
the string
Definition at line
dbus-string-private_8h-source.html#l00086
86
of file
dbus-string-private_8h-source.html
dbus-string-private.h
.
Referenced by
dbus-string_8c-source.html#l00986
_dbus_string_append()
,
dbus-string_8c-source.html#l01273
_dbus_string_append_byte()
,
dbus-string_8c-source.html#l01253
_dbus_string_append_len()
,
dbus-string_8c-source.html#l01191
_dbus_string_append_printf_valist()
,
dbus-string_8c-source.html#l01382
_dbus_string_delete()
,
dbus-string_8c-source.html#l00456
_dbus_string_get_data_len()
,
dbus-string_8c-source.html#l01091
_dbus_string_insert_2_aligned()
,
dbus-string_8c-source.html#l01115
_dbus_string_insert_4_aligned()
,
dbus-string_8c-source.html#l01139
_dbus_string_insert_8_aligned()
,
dbus-string_8c-source.html#l01167
_dbus_string_insert_alignment()
,
dbus-string_8c-source.html#l00580
_dbus_string_insert_byte()
,
dbus-string_8c-source.html#l00550
_dbus_string_insert_bytes()
,
dbus-string_8c-source.html#l00811
_dbus_string_lengthen()
,
dbus-string_8c-source.html#l00853
_dbus_string_set_length()
,
dbus-string_8c-source.html#l00831
_dbus_string_shorten()
,
dbus-string_8c-source.html#l00607
_dbus_string_steal_data()
, and
dbus-string_8c-source.html#l02670
_dbus_string_zero()
.
Generated on Tue Sep 13 01:28:09 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
