SafeSNPrintf 178 base/strings/safe_sprintf.h BASE_EXPORT ssize_t SafeSNPrintf(char* buf, size_t sz, const char* fmt, SafeSNPrintf 196 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, SafeSNPrintf 204 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 218 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 223 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, SafeSNPrintf 231 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 245 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 250 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, SafeSNPrintf 258 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 272 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 277 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, SafeSNPrintf 285 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 299 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 303 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, SafeSNPrintf 308 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 318 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 322 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, SafeSNPrintf 327 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 336 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 340 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, SafeSNPrintf 345 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 354 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 358 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, SafeSNPrintf 363 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 372 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 376 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, T0 arg0, T1 arg1) { SafeSNPrintf 380 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 388 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 392 base/strings/safe_sprintf.h ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, T0 arg0) { SafeSNPrintf 396 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 404 base/strings/safe_sprintf.h return internal::SafeSNPrintf(buf, N, fmt, arg_array, arraysize(arg_array)); SafeSNPrintf 408 base/strings/safe_sprintf.h BASE_EXPORT ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt); SafeSNPrintf 411 base/strings/safe_sprintf.h return SafeSNPrintf(buf, N, fmt); SafeSNPrintf 30 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(-1, SafeSNPrintf(buf, -1, "")); SafeSNPrintf 35 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(-1, SafeSNPrintf(buf, 0, "")); SafeSNPrintf 40 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(0, SafeSNPrintf(buf, 1, "")); SafeSNPrintf 46 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(0, SafeSNPrintf(buf, 2, "")); SafeSNPrintf 68 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(-1, SafeSNPrintf(buf, -1, text)); SafeSNPrintf 72 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(-1, SafeSNPrintf(buf, 0, text)); SafeSNPrintf 76 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSNPrintf(buf, 1, text)); SafeSNPrintf 83 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSNPrintf(buf, 2, text)); SafeSNPrintf 92 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, sizeof(buf), text)); SafeSNPrintf 132 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(-1, SafeSNPrintf(buf, -1, fmt, ' ')); SafeSNPrintf 136 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(-1, SafeSNPrintf(buf, 0, fmt, ' ')); SafeSNPrintf 141 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 1, fmt, ' ')); SafeSNPrintf 149 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 2, fmt, ' ')); SafeSNPrintf 158 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, sizeof(buf), fmt, ' ')); SafeSNPrintf 206 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf.get(), sizeof(kTestString), kTestString)); SafeSNPrintf 209 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf.get(), sizeof(kTestString), "%s", kTestString)); SafeSNPrintf 244 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(1, SafeSNPrintf(buf, 11, "%c", 1)); SafeSNPrintf 246 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(2, SafeSNPrintf(buf, 11, "%c%c", 1, 2)); SafeSNPrintf 248 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(3, SafeSNPrintf(buf, 11, "%c%c%c", 1, 2, 3)); SafeSNPrintf 250 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(4, SafeSNPrintf(buf, 11, "%c%c%c%c", 1, 2, 3, 4)); SafeSNPrintf 252 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(5, SafeSNPrintf(buf, 11, "%c%c%c%c%c", 1, 2, 3, 4, 5)); SafeSNPrintf 254 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(6, SafeSNPrintf(buf, 11, "%c%c%c%c%c%c", 1, 2, 3, 4, 5, 6)); SafeSNPrintf 256 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(7, SafeSNPrintf(buf, 11, "%c%c%c%c%c%c%c", 1, 2, 3, 4, 5, 6, 7)); SafeSNPrintf 258 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(8, SafeSNPrintf(buf, 11, "%c%c%c%c%c%c%c%c", SafeSNPrintf 261 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(9, SafeSNPrintf(buf, 11, "%c%c%c%c%c%c%c%c%c", SafeSNPrintf 264 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(10, SafeSNPrintf(buf, 11, "%c%c%c%c%c%c%c%c%c%c", SafeSNPrintf 376 base/strings/safe_sprintf_unittest.cc size_t needed = SafeSNPrintf(out, out_sz, SafeSNPrintf 553 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, 1)); SafeSNPrintf 557 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, 1)); SafeSNPrintf 587 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, 1)); SafeSNPrintf 591 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, 1)); SafeSNPrintf 623 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, 1)); SafeSNPrintf 627 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, 1)); SafeSNPrintf 651 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, (void*)1)); SafeSNPrintf 655 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, (void*)1)); SafeSNPrintf 679 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, "A")); SafeSNPrintf 683 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, 4, fmt, "A"));