Lines Matching refs:result
35 int result = vsnprintf(space, sizeof(space), format, backup_ap); in StringAppendV() local
38 if (result < static_cast<int>(sizeof(space))) { in StringAppendV()
39 if (result >= 0) { in StringAppendV()
41 dst->append(space, result); in StringAppendV()
45 if (result < 0) { in StringAppendV()
53 int length = result + 1; in StringAppendV()
58 result = vsnprintf(buf, length, format, backup_ap); in StringAppendV()
61 if (result >= 0 && result < length) { in StringAppendV()
63 dst->append(buf, result); in StringAppendV()
71 std::string result; in StringPrintf() local
72 StringAppendV(&result, fmt, ap); in StringPrintf()
74 return result; in StringPrintf()