Home
last modified time | relevance | path

Searched refs:newString (Results 1 – 21 of 21) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DStringTest.java43 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/
DRenderSVGInlineText.cpp50 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/
DUtils.java119 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/
Dcintltst.c477 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/
DV8Binding.cpp442 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/
DCppVariant.cpp191 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/
Darc-unbridged-cast.mm12 - (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/
Dnonobjc-to-objc-cast.m10 -(id)newString; method
51 ref = [s newString];
Dnonobjc-to-objc-cast.m.result10 -(id)newString;
51 ref = (__bridge_retained CFStringRef)([s newString]);
Dnonobjc-to-objc-cast-2.m8 -(id)newString; method
/external/clang/test/SemaObjC/
Darc-unbridged-cast.m12 - (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
Drelated-result-type-inference.m141 + (NSString *)newString; class
148 + (NSString *)newString { return @"blah"; } class
/external/webkit/Source/WebKit/mac/Misc/
DWebKitNSStringExtras.mm162 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/
Dbookmark_name_folder_controller.mm38 NSString* newString =
40 initialName_.reset([newString retain]);
Dbookmark_bar_folder_controller.mm1670 NSString *newString = (!typedPrefix_) ?
1673 typedPrefix_ = [newString retain];
/external/webkit/Source/WebCore/xml/
DXPathFunctions.cpp554 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/
DNSString.m365 + (WonkyTypedef)newString; class
369 NSString *str = [TestIsTracked newString]; // expected-warning{{Potential leak}}
Dretain-release-gc-only.m276 - (NSString*)newString; method
281 - (NSString*)newString { method
Dretain-release.m540 - (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/
DWebViewCore.cpp3004 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/
Dregress-111557.js4888 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));