/external/dbus-binding-generator/chromeos-dbus-bindings/ |
D | proxy_generator.cc | 19 using base::StringPrintf; 39 return StringPrintf(param_def.is_const_ref ? "const %s& %s" : "%s* %s", in GetParamString() 53 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); in GenerateProxies() 56 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())); in GenerateProxies() 57 text.AddLine(StringPrintf("#define %s", header_guard.c_str())); in GenerateProxies() 84 text.AddLine(StringPrintf("class %s;", in GenerateProxies() 97 text.AddLine(StringPrintf("#endif // %s", header_guard.c_str())); in GenerateProxies() 111 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); in GenerateMocks() 114 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())); in GenerateMocks() 115 text.AddLine(StringPrintf("#define %s", header_guard.c_str())); in GenerateMocks() [all …]
|
D | adaptor_generator.cc | 19 using base::StringPrintf; 34 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); in GenerateAdaptors() 37 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())); in GenerateAdaptors() 38 text.AddLine(StringPrintf("#define %s", header_guard.c_str())); in GenerateAdaptors() 54 text.AddLine(StringPrintf("#endif // %s", header_guard.c_str())); in GenerateAdaptors() 72 text->AddLine(StringPrintf("// Interface definition for %s.", in GenerateInterfaceAdaptor() 75 text->AddLine(StringPrintf("class %s {", itf_name.c_str())); in GenerateInterfaceAdaptor() 78 text->AddLine(StringPrintf("virtual ~%s() = default;", itf_name.c_str())); in GenerateInterfaceAdaptor() 84 text->AddLine(StringPrintf("// Interface adaptor for %s.", in GenerateInterfaceAdaptor() 86 text->AddLine(StringPrintf("class %s {", class_name.c_str())); in GenerateInterfaceAdaptor() [all …]
|
D | header_generator.cc | 25 string guard = base::StringPrintf("____chromeos_dbus_binding__%s", in GenerateHeaderGuard() 45 *type = base::StringPrintf("const %s&", type->c_str()); in MakeConstReferenceIfNeeded() 67 return base::StringPrintf("%s_%s", prefix, name.c_str()); in GetArgName()
|
D | dbus_signature.cc | 12 using base::StringPrintf; 184 *output = StringPrintf("%s<%s, %s>", kDictTypename, in GetArrayTypenameForSignature() 194 *output = StringPrintf("%s<%s>", kArrayTypename, child.c_str()); in GetArrayTypenameForSignature() 233 *output = StringPrintf("%s<%s>", kTupleTypename, in GetStructTypenameForSignature()
|
D | name_parser.cc | 20 text->AddLine(base::StringPrintf("namespace %s {", name.c_str())); in AddOpenNamespace() 24 text->AddLine(base::StringPrintf("} // namespace %s", name.c_str())); in AddCloseNamespace()
|
/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()
|
/external/libchrome/base/trace_event/ |
D | process_memory_maps.cc | 45 value->SetString("sa", StringPrintf(kHexFmt, region.start_address)); in AsValueInto() 46 value->SetString("sz", StringPrintf(kHexFmt, region.size_in_bytes)); in AsValueInto() 52 "pss", StringPrintf(kHexFmt, region.byte_stats_proportional_resident)); in AsValueInto() 54 "pd", StringPrintf(kHexFmt, region.byte_stats_private_dirty_resident)); in AsValueInto() 56 "pc", StringPrintf(kHexFmt, region.byte_stats_private_clean_resident)); in AsValueInto() 58 "sd", StringPrintf(kHexFmt, region.byte_stats_shared_dirty_resident)); in AsValueInto() 60 "sc", StringPrintf(kHexFmt, region.byte_stats_shared_clean_resident)); in AsValueInto() 61 value->SetString("sw", StringPrintf(kHexFmt, region.byte_stats_swapped)); in AsValueInto()
|
D | trace_config_memory_test_util.h | 18 return StringPrintf( in GetTraceConfig_PeriodicTriggers() 43 return StringPrintf( in GetTraceConfig_EmptyTriggers() 60 return StringPrintf( in GetTraceConfig_NoTriggers()
|
D | process_memory_totals.cc | 24 StringPrintf("%" PRIx64, resident_set_bytes_)); in AsValueInto() 27 StringPrintf("%" PRIx64, peak_resident_set_bytes_)); in AsValueInto() 32 value->SetString(it.first, StringPrintf("%" PRIx64, it.second)); in AsValueInto()
|
/external/libchrome/dbus/ |
D | dbus_statistics.cc | 224 line += base::StringPrintf(":"); in GetAsString() 226 line += base::StringPrintf(" Sent (BLOCKING):"); in GetAsString() 228 line += base::StringPrintf(" %d", sent_blocking); in GetAsString() 230 line += base::StringPrintf(" %d/min", sent_blocking / dminutes); in GetAsString() 232 line += base::StringPrintf(" %d (%d/min)", in GetAsString() 236 line += base::StringPrintf(" Sent:"); in GetAsString() 238 line += base::StringPrintf(" %d", sent); in GetAsString() 240 line += base::StringPrintf(" %d/min", sent / dminutes); in GetAsString() 242 line += base::StringPrintf(" %d (%d/min)", sent, sent / dminutes); in GetAsString() 245 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/ceres-solver/internal/ceres/ |
D | conjugate_gradients_solver.cc | 107 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()
|
D | program.cc | 183 *message = StringPrintf( in ParameterBlocksAreFinite() 228 *message = StringPrintf( in IsFeasible() 247 *message = StringPrintf( in IsFeasible() 331 *error = StringPrintf("Evaluation of the residual %d failed during " in RemoveFixedBlocks() 506 ret += StringPrintf("Number of parameter blocks: %d\n", NumParameterBlocks()); in ToString() 507 ret += StringPrintf("Number of parameters: %d\n", NumParameters()); in ToString() 510 ret += StringPrintf("%d: %s\n", in ToString()
|
D | line_search_minimizer.cc | 149 summary->message = StringPrintf("Gradient tolerance reached. " in Minimize() 253 StringPrintf("Line search direction failure: specified " in Minimize() 301 StringPrintf("Numerical failure in line search, initial_step_size is " in Minimize() 317 StringPrintf("Numerical failure in line search, failed to find " in Minimize() 382 summary->message = StringPrintf("Gradient tolerance reached. " in Minimize() 395 StringPrintf("Function tolerance reached. " in Minimize()
|
D | line_search.cc | 274 StringPrintf("Line search failed: Armijo failed to find a point " in Search() 293 StringPrintf("Line search failed: step_size too small: %.5e " in Search() 567 StringPrintf("Line search failed: Wolfe bracketing phase failed to " in BracketingPhase() 607 StringPrintf("Line search failed: step_size too small: %.5e " in BracketingPhase() 684 StringPrintf("Line search failed: Wolfe zoom phase passed a bracket " in ZoomPhase() 710 StringPrintf("Line search failed: Wolfe zoom phase failed to " in ZoomPhase() 723 StringPrintf("Line search failed: Wolfe zoom bracket width: %.5e " in ZoomPhase() 773 StringPrintf("Line search failed: Wolfe Zoom phase found " in ZoomPhase()
|
D | callbacks.cc | 69 output = StringPrintf(kReportRowFormat, in operator ()() 85 output += StringPrintf(kReportRowFormat, in operator ()()
|
D | suitesparse.cc | 143 *message = StringPrintf("cholmod_analyze failed. error code: %d", in AnalyzeCholesky() 178 *message = StringPrintf("cholmod_analyze failed. error code: %d", in AnalyzeCholeskyWithUserOrdering() 198 *message = StringPrintf("cholmod_analyze failed. error code: %d", in AnalyzeCholeskyWithNaturalOrdering() 303 StringPrintf("Unknown cholmod return code: %d. " in Cholesky()
|
/external/regex-re2/re2/ |
D | prog.cc | 62 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()
|
D | onepass.cc | 453 << StringPrintf("Not OnePass: hit node limit %d > %d", in IsOnePass() 475 << StringPrintf("Not OnePass: conflict on byte " in IsOnePass() 495 << StringPrintf("Not OnePass: conflict on byte " in IsOnePass() 526 LOG(ERROR) << StringPrintf("Not OnePass: multiple paths" in IsOnePass() 540 LOG(ERROR) << StringPrintf("Not OnePass: multiple matches" in IsOnePass()
|
/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(
|
/external/libweave/third_party/chromium/base/strings/ |
D | stringprintf_unittest.cc | 35 EXPECT_EQ("", StringPrintf("%s", "")); in TEST() 39 EXPECT_EQ("123hello w", StringPrintf("%3d%2s %1c", 123, "hello", 'w')); in TEST() 41 EXPECT_EQ(L"123hello w", StringPrintf(L"%3d%2ls %1lc", 123, L"hello", 'w')); in TEST() 175 EXPECT_EQ("", StringPrintf("%s", "")); in TEST()
|
/external/regex-re2/re2/testing/ |
D | dump.cc | 130 s->append(StringPrintf("%d,%d ", re->min(), re->max())); in DumpRegexpAppending() 140 s->append(StringPrintf("%#x", rr.lo)); in DumpRegexpAppending() 142 s->append(StringPrintf("%#x-%#x", rr.lo, rr.hi)); in DumpRegexpAppending()
|
/external/libchrome/base/mac/ |
D | mach_logging.cc | 24 return base::StringPrintf(" (%d)", mach_err); in FormatMachErrorNumber() 26 return base::StringPrintf(" (0x%08x)", mach_err); in FormatMachErrorNumber()
|
/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()
|