Home
last modified time | relevance | path

Searched refs:string_width (Results 1 – 1 of 1) sorted by relevance

/external/flatbuffers/include/flatbuffers/
Dutil.h94 size_t string_width = IntToDigitCount(t); variable
96 if (precision) string_width += (precision + 1);
97 return string_width;
102 size_t string_width = NumToStringWidth(t, precision); variable
103 std::string s(string_width, 0x00);
105 snprintf(const_cast<char *>(s.data()), (s.size() + 1), fmt, string_width, t);