Home
last modified time | relevance | path

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

/third_party/gn/src/base/strings/
Dstringprintf.cc44 typename StringType::value_type stack_buf[1024]; in StringAppendVT() local
52 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()
/third_party/gn/src/gn/
Descape.cc65 operator char*() { return heap_buf ? heap_buf.get() : stack_buf; } in operator char*()
68 char stack_buf[kStackStringBufferSize]; member in __anon9c41a3870111::StackOrHeapBuffer