Searched refs:SafeSPrintf (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/base/strings/
H A Dsafe_sprintf_unittest.cc51 // The same test using SafeSPrintf() instead of SafeSNPrintf().
52 EXPECT_EQ(0, SafeSPrintf(buf, ""));
98 // The same test using SafeSPrintf() instead of SafeSNPrintf().
99 EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSPrintf(buf, text));
106 EXPECT_EQ(1, SafeSPrintf(buf, "%%"));
107 EXPECT_EQ(2, SafeSPrintf(buf, "%%%%"));
108 EXPECT_EQ(2, SafeSPrintf(buf, "%%X"));
109 EXPECT_EQ(3, SafeSPrintf(buf, "%%%%X"));
111 EXPECT_EQ(1, SafeSPrintf(buf, "%"));
112 EXPECT_EQ(2, SafeSPrintf(bu
[all...]
H A Dsafe_sprintf.h34 // SafeSPrintf() is a type-safe and completely self-contained version of
38 // not dealing with fixed-sized buffers. When possible, SafeSPrintf() should
49 // and SafeSPrintf() instead returns an output string that expands only
56 // SafeSPrintf() aims to be as liberal as reasonably possible. Integer-like
75 // SafeSPrintf() does not support at this time.
84 // have little impact on other parts of SafeSPrintf() function.
90 // SafeSPrintf() and SafeSNPrintf() mimic the behavior of snprintf() and they
104 // like SafeSPrintf(buf, "%p %d", 1, 2) results in "%p 2"). See above for
109 // base::strings::SafeSPrintf(buf, "The answer: %2d", 42);
240 ssize_t SafeSPrintf(cha function in namespace:base::strings
267 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, function in namespace:base::strings
294 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, function in namespace:base::strings
321 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, function in namespace:base::strings
343 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, function in namespace:base::strings
361 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, T0 arg0, T1 arg1, function in namespace:base::strings
379 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, function in namespace:base::strings
397 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, T0 arg0, T1 arg1, function in namespace:base::strings
414 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, T0 arg0, T1 arg1) { function in namespace:base::strings
430 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, T0 arg0) { function in namespace:base::strings
440 inline ssize_t SafeSPrintf(char (&buf)[N], const char* fmt) { function in namespace:base::strings
[all...]
/external/chromium_org/chrome/app/
H A Dchrome_crash_reporter_client.cc219 int length = base::strings::SafeSPrintf(g_browser_crash_dump_prefix,
244 int length = base::strings::SafeSPrintf(
/external/chromium_org/content/zygote/
H A Dzygote_main_linux.cc80 base::strings::SafeSPrintf(kSecondMessage,

Completed in 112 milliseconds