Searched refs:MAX_LONG_LEN (Results 1 – 1 of 1) sorted by relevance
/external/dbus/dbus/ |
D | dbus-sysdeps.c | 392 #define MAX_LONG_LEN ((sizeof (long) * 8 + 2) / 3 + 1) /* +1 for '-' */ in _dbus_string_append_int() macro 399 if (!_dbus_string_lengthen (str, MAX_LONG_LEN)) in _dbus_string_append_int() 402 buf = _dbus_string_get_data_len (str, orig_len, MAX_LONG_LEN); in _dbus_string_append_int() 404 snprintf (buf, MAX_LONG_LEN, "%ld", value); in _dbus_string_append_int() 413 _dbus_string_shorten (str, MAX_LONG_LEN - i); in _dbus_string_append_int() 430 #define MAX_ULONG_LEN (MAX_LONG_LEN * 2) in _dbus_string_append_uint() 480 snprintf (buf, MAX_LONG_LEN, "%g", value); in _dbus_string_append_double()
|