Home
last modified time | relevance | path

Searched refs:ToStringHelper (Results 1 – 25 of 30) sorted by relevance

12

/external/slf4j/slf4j-ext/src/test/java/org/slf4j/instrumentation/
DToStringHelperTest.java32 assertEquals("", "null", ToStringHelper.render(null)); in testRenderer()
33 assertEquals("", "a", ToStringHelper.render("a")); in testRenderer()
34 assertEquals("", "[]", ToStringHelper.render(new String[0])); in testRenderer()
36 assertEquals("", "[a]", ToStringHelper.render(new String[] { "a" })); in testRenderer()
38 assertEquals("", "[a, b]", ToStringHelper.render(new String[] { "a", "b" })); in testRenderer()
40 assertEquals("", "[a, b, c]", ToStringHelper.render(new String[] { "a", "b", "c" })); in testRenderer()
42 …assertEquals("", "[[a], [b, c]]", ToStringHelper.render(new String[][] { { "a" }, { "b", "c" } })); in testRenderer()
44 …assertEquals("", "[0, [a], [b, c]]", ToStringHelper.render(new Object[] { "0", new String[] { "a" … in testRenderer()
46 assertEquals("", "[1]", ToStringHelper.render(new int[] { 1 })); in testRenderer()
48 assertEquals("", "[1, 2, 3]", ToStringHelper.render(new int[] { 1, 2, 3 })); in testRenderer()
[all …]
/external/guava/guava/src/com/google/common/base/
DMoreObjects.java94 public static ToStringHelper toStringHelper(Object self) { in toStringHelper()
95 return new ToStringHelper(simpleName(self.getClass())); in toStringHelper()
108 public static ToStringHelper toStringHelper(Class<?> clazz) { in toStringHelper()
109 return new ToStringHelper(simpleName(clazz)); in toStringHelper()
120 public static ToStringHelper toStringHelper(String className) { in toStringHelper()
121 return new ToStringHelper(className); in toStringHelper()
153 public static final class ToStringHelper { class in MoreObjects
162 private ToStringHelper(String className) { in ToStringHelper() method in MoreObjects.ToStringHelper
173 public ToStringHelper omitNullValues() { in omitNullValues()
184 public ToStringHelper add(String name, @Nullable Object value) { in add()
[all …]
DObjects.java129 public static ToStringHelper toStringHelper(Object self) { in toStringHelper()
130 return new ToStringHelper(MoreObjects.simpleName(self.getClass())); in toStringHelper()
146 public static ToStringHelper toStringHelper(Class<?> clazz) { in toStringHelper()
147 return new ToStringHelper(MoreObjects.simpleName(clazz)); in toStringHelper()
161 public static ToStringHelper toStringHelper(String className) { in toStringHelper()
162 return new ToStringHelper(className); in toStringHelper()
198 public static final class ToStringHelper { class in Objects
207 private ToStringHelper(String className) { in ToStringHelper() method in Objects.ToStringHelper
218 public ToStringHelper omitNullValues() { in omitNullValues()
229 public ToStringHelper add(String name, @Nullable Object value) { in add()
[all …]
/external/testng/src/main/java/org/testng/collections/
DObjects.java35 public static class ToStringHelper { class in Objects
41 public ToStringHelper(String className) { in ToStringHelper() method in Objects.ToStringHelper
45 public ToStringHelper omitNulls() { in omitNulls()
50 public ToStringHelper omitEmptyStrings() { in omitEmptyStrings()
55 public ToStringHelper add(String name, String value) { in add()
60 public ToStringHelper add(String name, Object value) { in add()
90 public static ToStringHelper toStringHelper(Class<?> class1) { in toStringHelper()
91 return new ToStringHelper(class1.getSimpleName()); in toStringHelper()
/external/droiddriver/src/io/appium/droiddriver/util/
DStrings.java27 public static ToStringHelper toStringHelper(Object self) { in toStringHelper()
28 return new ToStringHelper(self.getClass().getSimpleName()); in toStringHelper()
31 public static final class ToStringHelper { class in Strings
38 private ToStringHelper(String className) { in ToStringHelper() method in Strings.ToStringHelper
42 public ToStringHelper addValue(Object value) { in addValue()
47 public ToStringHelper add(String name, Object value) { in add()
/external/guava/guava-tests/benchmark/com/google/common/base/
DToStringHelperBenchmark.java33 private static void addEntries(Objects.ToStringHelper helper) { in addEntries()
47 Objects.ToStringHelper helper = Objects.toStringHelper("klass").omitNullValues(); in toString()
/external/droiddriver/src/io/appium/droiddriver/actions/
DSingleKeyAction.java27 import io.appium.droiddriver.util.Strings.ToStringHelper;
85 ToStringHelper toStringHelper = Strings.toStringHelper(this); in toString()
DSwipeAction.java28 import io.appium.droiddriver.util.Strings.ToStringHelper;
212 ToStringHelper toStringHelper = Strings.toStringHelper(this); in toString()
/external/droiddriver/src/io/appium/droiddriver/base/
DBaseUiElement.java46 import io.appium.droiddriver.util.Strings.ToStringHelper;
283 ToStringHelper toStringHelper = Strings.toStringHelper(this); in toString()
295 private static void addAttribute(ToStringHelper toStringHelper, Attribute attr, Object value) { in addAttribute()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_ordering.cc315 string PredecessorHloOrdering::ToStringHelper(const string& name) const { in ToStringHelper() function in xla::PredecessorHloOrdering
346 return ToStringHelper("DependencyHloOrdering"); in ToString()
Dhlo_ordering.h115 string ToStringHelper(const string& name) const;
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DStreamService.java27 import com.google.common.base.MoreObjects.ToStringHelper;
324 ToStringHelper helper = MoreObjects.toStringHelper(StreamItem.class); in toString()
/external/guava/guava-tests/test/com/google/common/base/
DToStringHelperTest.java237 Objects.ToStringHelper helper = Objects.toStringHelper(new TestClass()); in testToString_addWithNullName()
263 Objects.ToStringHelper helper = Objects.toStringHelper(new TestClass()) in testToString_ToStringTwice()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_hlo_schedule.cc51 string ToString() const override { return ToStringHelper("GpuHloOrdering"); } in ToString()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DToStringHelper.java30 public class ToStringHelper { class
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.cc1047 void ToStringHelper(const LiteralBase& literal, const ShapeIndex& shape_index,
1061 ToStringHelper(literal, element_index, print_shape, print_layout, in TupleToStringHelper()
1168 void ToStringHelper(const LiteralBase& literal, const ShapeIndex& shape_index, in ToStringHelper() function
1199 ToStringHelper(*this, {}, /*print_shape=*/true, in ToString()
1207 ToStringHelper(*this, {}, /*print_shape=*/false, in ToStringWithoutShape()
1215 ToStringHelper(*this, {}, /*print_shape=*/true, in ToStringWithLayout()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java589 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java834 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java596 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
/external/dagger2/lib/
Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12