Searched refs:stack_buf (Results 1 – 2 of 2) sorted by relevance
44 typename StringType::value_type stack_buf[1024]; in StringAppendVT() local52 int result = vsnprintfT(stack_buf, std::size(stack_buf), format, ap_copy); in StringAppendVT()55 if (result >= 0 && result < static_cast<int>(std::size(stack_buf))) { in StringAppendVT()57 dst->append(stack_buf, result); in StringAppendVT()62 int mem_length = std::size(stack_buf); in StringAppendVT()
65 operator char*() { return heap_buf ? heap_buf.get() : stack_buf; } in operator char*()68 char stack_buf[kStackStringBufferSize]; member in __anon9c41a3870111::StackOrHeapBuffer