/external/protobuf/src/google/protobuf/stubs/ |
D | stringprintf_unittest.cc | 50 EXPECT_EQ("", StringPrintf("")); in TEST() 52 EXPECT_EQ("", StringPrintf("%s", string().c_str())); in TEST() 53 EXPECT_EQ("", StringPrintf("%s", "")); in TEST() 59 EXPECT_EQ("123hello w", StringPrintf("%3$d%2$s %1$c", 'w', "hello", 123)); in TEST() 99 string value = StringPrintf("%.*s", 3, kInvalidCodePoint); in TEST() 113 value = StringPrintf("%.*s", n, buf); in TEST() 125 string value = StringPrintf("%.*s", 3, "\375\067s"); in TEST() 135 string value = StringPrintf("Hello, %s!", "World"); in TEST() 145 string value = StringPrintf("%s", buf); in TEST()
|
D | time.cc | 135 return StringPrintf("%03d", nanos / kNanosPerMillisecond); in FormatNanos() 137 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos() 139 return StringPrintf("%09d", nanos); in FormatNanos() 276 string result = StringPrintf("%04d-%02d-%02dT%02d:%02d:%02d", in FormatTime()
|
D | stringprintf.cc | 107 string StringPrintf(const char* format, ...) { in StringPrintf() function 164 return StringPrintf(format, in StringPrintfVector()
|
/external/libchrome/dbus/ |
D | dbus_statistics.cc | 207 line += base::StringPrintf(":"); in GetAsString() 209 line += base::StringPrintf(" Sent (BLOCKING):"); in GetAsString() 211 line += base::StringPrintf(" %d", sent_blocking); in GetAsString() 213 line += base::StringPrintf(" %d/min", sent_blocking / dminutes); in GetAsString() 215 line += base::StringPrintf(" %d (%d/min)", in GetAsString() 219 line += base::StringPrintf(" Sent:"); in GetAsString() 221 line += base::StringPrintf(" %d", sent); in GetAsString() 223 line += base::StringPrintf(" %d/min", sent / dminutes); in GetAsString() 225 line += base::StringPrintf(" %d (%d/min)", sent, sent / dminutes); in GetAsString() 228 line += base::StringPrintf(" Received:"); in GetAsString() [all …]
|
/external/libchrome/base/memory/ |
D | linked_ptr_unittest.cc | 19 A(): mynum(num++) { history += base::StringPrintf("A%d ctor\n", mynum); } in A() 20 virtual ~A() { history += base::StringPrintf("A%d dtor\n", mynum); } in ~A() 21 virtual void Use() { history += base::StringPrintf("A%d use\n", mynum); } in Use() 27 B() { history += base::StringPrintf("B%d ctor\n", mynum); } in B() 28 ~B() override { history += base::StringPrintf("B%d dtor\n", mynum); } in ~B() 29 void Use() override { history += base::StringPrintf("B%d use\n", mynum); } in Use()
|
/external/wpa_supplicant_8/hostapd/hidl/1.1/ |
D | hostapd.cpp | 34 using android::base::StringPrintf; 42 StringPrintf(kConfFileNameFmt, interface_name.c_str()); in WriteHostapdConfig() 110 encryption_config_as_string = StringPrintf( in CreateHostapdConfig() 117 encryption_config_as_string = StringPrintf( in CreateHostapdConfig() 135 StringPrintf("%d-%d ", range.start, range.end); in CreateHostapdConfig() 137 chanlist_as_string += StringPrintf("%d ", range.start); in CreateHostapdConfig() 140 channel_config_as_string = StringPrintf( in CreateHostapdConfig() 147 channel_config_as_string = StringPrintf( in CreateHostapdConfig() 179 return StringPrintf( in CreateHostapdConfig() 301 std::string add_iface_param_str = StringPrintf( in addAccessPointInternal_1_1()
|
/external/libchrome/base/strings/ |
D | stringprintf_unittest.cc | 31 EXPECT_EQ("", StringPrintf("%s", "")); in TEST() 35 EXPECT_EQ("123hello w", StringPrintf("%3d%2s %1c", 123, "hello", 'w')); in TEST() 37 EXPECT_EQ(L"123hello w", StringPrintf(L"%3d%2ls %1lc", 123, L"hello", 'w')); in TEST() 175 EXPECT_EQ("", StringPrintf("%s", "")); in TEST()
|
D | stringprintf.h | 19 BASE_EXPORT std::string StringPrintf(_Printf_format_string_ const char* format, 23 BASE_EXPORT std::wstring StringPrintf(
|
D | stringprintf.cc | 116 std::string StringPrintf(const char* format, ...) { in StringPrintf() function 126 std::wstring StringPrintf(const wchar_t* format, ...) { in StringPrintf() function
|
/external/avb/test/ |
D | avb_slot_verify_unittest.cc | 442 base::StringPrintf( in TEST_F() 504 base::StringPrintf( in TEST_F() 626 base::StringPrintf( in TEST_F() 701 base::StringPrintf("--include_descriptors_from_image %s" in TEST_F() 785 base::StringPrintf("--chain_partition boot:1:%s" in TEST_F() 980 base::StringPrintf("--chain_partition vbmeta_google:1:%s" in TEST_F() 1153 base::StringPrintf("--chain_partition boot:1:%s" in TEST_F() 1233 base::StringPrintf("--chain_partition boot:1:%s" in TEST_F() 1289 base::StringPrintf("--chain_partition boot:1:%s" in TEST_F() 1379 base::StringPrintf("--chain_partition boot:1:%s" in TEST_F() [all …]
|
/external/libbrillo/brillo/http/ |
D | http_form_data.cc | 124 boundary_ = base::StringPrintf("%016" PRIx64, base::RandUint64()); 144 return base::StringPrintf( in GetContentType() 179 return base::StringPrintf("--%s\r\n", boundary_.c_str()); in GetBoundaryStart() 183 return base::StringPrintf("--%s--", boundary_.c_str()); in GetBoundaryEnd()
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | validation_errors.cc | 81 base::StringPrintf("Validation failed for %s [%s (%s)]", in ReportValidationError() 90 base::StringPrintf("Validation failed for %s [%s]", in ReportValidationError()
|
/external/libchrome/base/debug/ |
D | stack_trace_android.cc | 119 *os << base::StringPrintf("#%02zd " FMT_ADDR " ", i, address); in OutputToStream() 124 *os << base::StringPrintf("%s+" FMT_ADDR, path, rel_pc); in OutputToStream()
|
/external/libchrome/base/android/orderfile/ |
D | orderfile_instrumentation.cc | 195 auto offset_str = base::StringPrintf("%" PRIuS "\n", offset); in DumpToFile() 217 tag_str = base::StringPrintf("%s-", tag.c_str()); in StopAndDumpToFile() 218 auto path = base::StringPrintf( in StopAndDumpToFile()
|
/external/libbrillo/brillo/ |
D | cryptohome.cc | 101 base::StringPrintf("%s%s", g_user_home_prefix, hashed_username.c_str())); in GetHashedUserPath() 113 return FilePath(base::StringPrintf( in GetRootPath()
|
/external/libchrome/base/message_loop/ |
D | message_loop_task_runner_perftest.cc | 77 std::string trace = StringPrintf("%d_tasks_per_reload", tasks_per_reload); in Run() 171 std::string trace = StringPrintf("%d_tasks_per_reload", tasks_per_reload); in Run()
|
/external/libchrome/ui/gfx/geometry/ |
D | scroll_offset.cc | 12 return base::StringPrintf("[%f %f]", x_, y_); in ToString()
|
D | insets_f.cc | 13 return base::StringPrintf("%f,%f,%f,%f", top(), left(), bottom(), right()); in ToString()
|
D | insets.cc | 14 return base::StringPrintf("%d,%d,%d,%d", top(), left(), bottom(), right()); in ToString()
|
/external/libchrome/ipc/ |
D | ipc_mojo_perftest.cc | 80 base::StringPrintf("IPC_%s_Perf_%dx_%u", label_.c_str(), msg_count_, in OnHello() 308 base::StringPrintf("IPC_%s_Perf_%dx_%zu", label_.c_str(), in OnPong() 451 std::string test_name = base::StringPrintf( in OnInitCallback() 740 base::StringPrintf("Callback_MultiProcess_Perf_%dx_%zu", in OnPong() 770 base::StringPrintf("Callback_SingleThreadNoPostTask_Perf_%dx_%zu", in RunSingleThreadNoPostTaskPingPongServer() 816 base::StringPrintf("Callback_SingleThreadPostTask_Perf_%dx_%zu", in SingleThreadPongPostTask()
|
D | ipc_channel.cc | 45 return base::StringPrintf("%d.%u.%d", in GenerateUniqueRandomChannelID()
|
/external/libchrome/base/time/ |
D | time_to_iso8601.cc | 15 return StringPrintf("%04d-%02d-%02dT%02d:%02d:%02d.%03dZ", exploded.year, in TimeToISO8601()
|
/external/libchrome/base/metrics/ |
D | sparse_histogram_unittest.cc | 200 UmaHistogramSparse(StringPrintf("Sparse%d", i), 100); in TEST_P() 293 StringPrintf("TestHistogram.%d", i % kTestCreateCount)); in TEST_P() 359 SparseHistogram::FactoryGet(StringPrintf("ExtremeValues_%zu", i), in TEST_P()
|
/external/protobuf/src/google/protobuf/util/ |
D | time_util.cc | 108 return StringPrintf("%03d", nanos / kNanosPerMillisecond); in FormatNanos() 110 return StringPrintf("%06d", nanos / kNanosPerMicrosecond); in FormatNanos() 112 return StringPrintf("%09d", nanos); in FormatNanos() 177 result += StringPrintf("%" GOOGLE_LL_FORMAT "d", seconds); in ToString()
|
/external/libchrome/crypto/ |
D | nss_util.cc | 68 result = base::StringPrintf("NSS error code: %d", PR_GetError()); in GetNSSErrorMessage() 446 std::string db_name = base::StringPrintf( in InitializeNSSForChromeOSUser() 667 base::StringPrintf("sql:%s", database_dir.value().c_str()); in NSSInitSingleton() 732 std::string modparams = base::StringPrintf( in LoadModule() 779 base::StringPrintf("configDir='sql:%s' tokenDescription='%s'", in OpenSoftwareNSSDB()
|