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

1 2

  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
V8ValueCache.cpp 39 v8::Local<v8::String> newString = v8::String::NewExternal(isolate, stringResource);
40 if (newString.IsEmpty())
42 return newString;
46 v8::Local<v8::String> newString = v8::String::NewExternal(isolate, stringResource);
47 if (newString.IsEmpty())
49 return newString;
90 v8::Local<v8::String> newString = makeExternalString(String(stringImpl), isolate);
91 if (newString.IsEmpty())
92 return newString;
94 v8::Persistent<v8::String> wrapper(isolate, newString);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGInlineText.cpp 44 RefPtr<StringImpl> newString = string->replace('\t', ' ');
45 newString = newString->replace('\n', ' ');
46 newString = newString->replace('\r', ' ');
47 return newString.release();
55 RefPtr<StringImpl> newString = string->replace('\n', StringImpl::empty());
56 newString = newString->replace('\r', StringImpl::empty());
57 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...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
HanziToPinyinTest.java 45 final String newString = tokens.get(0).target;
48 + "' but got '" + newString + "'",
51 + hanziString + "' but got '" + newString + "'",
52 newString.equals(hanziString));
58 + expectedPinyin + "' but got '" + newString + "'",
59 newString.equalsIgnoreCase(expectedPinyin));
  /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/droiddriver/src/com/google/android/droiddriver/scroll/
DynamicSentinelStrategy.java 91 String newString = getUniqueStringFromSentinel(newSentinel);
92 // If newString is null, newSentinel must be partially shown. In this case
95 if (newString == null) {
99 if (newString.equals(getUniqueStringFromSentinel(oldSentinel))) {
100 Logs.log(Log.INFO, "Unique String is not updated: " + newString);
  /external/icu4c/common/
listformatter.cpp 176 UnicodeString newString = items[0];
178 addNewString(data.twoPattern, newString, items[1], errorCode);
180 addNewString(data.startPattern, newString, items[1], errorCode);
183 addNewString(data.middlePattern, newString, items[i], errorCode);
185 addNewString(data.endPattern, newString, items[nItems - 1], errorCode);
188 appendTo += newString;
  /external/chromium_org/third_party/icu/source/test/cintltst/
cintltst.c 477 char *newString;
480 /*newString = (char*)malloc ( sizeof( char ) * 4 * ( length + 1 ) );*/ /* this leaks for now */
481 newString = (char*)ctst_malloc ( sizeof( char ) * 4 * ( length + 1 ) ); /* this shouldn't */
483 if ( newString == NULL )
486 u_austrcpy ( newString, unichars );
488 return newString;
492 char *newString,*targetLimit,*target;
509 newString = (char*)ctst_malloc ( sizeof(char) * 8 * (length +1));
510 target = newString;
511 targetLimit = newString+sizeof(char) * 8 * (length +1)
    [all...]
  /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...]
  /system/core/libutils/
String8.cpp 242 const char *newString = allocFromUTF8(other, strlen(other));
244 mString = newString;
253 const char *newString = allocFromUTF8(other, len);
255 mString = newString;
264 const char *newString = allocFromUTF16(other, len);
266 mString = newString;
275 const char *newString = allocFromUTF32(other, len);
277 mString = newString;
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
CppVariant.cpp 190 NPString newString = {newValue,
192 WebBindings::initializeVariantWithStringCopy(this, &newString);
199 NPString newString = {newValue.data(),
201 WebBindings::initializeVariantWithStringCopy(this, &newString);
  /external/icu4c/common/unicode/
listformatter.h 120 const UnicodeString& newString, UErrorCode& errorCode) const;
  /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/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLConstructionSite.h 247 void append(PassRefPtr<ContainerNode> newParent, PassRefPtr<Node> newNextChild, const String& newString, WhitespaceMode newWhitespaceMode)
253 stringBuilder.append(newString);
  /external/lzma/CPP/Common/
MyString.h 507 int Replace(const CStringBase &oldString, const CStringBase &newString)
511 if (oldString == newString)
514 int newStringLength = newString.Length();
523 Insert(pos, newString);
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
AtomicString.cpp 260 RefPtr<StringImpl> newString = StringImpl::createUninitialized(buffer.utf16Length, target);
268 newString = StringImpl::create(buffer.characters, buffer.length);
270 location = newString.release().leakRef();
StringImpl.cpp 711 RefPtr<StringImpl> newString = createUninitialized(length, data16);
716 newString->truncateAssumingIsolated(realLength);
717 return newString.release();
722 newString = createUninitialized(realLength, data16);
744 RefPtr<StringImpl> newString = createUninitialized(length, data16);
749 newString->truncateAssumingIsolated(realLength);
750 return newString.release();
755 newString = createUninitialized(realLength, data16);
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandler.java 333 String newString = newValue == null ? null : newValue.toString();
334 changing |= !TextUtils.equals(newString, value);
  /external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
json_value.cpp 103 char *newString = static_cast<char *>( malloc( length + 1 ) );
104 JSON_ASSERT_MESSAGE( newString != 0, "Failed to allocate string value buffer" );
105 memcpy( newString, value, length );
106 newString[length] = 0;
107 return newString;
    [all...]
  /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 

Completed in 1787 milliseconds

1 2