Home
last modified time | relevance | path

Searched refs:sourceString (Results 1 – 13 of 13) 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()
103 String sourceString = "I love unicode \u1234\u5678 characters"; in testCharsetToString() local
104 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testCharsetToString()
108 StringBuilder builder = new StringBuilder(copies * sourceString.length()); in testCharsetToString()
[all …]
DRopeByteStringTest.java117 String sourceString = "I love unicode \u1234\u5678 characters"; in testToString() local
118 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testToString()
122 StringBuilder builder = new StringBuilder(copies * sourceString.length()); in testToString()
125 builder.append(sourceString); in testToString()
146 String sourceString = "I love unicode \u1234\u5678 characters"; in testCharsetToString() local
147 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testCharsetToString()
151 StringBuilder builder = new StringBuilder(copies * sourceString.length()); in testCharsetToString()
154 builder.append(sourceString); in testCharsetToString()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DRopeByteStringSubstringTest.java50 ByteString sourceString = iter.next(); in setUp() local
52 sourceString = sourceString.concat(iter.next()); in setUp()
57 stringUnderTest = sourceString.substring(from, to); in setUp()
/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/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/icu/icu4c/source/test/intltest/
Dtransrt.cpp131 virtual UBool is(const UnicodeString& sourceString) const;
135 UBool LegalJamo::is(const UnicodeString& sourceString) const { in is()
139 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); in is()
175 virtual UBool is(const UnicodeString& sourceString) const;
182 UBool LegalGreek::is(const UnicodeString& sourceString) const { in is()
185 Normalizer::decompose(sourceString, FALSE, 0, decomp, ec); in is()
1227 virtual UBool is(const UnicodeString& sourceString) const;
1235 UBool LegalHebrew::is(const UnicodeString& sourceString)const{ in is()
1237 if (sourceString.length() == 0) return TRUE; in is()
1239 for (int i = 0; i < sourceString.length(); ++i) { in is()
[all …]
Dregextst.cpp5879 const char16_t *sourceString = u"Hello, world."; in TestBug13632() local
5880 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/protobuf/js/compatibility_tests/v3.0.0/binary/
Dutils_test.js646 var sourceString = String.fromCharCode.apply(null, sourceData);
/external/protobuf/js/binary/
Dutils_test.js647 var sourceString = goog.crypt.byteArrayToString(sourceData);
/external/protobuf/js/compatibility_tests/v3.1.0/binary/
Dutils_test.js646 var sourceString = String.fromCharCode.apply(null, sourceData);
/external/angle/src/libANGLE/
DFrameCapture.cpp2253 const std::string &sourceString = linkedSources[shaderType]; in CaptureMidExecutionSetup() local
2254 const char *sourcePointer = sourceString.c_str(); in CaptureMidExecutionSetup()