Home
last modified time | relevance | path

Searched refs:baseStr (Results 1 – 16 of 16) sorted by relevance

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/builder/
DToStringBuilderTest.java39 …private final String baseStr = base.getClass().getName() + "@" + Integer.toHexString(System.identi… field in ToStringBuilderTest
77 assertEquals(baseStr + "[]", new ToStringBuilder(base).toString()); in testBlank()
85 assertEquals(baseStr + "[value=5]", ToStringBuilder.reflectionToString(base)); in testReflectionInteger()
580 … assertEquals(baseStr + "[]", new ToStringBuilder(base).appendSuper("Integer@8888[]").toString()); in testAppendSuper()
581 …assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).appendSuper("Integer@8888[<null>]").t… in testAppendSuper()
583 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[]").append… in testAppendSuper()
584 …assertEquals(baseStr + "[<null>,a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[<nu… in testAppendSuper()
585 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper(null).append("a", "hello… in testAppendSuper()
590 …assertEquals(baseStr + "[]", new ToStringBuilder(base).appendToString("Integer@8888[]").toString()… in testAppendToString()
591 …assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).appendToString("Integer@8888[<null>]"… in testAppendToString()
[all …]
DDefaultToStringStyleTest.java36 …private final String baseStr = base.getClass().getName() + "@" + Integer.toHexString(System.identi… field in DefaultToStringStyleTest
50 assertEquals(baseStr + "[]", new ToStringBuilder(base).toString()); in testBlank()
55 … assertEquals(baseStr + "[]", new ToStringBuilder(base).appendSuper("Integer@8888[]").toString()); in testAppendSuper()
56 …assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).appendSuper("Integer@8888[<null>]").t… in testAppendSuper()
58 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[]").append… in testAppendSuper()
59 …assertEquals(baseStr + "[<null>,a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[<nu… in testAppendSuper()
60 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper(null).append("a", "hello… in testAppendSuper()
67 … assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).append((Object) null).toString()); in testObject()
68 assertEquals(baseStr + "[3]", new ToStringBuilder(base).append(i3).toString()); in testObject()
69 …assertEquals(baseStr + "[a=<null>]", new ToStringBuilder(base).append("a", (Object) null).toString… in testObject()
[all …]
DNoFieldNamesToStringStyleTest.java36 …private final String baseStr = base.getClass().getName() + "@" + Integer.toHexString(System.identi… field in NoFieldNamesToStringStyleTest
50 assertEquals(baseStr + "[]", new ToStringBuilder(base).toString()); in testBlank()
55 … assertEquals(baseStr + "[]", new ToStringBuilder(base).appendSuper("Integer@8888[]").toString()); in testAppendSuper()
56 …assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).appendSuper("Integer@8888[<null>]").t… in testAppendSuper()
58 …assertEquals(baseStr + "[hello]", new ToStringBuilder(base).appendSuper("Integer@8888[]").append("… in testAppendSuper()
59 …assertEquals(baseStr + "[<null>,hello]", new ToStringBuilder(base).appendSuper("Integer@8888[<null… in testAppendSuper()
60 …assertEquals(baseStr + "[hello]", new ToStringBuilder(base).appendSuper(null).append("a", "hello")… in testAppendSuper()
67 … assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).append((Object) null).toString()); in testObject()
68 assertEquals(baseStr + "[3]", new ToStringBuilder(base).append(i3).toString()); in testObject()
69 …assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).append("a", (Object) null).toString()… in testObject()
[all …]
DShortPrefixToStringStyleTest.java36 private final String baseStr = "Integer"; field in ShortPrefixToStringStyleTest
50 assertEquals(baseStr + "[]", new ToStringBuilder(base).toString()); in testBlank()
55 … assertEquals(baseStr + "[]", new ToStringBuilder(base).appendSuper("Integer@8888[]").toString()); in testAppendSuper()
56 …assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).appendSuper("Integer@8888[<null>]").t… in testAppendSuper()
58 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[]").append… in testAppendSuper()
59 …assertEquals(baseStr + "[<null>,a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[<nu… in testAppendSuper()
60 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper(null).append("a", "hello… in testAppendSuper()
67 … assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).append((Object) null).toString()); in testObject()
68 assertEquals(baseStr + "[3]", new ToStringBuilder(base).append(i3).toString()); in testObject()
69 …assertEquals(baseStr + "[a=<null>]", new ToStringBuilder(base).append("a", (Object) null).toString… in testObject()
[all …]
DStandardToStringStyleTest.java38 private final String baseStr = "Integer"; field in StandardToStringStyleTest
74 assertEquals(baseStr + "[]", new ToStringBuilder(base).toString()); in testBlank()
79 … assertEquals(baseStr + "[]", new ToStringBuilder(base).appendSuper("Integer@8888[]").toString()); in testAppendSuper()
80 …assertEquals(baseStr + "[%NULL%]", new ToStringBuilder(base).appendSuper("Integer@8888[%NULL%]").t… in testAppendSuper()
82 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[]").append… in testAppendSuper()
83 …assertEquals(baseStr + "[%NULL%,a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[%NU… in testAppendSuper()
84 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper(null).append("a", "hello… in testAppendSuper()
91 … assertEquals(baseStr + "[%NULL%]", new ToStringBuilder(base).append((Object) null).toString()); in testObject()
92 assertEquals(baseStr + "[3]", new ToStringBuilder(base).append(i3).toString()); in testObject()
93 …assertEquals(baseStr + "[a=%NULL%]", new ToStringBuilder(base).append("a", (Object) null).toString… in testObject()
[all …]
DRecursiveToStringStyleTest.java35 …private final String baseStr = base.getClass().getName() + "@" + Integer.toHexString(System.identi… field in RecursiveToStringStyleTest
49 assertEquals(baseStr + "[]", new ToStringBuilder(base).toString()); in testBlank()
54 … assertEquals(baseStr + "[]", new ToStringBuilder(base).appendSuper("Integer@8888[]").toString()); in testAppendSuper()
55 …assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).appendSuper("Integer@8888[<null>]").t… in testAppendSuper()
57 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[]").append… in testAppendSuper()
58 …assertEquals(baseStr + "[<null>,a=hello]", new ToStringBuilder(base).appendSuper("Integer@8888[<nu… in testAppendSuper()
59 …assertEquals(baseStr + "[a=hello]", new ToStringBuilder(base).appendSuper(null).append("a", "hello… in testAppendSuper()
68 … assertEquals(baseStr + "[<null>]", new ToStringBuilder(base).append((Object) null).toString()); in testObject()
69 assertEquals(baseStr + "[3]", new ToStringBuilder(base).append(i3).toString()); in testObject()
70 …assertEquals(baseStr + "[a=<null>]", new ToStringBuilder(base).append("a", (Object) null).toString… in testObject()
[all …]
DMultiLineToStringStyleTest.java36 …private final String baseStr = base.getClass().getName() + "@" + Integer.toHexString(System.identi… field in MultiLineToStringStyleTest
50 … assertEquals(baseStr + "[" + System.lineSeparator() + "]", new ToStringBuilder(base).toString()); in testBlank()
55 …assertEquals(baseStr + "[" + System.lineSeparator() + "]", new ToStringBuilder(base).appendSuper("… in testAppendSuper()
56 …assertEquals(baseStr + "[" + System.lineSeparator() + " <null>" + System.lineSeparator() + "]", n… in testAppendSuper()
58 …assertEquals(baseStr + "[" + System.lineSeparator() + " a=hello" + System.lineSeparator() + "]", … in testAppendSuper()
59 …assertEquals(baseStr + "[" + System.lineSeparator() + " <null>" + System.lineSeparator() + " a=h… in testAppendSuper()
60 …assertEquals(baseStr + "[" + System.lineSeparator() + " a=hello" + System.lineSeparator() + "]", … in testAppendSuper()
67 …assertEquals(baseStr + "[" + System.lineSeparator() + " <null>" + System.lineSeparator() + "]", n… in testObject()
68 …assertEquals(baseStr + "[" + System.lineSeparator() + " 3" + System.lineSeparator() + "]", new To… in testObject()
69 …assertEquals(baseStr + "[" + System.lineSeparator() + " a=<null>" + System.lineSeparator() + "]",… in testObject()
[all …]
/external/cronet/third_party/icu/source/i18n/
Dunits_converter.cpp150 StringPiece baseStr; in addFactorElement() local
166 baseStr = elementStr.substr(0, powerInd); in addFactorElement()
171 baseStr = elementStr; in addFactorElement()
174 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement()
365 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant() argument
367 if (baseStr == "ft_to_m") { in addSingleFactorConstant()
369 } else if (baseStr == "ft2_to_m2") { in addSingleFactorConstant()
371 } else if (baseStr == "ft3_to_m3") { in addSingleFactorConstant()
373 } else if (baseStr == "in3_to_m3") { in addSingleFactorConstant()
376 } else if (baseStr == "gal_to_m3") { in addSingleFactorConstant()
[all …]
Dunits_converter.h100 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum sigNum,
/external/icu/icu4c/source/i18n/
Dunits_converter.cpp150 StringPiece baseStr; in addFactorElement() local
166 baseStr = elementStr.substr(0, powerInd); in addFactorElement()
171 baseStr = elementStr; in addFactorElement()
174 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement()
365 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant() argument
367 if (baseStr == "ft_to_m") { in addSingleFactorConstant()
369 } else if (baseStr == "ft2_to_m2") { in addSingleFactorConstant()
371 } else if (baseStr == "ft3_to_m3") { in addSingleFactorConstant()
373 } else if (baseStr == "in3_to_m3") { in addSingleFactorConstant()
376 } else if (baseStr == "gal_to_m3") { in addSingleFactorConstant()
[all …]
Dunits_converter.h100 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum sigNum,
/external/angle/samples/multi_texture/
DMultiTexture.cpp78 std::stringstream baseStr; in initialize() local
79 baseStr << angle::GetExecutableDirectory() << "/basemap.tga"; in initialize()
84 mBaseMapTexID = loadTexture(baseStr.str()); in initialize()
/external/icu/libicu/cts_headers/
Dunits_converter.h100 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum sigNum,
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp73 UnicodeString baseStr = fq.toString(); in checkDoubleBehavior() local
80 UnicodeString(u"After conversion to exact BCD (double): ") + baseStr + u" vs " + newStr, in checkDoubleBehavior()
/external/cronet/third_party/icu/source/test/intltest/
Dnumbertest_decimalquantity.cpp73 UnicodeString baseStr = fq.toString(); in checkDoubleBehavior() local
80 UnicodeString(u"After conversion to exact BCD (double): ") + baseStr + u" vs " + newStr, in checkDoubleBehavior()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1712 std::string baseStr = "typeInfo", typeInfoName; in createStandardUtilityFunctions() local
1727 typeInfoNameBuilder << baseStr << i; in createStandardUtilityFunctions()