Lines Matching refs:result
32 int result = vsnprintf(space, sizeof(space), format, backup_ap); in StringAppendV() local
35 if (result < static_cast<int>(sizeof(space))) { in StringAppendV()
36 if (result >= 0) { in StringAppendV()
38 dst->append(space, result); in StringAppendV()
42 if (result < 0) { in StringAppendV()
50 int length = result+1; in StringAppendV()
55 result = vsnprintf(buf, length, format, backup_ap); in StringAppendV()
58 if (result >= 0 && result < length) { in StringAppendV()
60 dst->append(buf, result); in StringAppendV()
68 std::string result; in StringPrintf() local
69 StringAppendV(&result, fmt, ap); in StringPrintf()
71 return result; in StringPrintf()