/external/oj-libjdwp/src/share/npt/ |
D | utf.c | 203 utf8sToUtf8m(struct UtfInst *ui, jbyte *string, int length, jbyte *newString, int newLength) in utf8sToUtf8m() argument 218 newString[j++] = (jbyte)0xC0; in utf8sToUtf8m() 219 newString[j++] = (jbyte)0x80; in utf8sToUtf8m() 222 newString[j++] = byte1; in utf8sToUtf8m() 225 newString[j++] = byte1; in utf8sToUtf8m() 226 newString[j++] = string[++i]; in utf8sToUtf8m() 228 newString[j++] = byte1; in utf8sToUtf8m() 229 newString[j++] = string[++i]; in utf8sToUtf8m() 230 newString[j++] = string[++i]; in utf8sToUtf8m() 245 newString[j++] = (jbyte)0xED; in utf8sToUtf8m() [all …]
|
D | npt.h | 81 jbyte *newString, int newLength); 86 jbyte *newString, int newLength);
|
/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 | 494 char *newString; in austrdup() local 498 newString = (char*)ctst_malloc ( sizeof( char ) * 4 * ( length + 1 ) ); /* this shouldn't */ in austrdup() 500 if ( newString == NULL ) in austrdup() 503 u_austrcpy ( newString, unichars ); in austrdup() 505 return newString; in austrdup() 509 char *newString,*targetLimit,*target; in aescstrdup() local 526 newString = (char*)ctst_malloc ( sizeof(char) * 8 * (length +1)); in aescstrdup() 527 target = newString; in aescstrdup() 528 targetLimit = newString+sizeof(char) * 8 * (length +1); in aescstrdup() 533 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/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyDescriptorPool.java | 134 ((RubyEnumDescriptor) symtab.get(runtime.newString(enumName))) in buildFileDescriptor() 139 … symtab.get(runtime.newString(Utils.unescapeIdentifier(descriptor.getName())))); in buildFileDescriptor() 148 … runtime.newString(Utils.unescapeIdentifier(fieldDescriptor.getMessageType().getName()))); in buildFileDescriptor() 153 … runtime.newString(Utils.unescapeIdentifier(fieldDescriptor.getEnumType().getName()))); in buildFileDescriptor()
|
D | Utils.java | 152 return runtime.newString(((ByteString) value).toStringUtf8()); in wrapPrimaryValue() 154 return runtime.newString(value.toString()); in wrapPrimaryValue() 237 fieldDef.setLabel(context, runtime.newString(label)); in msgdefCreateField()
|
/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…
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | Scan.h | 187 void setString(int newString) in setString() argument 189 logicalSourceLoc.string = newString; in setString() 190 loc[getLastValidSourceIndex()].string = newString; in setString()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CodedOutputStreamTest.java | 513 String[] invalidStrings = new String[] {newString(Character.MIN_HIGH_SURROGATE), 514 "foobar" + newString(Character.MIN_HIGH_SURROGATE), newString(Character.MIN_LOW_SURROGATE), 515 "foobar" + newString(Character.MIN_LOW_SURROGATE), 516 newString(Character.MIN_HIGH_SURROGATE, Character.MIN_HIGH_SURROGATE)}; 539 String invalidString = newString(Character.MIN_HIGH_SURROGATE, 'f', 'o', 'o', 'b', 'a', 'r'); 651 private static String newString(char... chars) {
|
D | NioByteStringTest.java | 528 ByteString newString = new NioByteString(backingBuffer); in testPeekCachedHashCode() local 530 newString.peekCachedHashCode()); in testPeekCachedHashCode() 531 newString.hashCode(); in testPeekCachedHashCode() 533 EXPECTED_HASH, newString.peekCachedHashCode()); in testPeekCachedHashCode()
|
/external/lzma/CPP/Common/ |
D | MyString.cpp | 848 void AString::Replace(const AString &oldString, const AString &newString) in Replace() argument 852 if (oldString == newString) in Replace() 855 unsigned newLen = newString.Len(); in Replace() 864 Insert(pos, newString); in Replace() 1422 void UString::Replace(const UString &oldString, const UString &newString) in Replace() argument 1426 if (oldString == newString) in Replace() 1429 unsigned newLen = newString.Len(); in Replace() 1438 Insert(pos, newString); in Replace()
|
/external/guice/core/test/com/google/inject/ |
D | TypeLiteralTypeResolutionTest.java | 70 Constructor newString; field in TypeLiteralTypeResolutionTest 87 newString = String.class.getConstructor(String.class); in setUp() 250 resolver.getExceptionTypes(newString); in testUnsupportedQueries() 259 resolver.getParameterTypes(newString); in testUnsupportedQueries()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 917 StringBuilder newNFDString = new StringBuilder(), newString = new StringBuilder(); 925 newNFDString, newString)) { 948 int ce32 = addIfDifferent(nfdPrefix, newString, 959 StringBuilder newNFDString, StringBuilder newString) { 978 newString.setLength(0); 979 newString.append(nfdString, 0, indexAfterLastStarter - lastStarterLength) 1034 newString.append(nfdString, sourceIndex, nfdString.length()); 1039 assert(fcd.isNormalized(newString)); 1040 assert(nfd.normalize(newString).equals(newNFDString.toString())); // canonically equivalent
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationBuilder.java | 921 StringBuilder newNFDString = new StringBuilder(), newString = new StringBuilder(); 929 newNFDString, newString)) { 952 int ce32 = addIfDifferent(nfdPrefix, newString, 963 StringBuilder newNFDString, StringBuilder newString) { 982 newString.setLength(0); 983 newString.append(nfdString, 0, indexAfterLastStarter - lastStarterLength) 1038 newString.append(nfdString, sourceIndex, nfdString.length()); 1043 assert(fcd.isNormalized(newString)); 1044 assert(nfd.normalize(newString).equals(newNFDString.toString())); // canonically equivalent
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBIMonkeyTest.java | 525 StringBuilder newString = new StringBuilder(); in set() local 536 … newString.length() > 0 && Character.isHighSurrogate(newString.charAt(newString.length()-1))) { in set() 544 newString.appendCodePoint(c); in set() 548 fString = newString.toString(); in set()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBIMonkeyTest.java | 522 StringBuilder newString = new StringBuilder(); in set() local 533 … newString.length() > 0 && Character.isHighSurrogate(newString.charAt(newString.length()-1))) { in set() 541 newString.appendCodePoint(c); in set() 545 fString = newString.toString(); in set()
|