Home
last modified time | relevance | path

Searched refs:sourceString (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DRopeByteStringSubstringTest.java49 ByteString sourceString = iter.next(); in setUp() local
51 sourceString = sourceString.concat(iter.next()); in setUp()
56 stringUnderTest = sourceString.substring(from, to); in setUp()
70 String sourceString = "I love unicode \u1234\u5678 characters"; in testToString() local
71 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testToString()
75 StringBuilder builder = new StringBuilder(copies * sourceString.length()); in testToString()
78 builder.append(sourceString); in testToString()
100 String sourceString = "I love unicode \u1234\u5678 characters"; in testCharsetToString() local
101 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testCharsetToString()
105 StringBuilder builder = new StringBuilder(copies * sourceString.length()); in testCharsetToString()
[all …]
DRopeByteStringTest.java97 String sourceString = "I love unicode \u1234\u5678 characters"; in testToString() local
98 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testToString()
102 StringBuilder builder = new StringBuilder(copies * sourceString.length()); in testToString()
105 builder.append(sourceString); in testToString()
123 String sourceString = "I love unicode \u1234\u5678 characters"; in testCharsetToString() local
124 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testCharsetToString()
128 StringBuilder builder = new StringBuilder(copies * sourceString.length()); in testCharsetToString()
131 builder.append(sourceString); in testCharsetToString()
/external/deqp/modules/gles31/functional/
Des31fNegativeSSBOBlockTests.cpp217 std::string sourceString; in generateVaryingSSBOShader() local
263 sourceString = source.str(); in generateVaryingSSBOShader()
264 sourceString = tcu::StringTemplate(sourceString).specialize(argsMap); in generateVaryingSSBOShader()
266 return sourceString; in generateVaryingSSBOShader()
291 sourceString = source.str(); in generateVaryingSSBOShader()
292 sourceString = tcu::StringTemplate(sourceString).specialize(argsMap); in generateVaryingSSBOShader()
294 return sourceString; in generateVaryingSSBOShader()
300 return sourceString; in generateVaryingSSBOShader()
306 return sourceString; in generateVaryingSSBOShader()
312 return sourceString; in generateVaryingSSBOShader()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRoundTripTest.java471 public boolean is(String sourceString){ in is() argument
472 int cp=sourceString.charAt(0); in is()
486 (sourceString.length() >1 && in is()
487 vowelSignSet.contains(sourceString.charAt(1)))){ in is()
926 public boolean is(String sourceString) {return true;} in is() argument
935 public boolean is(String sourceString) { in is() argument
938 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); in is()
973 public boolean is(String sourceString) { in is() argument
974 if (sourceString.length() == 0) return true; in is()
975 … char ch = sourceString.charAt(sourceString.length() - 1); // don't worry about surrogates. in is()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtransrt.cpp130 virtual UBool is(const UnicodeString& sourceString) const;
134 UBool LegalJamo::is(const UnicodeString& sourceString) const { in is()
138 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); in is()
174 virtual UBool is(const UnicodeString& sourceString) const;
181 UBool LegalGreek::is(const UnicodeString& sourceString) const { in is()
184 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); in is()
1218 virtual UBool is(const UnicodeString& sourceString) const;
1226 UBool LegalHebrew::is(const UnicodeString& sourceString)const{ in is()
1228 if (sourceString.length() == 0) return TRUE; in is()
1230 for (int i = 0; i < sourceString.length(); ++i) { in is()
[all …]
Dregextst.cpp5842 const char16_t *sourceString = u"Hello, world."; in TestBug13632() local
5843 uregex_setText(re, sourceString, u_strlen(sourceString), &status); in TestBug13632()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java468 public boolean is(String sourceString){ in is() argument
469 int cp=sourceString.charAt(0); in is()
483 (sourceString.length() >1 && in is()
484 vowelSignSet.contains(sourceString.charAt(1)))){ in is()
923 public boolean is(String sourceString) {return true;} in is() argument
932 public boolean is(String sourceString) { in is() argument
935 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); in is()
970 public boolean is(String sourceString) { in is() argument
971 if (sourceString.length() == 0) return true; in is()
972 … char ch = sourceString.charAt(sourceString.length() - 1); // don't worry about surrogates. in is()
[all …]
/external/icu/android_icu4j/testing/src/android/icu/extratest/
DAndroidTransliteratorParameterizedTest.java82 String sourceString = new String(Character.toChars(exampleCodePoint)); in testTranslierateASourceCharacter() local
83 String targetString = transliterator.transform(sourceString); in testTranslierateASourceCharacter()
89 + "\nSourceString: " + sourceString in testTranslierateASourceCharacter()
/external/pdfium/fxjs/
Dcfxjse_formcalc_context.cpp3848 ByteString sourceString = ValueToUTF8String(argOne.get()); in Left() local
3850 args.GetReturnValue()->SetString(sourceString.Left(count).AsStringView()); in Left()
3868 ByteString sourceString = ValueToUTF8String(argOne.get()); in Len() local
3869 args.GetReturnValue()->SetInteger(sourceString.GetLength()); in Len()
3924 ByteString sourceString = ValueToUTF8String(argOne.get()); in Ltrim() local
3925 sourceString.TrimLeft(); in Ltrim()
3926 args.GetReturnValue()->SetString(sourceString.AsStringView()); in Ltrim()
4139 ByteString sourceString = ValueToUTF8String(argOne.get()); in Right() local
4141 args.GetReturnValue()->SetString(sourceString.Right(count).AsStringView()); in Right()
4159 ByteString sourceString = ValueToUTF8String(argOne.get()); in Rtrim() local
[all …]
/external/protobuf/js/binary/
Dutils_test.js646 var sourceString = String.fromCharCode.apply(null, sourceData);