/external/smali/dexlib2/src/test/java/org/jf/util/ |
D | StringWrapperTest.java | 66 StringWrapper.wrapString("abc\nabcdefabcdef", 6, null)); in testWrapString() 70 StringWrapper.wrapString("abc", 6, new String[3])); in testWrapString() 74 StringWrapper.wrapString("abc", 6, new String[0])); in testWrapString() 78 StringWrapper.wrapString("abc", 6, new String[1])); in testWrapString() 82 StringWrapper.wrapString("", 6, new String[3])); in testWrapString() 86 StringWrapper.wrapString("abcdef", 6, new String[3])); in testWrapString() 90 StringWrapper.wrapString("abcdef\nabcdef", 6, new String[3])); in testWrapString() 94 StringWrapper.wrapString("abc\n\ndef", 6, new String[3])); in testWrapString() 98 StringWrapper.wrapString("\nabcdef", 6, new String[3])); in testWrapString() 102 StringWrapper.wrapString("\n\nabcdef", 6, new String[3])); in testWrapString() [all …]
|
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/testapp/wrappers/ |
D | ParcelableStringWrapper.java | 23 import com.google.android.enterprise.connectedapps.testapp.StringWrapper; 25 @CustomParcelableWrapper(originalType = StringWrapper.class) 31 private final StringWrapper stringWrapper; 39 Bundler bundler, BundlerType type, StringWrapper stringWrapper) { in of() 43 public StringWrapper get() { in get() 47 private ParcelableStringWrapper(Bundler bundler, BundlerType type, StringWrapper stringWrapper) { in ParcelableStringWrapper() 62 stringWrapper = new StringWrapper(value); in ParcelableStringWrapper()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/ |
D | TestGenericCollectionDeser.java | 14 static class ListSubClass extends ArrayList<StringWrapper> { } 20 @JsonDeserialize(contentAs=StringWrapper.class) 50 assertEquals(StringWrapper.class, value.getClass()); in testListSubClass() 51 StringWrapper bw = (StringWrapper) value; in testListSubClass() 68 assertEquals(StringWrapper.class, ob.getClass()); in testAnnotatedLStringist() 69 assertEquals("...", ((StringWrapper) ob).str); in testAnnotatedLStringist()
|
D | TestValueAnnotations.java | 151 final static class StringWrapper class in TestValueAnnotations 155 public StringWrapper(String s) { _string = s; } in StringWrapper() method in TestValueAnnotations.StringWrapper 162 @JsonDeserialize(keyAs=StringWrapper.class) 187 @JsonDeserialize(contentAs=StringWrapper.class) 341 Map<StringWrapper, String> map = (Map<StringWrapper,String>)(Map<?,?>)result._map; in testOverrideKeyClassValid() 343 Map.Entry<StringWrapper, String> en = map.entrySet().iterator().next(); in testOverrideKeyClassValid() 345 StringWrapper key = en.getKey(); in testOverrideKeyClassValid() 346 assertEquals(StringWrapper.class, key.getClass()); in testOverrideKeyClassValid() 373 List<StringWrapper> list = (List<StringWrapper>)result._list; in testOverrideContentClassValid() 376 assertEquals(StringWrapper.class, value.getClass()); in testOverrideContentClassValid() [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/mixins/ |
D | TestMixinDeserForCreators.java | 66 static class StringWrapper { class in TestMixinDeserForCreators 68 private StringWrapper(String s, boolean foo) { _value = s; } in StringWrapper() method in TestMixinDeserForCreators.StringWrapper 71 private static StringWrapper create(String str) { in create() 72 return new StringWrapper(str, false); in create() 77 @JsonCreator static StringWrapper create(String str) { return null; } in create() 139 m.addMixIn(StringWrapper.class, StringWrapperMixIn.class); in testFactoryDelegateMixIn() 140 StringWrapper result = m.readValue("\"a\"", StringWrapper.class); in testFactoryDelegateMixIn()
|
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/testapp/ |
D | StringWrapper.java | 20 public class StringWrapper { class 23 public StringWrapper(String value) { in StringWrapper() method in StringWrapper 36 if (!(o instanceof StringWrapper)) { in equals() 39 StringWrapper that = (StringWrapper) o; in equals()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CheckUtf8Test.java | 34 import proto2_test_check_utf8.TestCheckUtf8.StringWrapper; 55 UTF8_BYTE_STRING_TEXT, StringWrapper.newBuilder().setReqBytes(UTF8_BYTE_STRING).getReq()); in testBuildRequiredStringWithGoodUtf8() 61 assertEquals(UTF8_BYTE_STRING_TEXT, StringWrapper.parser().parseFrom(serialized).getReq()); in testParseRequiredStringWithGoodUtf8() 66 StringWrapper.newBuilder().setReqBytes(NON_UTF8_BYTE_STRING); in testBuildRequiredStringWithBadUtf8() 75 StringWrapper.newBuilder().setOptBytes(NON_UTF8_BYTE_STRING); in testBuildOptionalStringWithBadUtf8() 84 StringWrapper.newBuilder().addRepBytes(NON_UTF8_BYTE_STRING); in testBuildRepeatedStringWithBadUtf8() 94 assertParseBadUtf8(StringWrapper.getDefaultInstance(), serialized); in testParseRequiredStringWithBadUtf8()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/ |
D | MapWithGenericValuesDeserTest.java | 26 static class StringWrapper { class in MapWithGenericValuesDeserTest 28 @JsonCreator StringWrapper(String value) { in StringWrapper() method in MapWithGenericValuesDeserTest.StringWrapper 39 @JsonDeserialize(keyAs=StringWrapper.class, contentAs=BooleanWrapper.class) 56 static class StringWrapperValueMap<KEY> extends HashMap<KEY,StringWrapper> { } 112 assertEquals(value.getClass(), StringWrapper.class); in testIntermediateTypes() 113 assertEquals("b", ((StringWrapper) value).str); in testIntermediateTypes() 132 assertEquals(StringWrapper.class, en.getKey().getClass()); in testAnnotatedMap() 134 assertEquals("a", ((StringWrapper) en.getKey()).str); in testAnnotatedMap()
|
D | MapRelatedTypesDeserTest.java | 32 …List<Map.Entry<Integer,StringWrapper>> stuff = MAPPER.readValue(aposToQuotes("[{'28':'Foo'},{'13':… in testMapEntryWithStringBean() 33 new TypeReference<List<Map.Entry<Integer,StringWrapper>>>() { }); in testMapEntryWithStringBean() 39 StringWrapper sw = stuff.get(1).getValue(); in testMapEntryWithStringBean() 47 new TypeReference<List<Map.Entry<Integer,StringWrapper>>>() { }); in testMapEntryFail()
|
D | MapDeser2757Test.java | 13 public void setValue(StringWrapper w) { } in setValue()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | ConverterTest.java | 106 private static class StringWrapper { class in ConverterTest 109 public StringWrapper(String value) { in StringWrapper() method in ConverterTest.StringWrapper 115 Converter<StringWrapper, String> first = in testAndThen() 116 new Converter<StringWrapper, String>() { in testAndThen() 118 protected String doForward(StringWrapper object) { in testAndThen() 123 protected StringWrapper doBackward(String object) { in testAndThen() 124 return new StringWrapper(object); in testAndThen() 133 Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG); in testAndThen() 135 assertEquals(LONG_VAL, converter.convert(new StringWrapper(STR_VAL))); in testAndThen()
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | ConverterTest.java | 106 private static class StringWrapper { class in ConverterTest 109 public StringWrapper(String value) { in StringWrapper() method in ConverterTest.StringWrapper 115 Converter<StringWrapper, String> first = in testAndThen() 116 new Converter<StringWrapper, String>() { in testAndThen() 118 protected String doForward(StringWrapper object) { in testAndThen() 123 protected StringWrapper doBackward(String object) { in testAndThen() 124 return new StringWrapper(object); in testAndThen() 133 Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG); in testAndThen() 135 assertEquals(LONG_VAL, converter.convert(new StringWrapper(STR_VAL))); in testAndThen()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ |
D | TestPropertyTypeInfo.java | 87 String json = mapper.writeValueAsString(new FieldWrapperBean(new StringWrapper("foo"))); in testSimpleField() 91 assertEquals(StringWrapper.class, bean.value.getClass()); in testSimpleField() 92 assertEquals(((StringWrapper) bean.value).str, "foo"); in testSimpleField() 127 list.add(new MethodWrapperBean(new StringWrapper("x"))); in testSimpleListMethod() 137 assertEquals(StringWrapper.class, bean.value.getClass()); in testSimpleListMethod() 138 assertEquals(((StringWrapper) bean.value).str, "x"); in testSimpleListMethod() 162 MethodWrapperBean[] { new MethodWrapperBean(new StringWrapper("A")) }); in testSimpleArrayMethod() 169 assertEquals(StringWrapper.class, bean.value.getClass()); in testSimpleArrayMethod() 170 assertEquals(((StringWrapper) bean.value).str, "A"); in testSimpleArrayMethod()
|
D | PolymorphicViaRefTypeTest.java | 34 public AtomicReference<StringWrapper> wrapper; 38 wrapper = new AtomicReference<StringWrapper>(new StringWrapper(str)); in AtomicStringWrapper() 75 StringWrapper w = result.wrapper.get(); in testAtomicRefViaDefaultTyping()
|
/external/clang/test/Analysis/ |
D | initializer.cpp | 77 class StringWrapper { class 80 StringWrapper(const char *input) : str(strdup(input)) {} // no-warning in StringWrapper() function in StringWrapper 133 struct StringWrapper { struct 137 StringWrapper(bool) {} in StringWrapper() function 141 StringWrapper w(true); in testString()
|
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/ |
D | StringWrapperIntegrationTest.java | 393 assertThat(StringWrapper.wrap(40, formatter.formatSource(input), formatter)).isEqualTo(output); in test() 398 assertThat(StringWrapper.wrap(40, formatter.formatSource(input.replace("\n", "\r")), formatter)) in testCR() 405 StringWrapper.wrap(40, formatter.formatSource(input.replace("\n", "\r\n")), formatter)) in testCRLF() 411 String wrap = StringWrapper.wrap(40, formatter.formatSource(input), formatter); in idempotent()
|
D | StringWrapperTest.java | 52 assertThat(StringWrapper.wrap(100, input, new Formatter())).isEqualTo(output); in testAwkwardLineEndWrapping()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
D | HelpCommand.java | 39 import org.jf.util.StringWrapper; 85 Iterable<String> lines = StringWrapper.wrapStringOnBreaks(registerInfoHelp, in run() 111 Iterable<String> lines = StringWrapper.wrapStringOnBreaks(registerInfoHelp, in run() 172 Iterable<String> lines = StringWrapper.wrapStringOnBreaks(registerInfoHelp, in run()
|
/external/llvm-project/clang/test/Analysis/ |
D | initializer.cpp | 92 class StringWrapper { class 95 StringWrapper(const char *input) : str(strdup(input)) {} // no-warning in StringWrapper() function in StringWrapper 148 struct StringWrapper { struct 152 StringWrapper(bool) {} in StringWrapper() function 156 StringWrapper w(true); in testString()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | CoerceContainersTest.java | 142 _verifyNoCoercion(StringWrapper[].class); in testPOJOArray() 143 StringWrapper[] result = _readWithCoercion(StringWrapper[].class); in testPOJOArray()
|
/external/smali/dexlib2/src/main/java/org/jf/util/ |
D | TwoColumnOutput.java | 97 leftLines = StringWrapper.wrapString(left, leftWidth, leftLines); in write() 98 rightLines = StringWrapper.wrapString(right, rightWidth, rightLines); in write()
|
/external/protobuf/src/google/protobuf/util/internal/testdata/ |
D | wrappers.proto | 48 StringWrapper string_wrapper = 8; 58 StringWrapper string_wrapper_default = 17; 90 message StringWrapper { message
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | BaseMapTest.java | 90 protected static class StringWrapper { class in BaseMapTest 93 public StringWrapper() { } in StringWrapper() method in BaseMapTest.StringWrapper 94 public StringWrapper(String value) { in StringWrapper() method in BaseMapTest.StringWrapper
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/ |
D | JsonIncludeTest.java | 287 StringWrapper str = new StringWrapper(""); in testEmptyInclusionScalars() 290 assertEquals("{}", inclMapper.writeValueAsString(new StringWrapper())); in testEmptyInclusionScalars()
|
/external/python/pybind11/tests/ |
D | test_class.cpp | 397 struct StringWrapper { std::string str; }; in TEST_SUBMODULE() argument 400 [](StringWrapper) -> NotRegistered { return {}; }); in TEST_SUBMODULE() argument 401 py::class_<StringWrapper>(m, "StringWrapper").def(py::init<std::string>()); in TEST_SUBMODULE() 402 py::implicitly_convertible<std::string, StringWrapper>(); in TEST_SUBMODULE()
|