Home
last modified time | relevance | path

Searched refs:StringAppendF (Results 1 – 25 of 26) sorted by relevance

12

/external/libchrome/base/strings/
Dstringprintf_unittest.cc43 StringAppendF(&value, "%s", ""); in TEST()
48 StringAppendF(&valuew, L"%ls", L""); in TEST()
55 StringAppendF(&value, " %s", "World"); in TEST()
60 StringAppendF(&valuew, L" %ls", L"World"); in TEST()
67 StringAppendF(&value, " %d", 123); in TEST()
72 StringAppendF(&valuew, L" %d", 123); in TEST()
Dstringprintf.h45 BASE_EXPORT void StringAppendF(std::string* dst,
49 BASE_EXPORT void StringAppendF(std::wstring* dst,
Dstringprintf.cc163 void StringAppendF(std::string* dst, const char* format, ...) { in StringAppendF() function
171 void StringAppendF(std::wstring* dst, const wchar_t* format, ...) { in StringAppendF() function
/external/protobuf/src/google/protobuf/stubs/
Dstringprintf_unittest.cc66 StringAppendF(&value, "%s", empty); in TEST()
72 StringAppendF(&value, "%s", ""); in TEST()
78 StringAppendF(&value, " %s", "World"); in TEST()
84 StringAppendF(&value, " %d", 123); in TEST()
Dstringprintf.h59 LIBPROTOBUF_EXPORT extern void StringAppendF(string* dst, const char* format, ...);
Dstringprintf.cc125 void StringAppendF(string* dst, const char* format, ...) { in StringAppendF() function
/external/protobuf/conformance/
Dconformance_test_runner.cc72 using google::protobuf::StringAppendF;
115 StringAppendF(&error_msg, in RunTest()
118 StringAppendF(&error_msg, in RunTest()
Dconformance_test.cc175 StringAppendF(&output_, in ReportSuccess()
193 StringAppendF(&output_, "ERROR, test=%s: ", test_name.c_str()); in ReportFailure()
200 StringAppendF(&output_, " request=%s, response=%s\n", in ReportFailure()
209 StringAppendF(&output_, "SKIPPED, test=%s request=%s, response=%s\n", in ReportSkip()
235 StringAppendF(&output_, "conformance test: name=%s, request=%s, response=%s\n", in RunTest()
589 StringAppendF(&output_, "\n"); in CheckSetEmpty()
590 StringAppendF(&output_, "%s:\n", msg); in CheckSetEmpty()
593 StringAppendF(&output_, " %s\n", iter->c_str()); in CheckSetEmpty()
595 StringAppendF(&output_, "\n"); in CheckSetEmpty()
/external/libbrillo/brillo/
Dflag_helper.cc221 base::StringAppendF( in UpdateFlagValues()
230 base::StringAppendF( in UpdateFlagValues()
256 base::StringAppendF(&help, in GetHelpMessage()
Ddata_encoding.cc62 base::StringAppendF(&result, in UrlEncode()
/external/libchrome/base/test/metrics/
Dhistogram_tester.cc180 StringAppendF(&output, "Histogram: %s recorded %d new samples.\n", in GetAllHistogramsRecorded()
183 StringAppendF(&output, in GetAllHistogramsRecorded()
188 StringAppendF(&output, "\n"); in GetAllHistogramsRecorded()
/external/libchrome/base/json/
Dstring_escape.cc106 base::StringAppendF(dest, kU16EscapeFormat, code_point); in EscapeJSONStringImpl()
156 base::StringAppendF(&dest, kU16EscapeFormat, c); in EscapeBytesAsInvalidJSONString()
/external/libbrillo/brillo/http/
Dhttp_form_data.cc45 base::StringAppendF(&disposition, "; name=\"%s\"", name_.c_str()); in GetContentDisposition()
68 base::StringAppendF( in GetContentHeader()
104 base::StringAppendF(&disposition, "; filename=\"%s\"", file_name_.c_str()); in GetContentDisposition()
/external/gflags/src/
Dgflags_reporting.cc164 StringAppendF(&final_string, "\n "); in DescribeOneFlag()
181 StringAppendF(&final_string, "\n"); in DescribeOneFlag()
196 StringAppendF(r, "<%s>%s</%s>", tag, XMLText(txt).c_str(), tag); in AddXMLTag()
Dutil.h325 inline void StringAppendF(std::string* output, const char* format, ...) {
Dgflags.cc827 StringAppendF(msg, in TryParseLocked()
836 StringAppendF(msg, in TryParseLocked()
846 StringAppendF(msg, "%s set to %s\n", in TryParseLocked()
/external/libchrome/base/metrics/
Dsparse_histogram.cc284 StringAppendF(output, "Histogram: %s recorded %d samples", histogram_name(), in WriteAsciiHeader()
287 StringAppendF(output, " (flags = 0x%x)", flags()); in WriteAsciiHeader()
Dhistogram.cc758 StringAppendF(output, "Histogram: %s recorded %d samples", histogram_name(), in WriteAsciiHeader()
764 StringAppendF(output, ", mean = %.1f", mean); in WriteAsciiHeader()
767 StringAppendF(output, " (flags = 0x%x)", flags()); in WriteAsciiHeader()
779 StringAppendF(output, " {%3.1f%%}", percentage); in WriteAsciiBucketContext()
Dhistogram_base.cc199 StringAppendF(output, " (%d = %3.1f%%)", current, current/scaled_sum); in WriteAsciiBucketValue()
Dstatistics_recorder.cc151 StringAppendF(output, "Collections of histograms for %s\n", query.c_str()); in WriteGraph()
Dfield_trial.cc439 StringAppendF(&group_name_, "%d", group_); in SetGroupChoice()
/external/libchrome/base/debug/
Delf_reader_linux.cc65 StringAppendF(&identifier, "%02X", guid[i]); in ElfSegmentBuildIDNoteAsString()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc1836 StringAppendF(&output, "%-35s free:", name.c_str()); in FormatFreeFieldNumbers()
1847 StringAppendF(&output, " %d", next_free_number); in FormatFreeFieldNumbers()
1850 StringAppendF(&output, " %d-%d", next_free_number, i->first - 1); in FormatFreeFieldNumbers()
1856 StringAppendF(&output, " %d-INF", next_free_number); in FormatFreeFieldNumbers()
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc954 StringAppendF(output, "\\U%08x", code_point); in AppendUTF8()
/external/libchrome/dbus/
Dmessage.cc167 base::StringAppendF(&truncated, "... (%" PRIuS " bytes in total)", in ToStringInternal()

12