D-Bus 1.14.10
|
DBusString implementation details. More...
Macros | |
#define | _DBUS_STRING_MAX_LENGTH (_DBUS_INT32_MAX - _DBUS_STRING_ALLOCATION_PADDING) |
The maximum length of a DBusString. More... | |
#define | DBUS_GENERIC_STRING_PREAMBLE(real) |
Checks a bunch of assertions about a string object. More... | |
#define | DBUS_STRING_PREAMBLE(str) |
Checks assertions about a string object that needs to be modifiable - may not be locked or const. More... | |
#define | DBUS_LOCKED_STRING_PREAMBLE(str) |
Checks assertions about a string object that may be locked but can't be const. More... | |
#define | DBUS_CONST_STRING_PREAMBLE(str) |
Checks assertions about a string that may be const or locked. More... | |
#define | DBUS_IS_ASCII_BLANK(c) ((c) == ' ' || (c) == '\t') |
Checks for ASCII blank byte. More... | |
#define | DBUS_IS_ASCII_WHITE(c) ((c) == ' ' || (c) == '\t' || (c) == '\n' || (c) == '\r') |
Checks for ASCII whitespace byte. More... | |
DBusString implementation details.
The guts of DBusString.
#define _DBUS_STRING_MAX_LENGTH (_DBUS_INT32_MAX - _DBUS_STRING_ALLOCATION_PADDING) |
The maximum length of a DBusString.
Definition at line 69 of file dbus-string-private.h.
#define DBUS_CONST_STRING_PREAMBLE | ( | str | ) |
Checks assertions about a string that may be const or locked.
Also declares the "real" variable pointing to DBusRealString.
str | the string. |
Definition at line 114 of file dbus-string-private.h.
#define DBUS_GENERIC_STRING_PREAMBLE | ( | real | ) |
Checks a bunch of assertions about a string object.
real | the DBusRealString |
Definition at line 76 of file dbus-string-private.h.
#define DBUS_IS_ASCII_BLANK | ( | c | ) | ((c) == ' ' || (c) == '\t') |
Checks for ASCII blank byte.
c | the byte |
Definition at line 121 of file dbus-string-private.h.
#define DBUS_IS_ASCII_WHITE | ( | c | ) | ((c) == ' ' || (c) == '\t' || (c) == '\n' || (c) == '\r') |
Checks for ASCII whitespace byte.
c | the byte |
Definition at line 127 of file dbus-string-private.h.
#define DBUS_LOCKED_STRING_PREAMBLE | ( | str | ) |
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 DBusRealString.
str | the string |
Definition at line 105 of file dbus-string-private.h.
#define DBUS_STRING_PREAMBLE | ( | str | ) |
Checks assertions about a string object that needs to be modifiable - may not be locked or const.
Also declares the "real" variable pointing to DBusRealString.
str | the string |
Definition at line 93 of file dbus-string-private.h.