/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
D | StringTest.java | 43 private static String newString(int start, int len, char[] data) throws Exception { in newString() method in StringTest 239 s = newString(1, 3, "_abc_".toCharArray()); in test_contentEqualsLjava_lang_CharSequence() 261 s = newString(1, 3, "_abc_".toCharArray()); in test_boolean_contentEquals_StringBuffer() 284 s = newString(1, 26, "_abcdefghijklmnopqrstuvwxyz_".toCharArray()); in test_containsLjava_lang_CharSequence() 324 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray()) in test_offsetByCodePoints_II() 328 result = newString(2, 4, "__abcd__".toCharArray()).offsetByCodePoints( in test_offsetByCodePoints_II() 332 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray()) in test_offsetByCodePoints_II() 336 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray()) in test_offsetByCodePoints_II() 340 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray()) in test_offsetByCodePoints_II() 344 result = newString(2, 4, "__\uD800\uDC00bc__".toCharArray()) in test_offsetByCodePoints_II() [all …]
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | RenderSVGInlineText.cpp | 50 RefPtr<StringImpl> newString = string->replace('\t', ' '); in applySVGWhitespaceRules() local 51 newString = newString->replace('\n', ' '); in applySVGWhitespaceRules() 52 newString = newString->replace('\r', ' '); in applySVGWhitespaceRules() 53 return newString.release(); in applySVGWhitespaceRules() 61 RefPtr<StringImpl> newString = string->replace('\n', StringImpl::empty()); in applySVGWhitespaceRules() local 62 newString = newString->replace('\r', StringImpl::empty()); in applySVGWhitespaceRules() 63 newString = newString->replace('\t', ' '); in applySVGWhitespaceRules() 64 return newString.release(); in applySVGWhitespaceRules()
|
/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/icu4c/test/cintltst/ |
D | cintltst.c | 477 char *newString; in austrdup() local 481 newString = (char*)ctst_malloc ( sizeof( char ) * 4 * ( length + 1 ) ); /* this shouldn't */ in austrdup() 483 if ( newString == NULL ) in austrdup() 486 u_austrcpy ( newString, unichars ); in austrdup() 488 return newString; in austrdup() 492 char *newString,*targetLimit,*target; in aescstrdup() local 509 newString = (char*)ctst_malloc ( sizeof(char) * 8 * (length +1)); in aescstrdup() 510 target = newString; in aescstrdup() 511 targetLimit = newString+sizeof(char) * 8 * (length +1); in aescstrdup() 516 return newString; in aescstrdup()
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | V8Binding.cpp | 442 v8::Local<v8::String> newString = v8::String::NewExternal(stringResource); in makeExternalString() local 443 if (newString.IsEmpty()) in makeExternalString() 446 return newString; in makeExternalString() 490 v8::Local<v8::String> newString = makeExternalString(String(stringImpl)); in v8ExternalStringSlow() local 491 if (newString.IsEmpty()) in v8ExternalStringSlow() 492 return newString; in v8ExternalStringSlow() 494 v8::Persistent<v8::String> wrapper = v8::Persistent<v8::String>::New(newString); in v8ExternalStringSlow() 496 return newString; in v8ExternalStringSlow() 505 return newString; in v8ExternalStringSlow()
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | CppVariant.cpp | 191 NPString newString = {newValue, in set() local 193 WebBindings::initializeVariantWithStringCopy(this, &newString); in set() 200 NPString newString = {newValue.data(), in set() local 202 WebBindings::initializeVariantWithStringCopy(this, &newString); in set()
|
/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/ARCMT/ |
D | nonobjc-to-objc-cast.m | 10 -(id)newString; method 51 ref = [s newString];
|
D | nonobjc-to-objc-cast.m.result | 10 -(id)newString; 51 ref = (__bridge_retained CFStringRef)([s newString]);
|
D | nonobjc-to-objc-cast-2.m | 8 -(id)newString; method
|
/external/clang/test/SemaObjC/ |
D | arc-unbridged-cast.m | 12 - (CFStringRef) newString; method 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
|
D | related-result-type-inference.m | 141 + (NSString *)newString; class 148 + (NSString *)newString { return @"blah"; } class
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebKitNSStringExtras.mm | 162 NSMutableString *newString = [[self mutableCopy] autorelease]; 163 …[newString replaceOccurrencesOfString:@"\r" withString:@"" options:NSLiteralSearch range:NSMakeRan… 164 …[newString replaceOccurrencesOfString:@"\n" withString:@"" options:NSLiteralSearch range:NSMakeRan… 165 return newString;
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_name_folder_controller.mm | 38 NSString* newString = 40 initialName_.reset([newString retain]);
|
D | bookmark_bar_folder_controller.mm | 1670 NSString *newString = (!typedPrefix_) ? 1673 typedPrefix_ = [newString retain];
|
/external/webkit/Source/WebCore/xml/ |
D | XPathFunctions.cpp | 554 String newString; in evaluate() local 562 newString += String(&ch, 1); in evaluate() 565 newString += String(&c2, 1); in evaluate() 569 return newString; in evaluate()
|
/external/clang/test/Analysis/ |
D | NSString.m | 365 + (WonkyTypedef)newString; class 369 NSString *str = [TestIsTracked newString]; // expected-warning{{Potential leak}}
|
D | retain-release-gc-only.m | 276 - (NSString*)newString; method 281 - (NSString*)newString { method
|
D | retain-release.m | 540 - (NSString*)newString; method 544 - (NSString*)newString { method 1263 - (NSString*) newString NS_RETURNS_NOT_RETAINED; // no-warning 1282 NSString *str = [X newString]; // no-warning
|
/external/webkit/Source/WebKit/android/jni/ |
D | WebViewCore.cpp | 3004 jobject newString = env->NewString(&labels[i][1], labels[i][0]); in makeLabelArray() local 3005 env->SetObjectArrayElement(array, i, newString); in makeLabelArray() 3006 env->DeleteLocalRef(newString); in makeLabelArray()
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
D | regress-111557.js | 4888 var newString = ""; 4893 newString += "\\"; 4895 newString += myString.substring(prev_pos, cur_pos) + "\\"; 4897 newString += myString.substring(prev_pos, cur_pos); 4902 return(newString + myString.substring(prev_pos, myString.length));
|