Home
last modified time | relevance | path

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

12345678910>>...21

/external/libbrillo/brillo/udev/
Dudev_enumerate.cc13 using base::StringPrintf;
38 VLOG(2) << StringPrintf( in AddMatchSubsystem()
49 VLOG(2) << StringPrintf( in AddNoMatchSubsystem()
61 VLOG(2) << StringPrintf( in AddMatchSysAttribute()
73 VLOG(2) << StringPrintf( in AddNoMatchSysAttribute()
84 VLOG(2) << StringPrintf( in AddMatchProperty()
95 VLOG(2) << StringPrintf( in AddMatchSysName()
106 VLOG(2) << StringPrintf( in AddMatchTag()
117 VLOG(2) << StringPrintf( in AddMatchIsInitialized()
128 VLOG(2) << StringPrintf("udev_enumerate_add_syspath(%p, \"%s\") returned %d.", in AddSysPath()
[all …]
Dudev_monitor.cc13 using base::StringPrintf;
37 VLOG(2) << StringPrintf("udev_monitor_enable_receiving(%p) returned %d.", in EnableReceiving()
47 VLOG(2) << StringPrintf("udev_monitor_get_fd(%p) returned %d.", monitor_, in GetFileDescriptor()
64 VLOG(2) << StringPrintf("udev_monitor_receive_device(%p) returned nullptr.", in ReceiveDevice()
76 VLOG(2) << StringPrintf( in FilterAddMatchSubsystemDeviceType()
88 VLOG(2) << StringPrintf( in FilterAddMatchTag()
99 VLOG(2) << StringPrintf("udev_monitor_filter_update(%p) returned %d.", in FilterUpdate()
109 VLOG(2) << StringPrintf("udev_monitor_filter_remove(%p) returned %d.", in FilterRemove()
Dudev.cc16 using base::StringPrintf;
56 VLOG(2) << StringPrintf( in CreateDeviceFromSysPath()
69 VLOG(2) << StringPrintf( in CreateDeviceFromDeviceNumber()
83 VLOG(2) << StringPrintf( in CreateDeviceFromSubsystemSysName()
103 VLOG(2) << StringPrintf("udev_enumerate_new(%p) returned nullptr.", udev_); in CreateEnumerate()
120 VLOG(2) << StringPrintf( in CreateMonitorFromNetlink()
/external/cronet/third_party/protobuf/src/google/protobuf/stubs/
Dstringprintf_unittest.cc50 EXPECT_EQ("", StringPrintf("")); in TEST()
52 EXPECT_EQ("", StringPrintf("%s", std::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()
101 std::string value = StringPrintf("%.*s", 3, kInvalidCodePoint); in TEST()
115 value = StringPrintf("%.*s", n, &buf[0]); in TEST()
128 std::string value = StringPrintf("%.*s", 3, "\375\067s"); in TEST()
138 std::string value = StringPrintf("Hello, %s!", "World"); in TEST()
148 std::string value = StringPrintf("%s", buf); in TEST()
/external/protobuf/src/google/protobuf/stubs/
Dstringprintf_unittest.cc50 EXPECT_EQ("", StringPrintf("")); in TEST()
52 EXPECT_EQ("", StringPrintf("%s", std::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()
101 std::string value = StringPrintf("%.*s", 3, kInvalidCodePoint); in TEST()
115 value = StringPrintf("%.*s", n, &buf[0]); in TEST()
128 std::string value = StringPrintf("%.*s", 3, "\375\067s"); in TEST()
138 std::string value = StringPrintf("Hello, %s!", "World"); in TEST()
148 std::string value = StringPrintf("%s", buf); in TEST()
/external/libchrome/dbus/
Ddbus_statistics.cc207 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/openscreen/util/
Dstringprintf_unittest.cc12 TEST(StringPrintf, ProducesFormattedStrings) { in TEST() argument
13 EXPECT_EQ("no args", StringPrintf("no args")); in TEST()
14 EXPECT_EQ("", StringPrintf("%s", "")); in TEST()
15 EXPECT_EQ("42", StringPrintf("%d", 42)); in TEST()
18 StringPrintf("The result of foo(%d, %d) looks %s%c", 1, 2, "good", '!')); in TEST()
/external/cronet/base/trace_event/
Dtrace_config_memory_test_util.h18 return StringPrintf( in GetTraceConfig_LegacyPeriodicTriggers()
52 return StringPrintf( in GetTraceConfig_PeriodicTriggers()
87 return StringPrintf( in GetTraceConfig_EmptyTriggers()
109 return StringPrintf( in GetTraceConfig_NoTriggers()
125 return StringPrintf( in GetTraceConfig_BackgroundTrigger()
/external/libchrome/base/trace_event/
Dtrace_config_memory_test_util.h18 return StringPrintf( in GetTraceConfig_LegacyPeriodicTriggers()
52 return StringPrintf( in GetTraceConfig_PeriodicTriggers()
86 return StringPrintf( in GetTraceConfig_EmptyTriggers()
107 return StringPrintf( in GetTraceConfig_NoTriggers()
123 return StringPrintf( in GetTraceConfig_BackgroundTrigger()
/external/wpa_supplicant_8/hostapd/aidl/
Dhostapd.cpp47 using android::base::StringPrintf;
108 StringPrintf(kConfFileNameFmt, interface_name.c_str()); in WriteHostapdConfig()
341 encryption_config_as_string = StringPrintf( in CreateHostapdConfig()
357 encryption_config_as_string = StringPrintf( in CreateHostapdConfig()
381 encryption_config_as_string = StringPrintf( in CreateHostapdConfig()
398 encryption_config_as_string = StringPrintf( in CreateHostapdConfig()
421 encryption_config_as_string = StringPrintf( in CreateHostapdConfig()
439 encryption_config_as_string = StringPrintf( in CreateHostapdConfig()
447 encryption_config_as_string = StringPrintf( in CreateHostapdConfig()
472 StringPrintf("%d-%d", range.startMhz, range.endMhz); in CreateHostapdConfig()
[all …]
/external/selinux/libselinux/src/android/
Dandroid_unittest.cpp9 using android::base::StringPrintf;
21 StringPrintf("%s/service_contexts", tdir_.path); in TEST_F()
23 StringPrintf("%s/unused_contexts", tdir_.path); in TEST_F()
25 StringPrintf("%s/vendor_service_contexts", tdir_.path); in TEST_F()
72 StringPrintf("%s/service_contexts", tdir_.path); in TEST_F()
88 StringPrintf("%s/seapp_contexts", tdir_.path); in TEST_F()
/external/libchrome/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 ~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/cronet/net/disk_cache/simple/
Dsimple_util.cc31 const std::string hash_key_str = base::StringPrintf("%016" PRIx64, hash_key); in ConvertEntryHashKeyToHexString()
65 return base::StringPrintf("%016" PRIx64 "_%1d", key.entry_hash, file_index); in GetFilenameFromEntryFileKeyAndFileIndex()
67 return base::StringPrintf("todelete_%016" PRIx64 "_%1d_%" PRIu64, in GetFilenameFromEntryFileKeyAndFileIndex()
74 return base::StringPrintf("%016" PRIx64 "_s", key.entry_hash); in GetSparseFilenameFromEntryFileKey()
76 return base::StringPrintf("todelete_%016" PRIx64 "_s_%" PRIu64, in GetSparseFilenameFromEntryFileKey()
83 base::StringPrintf("_%1d", file_index); in GetFilenameFromKeyAndFileIndex()
/external/icing/icing/testing/
Dcommon-matchers.h48 *result_listener << IcingStringUtil::StringPrintf(
63 *result_listener << IcingStringUtil::StringPrintf(
119 *result_listener << IcingStringUtil::StringPrintf(
141 *result_listener << IcingStringUtil::StringPrintf(
157 return IcingStringUtil::StringPrintf( in operator()
206 *result_listener << IcingStringUtil::StringPrintf(
341 *result_listener << IcingStringUtil::StringPrintf(
417 *result_listener << IcingStringUtil::StringPrintf(
426 *result_listener << IcingStringUtil::StringPrintf(
440 *result_listener << IcingStringUtil::StringPrintf(
[all …]
/external/libchrome-gestures/src/
Dgestures.cc44 using gestures::StringPrintf;
63 return StringPrintf("%f, // left edge\n" in String()
137 ret = StringPrintf("%u%s", flags, ret.c_str()); in FlagsString()
148 return StringPrintf("{ %f, %f, %f, %f, %f, %f, %f, %f, %d, %s }", in String()
173 string ret = StringPrintf("{ %f, %d, %d, %d, {", in String()
220 return StringPrintf("(Gesture type: contactInitiated " in String()
223 return StringPrintf("(Gesture type: move start: %f stop: %f " in String()
229 return StringPrintf("(Gesture type: scroll start: %f stop: %f " in String()
235 return StringPrintf("(Gesture type: wheel start: %f stop %f " in String()
243 return StringPrintf("(Gesture type: pinch start: %f stop: %f " in String()
[all …]
/external/icing/icing/index/
Dterm-id-codec.cc34 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Create()
52 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in EncodeTvi()
60 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in EncodeTvi()
77 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in DecodeTviType()
/external/icing/icing/file/
Dfile-backed-vector.h688 return absl_ports::InternalError(IcingStringUtil::StringPrintf( in InitializeExistingFile()
697 return absl_ports::InternalError(IcingStringUtil::StringPrintf( in InitializeExistingFile()
778 IcingStringUtil::StringPrintf("Index, %d, was less than 0", idx)); in Get()
782 return absl_ports::OutOfRangeError(IcingStringUtil::StringPrintf( in Get()
795 IcingStringUtil::StringPrintf("Index, %d, was less than 0", idx)); in GetMutable()
799 return absl_ports::OutOfRangeError(IcingStringUtil::StringPrintf( in GetMutable()
812 IcingStringUtil::StringPrintf("Index, %d, was less than 0", idx)); in GetMutable()
816 return absl_ports::OutOfRangeError(IcingStringUtil::StringPrintf( in GetMutable()
835 IcingStringUtil::StringPrintf("Index, %d, was less than 0", idx)); in Set()
844 IcingStringUtil::StringPrintf("Length %d (with index %d), was too long " in Set()
[all …]
Dfile-backed-proto-log.h322 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Create()
330 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Create()
409 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in InitializeExistingFile()
415 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in InitializeExistingFile()
483 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ComputeChecksum()
490 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ComputeChecksum()
499 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ComputeChecksum()
558 IcingStringUtil::StringPrintf("Trying to read from a location, %lld, " in ReadProto()
624 return absl_ports::OutOfRangeError(IcingStringUtil::StringPrintf( in Advance()
652 return absl_ports::OutOfRangeError(IcingStringUtil::StringPrintf( in ReadProtoMetadata()
[all …]
Dportable-file-backed-proto-log.h617 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Create()
625 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Create()
631 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in Create()
726 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in InitializeExistingFile()
733 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in InitializeExistingFile()
750 return absl_ports::InternalError(IcingStringUtil::StringPrintf( in InitializeExistingFile()
827 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ComputeChecksum()
834 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ComputeChecksum()
843 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ComputeChecksum()
898 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in WriteProto()
[all …]
Dfile-backed-bitmap.cc109 return absl_ports::InternalError(IcingStringUtil::StringPrintf( in Initialize()
120 return absl_ports::InternalError(IcingStringUtil::StringPrintf( in Initialize()
164 return absl_ports::InternalError(IcingStringUtil::StringPrintf( in UpgradeToCurrentVersion()
235 return absl_ports::OutOfRangeError(IcingStringUtil::StringPrintf( in Get()
256 return absl_ports::ResourceExhaustedError(IcingStringUtil::StringPrintf( in GrowTo()
264 IcingStringUtil::StringPrintf("Growing file %s to new size %zd failed", in GrowTo()
296 return absl_ports::InternalError(IcingStringUtil::StringPrintf( in TruncateTo()
/external/icing/icing/file/posting_list/
Dindex-block.cc47 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ValidatePostingListBytes()
64 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CreateFromPreexistingIndexBlockRegion()
88 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CreateFromUninitializedRegion()
105 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in GetAllocatedPostingList()
183 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in FreePostingList()
199 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in WritePostingListToDisk()
293 return absl_ports::InternalError(IcingStringUtil::StringPrintf( in ReadHeader()
/external/cronet/net/test/embedded_test_server/
Ddefault_handlers.cc420 http_response->set_content(base::StringPrintf( in HandleIframe()
494 http_response->set_content(base::StringPrintf( in HandleAuthBasic()
525 base::StringPrintf("<!doctype html><title>%s/%s</title>" in HandleAuthBasic()
540 base::StringPrintf("privatekey%s", request.relative_url.c_str())); in HandleAuthDigest()
581 base::StringPrintf("%s:%s:%s", auth_pairs["username"].c_str(), in HandleAuthDigest()
583 std::string hash2 = base::MD5String(base::StringPrintf( in HandleAuthDigest()
590 response = base::MD5String(base::StringPrintf( in HandleAuthDigest()
595 response = base::MD5String(base::StringPrintf( in HandleAuthDigest()
610 std::string auth_header = base::StringPrintf( in HandleAuthDigest()
617 base::StringPrintf("<!doctype html><title>Denied: %s</title>" in HandleAuthDigest()
[all …]
/external/icing/icing/store/
Dusage-store.cc73 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in AddUsageReport()
145 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in DeleteUsageScores()
161 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in GetUsageScores()
180 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in SetUsageScores()
190 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CloneUsageScores()
195 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in CloneUsageScores()
/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-language-segmenter.cc147 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ResetToTermStartingAfterUtf32()
161 return absl_ports::NotFoundError(IcingStringUtil::StringPrintf( in ResetToTermStartingAfterUtf32()
170 return absl_ports::NotFoundError(IcingStringUtil::StringPrintf( in ResetToTermStartingAfterUtf32()
190 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ResetToTermEndingBeforeUtf32()
226 return absl_ports::NotFoundError(IcingStringUtil::StringPrintf( in ResetToTermEndingBeforeUtf32()
/external/icing/icing/tokenization/icu/
Dicu-language-segmenter.cc143 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ResetToTermStartingAfterUtf32()
156 return absl_ports::NotFoundError(IcingStringUtil::StringPrintf( in ResetToTermStartingAfterUtf32()
165 return absl_ports::NotFoundError(IcingStringUtil::StringPrintf( in ResetToTermStartingAfterUtf32()
178 return absl_ports::InvalidArgumentError(IcingStringUtil::StringPrintf( in ResetToTermEndingBeforeUtf32()
204 return absl_ports::NotFoundError(IcingStringUtil::StringPrintf( in ResetToTermEndingBeforeUtf32()
216 return absl_ports::AbortedError(IcingStringUtil::StringPrintf( in ResetToTermEndingBeforeUtf32()

12345678910>>...21