/external/linux-tools-perf/util/ |
levenshtein.h | 4 int levenshtein(const char *string1, const char *string2,
|
levenshtein.c | 9 * deleted from, or added to string1, at least, to get string2. 24 * "i" and the substring of string2 of length "j + 1". 29 * i (in string1) and j (in string2), respectively, given that the last 41 int levenshtein(const char *string1, const char *string2, 44 int len1 = strlen(string1), len2 = strlen(string2); 58 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]); 60 if (i > 0 && j > 0 && string1[i - 1] == string2[j] && 61 string1[i] == string2[j - 1] &&
|
/external/chromium/base/ |
string_util_posix.h | 24 inline int strcasecmp(const char* string1, const char* string2) { 25 return ::strcasecmp(string1, string2); 28 inline int strncasecmp(const char* string1, const char* string2, size_t count) { 29 return ::strncasecmp(string1, string2, count);
|
file_path.h | 335 const StringType& string2); 337 const StringType& string2) { 338 return CompareIgnoreCase(string1, string2) == 0; 341 const StringType& string2) { 342 return CompareIgnoreCase(string1, string2) < 0; 358 const StringType& string2);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
UStringConcatenate.h | 61 UString makeUString(StringType1 string1, StringType2 string2) 63 PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2); 70 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3) 72 PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2, string3); 79 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4) 81 PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2, string3, string4); 88 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5) 90 PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2, string3, string4, string5); 97 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5, StringType6 string6) 99 PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2, string3, string4, string5, string6) [all...] |
JSStringBuilder.h | 88 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2) 90 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2); 97 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, StringType3 string3) 99 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2, string3); 106 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4) 108 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2, string3, string4); 115 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5) 117 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2, string3, string4, string5); 124 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5, StringType6 string6) 126 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2, string3, string4, string5, string6) [all...] |
/external/clang/test/CodeGen/ |
globalinit.c | 20 char string2[4] = "string"; // truncate init variable
|
/external/webkit/Source/JavaScriptCore/wtf/ |
StringExtras.h | 74 inline int strnicmp(const char* string1, const char* string2, size_t count) 76 return _strnicmp(string1, string2, count); 79 inline int stricmp(const char* string1, const char* string2) 81 return _stricmp(string1, string2);
|
/external/valgrind/main/none/tests/darwin/ |
access_extended.c | 22 char* string2 = string1 + strlen(name1) + 1; local 28 entries[2].ad_name_offset = string2 - (char*)entries; 33 strcpy(string2, name2);
|
/external/icu4c/samples/legacy/ |
newcol.cpp | 42 int compare_current(const void *string1, const void *string2) { 44 UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1);
|
oldcol.cpp | 43 int compare_legacy(const void *string1, const void *string2) { 45 UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1);
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
StringConcatenate.h | 196 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2) 199 StringTypeAdapter<StringType2> adapter2(string2); 220 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3) 223 StringTypeAdapter<StringType2> adapter2(string2); 248 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4) 251 StringTypeAdapter<StringType2> adapter2(string2); 280 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5) 283 StringTypeAdapter<StringType2> adapter2(string2); 316 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5, StringType6 string6) 319 StringTypeAdapter<StringType2> adapter2(string2); [all...] |
/libcore/luni/src/main/java/java/text/ |
Collator.java | 202 * @param string2 204 * @return a negative value if {@code string1} is less than {@code string2}, 206 * greater than {@code string2}. 208 public abstract int compare(String string1, String string2); 236 * @param string2 238 * @return {@code true} if {@code string1} and {@code string2} are equal 241 public boolean equals(String string1, String string2) { 242 return compare(string1, string2) == 0;
|
/external/v8/src/ |
preparse-data.h | 210 Key* string2 = reinterpret_cast<Key*>(b); local 211 if (string1->is_ascii != string2->is_ascii) return false; 213 if (string2->literal_bytes.length() != length) return false; 215 string2->literal_bytes.start(), length) == 0;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
regex.c | 38 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 39 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
FormatUtils.java | 47 * Finds the earliest point in string1 at which the first part of string2 matches. For example, 51 public static int overlapPoint(String string1, String string2) { 52 if (string1 == null || string2 == null) { 55 return overlapPoint(string1.toCharArray(), string2.toCharArray());
|
/external/bluetooth/glib/tests/gobject/ |
ifacecheck.c | 119 char *string2 = "B"; local 134 g_type_add_interface_check (string2, check_func);
|
/external/srec/portable/include/ |
LCHAR.h | 135 * @param string2 Integer that was read 140 * @return ESR_INVALID_ARGUMENT is string1 or string2 is null 142 PORTABLE_API ESR_ReturnCode lstrcasecmp(const LCHAR *string1, const LCHAR *string2, int *result);
|
/external/srec/portable/src/ |
LCHAR.c | 225 ESR_ReturnCode lstrcasecmp(const LCHAR *string1, const LCHAR *string2, int *result) 228 if (!string1 || !string2) 231 while (LTOUPPER(*string1) == LTOUPPER(*string2++)) 240 *result = LTOUPPER(*string1) - LTOUPPER(*--string2);
|
/external/bluetooth/glib/tests/ |
testglib.c | 1140 GString *string1, *string2; local 1147 string2 = g_string_new (""); 1157 g_string_printf (string2, "%s|%0100d|%s|%s|%0*d|%*.*f|%10000.10000f" [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
AbstractSyncParser.java | 241 void userLog(String string, int num, String string2) { 242 mService.userLog(string, num, string2);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
MockContentProvider.java | 148 private boolean equals(String string1, String string2) { 152 if (TextUtils.isEmpty(string2)) { 153 string2 = null; 155 return TextUtils.equals(string1, string2);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
AbstractSyncService.java | 192 public void userLog(String string, int code, String string2) { 194 userLog(string + code + string2);
|
/external/clang/test/Sema/ |
designated-initializers.c | 215 char *string2; member in struct:Enigma
|
/external/proguard/src/proguard/classfile/editor/ |
CodeAttributeComposer.java | 806 private void println(String string1, String string2) 808 print(string1, string2); 813 private void print(String string1, String string2) 822 System.out.print(string2);
|