OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:oldstring
(Results
1 - 6
of
6
) sorted by null
/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) {
131
// Make sure that
oldString
appears at least once before doing any processing.
132
if ((i = string.indexOf(
oldString
, i)) >= 0) {
136
int oLength =
oldString
.length();
141
// Replace all remaining instances of
oldString
with newString.
142
while ((i = string.indexOf(
oldString
, i)) > 0) {
[
all
...]
/external/smack/src/org/jivesoftware/smackx/workgroup/util/
ModelUtil.java
216
* @param
oldString
is the initial 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/lzma/CPP/Common/
MyString.h
507
int Replace(const CStringBase &
oldString
, const CStringBase &newString)
509
if (
oldString
.IsEmpty())
511
if (
oldString
== newString)
513
int oldStringLength =
oldString
.Length();
519
pos = Find(
oldString
, pos);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ReplaceStringsVisitor.java
71
String
oldString
,
77
mOldString =
oldString
;
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
SDL_iconv.c
854
char *
oldstring
= string;
local
861
outbuf = string + (outbuf -
oldstring
);
/external/chromium_org/third_party/WebKit/Source/core/frame/
UseCounter.cpp
641
static String replacedBy(const char*
oldString
, const char* newString)
643
return String::format("'%s' is deprecated. Please use '%s' instead.",
oldString
, newString);
[
all
...]
Completed in 206 milliseconds