Home
last modified time | relevance | path

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

/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/android/guava/src/com/google/common/base/
DMoreObjects.java107 public static ToStringHelper toStringHelper(Object self) { in toStringHelper()
108 return new ToStringHelper(self.getClass().getSimpleName()); in toStringHelper()
121 public static ToStringHelper toStringHelper(Class<?> clazz) { in toStringHelper()
122 return new ToStringHelper(clazz.getSimpleName()); in toStringHelper()
133 public static ToStringHelper toStringHelper(String className) { in toStringHelper()
134 return new ToStringHelper(className); in toStringHelper()
143 public static final class ToStringHelper { class in MoreObjects
150 private ToStringHelper(String className) { in ToStringHelper() method in MoreObjects.ToStringHelper
162 public ToStringHelper omitNullValues() { in omitNullValues()
173 public ToStringHelper add(String name, @NullableDecl Object value) { in add()
[all …]
/external/guava/guava/src/com/google/common/base/
DMoreObjects.java107 public static ToStringHelper toStringHelper(Object self) { in toStringHelper()
108 return new ToStringHelper(self.getClass().getSimpleName()); in toStringHelper()
121 public static ToStringHelper toStringHelper(Class<?> clazz) { in toStringHelper()
122 return new ToStringHelper(clazz.getSimpleName()); in toStringHelper()
133 public static ToStringHelper toStringHelper(String className) { in toStringHelper()
134 return new ToStringHelper(className); in toStringHelper()
143 public static final class ToStringHelper { class in MoreObjects
150 private ToStringHelper(String className) { in ToStringHelper() method in MoreObjects.ToStringHelper
162 public ToStringHelper omitNullValues() { in omitNullValues()
173 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/guava/guava-tests/benchmark/com/google/common/base/
DToStringHelperBenchmark.java35 private static void addEntries(MoreObjects.ToStringHelper helper) { in addEntries()
50 MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("klass").omitNullValues(); in toString()
/external/guava/android/guava-tests/benchmark/com/google/common/base/
DToStringHelperBenchmark.java35 private static void addEntries(MoreObjects.ToStringHelper helper) { in addEntries()
50 MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("klass").omitNullValues(); in toString()
/external/cldr/tools/java/org/unicode/cldr/util/
DGrammarDerivation.java10 import com.google.common.base.MoreObjects.ToStringHelper;
28 … final ToStringHelper temp = MoreObjects.toStringHelper(getClass()).add("value0", value0); in toString()
/external/guava/android/guava/src/com/google/common/graph/
DElementOrder.java24 import com.google.common.base.MoreObjects.ToStringHelper;
182 ToStringHelper helper = MoreObjects.toStringHelper(this).add("type", type); in toString()
/external/guava/guava/src/com/google/common/graph/
DElementOrder.java24 import com.google.common.base.MoreObjects.ToStringHelper;
181 ToStringHelper helper = MoreObjects.toStringHelper(this).add("type", type); in toString()
/external/tensorflow/tensorflow/python/util/
Dtf_stack.cc197 return ToStringHelper(*stack_frames_cache_, opts, shared_prefix_size); in ToString()
206 return ToStringHelper(filtered_frames, opts, shared_prefix_size); in ToString()
219 static std::string ToStringHelper(absl::Span<StackFrame const> stack_frames, in ToStringHelper() function in tensorflow::__anona17030dd0111::StackTraceWrapper
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_ordering.h136 string ToStringHelper(const string& name) const;
Dhlo_ordering.cc452 string PredecessorHloOrdering::ToStringHelper(const string& name) const { in ToStringHelper() function in xla::PredecessorHloOrdering
483 return ToStringHelper("DependencyHloOrdering"); in ToString()
/external/guava/guava-tests/test/com/google/common/base/
DToStringHelperTest.java225 MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(new TestClass()); in testToString_addWithNullName()
247 MoreObjects.ToStringHelper helper = in testToString_ToStringTwice()
/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/android/guava-tests/test/com/google/common/base/
DToStringHelperTest.java225 MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(new TestClass()); in testToString_addWithNullName()
247 MoreObjects.ToStringHelper helper = in testToString_ToStringTwice()
/external/guava/android/guava/src/com/google/common/collect/
DMapMaker.java292 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
DToStringHelper.java30 public class ToStringHelper { class
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_hlo_schedule.cc51 string ToString() const override { return ToStringHelper("GpuHloOrdering"); } in ToString()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java292 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.cc1164 void ToStringHelper(const LiteralBase& literal, const ShapeIndex& shape_index,
1178 ToStringHelper(literal, element_index, print_shape, print_layout, in TupleToStringHelper()
1273 void ToStringHelper(const LiteralBase& literal, const ShapeIndex& shape_index, in ToStringHelper() function
1296 ToStringHelper(*this, {}, /*print_shape=*/true, in ToString()
1308 ToStringHelper(*this, {}, /*print_shape=*/false, in ToStringWithoutShape()
1320 ToStringHelper(*this, {}, /*print_shape=*/true, in ToStringWithLayout()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DConfiguration.java276 MoreObjects.ToStringHelper helper = in toString()
/external/guava/android/guava/src/com/google/common/cache/
DCacheBuilder.java897 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java997 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/
DAutoValueTest.java102 MoreObjects.ToStringHelper toStringHelper = MoreObjects.toStringHelper(Simple.class); in testSimple()