/build/kati/ |
stringprintf.h | 22 string StringPrintf(const char* fmt, ...);
|
log.h | 25 #include "stringprintf.h" 40 fprintf(stderr, "*kati*: %s\n", StringPrintf(args).c_str()); \ 47 fprintf(stderr, "*kati*: %s\n", StringPrintf(args).c_str()); \ 52 fprintf(stderr, "%s: %s\n", StringPrintf(__VA_ARGS__).c_str(), \ 64 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 70 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 76 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \ 79 g_last_error = new string(StringPrintf(__VA_ARGS__)); \ 93 ColorWarnLog(LOCF(loc), StringPrintf(__VA_ARGS__).c_str()); \ 99 ColorWarnLog(LOCF(loc), StringPrintf(__VA_ARGS__).c_str()); [all...] |
/external/libchrome/base/trace_event/ |
trace_config_memory_test_util.h | 8 #include "base/strings/stringprintf.h" 18 return StringPrintf( 49 return StringPrintf( 80 return StringPrintf( 98 return StringPrintf( 111 return StringPrintf( 134 return StringPrintf(
|
process_memory_maps.cc | 8 #include "base/strings/stringprintf.h" 48 value->SetString("sa", StringPrintf(kHexFmt, region.start_address)); 49 value->SetString("sz", StringPrintf(kHexFmt, region.size_in_bytes)); 55 "pss", StringPrintf(kHexFmt, region.byte_stats_proportional_resident)); 57 "pd", StringPrintf(kHexFmt, region.byte_stats_private_dirty_resident)); 59 "pc", StringPrintf(kHexFmt, region.byte_stats_private_clean_resident)); 61 "sd", StringPrintf(kHexFmt, region.byte_stats_shared_dirty_resident)); 63 "sc", StringPrintf(kHexFmt, region.byte_stats_shared_clean_resident)); 64 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));
|
/packages/apps/Nfc/nci/jni/ |
Pn544Interop.cpp | 29 #include <android-base/stringprintf.h> 32 using android::base::StringPrintf; 66 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); 75 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); 89 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); 94 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: abort now", __func__); 101 << StringPrintf("%s: start polling", __func__); 106 << StringPrintf("%s: try again later", __func__); 114 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); 131 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: %u", __func__, isBusy) [all...] |
Mutex.cpp | 27 #include <android-base/stringprintf.h> 30 using android::base::StringPrintf; 45 LOG(ERROR) << StringPrintf("Mutex::Mutex: fail init; error=0x%X", res); 61 LOG(ERROR) << StringPrintf("Mutex::~Mutex: fail destroy; error=0x%X", res); 77 LOG(ERROR) << StringPrintf("Mutex::lock: fail lock; error=0x%X", res); 93 LOG(ERROR) << StringPrintf("Mutex::unlock: fail unlock; error=0x%X", res); 109 LOG(ERROR) << StringPrintf("Mutex::tryLock: error=0x%X", res);
|
CondVar.cpp | 27 #include <android-base/stringprintf.h> 30 using android::base::StringPrintf; 48 LOG(ERROR) << StringPrintf("CondVar::CondVar: fail init; error=0x%X", res); 64 LOG(ERROR) << StringPrintf("CondVar::~CondVar: fail destroy; error=0x%X", 81 LOG(ERROR) << StringPrintf("CondVar::wait: fail wait; error=0x%X", res); 100 LOG(ERROR) << StringPrintf("CondVar::wait: fail get time; errno=0x%X", 115 LOG(ERROR) << StringPrintf("CondVar::wait: fail timed wait; error=0x%X", 133 LOG(ERROR) << StringPrintf("CondVar::notifyOne: fail signal; error=0x%X",
|
PeerToPeer.cpp | 22 #include <android-base/stringprintf.h> 31 using android::base::StringPrintf; 108 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("PeerToPeer::initialize"); 196 << StringPrintf("%s: enter; service name: %s JNI handle: %u", fn, 203 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 217 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 226 LOG(ERROR) << StringPrintf("%s: service name=%s no free entry", fn, 232 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 236 LOG(ERROR) << StringPrintf("%s: invalid server handle", fn); 259 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( [all...] |
NativeP2pDevice.cpp | 17 #include <android-base/stringprintf.h> 25 using android::base::StringPrintf; 32 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__); 37 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__); 42 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__); 47 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__); 52 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__);
|
RoutingManager.cpp | 21 #include <android-base/stringprintf.h> 32 using android::base::StringPrintf; 61 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 66 << StringPrintf("%s: default route is 0x%02X", fn, mDefaultEe); 82 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 107 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: try ee register", fn); 110 LOG(ERROR) << StringPrintf("%s: fail ee register; error=0x%X", fn, 121 << StringPrintf("%s: Technology Routing (NfcASe:0x%02x, NfcFSe:0x%02x)", 127 LOG(INFO) << StringPrintf("Waiting for EE info"); 133 << StringPrintf("%s: Number of EE is %d", fn, mEeInfo.num_ee) [all...] |
NativeLlcpSocket.cpp | 16 #include <android-base/stringprintf.h> 24 using android::base::StringPrintf; 44 << StringPrintf("%s: enter; sap=%d", __func__, nSap); 50 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); 67 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); 79 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); 95 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); 101 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); 118 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); 128 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__) [all...] |
PowerSwitch.cpp | 24 #include <android-base/stringprintf.h> 27 using android::base::StringPrintf; 95 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 100 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 115 LOG(ERROR) << StringPrintf("%s: not handled", fn); 154 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 162 LOG(ERROR) << StringPrintf("%s: unknown power level", fn); 172 << StringPrintf("%s: wait for deactivation", fn); 197 LOG(ERROR) << StringPrintf("%s: not handled", fn); 201 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( [all...] |
NativeNfcTag.cpp | 17 #include <android-base/stringprintf.h> 42 using android::base::StringPrintf; 135 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s", __func__); 175 << StringPrintf("%s: status=0x%X; is reading=%u", __func__, status, 217 << StringPrintf("%s: event=%u, eventData=%p", __func__, event, eventData); 223 << StringPrintf("%s: NFA_NDEF_REGISTER_EVT; status=0x%X; h=0x%X", 230 << StringPrintf("%s: NFA_NDEF_DATA_EVT; data_len = %u", __func__, 238 LOG(ERROR) << StringPrintf("%s: Unknown event %u ????", __func__, event); 255 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); 281 << StringPrintf("%s: read %u bytes", __func__, sReadDataLen) [all...] |
NfcJniUtil.cpp | 19 #include <android-base/stringprintf.h> 28 using android::base::StringPrintf; 44 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", __func__); 47 LOG(INFO) << StringPrintf("NFC Service: loading nci JNI"); 65 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: exit", __func__); 83 LOG(ERROR) << StringPrintf("%s: find class error", __func__); 90 LOG(ERROR) << StringPrintf("%s: create object error", __func__); 96 LOG(ERROR) << StringPrintf("%s: global ref error", __func__); 150 LOG(ERROR) << StringPrintf("%s: find class error", __func__); 157 LOG(ERROR) << StringPrintf("%s: create object error", __func__) [all...] |
NativeNfcManager.cpp | 17 #include <android-base/stringprintf.h> 45 using android::base::StringPrintf; 188 << StringPrintf("%s: level=%u", __func__, nfc_debug_enabled); 250 << StringPrintf("%s: event= %u", __func__, connEvent); 255 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 265 << StringPrintf("%s: NFA_POLL_DISABLED_EVT: status = %u", __func__, 275 << StringPrintf("%s: NFA_RF_DISCOVERY_STARTED_EVT: status = %u", 285 << StringPrintf("%s: NFA_RF_DISCOVERY_STOPPED_EVT: status = %u", 294 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 297 LOG(ERROR) << StringPrintf("%s: NFA_DISC_RESULT_EVT error: status = %d" [all...] |
/external/libmojo/ui/gfx/geometry/ |
insets_f.cc | 7 #include "base/strings/stringprintf.h" 13 return base::StringPrintf("%f,%f,%f,%f", top(), left(), bottom(), right());
|
/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/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));
|
/system/netd/server/ |
StrictController.cpp | 29 #include <android-base/stringprintf.h> 45 using android::base::StringPrintf; 69 #define CMD_V4(...) { auto cmd = StringPrintf(__VA_ARGS__); v4.push_back(cmd); } 70 #define CMD_V6(...) { auto cmd = StringPrintf(__VA_ARGS__); v6.push_back(cmd); } 144 #define CLEAR_CHAIN(x) StringPrintf(":%s -", (x)) 165 std::string perUidChain = StringPrintf("st_clear_caught_%u", uid); 172 StringPrintf("-D %s -m owner --uid-owner %d -j %s", 174 StringPrintf("-D %s -m owner --uid-owner %d -j %s", 176 StringPrintf("-F %s", perUidChain.c_str()), 177 StringPrintf("-X %s", perUidChain.c_str()) [all...] |
/system/nfc/src/nfa/hci/ |
nfa_hci_api.cc | 24 #include <android-base/stringprintf.h> 31 using android::base::StringPrintf; 59 << StringPrintf("Invalid Application name"); 64 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 71 << StringPrintf("Application Name: %s", p_app_name); 116 << StringPrintf("Invalid hci_handle:0x%04x", hci_handle); 121 << StringPrintf("hci_handle:0x%04x", hci_handle); 159 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("Invalid Application"); 164 << StringPrintf("Application Name: %s", p_app_name); 178 LOG(ERROR) << StringPrintf("Application Name: %s NOT FOUND", p_app_name) [all...] |
/art/compiler/optimizing/ |
graph_checker.cc | 23 #include "android-base/stringprintf.h" 31 using android::base::StringPrintf; 77 AddError(StringPrintf( 100 AddError(StringPrintf( 113 AddError(StringPrintf("Block %d does not end with a branch instruction.", 125 AddError(StringPrintf("Unexpected instruction %s:%d jumps into the exit block.", 137 AddError(StringPrintf("Block %d has a non-phi in its phi list.", 141 AddError(StringPrintf("The recorded last phi of block %d does not match " 154 AddError(StringPrintf("Block %d has a phi in its non-phi list.", 158 AddError(StringPrintf("The recorded last instruction of block %d does not match [all...] |
/system/nfc/src/nfc/llcp/ |
llcp_api.cc | 25 #include <android-base/stringprintf.h> 32 using android::base::StringPrintf; 54 << StringPrintf("version:0x%02X, wks:0x%04X", version, wks); 102 << StringPrintf("link_miu:%d, opt:0x%02X, wt:%d, link_timeout:%d", 104 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 108 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf( 112 LOG(ERROR) << StringPrintf( 118 LOG(ERROR) << StringPrintf( 127 LOG(ERROR) << StringPrintf( 137 LOG(ERROR) << StringPrintf( [all...] |
/art/libartbase/base/ |
file_magic.cc | 24 #include <android-base/stringprintf.h> 30 using android::base::StringPrintf; 36 *error_msg = StringPrintf("Unable to open '%s' : %s", filename, strerror(errno)); 40 StringPrintf("Error in reading magic from file %s: %s", filename, error_msg->c_str()); 49 *error_msg = StringPrintf("Failed to find magic"); 53 *error_msg = StringPrintf("Failed to seek to beginning of file : %s", strerror(errno));
|
/system/core/init/ |
keyword_map.h | 23 #include <android-base/stringprintf.h> 40 using android::base::StringPrintf; 49 return Error() << StringPrintf("Invalid keyword '%s'", keyword.c_str()); 57 return Error() << StringPrintf("%s requires %zu argument%s", keyword.c_str(), min_args, 63 return Error() << StringPrintf("%s requires at least %zu argument%s", 66 return Error() << StringPrintf("%s requires between %zu and %zu arguments",
|