Home
last modified time | relevance | path

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

/external/chromium_org/base/strings/
Dstringprintf.cc66 int mem_length = arraysize(stack_buf); in StringAppendVT() local
78 mem_length *= 2; in StringAppendVT()
82 mem_length = result + 1; in StringAppendVT()
85 if (mem_length > 32 * 1024 * 1024) { in StringAppendVT()
93 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
98 result = vsnprintfT(&mem_buf[0], mem_length, format, ap_copy); in StringAppendVT()
101 if ((result >= 0) && (result < mem_length)) { in StringAppendVT()
/external/chromium_org/third_party/npapi/npspy/common/
Dformat.cpp136 int mem_length = arraysize(stack_buf); in StringAppendVT() local
150 mem_length *= 2; in StringAppendVT()
153 mem_length = result + 1; in StringAppendVT()
156 if (mem_length > 32 * 1024 * 1024) { in StringAppendVT()
163 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
168 result = vsnprintf(&mem_buf[0], mem_length, format, ap_copy); in StringAppendVT()
171 if ((result >= 0) && (result < mem_length)) { in StringAppendVT()