Searched refs:STRING_SIZE (Results 1 – 2 of 2) sorted by relevance
86 #define STRING_SIZE(v) (((sizeof(v) * 8 * 4) / 10) + 1) macro92 static char buf[STRING_SIZE(bytes) * 2 + 16]; in format_rate()113 static char buf[STRING_SIZE(bytes) + 16]; in format_size()
48 #define STRING_SIZE(s) (L9P_WORD + (s != NULL ? (uint16_t)strlen(s) : 0)) macro986 + STRING_SIZE(stat->name) in l9p_sizeof_stat()987 + STRING_SIZE(stat->uid) in l9p_sizeof_stat()988 + STRING_SIZE(stat->gid) in l9p_sizeof_stat()989 + STRING_SIZE(stat->muid); in l9p_sizeof_stat()992 size += STRING_SIZE(stat->extension) in l9p_sizeof_stat()