HomeSort by relevance Sort by last modified time
    Searched refs:newString (Results 1 - 25 of 40) sorted by null

1 2

  /external/webkit/Source/WebCore/rendering/svg/
RenderSVGInlineText.cpp 50 RefPtr<StringImpl> newString = string->replace('\t', ' ');
51 newString = newString->replace('\n', ' ');
52 newString = newString->replace('\r', ' ');
53 return newString.release();
61 RefPtr<StringImpl> newString = string->replace('\n', StringImpl::empty());
62 newString = newString->replace('\r', StringImpl::empty());
63 newString = newString->replace('\t', ' ')
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/
Utils.java 119 String newString = input.toLowerCase();
120 int len = newString.length();
123 if (newString.charAt(i) == ' ' || newString.charAt(i) == '\t')
126 retval += newString.charAt(i);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
StringTest.java 43 private static String newString(int start, int len, char[] data) throws Exception {
239 s = newString(1, 3, "_abc_".toCharArray());
261 s = newString(1, 3, "_abc_".toCharArray());
284 s = newString(1, 26, "_abcdefghijklmnopqrstuvwxyz_".toCharArray());
324 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray())
328 result = newString(2, 4, "__abcd__".toCharArray()).offsetByCodePoints(
332 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray())
336 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray())
340 result = newString(2, 4, "__a\uD800\uDC00b__".toCharArray())
344 result = newString(2, 4, "__\uD800\uDC00bc__".toCharArray()
    [all...]
  /external/smack/src/org/jivesoftware/smackx/workgroup/util/
ModelUtil.java 217 * @param newString is the new value of the String
218 * @return true If both oldString and newString are null or if they are
221 public static boolean hasStringChanged(String oldString, String newString) {
222 if (oldString == null && newString == null) {
225 else if ((oldString == null && newString != null)
226 || (oldString != null && newString == null)) {
230 return !oldString.equals(newString);
  /external/smack/src/org/jivesoftware/smackx/workgroup/ext/notes/
ChatNotes.java 114 * Replaces all instances of oldString with newString in string.
117 * @param oldString the String that should be replaced by newString
118 * @param newString the String that will replace all instances of oldString
119 * @return a String will all instances of oldString replaced by newString
121 public static final String replace(String string, String oldString, String newString) {
125 // If the newString is null or zero length, just return the string since there's nothing
127 if (newString == null) {
135 char[] newString2 = newString.toCharArray();
141 // Replace all remaining instances of oldString with newString.
  /external/icu4c/test/cintltst/
cintltst.c 489 char *newString;
492 /*newString = (char*)malloc ( sizeof( char ) * 4 * ( length + 1 ) );*/ /* this leaks for now */
493 newString = (char*)ctst_malloc ( sizeof( char ) * 4 * ( length + 1 ) ); /* this shouldn't */
495 if ( newString == NULL )
498 u_austrcpy ( newString, unichars );
500 return newString;
504 char *newString,*targetLimit,*target;
521 newString = (char*)ctst_malloc ( sizeof(char) * 8 * (length +1));
522 target = newString;
523 targetLimit = newString+sizeof(char) * 8 * (length +1)
    [all...]
  /external/icu4c/common/
listformatter.cpp 261 UnicodeString newString = items[0];
263 addNewString(data.twoPattern, newString, items[1], errorCode);
265 addNewString(data.startPattern, newString, items[1], errorCode);
268 addNewString(data.middlePattern, newString, items[i], errorCode);
270 addNewString(data.endPattern, newString, items[nItems - 1], errorCode);
273 appendTo += newString;
  /frameworks/native/libs/utils/
String8.cpp 230 const char *newString = allocFromUTF8(other, strlen(other));
232 mString = newString;
241 const char *newString = allocFromUTF8(other, len);
243 mString = newString;
252 const char *newString = allocFromUTF16(other, len);
254 mString = newString;
263 const char *newString = allocFromUTF32(other, len);
265 mString = newString;
  /external/icu4c/common/unicode/
listformatter.h 126 const UnicodeString& newString, UErrorCode& errorCode) const;
  /external/webkit/Tools/DumpRenderTree/chromium/
CppVariant.cpp 191 NPString newString = {newValue,
193 WebBindings::initializeVariantWithStringCopy(this, &newString);
200 NPString newString = {newValue.data(),
202 WebBindings::initializeVariantWithStringCopy(this, &newString);
  /external/arduino/hardware/arduino/cores/arduino/
WString.cpp 250 String temp = _buffer, newString;
255 newString += temp.substring( 0, loc );
256 newString += replace;
259 newString += temp;
260 return newString;
  /external/webkit/Source/WebCore/bindings/v8/
V8Binding.cpp 442 v8::Local<v8::String> newString = v8::String::NewExternal(stringResource);
443 if (newString.IsEmpty())
446 return newString;
490 v8::Local<v8::String> newString = makeExternalString(String(stringImpl));
491 if (newString.IsEmpty())
492 return newString;
494 v8::Persistent<v8::String> wrapper = v8::Persistent<v8::String>::New(newString);
496 return newString;
505 return newString;
  /external/webkit/Source/WebKit/mac/Misc/
WebKitNSStringExtras.mm 162 NSMutableString *newString = [[self mutableCopy] autorelease];
163 [newString replaceOccurrencesOfString:@"\r" withString:@"" options:NSLiteralSearch range:NSMakeRange(0, [newString length])];
164 [newString replaceOccurrencesOfString:@"\n" withString:@"" options:NSLiteralSearch range:NSMakeRange(0, [newString length])];
165 return newString;
  /external/webkit/Source/WebCore/xml/
XPathFunctions.cpp 554 String newString;
562 newString += String(&ch, 1);
565 newString += String(&c2, 1);
569 return newString;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandler.java 333 String newString = newValue == null ? null : newValue.toString();
334 changing |= !TextUtils.equals(newString, value);
  /libcore/luni/src/main/native/
org_apache_harmony_xml_ExpatParser.cpp 277 ScopedLocalRef<jstring> newString(env, env->NewStringUTF(bytes));
284 reinterpret_cast<jstring>(env->CallObjectMethod(newString.get(), internMethod)));
    [all...]
  /prebuilts/devtools/tools/lib/
commons-codec-1.4.jar 
  /prebuilts/tools/common/http-client/
commons-codec-1.4.jar 
  /prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.4/
commons-codec-1.4.jar 
  /external/robolectric/lib/main/
xpp3-1.1.4c.jar 
commons-codec-1.6.jar 
  /external/smack/asmack-master/lib/
xpp3-1.1.4c.jar 
  /external/webkit/Source/WebKit/android/jni/
WebViewCore.cpp     [all...]
  /external/zxing/core/
core.jar 
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
HanziToPinyinTest.java 52 final String newString = tokens.get(0).target;
55 + "' but got '" + newString + "'",
58 + hanziString + "' but got '" + newString + "'",
59 newString.equals(hanziString));
65 + expectedPinyin + "' but got '" + newString + "'",
66 newString.equalsIgnoreCase(expectedPinyin));
    [all...]

Completed in 3348 milliseconds

1 2