Home
last modified time | relevance | path

Searched refs:StringWrapper (Results 1 – 12 of 12) sorted by relevance

/external/smali/util/src/test/java/org/jf/util/
DStringWrapperTest.java66 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/protobuf/java/core/src/test/java/com/google/protobuf/
DCheckUtf8Test.java34 import proto2_test_check_utf8.TestCheckUtf8.StringWrapper;
56 StringWrapper.newBuilder().setReqBytes(UTF8_BYTE_STRING).getReq()); in testBuildRequiredStringWithGoodUtf8()
62 assertEquals(UTF8_BYTE_STRING_TEXT, StringWrapper.parser().parseFrom(serialized).getReq()); in testParseRequiredStringWithGoodUtf8()
67 StringWrapper.newBuilder().setReqBytes(NON_UTF8_BYTE_STRING); in testBuildRequiredStringWithBadUtf8()
76 StringWrapper.newBuilder().setOptBytes(NON_UTF8_BYTE_STRING); in testBuildOptionalStringWithBadUtf8()
85 StringWrapper.newBuilder().addRepBytes(NON_UTF8_BYTE_STRING); in testBuildRepeatedStringWithBadUtf8()
96 StringWrapper.parser().parseFrom(serialized); in testParseRequiredStringWithBadUtf8()
/external/guava/guava-tests/test/com/google/common/base/
DConverterTest.java107 private static class StringWrapper { class in ConverterTest
110 public StringWrapper(String value) { in StringWrapper() method in ConverterTest.StringWrapper
116 Converter<StringWrapper, String> first = new Converter<StringWrapper, String>() { in testAndThen()
117 @Override public String doForward(StringWrapper object) { in testAndThen()
121 @Override public StringWrapper doBackward(String object) { in testAndThen()
122 return new StringWrapper(object); in testAndThen()
130 Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG); in testAndThen()
132 assertEquals(LONG_VAL, converter.convert(new StringWrapper(STR_VAL))); in testAndThen()
/external/clang/test/Analysis/
Dinitializer.cpp77 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() argument
141 StringWrapper w(true); in testString()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DHelpCommand.java39 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()
DDisassembleCommand.java42 import org.jf.util.StringWrapper;
164 StringWrapper.printWrappedString(System.err, in run()
/external/protobuf/src/google/protobuf/util/internal/testdata/
Dwrappers.proto48 StringWrapper string_wrapper = 8;
58 StringWrapper string_wrapper_default = 17;
90 message StringWrapper { message
/external/smali/util/src/main/java/org/jf/util/
DTwoColumnOutput.java97 leftLines = StringWrapper.wrapString(left, leftWidth, leftLines); in write()
98 rightLines = StringWrapper.wrapString(right, rightWidth, rightLines); in write()
DWrappedIndentingWriter.java80 …List<String> wrapped = Lists.newArrayList(StringWrapper.wrapStringOnBreaks(line.toString(), maxWid… in wrapLine()
DStringWrapper.java40 public class StringWrapper { class
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_check_utf8.proto41 message StringWrapper { message
/external/v8/src/
Dobjects.h1038 V(StringWrapper) \