/build/kati/ |
stringprintf.h | 22 string StringPrintf(const char* fmt, ...);
|
log.h | 24 #include "stringprintf.h" 38 fprintf(stderr, "*kati*: %s\n", StringPrintf(args).c_str()); \ 44 fprintf(stderr, "*kati*: %s\n", StringPrintf(args).c_str()); \ 48 fprintf(stderr, "%s: %s\n", StringPrintf(__VA_ARGS__).c_str(), \ 58 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 63 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 68 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 71 g_last_error = new string(StringPrintf(__VA_ARGS__)); \
|
stmt.cc | 21 #include "stringprintf.h" 29 return StringPrintf("RuleStmt(expr=%s term=%d after_term=%s loc=%s:%d)", 50 return StringPrintf("AssignStmt(lhs=%s rhs=%s (%s) " 72 return StringPrintf("CommandStmt(%s, loc=%s:%d)", 84 return StringPrintf("IfStmt(op=%s, lhs=%s, rhs=%s t=%zu f=%zu loc=%s:%d)", 94 return StringPrintf("IncludeStmt(%s, loc=%s:%d)", 99 return StringPrintf("ExportStmt(%s, %d, loc=%s:%d)", 106 return StringPrintf("ParseErrorStmt(%s, loc=%s:%d)",
|
/art/runtime/base/ |
stringprintf_test.cc | 17 #include "stringprintf.h" 25 EXPECT_STREQ("00107e59", StringPrintf("%08zx", size).c_str()); 26 EXPECT_STREQ("0x00107e59", StringPrintf("0x%08zx", size).c_str());
|
file_magic.cc | 25 #include "stringprintf.h" 33 *error_msg = StringPrintf("Unable to open '%s' : %s", filename, strerror(errno)); 38 *error_msg = StringPrintf("Failed to find magic in '%s'", filename); 42 *error_msg = StringPrintf("Failed to seek to beginning of file '%s' : %s", filename,
|
stringprintf.h | 26 std::string StringPrintf(const char* fmt, ...)
|
/external/libchrome/base/trace_event/ |
trace_config_memory_test_util.h | 8 #include "base/strings/stringprintf.h" 18 return StringPrintf( 43 return StringPrintf( 60 return StringPrintf(
|
process_memory_maps.cc | 8 #include "base/strings/stringprintf.h" 45 value->SetString("sa", StringPrintf(kHexFmt, region.start_address)); 46 value->SetString("sz", StringPrintf(kHexFmt, region.size_in_bytes)); 52 "pss", StringPrintf(kHexFmt, region.byte_stats_proportional_resident)); 54 "pd", StringPrintf(kHexFmt, region.byte_stats_private_dirty_resident)); 56 "pc", StringPrintf(kHexFmt, region.byte_stats_private_clean_resident)); 58 "sd", StringPrintf(kHexFmt, region.byte_stats_shared_dirty_resident)); 60 "sc", StringPrintf(kHexFmt, region.byte_stats_shared_clean_resident)); 61 value->SetString("sw", StringPrintf(kHexFmt, region.byte_stats_swapped));
|
process_memory_totals.cc | 8 #include "base/strings/stringprintf.h" 24 StringPrintf("%" PRIx64, resident_set_bytes_)); 27 StringPrintf("%" PRIx64, peak_resident_set_bytes_)); 32 value->SetString(it.first, StringPrintf("%" PRIx64, it.second));
|
/system/netd/server/ |
NatControllerTest.cpp | 29 #include <android-base/stringprintf.h> 35 using android::base::StringPrintf; 76 { V4, StringPrintf("-t nat -A natctrl_nat_POSTROUTING -o %s -j MASQUERADE", extIf) }, 83 { V4, StringPrintf("-A natctrl_FORWARD -i %s -o %s -m state --state" 85 { V4, StringPrintf("-A natctrl_FORWARD -i %s -o %s -m state --state INVALID -j DROP", 87 { V4, StringPrintf("-A natctrl_FORWARD -i %s -o %s -g natctrl_tether_counters", 89 { V6, StringPrintf("-t raw -A natctrl_raw_PREROUTING -i %s -m rpfilter --invert" 91 { V4V6, StringPrintf("-A natctrl_tether_counters -i %s -o %s -j RETURN", 93 { V4V6, StringPrintf("-A natctrl_tether_counters -i %s -o %s -j RETURN", 100 { V4, StringPrintf("-D natctrl_FORWARD -i %s -o %s -m state --state [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
stringprintf_unittest.cc | 33 #include <google/protobuf/stubs/stringprintf.h> 50 EXPECT_EQ("", StringPrintf("")); 52 EXPECT_EQ("", StringPrintf("%s", string().c_str())); 53 EXPECT_EQ("", StringPrintf("%s", "")); 59 EXPECT_EQ("123hello w", StringPrintf("%3$d%2$s %1$c", 'w', "hello", 123)); 90 // StringPrintf should return an empty string instead of running 99 string value = StringPrintf("%.*s", 3, kInvalidCodePoint); 113 value = StringPrintf("%.*s", n, buf); 125 string value = StringPrintf("%.*s", 3, "\375\067s"); 135 string value = StringPrintf("Hello, %s!", "World") [all...] |
/system/core/adb/ |
diagnose_usb.cpp | 24 #include <android-base/stringprintf.h> 66 help_text += android::base::StringPrintf(" (%s)", problem); 69 return android::base::StringPrintf("%s; see [%s]", help_text.c_str(), kPermissionsHelpUrl); 78 header += android::base::StringPrintf(": %s", problem); 81 return android::base::StringPrintf("%s.\nSee [%s] for more information.",
|
/system/core/base/ |
stringprintf_test.cpp | 17 #include "android-base/stringprintf.h" 25 EXPECT_EQ("00107e59", android::base::StringPrintf("%08zx", size)); 26 EXPECT_EQ("0x00107e59", android::base::StringPrintf("0x%08zx", size)); 37 android::base::StringPrintf("hello %s", "world"); 45 std::string s(android::base::StringPrintf("%s", buf));
|
parsenetaddress.cpp | 21 #include "android-base/stringprintf.h" 39 *error = StringPrintf("bad IPv6 address '%s'", address.c_str()); 60 *error = StringPrintf("no host in '%s'", address.c_str()); 67 *error = StringPrintf("bad port number '%s' in '%s'", port_str.c_str(), 75 StringPrintf(ipv6 ? "[%s]:%d" : "%s:%d", host->c_str(), *port);
|
/art/compiler/optimizing/ |
graph_checker.cc | 25 #include "base/stringprintf.h" 63 AddError(StringPrintf( 86 AddError(StringPrintf( 99 AddError(StringPrintf("Block %d does not end with a branch instruction.", 111 AddError(StringPrintf("Unexpected instruction %s:%d jumps into the exit block.", 123 AddError(StringPrintf("Block %d has a non-phi in its phi list.", 127 AddError(StringPrintf("The recorded last phi of block %d does not match " 140 AddError(StringPrintf("Block %d has a phi in its non-phi list.", 144 AddError(StringPrintf("The recorded last instruction of block %d does not match " 156 AddError(StringPrintf("Catch block %d is a normal successor of block %d." [all...] |
/system/core/init/ |
keyword_map.h | 23 #include <android-base/stringprintf.h> 37 using android::base::StringPrintf; 41 *err = StringPrintf("invalid keyword '%s'", keyword.c_str()); 50 *err = StringPrintf("%s requires %zu argument%s", 58 *err = StringPrintf("%s requires at least %zu argument%s", 62 *err = StringPrintf("%s requires between %zu and %zu arguments",
|
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
proxy_generator.cc | 12 #include <base/strings/stringprintf.h> 19 using base::StringPrintf; 39 return StringPrintf(param_def.is_const_ref ? "const %s& %s" : "%s* %s", 53 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); 56 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())); 57 text.AddLine(StringPrintf("#define %s", header_guard.c_str())); 84 text.AddLine(StringPrintf("class %s;", 97 text.AddLine(StringPrintf("#endif // %s", header_guard.c_str())); 111 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); 114 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())) [all...] |
adaptor_generator.cc | 11 #include <base/strings/stringprintf.h> 19 using base::StringPrintf; 34 text.AddLine(StringPrintf("// - %s", interface.name.c_str())); 37 text.AddLine(StringPrintf("#ifndef %s", header_guard.c_str())); 38 text.AddLine(StringPrintf("#define %s", header_guard.c_str())); 54 text.AddLine(StringPrintf("#endif // %s", header_guard.c_str())); 72 text->AddLine(StringPrintf("// Interface definition for %s.", 75 text->AddLine(StringPrintf("class %s {", itf_name.c_str())); 78 text->AddLine(StringPrintf("virtual ~%s() = default;", itf_name.c_str())); 84 text->AddLine(StringPrintf("// Interface adaptor for %s." [all...] |
/art/runtime/ |
dex_instruction.cc | 24 #include "base/stringprintf.h" 137 os << StringPrintf("0x%04x", insn[i]) << " "; 153 os << StringPrintf("%02x%02x", static_cast<uint8_t>(insn[i] & 0x00FF), 167 case k12x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_12x(), VRegB_12x()); break; 168 case k11n: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_11n(), VRegB_11n()); break; 169 case k11x: os << StringPrintf("%s v%d", opcode, VRegA_11x()); break; 170 case k10t: os << StringPrintf("%s %+d", opcode, VRegA_10t()); break; 171 case k20t: os << StringPrintf("%s %+d", opcode, VRegA_20t()); break; 172 case k22x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_22x(), VRegB_22x()); break; 173 case k21t: os << StringPrintf("%s v%d, %+d", opcode, VRegA_21t(), VRegB_21t()); break [all...] |
/system/connectivity/apmanager/ |
dhcp_server.cc | 22 #include <base/strings/stringprintf.h> 81 string file_name = base::StringPrintf(kDnsmasqConfigFilePathFormat, 90 base::StringPrintf(kServerAddressFormat, server_address_index_)); 103 dnsmasq_process_->AddArg(base::StringPrintf("--conf-file=%s", 109 base::StringPrintf("--pid-file=%s", kDnsmasqPidFilePath)); 122 string server_address = base::StringPrintf(kServerAddressFormat, 124 string address_low = base::StringPrintf(kAddressRangeLowFormat, 126 string address_high = base::StringPrintf(kAddressRangeHighFormat, 128 string lease_file_path = base::StringPrintf(kDHCPLeasesFilePathFormat,
|
/system/connectivity/shill/ |
dns_server_proxy.cc | 22 #include <base/strings/stringprintf.h> 62 args.push_back(base::StringPrintf("--user=%s", kDnsmasqUser)); 63 args.push_back(base::StringPrintf("--group=%s", kDnsmasqGroup)); 65 args.push_back(base::StringPrintf("--server=%s", server.c_str())); 67 args.push_back(base::StringPrintf("--pid-file=%s", kDnsmasqPidFilePath));
|
certificate_file_unittest.cc | 25 #include <base/strings/stringprintf.h> 30 using base::StringPrintf; 92 string expected_output0 = StringPrintf( 104 string expected_output1 = StringPrintf( 120 StringPrintf("%s\nfoo\nbar\n%s\n", GetPEMFooter(), GetPEMHeader()))); 122 StringPrintf("%s\nfoo\nbar\n%s\n", GetPEMHeader(), GetPEMHeader()))); 124 StringPrintf("%s\nfoo\nbar\n", GetPEMHeader()))); 126 StringPrintf("foo\nbar\n%s\n", GetPEMFooter()))); 128 StringPrintf("%s\nfoo\nbar\n%s\n", GetPEMHeader(), GetPEMFooter()))); 130 StringPrintf("foo\n%s\nbar\n%s\nbaz\n", GetPEMHeader(), GetPEMFooter()))) [all...] |
/external/libchrome/base/memory/ |
linked_ptr_unittest.cc | 8 #include "base/strings/stringprintf.h" 19 A(): mynum(num++) { history += base::StringPrintf("A%d ctor\n", mynum); } 20 virtual ~A() { history += base::StringPrintf("A%d dtor\n", mynum); } 21 virtual void Use() { history += base::StringPrintf("A%d use\n", mynum); } 27 B() { history += base::StringPrintf("B%d ctor\n", mynum); } 28 ~B() override { history += base::StringPrintf("B%d dtor\n", mynum); } 29 void Use() override { history += base::StringPrintf("B%d use\n", mynum); }
|
/system/vold/ |
EmulatedVolume.cpp | 20 #include <android-base/stringprintf.h> 32 using android::base::StringPrintf; 48 setId(StringPrintf("emulated:%u,%u", major(device), minor(device))); 64 mFuseDefault = StringPrintf("/mnt/runtime/default/%s", label.c_str()); 65 mFuseRead = StringPrintf("/mnt/runtime/read/%s", label.c_str()); 66 mFuseWrite = StringPrintf("/mnt/runtime/write/%s", label.c_str()); 69 setPath(StringPrintf("/storage/%s", label.c_str()));
|
/external/libchrome/dbus/ |
dbus_statistics.cc | 13 #include "base/strings/stringprintf.h" 224 line += base::StringPrintf(":"); 226 line += base::StringPrintf(" Sent (BLOCKING):"); 228 line += base::StringPrintf(" %d", sent_blocking); 230 line += base::StringPrintf(" %d/min", sent_blocking / dminutes); 232 line += base::StringPrintf(" %d (%d/min)", 236 line += base::StringPrintf(" Sent:"); 238 line += base::StringPrintf(" %d", sent); 240 line += base::StringPrintf(" %d/min", sent / dminutes); 242 line += base::StringPrintf(" %d (%d/min)", sent, sent / dminutes) [all...] |