Home
last modified time | relevance | path

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

/third_party/gn/src/base/strings/
Dstringprintf.cc62 int mem_length = std::size(stack_buf); in StringAppendVT() local
74 mem_length *= 2; in StringAppendVT()
78 mem_length = result + 1; in StringAppendVT()
81 if (mem_length > 32 * 1024 * 1024) { in StringAppendVT()
89 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
94 result = vsnprintfT(&mem_buf[0], mem_length, format, ap_copy); in StringAppendVT()
97 if ((result >= 0) && (result < mem_length)) { in StringAppendVT()
/third_party/boost/boost/interprocess/sync/windows/
Dsync_utils.hpp44 inline bool bytes_to_str(const void *mem, const std::size_t mem_length, char *out_str, std::size_t … in bytes_to_str() argument
46 const std::size_t need_mem = mem_length*2+1; in bytes_to_str()
58 for(std::size_t i = 0; i != mem_length; ++i){ in bytes_to_str()