Home
last modified time | relevance | path

Searched refs:StringPrintf (Results 1 – 25 of 1083) sorted by relevance

12345678910>>...44

/external/chromium_org/chrome/common/cloud_print/
Dcloud_print_helpers_unittest.cc23 EXPECT_EQ(base::StringPrintf("%ssearch", expected_url_base.c_str()), in CheckURLs()
26 EXPECT_EQ(base::StringPrintf("%ssubmit", expected_url_base.c_str()), in CheckURLs()
29 EXPECT_EQ(base::StringPrintf("%slist?proxy=demoproxy", in CheckURLs()
34 EXPECT_EQ(base::StringPrintf("%sregister", expected_url_base.c_str()), in CheckURLs()
37 EXPECT_EQ(base::StringPrintf("%supdate?printerid=printeridfoo", in CheckURLs()
41 EXPECT_EQ(base::StringPrintf("%sdelete?printerid=printeridbar&reason=deleted", in CheckURLs()
46 EXPECT_EQ(base::StringPrintf("%sfetch?printerid=myprinter&deb=nogoodreason", in CheckURLs()
51 EXPECT_EQ(base::StringPrintf("%sdeletejob?jobid=myprinter", in CheckURLs()
55 EXPECT_EQ(base::StringPrintf( in CheckURLs()
61 EXPECT_EQ(base::StringPrintf("%smessage?code=testmsg", in CheckURLs()
[all …]
Dcloud_print_helpers.cc80 std::string query = base::StringPrintf("proxy=%s", proxy_id.c_str()); in GetUrlForPrinterList()
97 std::string query = base::StringPrintf("printerid=%s", printer_id.c_str()); in GetUrlForPrinterUpdate()
108 std::string query = base::StringPrintf( in GetUrlForPrinterDelete()
120 std::string query = base::StringPrintf( in GetUrlForJobFetch()
132 std::string query = base::StringPrintf( in GetUrlForJobCjt()
143 std::string query = base::StringPrintf("jobid=%s", job_id.c_str()); in GetUrlForJobDelete()
155 std::string query = base::StringPrintf( in GetUrlForJobStatusUpdate()
167 std::string query = base::StringPrintf("code=%s", message_id.c_str()); in GetUrlForUserMessage()
180 std::string query = base::StringPrintf("oauth_client_id=%s&proxy=%s", in GetUrlForGetAuthCode()
236 std::string msg = base::StringPrintf("%s%s=%s", in GetPostDataForPrinterTags()
[all …]
/external/chromium_org/third_party/npapi/npspy/common/
Dformat.cpp179 std::string StringPrintf(const char* format, ...) { in StringPrintf() function
739 *output = StringPrintf("NPN_Version(%#08lx, %#08lx, %#08lx, %#08lx)", dw1,dw2,dw3,dw4); in formatLogItem()
741 *output = StringPrintf("NPN_Version(%#08lx, %#08lx, %#08lx, %#08lx)", dw1,dw2,dw3,dw4); in formatLogItem()
747 *output = StringPrintf("NPN_GetURLNotify(%#08lx, %s, %s, %#08lx)", dw1,sz2,sz3,dw4); in formatLogItem()
754 *output = StringPrintf("NPN_GetURL(%#08lx, %s, %s)", dw1,sz2,sz3); in formatLogItem()
764 *output = StringPrintf("NPN_PostURLNotify(%#08lx, %s, %s, %li, %s, %s, %#08lx)", in formatLogItem()
775 *output = StringPrintf("NPN_PostURL(%#08lx, %s, %s, %li, %s, %s)", in formatLogItem()
784 *output = StringPrintf("NPN_NewStream(%#08lx, %s, %s, %#08lx(%#08lx))", in formatLogItem()
787 *output = StringPrintf("NPN_NewStream(%#08lx, \"%s\", \"%s\", %#08lx)", dw1, sz2,sz3,dw4); in formatLogItem()
791 …*output = StringPrintf("NPN_DestroyStream(%#08lx, %#08lx, %s)", dw1,dw2,FormatNPAPIReason((int)dw3… in formatLogItem()
[all …]
/external/chromium_org/chrome/browser/extensions/api/downloads/
Ddownloads_api_browsertest.cc155 return base::StringPrintf("Event(%p, %s, %s, %f)", in Debug()
358 base::StringPrintf( in WaitForInterruption()
572 return base::StringPrintf("[%d]", download_item->GetId()); in DownloadItemIdAsArgList()
821 base::StringPrintf( in IN_PROC_BROWSER_TEST_F()
928 base::StringPrintf("[{\"id\": %d}]", id))); in IN_PROC_BROWSER_TEST_F()
960 std::string args32(base::StringPrintf("[%d, {\"size\": 32}]", in IN_PROC_BROWSER_TEST_F()
969 base::StringPrintf("[%d, {}]", download_item->GetId()), &result_string)); in IN_PROC_BROWSER_TEST_F()
974 base::StringPrintf("[%d, {\"size\": 16}]", download_item->GetId()), in IN_PROC_BROWSER_TEST_F()
998 args32 = base::StringPrintf("[%d, {\"size\": 32}]", download_item->GetId()); in IN_PROC_BROWSER_TEST_F()
1065 base::StringPrintf("[%d, {\"size\": 32}]", (*iter)->GetId()), in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dstringprintf_unittest.cc50 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()
/external/chromium_org/chrome/browser/omaha_query_params/
Domaha_query_params_unittest.cc11 using base::StringPrintf;
27 Contains(params, StringPrintf("os=%s", OmahaQueryParams::GetOS()))); in TestParams()
29 Contains(params, StringPrintf("arch=%s", OmahaQueryParams::GetArch()))); in TestParams()
32 StringPrintf("prod=%s", OmahaQueryParams::GetProdIdString(prod_id)))); in TestParams()
35 StringPrintf("prodchannel=%s", OmahaQueryParams::GetChannelString()))); in TestParams()
38 StringPrintf("prodversion=%s", chrome::VersionInfo().Version().c_str()))); in TestParams()
41 StringPrintf("lang=%s", OmahaQueryParams::GetLang()))); in TestParams()
/external/chromium_org/chrome/browser/extensions/
Dwebstore_installer_unittest.cc14 using base::StringPrintf;
31 Contains(query, StringPrintf("os=%s", OmahaQueryParams::GetOS()))); in TEST()
33 Contains(query, StringPrintf("arch=%s", OmahaQueryParams::GetArch()))); in TEST()
35 query, StringPrintf("nacl_arch=%s", OmahaQueryParams::GetNaclArch()))); in TEST()
39 StringPrintf("installsource=%s", source.c_str()), true))); in TEST()
41 Contains(query, StringPrintf("lang=%s", OmahaQueryParams::GetLang()))); in TEST()
Dextension_test_message_listener_unittest.cc30 base::StringPrintf(kFormat, kTestMessage)); in TEST_F()
40 base::StringPrintf(kFormat, kTestMessage2)); in TEST_F()
51 base::StringPrintf(kFormat, kTestMessage)); in TEST_F()
58 base::StringPrintf(kFormat, kTestMessage2)); in TEST_F()
69 base::StringPrintf(kFormat, kTestMessage)); in TEST_F()
74 base::StringPrintf(kFormat, kFailureMessage)); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/managed/
Dmanaged_user_test_base.cc46 using base::StringPrintf;
228 StringPrintf( in JSExpectAsync()
238 StringPrintf("document.querySelector('%s').value = '%s'", in JSSetTextField()
255 JSExpect(StringPrintf("%s == 'intro'", kCurrentPage)); in StartFlowLoginAsManager()
261 JSExpect(StringPrintf("%s == 'manager'", kCurrentPage)); in StartFlowLoginAsManager()
272 JSExpect(StringPrintf("%s.length == 1", selected_manager_pods.c_str())); in StartFlowLoginAsManager()
275 StringPrintf("$('managed-user-creation').managerList_.pods.length == %d", in StartFlowLoginAsManager()
277 JSExpect(StringPrintf( in StartFlowLoginAsManager()
279 JSExpect(StringPrintf("%s[%d].user.emailAddress == '%s'", in StartFlowLoginAsManager()
310 JSExpect(StringPrintf("%s == 'username'", kCurrentPage)); in StartFlowLoginAsManager()
[all …]
/external/chromium_org/dbus/
Ddbus_statistics.cc223 line += base::StringPrintf(":"); in GetAsString()
225 line += base::StringPrintf(" Sent (BLOCKING):"); in GetAsString()
227 line += base::StringPrintf(" %d", sent_blocking); in GetAsString()
229 line += base::StringPrintf(" %d/min", sent_blocking / dminutes); in GetAsString()
231 line += base::StringPrintf(" %d (%d/min)", in GetAsString()
235 line += base::StringPrintf(" Sent:"); in GetAsString()
237 line += base::StringPrintf(" %d", sent); in GetAsString()
239 line += base::StringPrintf(" %d/min", sent / dminutes); in GetAsString()
241 line += base::StringPrintf(" %d (%d/min)", sent, sent / dminutes); in GetAsString()
244 line += base::StringPrintf(" Received:"); in GetAsString()
[all …]
/external/chromium_org/chrome/browser/safe_browsing/
Dbrowser_feature_extractor_unittest.cc379 features[base::StringPrintf("%s=%s", in TEST_F()
383 features[base::StringPrintf("%s[0]=%s", in TEST_F()
389 features[base::StringPrintf("%s[1]=%s", in TEST_F()
418 features[base::StringPrintf("%s=%s", in TEST_F()
422 features[base::StringPrintf("%s[0]=%s", in TEST_F()
426 features[base::StringPrintf("%s[1]=%s", in TEST_F()
433 features[base::StringPrintf("%s%s=%s", in TEST_F()
438 features[base::StringPrintf("%s%s[0]=%s", in TEST_F()
443 features[base::StringPrintf("%s%s", in TEST_F()
447 features[base::StringPrintf("%s%s", in TEST_F()
[all …]
/external/chromium_org/chromeos/dbus/
Dpower_policy_controller.cc24 str += base::StringPrintf(name "=%" PRId64 " ", delays.field()); \
101 str += base::StringPrintf("ac_idle=%d ", policy.ac_idle_action()); in GetPolicyDebugString()
103 str += base::StringPrintf("battery_idle=%d ", policy.battery_idle_action()); in GetPolicyDebugString()
105 str += base::StringPrintf("lid_closed=%d ", policy.lid_closed_action()); in GetPolicyDebugString()
107 str += base::StringPrintf("use_audio=%d ", policy.use_audio_activity()); in GetPolicyDebugString()
109 str += base::StringPrintf("use_video=%d ", policy.use_audio_activity()); in GetPolicyDebugString()
111 str += base::StringPrintf("ac_brightness_percent=%f ", in GetPolicyDebugString()
115 str += base::StringPrintf("battery_brightness_percent=%f ", in GetPolicyDebugString()
119 str += base::StringPrintf("presentation_screen_dim_delay_factor=%f ", in GetPolicyDebugString()
123 str += base::StringPrintf("user_activity_screen_dim_delay_factor=%f ", in GetPolicyDebugString()
[all …]
/external/chromium_org/mojo/services/view_manager/
Dtest_change_tracker.cc19 base::StringPrintf("%d,%d", HiWord(id), LoWord(id)); in NodeIdToString()
25 return base::StringPrintf("%d,%d %dx%d", rect.x(), rect.y(), rect.width(), in RectToString()
36 return base::StringPrintf("OnConnectionEstablished creator=%s", in ChangeToDescription1()
43 return base::StringPrintf( in ChangeToDescription1()
48 return base::StringPrintf( in ChangeToDescription1()
55 return base::StringPrintf( in ChangeToDescription1()
63 return base::StringPrintf( in ChangeToDescription1()
71 return base::StringPrintf("NodeDeleted change_id=%d node=%s", in ChangeToDescription1()
76 return base::StringPrintf("ViewDeleted view=%s", in ChangeToDescription1()
80 return base::StringPrintf( in ChangeToDescription1()
[all …]
/external/chromium_org/base/memory/
Dlinked_ptr_unittest.cc19 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 virtual ~B() { history += base::StringPrintf("B%d dtor\n", mynum); } in ~B()
30 history += base::StringPrintf("B%d use\n", mynum); in Use()
/external/chromium_org/content/browser/media/capture/
Dvideo_capture_oracle_unittest.cc61 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TestRedundantCaptureStrategy()
88 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
96 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
107 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
129 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
140 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
150 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
177 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
188 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
200 SCOPED_TRACE(base::StringPrintf("Iteration %d", i)); in TEST()
[all …]
/external/chromium_org/remoting/client/
Dserver_log_entry_client.cc14 using base::StringPrintf;
117 StringPrintf("%.2f", statistics->video_bandwidth()->Rate())); in MakeLogEntryForStatistics()
119 StringPrintf("%.2f", statistics->video_capture_ms()->Average())); in MakeLogEntryForStatistics()
121 StringPrintf("%.2f", statistics->video_encode_ms()->Average())); in MakeLogEntryForStatistics()
123 StringPrintf("%.2f", statistics->video_decode_ms()->Average())); in MakeLogEntryForStatistics()
125 StringPrintf("%.2f", statistics->video_frame_rate()->Rate())); in MakeLogEntryForStatistics()
127 StringPrintf("%.2f", statistics->round_trip_ms()->Average())); in MakeLogEntryForStatistics()
/external/chromium_org/chrome/browser/predictors/
Dlogged_in_predictor_table.cc61 base::StringPrintf("INSERT OR IGNORE INTO %s (domain, time) VALUES (?,?)", in AddDomainFromURL()
76 base::StringPrintf("DELETE FROM %s WHERE domain=?", kTableName).c_str())); in DeleteDomainFromURL()
95 base::StringPrintf("SELECT count(*) FROM %s WHERE domain=?", in HasUserLoggedIn()
113 base::StringPrintf("DELETE FROM %s WHERE time >= ? AND time <= ?", in DeleteAllCreatedBetween()
131 base::StringPrintf("SELECT * FROM %s", kTableName).c_str())); in GetAllData()
152 if (!db->Execute(base::StringPrintf(table_creator, kTableName).c_str())) in CreateTableIfNonExistent()
162 base::StringPrintf("SELECT count(*) FROM %s", kTableName).c_str())); in LogDatabaseStats()
Dautocomplete_action_predictor_table.cc84 base::StringPrintf("SELECT * FROM %s WHERE id=?", in GetRow()
101 base::StringPrintf( in GetAllRows()
141 base::StringPrintf( in AddAndUpdateRows()
159 base::StringPrintf( in AddAndUpdateRows()
189 base::StringPrintf( in DeleteRows()
212 base::StringPrintf("DELETE FROM %s", in DeleteAllRows()
235 bool success = DB()->Execute(base::StringPrintf( in CreateTableIfNonExistent()
252 base::StringPrintf("SELECT count(id) FROM %s", in LogDatabaseStats()
/external/ceres-solver/internal/ceres/
Dconjugate_gradients_solver.cc107 StringPrintf("Convergence. |r| = %e <= %e.", norm_r, tol_r); in Solve()
131 summary.message = StringPrintf("Numerical failure. rho = r'z = %e.", rho); in Solve()
141 summary.message = StringPrintf( in Solve()
154 summary.message = StringPrintf("Numerical failure. p'q = %e.", pq); in Solve()
162 StringPrintf("Numerical failure. alpha = rho / pq = %e", alpha); in Solve()
213 StringPrintf("Convergence: zeta = %e < %e", in Solve()
225 StringPrintf("Convergence. |r| = %e <= %e.", norm_r, tol_r); in Solve()
/external/chromium_org/google_apis/drive/
Ddrive_api_url_generator.cc74 return base_url_.Resolve(base::StringPrintf( in GetAppsDeleteUrl()
85 return base_url_.Resolve(base::StringPrintf(kDriveV2FilesAuthorizeUrlFormat, in GetFilesAuthorizeUrl()
112 return base_url_.Resolve(base::StringPrintf( in GetFilesCopyUrl()
137 return base_url_.Resolve(base::StringPrintf( in GetFilesDeleteUrl()
142 return base_url_.Resolve(base::StringPrintf( in GetFilesTrashUrl()
176 return base_url_.Resolve(base::StringPrintf( in GetChildrenInsertUrl()
183 base::StringPrintf(kDriveV2ChildrenUrlForRemovalFormat, in GetChildrenDeleteUrl()
223 base::StringPrintf(kDriveV2PermissionsUrlFormat, in GetPermissionsInsertUrl()
/external/chromium_org/chrome/common/
Dcrash_keys_unittest.cc65 command_line.AppendSwitch(base::StringPrintf("--flag-%d", i)); in TEST_F()
79 command_line.AppendSwitch(base::StringPrintf("--many-%d", i)); in TEST_F()
92 command_line.AppendSwitch(base::StringPrintf("--fewer-%d", i)); in TEST_F()
100 EXPECT_FALSE(HasCrashKey(base::StringPrintf(crash_keys::kSwitch, i))); in TEST_F()
129 extensions.insert(base::StringPrintf("ext.%d", i)); in TEST_F()
134 GetKeyValue(base::StringPrintf(crash_keys::kExtensionID, i))); in TEST_F()
147 extensions.insert(base::StringPrintf("ext.%d", i)); in TEST_F()
159 std::string key = base::StringPrintf(crash_keys::kExtensionID, i); in TEST_F()
/external/chromium_org/chrome/browser/extensions/activity_log/
Ddatabase_string_table.cc11 using base::StringPrintf;
26 return connection->Execute(StringPrintf( in Initialize()
55 StringPrintf("INSERT OR IGNORE INTO %s(value) VALUES (?)", table_.c_str()) in StringToInt()
72 StringPrintf("SELECT id FROM %s WHERE value = ?", table_.c_str()) in StringToInt()
98 StringPrintf("SELECT value FROM %s WHERE id = ?", table_.c_str()) in IntToString()
/external/chromium_org/content/browser/worker_host/test/
Dworker_browsertest.cc155 std::string query = base::StringPrintf("?count=%d", max_workers_per_tab + 1);
182 std::string query = base::StringPrintf("?count=%d", max_workers_per_tab);
185 GURL(url.spec() + base::StringPrintf("&client_id=0")));
192 GURL(url.spec() + base::StringPrintf("&client_id=%d", i)));
218 std::string query = base::StringPrintf("?count=%d", max_workers_per_tab);
230 std::string query = base::StringPrintf("?count=%d", max_workers_per_tab + 1);
253 std::string query = base::StringPrintf("?count=%d", max_workers_per_tab + 1);
261 query = base::StringPrintf("?id=%d", max_workers_per_tab);
/external/regex-re2/re2/
Dprog.cc62 return StringPrintf("opcode %d", static_cast<int>(opcode())); in Dump()
65 return StringPrintf("alt -> %d | %d", out(), out1_); in Dump()
68 return StringPrintf("altmatch -> %d | %d", out(), out1_); in Dump()
71 return StringPrintf("byte%s [%02x-%02x] -> %d", in Dump()
76 return StringPrintf("capture %d -> %d", cap_, out()); in Dump()
79 return StringPrintf("emptywidth %#x -> %d", in Dump()
83 return StringPrintf("match! %d", match_id()); in Dump()
86 return StringPrintf("nop -> %d", out()); in Dump()
89 return StringPrintf("fail"); in Dump()
/external/chromium_org/third_party/re2/re2/
Dprog.cc62 return StringPrintf("opcode %d", static_cast<int>(opcode())); in Dump()
65 return StringPrintf("alt -> %d | %d", out(), out1_); in Dump()
68 return StringPrintf("altmatch -> %d | %d", out(), out1_); in Dump()
71 return StringPrintf("byte%s [%02x-%02x] -> %d", in Dump()
76 return StringPrintf("capture %d -> %d", cap_, out()); in Dump()
79 return StringPrintf("emptywidth %#x -> %d", in Dump()
83 return StringPrintf("match! %d", match_id()); in Dump()
86 return StringPrintf("nop -> %d", out()); in Dump()
89 return StringPrintf("fail"); in Dump()

12345678910>>...44