Home
last modified time | relevance | path

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

/external/chromium/base/
Dstringprintf.cc63 int mem_length = arraysize(stack_buf); in StringAppendVT() local
78 mem_length *= 2; in StringAppendVT()
81 mem_length = result + 1; in StringAppendVT()
84 if (mem_length > 32 * 1024 * 1024) { in StringAppendVT()
92 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
97 result = vsnprintfT(&mem_buf[0], mem_length, format, ap_copy); in StringAppendVT()
100 if ((result >= 0) && (result < mem_length)) { in StringAppendVT()
/external/chromium_org/base/strings/
Dstringprintf.cc66 int mem_length = arraysize(stack_buf); in StringAppendVT() local
81 mem_length *= 2; in StringAppendVT()
84 mem_length = result + 1; in StringAppendVT()
87 if (mem_length > 32 * 1024 * 1024) { in StringAppendVT()
95 std::vector<typename StringType::value_type> mem_buf(mem_length); in StringAppendVT()
100 result = vsnprintfT(&mem_buf[0], mem_length, format, ap_copy); in StringAppendVT()
103 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()