/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | StringUtils.java | 183 public static String newString(byte[] bytes, String charsetName) { in newString() method in StringUtils 205 return StringUtils.newString(bytes, CharEncoding.ISO_8859_1); in newStringIso8859_1() 219 return StringUtils.newString(bytes, CharEncoding.US_ASCII); in newStringUsAscii() 233 return StringUtils.newString(bytes, CharEncoding.UTF_16); in newStringUtf16() 247 return StringUtils.newString(bytes, CharEncoding.UTF_16BE); in newStringUtf16Be() 261 return StringUtils.newString(bytes, CharEncoding.UTF_16LE); in newStringUtf16Le() 275 return StringUtils.newString(bytes, CharEncoding.UTF_8); in newStringUtf8()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | ModifyStringLiterals.java | 34 private final String newString; field in ModifyStringLiterals 36 public ModifyStringLiterals(String oldString, final String newString) { in ModifyStringLiterals() argument 38 this.newString = newString; in ModifyStringLiterals() 50 String newLiteralValue = literalValue.replace(oldString, newString); in process() 65 ", newString='" + newString + '\'' + in toString()
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | Utf8Test.java | 44 newString(Character.MIN_HIGH_SURROGATE, Character.MIN_LOW_SURROGATE))); in testEncodedLength_validStrings() 48 testEncodedLengthFails(newString(Character.MIN_HIGH_SURROGATE), 0); in testEncodedLength_invalidStrings() 49 testEncodedLengthFails("foobar" + newString(Character.MIN_HIGH_SURROGATE), 6); in testEncodedLength_invalidStrings() 50 testEncodedLengthFails(newString(Character.MIN_LOW_SURROGATE), 0); in testEncodedLength_invalidStrings() 51 testEncodedLengthFails("foobar" + newString(Character.MIN_LOW_SURROGATE), 6); in testEncodedLength_invalidStrings() 53 newString( in testEncodedLength_invalidStrings() 172 private String newString(char... chars) { in newString() method in Utf8Test
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 49 newString(Character.MIN_HIGH_SURROGATE, Character.MIN_LOW_SURROGATE))); in testEncodedLength_validStrings() 86 testEncodedLengthFails(newString(Character.MIN_HIGH_SURROGATE), 0); in testEncodedLength_invalidStrings() 87 testEncodedLengthFails("foobar" + newString(Character.MIN_HIGH_SURROGATE), 6); in testEncodedLength_invalidStrings() 88 testEncodedLengthFails(newString(Character.MIN_LOW_SURROGATE), 0); in testEncodedLength_invalidStrings() 89 testEncodedLengthFails("foobar" + newString(Character.MIN_LOW_SURROGATE), 6); in testEncodedLength_invalidStrings() 91 newString( in testEncodedLength_invalidStrings() 228 private String newString(char... chars) { in newString() method in Utf8Test
|
/external/nist-sip/java/gov/nist/javax/sip/ |
D | Utils.java | 119 String newString = input.toLowerCase(); in reduceString() local 120 int len = newString.length(); in reduceString() 123 if (newString.charAt(i) == ' ' || newString.charAt(i) == '\t') in reduceString() 126 retval += newString.charAt(i); in reduceString()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cintltst.c | 492 char *newString; in austrdup() local 496 newString = (char*)ctst_malloc ( sizeof( char ) * 4 * ( length + 1 ) ); /* this shouldn't */ in austrdup() 498 if ( newString == NULL ) in austrdup() 501 u_austrcpy ( newString, unichars ); in austrdup() 503 return newString; in austrdup() 507 char *newString,*targetLimit,*target; in aescstrdup() local 524 newString = (char*)ctst_malloc ( sizeof(char) * 8 * (length +1)); in aescstrdup() 525 target = newString; in aescstrdup() 526 targetLimit = newString+sizeof(char) * 8 * (length +1); in aescstrdup() 531 return newString; in aescstrdup()
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
D | DynamicSentinelStrategy.java | 100 String newString = getUniqueStringFromSentinel(newSentinel); in isSentinelUpdated() local 106 if (newString == null) { in isSentinelUpdated() 111 if (newString.equals(getUniqueStringFromSentinel(oldSentinel))) { in isSentinelUpdated() 112 Logs.log(Log.INFO, "Unique String is not updated: " + newString); in isSentinelUpdated()
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/google/gwt/corp/compatibility/ |
D | Compatibility.java | 56 public static String newString (byte[] b) { in newString() method in Compatibility 60 public static String newString (byte[] b, int s, int l) { in newString() method in Compatibility 64 public static String newString (byte[] b, String encoding) throws UnsupportedEncodingException { in newString() method in Compatibility
|
/external/clang/test/ARCMT/ |
D | nonobjc-to-objc-cast.m | 28 -(id)newString; method 62 -(id)newString { return 0; } method 72 ref = [s newString];
|
D | nonobjc-to-objc-cast.m.result | 28 -(id)newString; 62 -(id)newString { return 0; } 72 ref = CFBridgingRetain([s newString]);
|
D | nonobjc-to-objc-cast-2.m | 19 -(id)newString; method 29 -(id)newString { method
|
/external/clang/test/SemaObjCXX/ |
D | arc-unbridged-cast.mm | 12 - (CFStringRef) newString; 72 x = (id) [object newString]; 73 x = (id) (cond ? [object newString] : (void*) 0); 74 x = (id) (cond ? (void*) 0 : [object newString]); 75 x = (id) (cond ? (CFStringRef) @"help" : [object newString]); // a bit questionable
|
/external/clang/test/SemaObjC/ |
D | arc-unbridged-cast.m | 12 - (CFStringRef) newString; method 78 x = (id) [object newString]; 79 x = (id) (cond ? [object newString] : (void*) 0); 80 x = (id) (cond ? (void*) 0 : [object newString]); 81 x = (id) (cond ? (CFStringRef) @"help" : [object newString]); // a bit questionable 82 …x = (id) (cond ? kUserConst : [object newString]); // expected-error{{requires a bridged cast}} ex…
|
D | related-result-type-inference.m | 141 + (NSString *)newString; class 148 + (NSString *)newString { return @"blah"; } class
|
/external/lzma/CPP/Common/ |
D | MyString.cpp | 655 void AString::Replace(const AString &oldString, const AString &newString) in Replace() argument 659 if (oldString == newString) in Replace() 662 unsigned newLen = newString.Len(); in Replace() 671 Insert(pos, newString); in Replace() 1119 void UString::Replace(const UString &oldString, const UString &newString) in Replace() argument 1123 if (oldString == newString) in Replace() 1126 unsigned newLen = newString.Len(); in Replace() 1135 Insert(pos, newString); in Replace()
|
D | MyString.h | 278 void Replace(const AString &oldString, const AString &newString); 443 void Replace(const UString &oldString, const UString &newString);
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTypeResolutionTest.java | 72 Constructor newString; field in TypeLiteralTypeResolutionTest 88 newString = String.class.getConstructor(String.class); in setUp() 232 resolver.getExceptionTypes(newString); in testUnsupportedQueries() 239 resolver.getParameterTypes(newString); in testUnsupportedQueries()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationBuilder.java | 918 StringBuilder newNFDString = new StringBuilder(), newString = new StringBuilder(); 926 newNFDString, newString)) { 949 int ce32 = addIfDifferent(nfdPrefix, newString, 960 StringBuilder newNFDString, StringBuilder newString) { 979 newString.setLength(0); 980 newString.append(nfdString, 0, indexAfterLastStarter - lastStarterLength) 1035 newString.append(nfdString, sourceIndex, nfdString.length()); 1040 assert(fcd.isNormalized(newString)); 1041 assert(nfd.normalize(newString).equals(newNFDString.toString())); // canonically equivalent
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 914 StringBuilder newNFDString = new StringBuilder(), newString = new StringBuilder(); 922 newNFDString, newString)) { 945 int ce32 = addIfDifferent(nfdPrefix, newString, 956 StringBuilder newNFDString, StringBuilder newString) { 975 newString.setLength(0); 976 newString.append(nfdString, 0, indexAfterLastStarter - lastStarterLength) 1031 newString.append(nfdString, sourceIndex, nfdString.length()); 1036 assert(fcd.isNormalized(newString)); 1037 assert(nfd.normalize(newString).equals(newNFDString.toString())); // canonically equivalent
|
/external/icu/icu4c/source/i18n/ |
D | collationbuilder.cpp | 1173 UnicodeString newNFDString, newString; in addTailComposites() local 1181 newNFDString, newString, errorCode)) { in addTailComposites() 1204 uint32_t ce32 = addIfDifferent(nfdPrefix, newString, in addTailComposites() 1217 UnicodeString &newNFDString, UnicodeString &newString, in mergeCompositeIntoString() argument 1237 newString.setTo(nfdString, 0, indexAfterLastStarter - lastStarterLength).append(composite); in mergeCompositeIntoString() 1291 newString.append(nfdString, sourceIndex, 0x7fffffff); in mergeCompositeIntoString() 1296 U_ASSERT(fcd.isNormalized(newString, errorCode)); in mergeCompositeIntoString() 1297 U_ASSERT(nfd.normalize(newString, errorCode) == newNFDString); // canonically equivalent in mergeCompositeIntoString()
|
D | collationbuilder.h | 137 UnicodeString &newNFDString, UnicodeString &newString,
|
/external/jsoncpp/src/lib_json/ |
D | json_value.cpp | 96 char* newString = static_cast<char*>(malloc(length + 1)); in duplicateStringValue() local 97 JSON_ASSERT_MESSAGE(newString != 0, in duplicateStringValue() 100 memcpy(newString, value, length); in duplicateStringValue() 101 newString[length] = 0; in duplicateStringValue() 102 return newString; in duplicateStringValue()
|
/external/chromium-trace/catapult/third_party/mocha/ |
D | mocha.js | 103 diff: function(oldString, newString) { argument 105 if (newString === oldString) { 106 return [{ value: newString }]; 108 if (!newString) { 112 return [{ value: newString, added: true }]; 115 newString = this.tokenize(newString); 118 var newLen = newString.length, oldLen = oldString.length; 123 var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); 155 this.pushComponent(basePath.components, newString[basePath.newPos], true, undefined); 158 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath); [all …]
|
/external/chromium-trace/catapult/tracing/third_party/mocha/ |
D | mocha.js | 103 diff: function(oldString, newString) { argument 105 if (newString === oldString) { 106 return [{ value: newString }]; 108 if (!newString) { 112 return [{ value: newString, added: true }]; 115 newString = this.tokenize(newString); 118 var newLen = newString.length, oldLen = oldString.length; 123 var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); 155 this.pushComponent(basePath.components, newString[basePath.newPos], true, undefined); 158 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath); [all …]
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | Multibinder.java | 545 String newString = newValue.toString(); in newDuplicateValuesException() local 546 if (Objects.equal(oldString, newString)) { in newDuplicateValuesException()
|