/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. 17 * string1 that the distance is calculated for. 20 * of string1 of length "i"), and row0 the row before that. 23 * Damerau-Levenshtein distance between the substring of string1 of length 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] & [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
control_characters.js | 46 // string1.match(new RegExp(string1)) 47 var string1 = '?O? ?:i??'; variable 48 testcases[count++] = new TestCase ( SECTION, "string1 = " + string1 + " string1.match(string1)", 49 String([string1]), String(string1.match(string1))); [all...] |
/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 | 334 static int CompareIgnoreCase(const StringType& string1, 336 static bool CompareEqualIgnoreCase(const StringType& string1, 338 return CompareIgnoreCase(string1, string2) == 0; 340 static bool CompareLessIgnoreCase(const StringType& string1, 342 return CompareIgnoreCase(string1, string2) < 0; 357 static int HFSFastUnicodeCompare(const StringType& string1,
|
/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/valgrind/main/none/tests/darwin/ |
access_extended.c | 21 char* string1 = (char*)&entries[3]; local 22 char* string2 = string1 + strlen(name1) + 1; 26 entries[0].ad_name_offset = string1 - (char*)entries; 32 strcpy(string1, name1);
|
/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/bluetooth/glib/tests/ |
testglib.c | 1140 GString *string1, *string2; local 1146 string1 = g_string_new ("hi pete!"); 1149 g_assert (strcmp ("hi pete!", string1->str) == 0); 1152 g_string_append_c (string1, 'a'+(i%26)); [all...] |
/external/webkit/Source/JavaScriptCore/wtf/text/ |
StringConcatenate.h | 196 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2) 198 StringTypeAdapter<StringType1> adapter1(string1); 220 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3) 222 StringTypeAdapter<StringType1> adapter1(string1); 248 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4) 250 StringTypeAdapter<StringType1> adapter1(string1); 280 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5) 282 StringTypeAdapter<StringType1> adapter1(string1); 316 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5, StringType6 string6) 318 StringTypeAdapter<StringType1> adapter1(string1); [all...] |
/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/bluetooth/glib/tests/gobject/ |
ifacecheck.c | 118 char *string1 = "A"; local 125 g_type_add_interface_check (string1, check_func); 143 g_type_remove_interface_check (string1, check_func);
|
/libcore/luni/src/main/java/java/text/ |
Collator.java | 200 * @param string1 204 * @return a negative value if {@code string1} is less than {@code string2}, 205 * 0 if they are equal and a positive value if {@code string1} is 208 public abstract int compare(String string1, String string2); 234 * @param string1 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 | 209 Key* string1 = reinterpret_cast<Key*>(a); local 211 if (string1->is_ascii != string2->is_ascii) return false; 212 int length = string1->literal_bytes.length(); 214 return memcmp(string1->literal_bytes.start(),
|
/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)
|
/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++)) 233 if (!*string1++) 240 *result = LTOUPPER(*string1) - LTOUPPER(*--string2);
|
/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/glib/ |
gprintf.c | 321 gchar *string1 = g_strndup (*string, len); local 323 *string = string1;
|
/external/srec/portable/include/ |
LCHAR.h | 134 * @param string1 Text containing integers 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CollectionsTest.java | 818 String string1 = "A-B-C-D-E-S-JF-SUB-G-H-I-J-SUBL-K-L-LIST-M-N--S-S-O-SUBLIS-P-Q-R-SUBLIST-S-T-U-V-W-X-Y-Z"; local 819 char[] chars = string1.toCharArray(); 838 string1, getString(list)); 846 (string1 = string1.replace('S', 'K')), getString(list)); 854 (string1 = string1.replace('Z', 'N')), getString(list)); 862 (string1 = string1.replace('A', 'B')), getString(list)); 1033 String string1 = "A-B-C-D-E-S-JF-SUB-G-H-I-J-SUBL-K-L-LIST-M-N--S-S-O-SUBLIS-P-Q-R-SUBLIST-S-T-U-V-W-X-Y-Z" local 1141 String string1 = "A-B-C-D-E-S-JF-SUB-G-H-I-J-SUBL-K-L-LIST-M-N--S-S-O-SUBLIS-P-Q-R-SUBLIST-S-T-U-V-W-X-Y-Z-END"; local [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
CollectionsTest.java | 992 String string1 = "A-B-C-D-E-S-JF-SUB-G-H-I-J-SUBL-K-L-LIST-M-N--S-S-O-SUBLIS-P-Q-R-SUBLIST-S-T-U-V-W-X-Y-Z"; local 1215 String string1 = "A-B-C-D-E-S-JF-SUB-G-H-I-J-SUBL-K-L-LIST-M-N--S-S-O-SUBLIS-P-Q-R-SUBLIST-S-T-U-V-W-X-Y-Z"; local 1319 String string1 = "A-B-C-D-E-S-JF-SUB-G-H-I-J-SUBL-K-L-LIST-M-N--S-S-O-SUBLIS-P-Q-R-SUBLIST-S-T-U-V-W-X-Y-Z-END"; local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
avcapi_common.h | 228 \param "string1" "Logging message." 231 typedef void (*FunctionType_DebugLog)(uint32 *userData, AVCLogType type, char *string1, int val1, int val2);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
MockContentProvider.java | 148 private boolean equals(String string1, String string2) { 149 if (TextUtils.isEmpty(string1)) { 150 string1 = null; 155 return TextUtils.equals(string1, string2);
|