Home
last modified time | relevance | path

Searched refs:string1 (Results 1 – 25 of 44) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/
Dcontrol_characters.js47 var string1 = '�O� �:i��'; variable
48 testcases[count++] = new TestCase ( SECTION, "string1 = " + string1 + " string1.match(string1)",
49 String([string1]), String(string1.match(string1)));
51 string1 = "";
53 string1 += String.fromCharCode(i);
54 testcases[count++] = new TestCase ( SECTION, "string1 = " + string1 + " string1.match(string1)",
55 String([string1]), String(string1.match(string1)));
/external/webkit/Source/JavaScriptCore/runtime/
DUStringConcatenate.h61 UString makeUString(StringType1 string1, StringType2 string2) in makeUString() argument
63 PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2); in makeUString()
70 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3) in makeUString() argument
72 PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2, string3); in makeUString()
79 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 stri… in makeUString() argument
81 PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2, string3, string4); in makeUString()
88 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 stri… in makeUString() argument
90 …PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2, string3, string4, string5… in makeUString()
97 UString makeUString(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 stri… in makeUString() argument
99 …PassRefPtr<StringImpl> resultImpl = WTF::tryMakeString(string1, string2, string3, string4, string5… in makeUString()
[all …]
DJSStringBuilder.h88 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2) in jsMakeNontrivialString() argument
90 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2); in jsMakeNontrivialString()
97 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, St… in jsMakeNontrivialString() argument
99 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2, string3); in jsMakeNontrivialString()
106 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, St… in jsMakeNontrivialString() argument
108 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2, string3, string4); in jsMakeNontrivialString()
115 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, St… in jsMakeNontrivialString() argument
117 PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2, string3, string4, string5); in jsMakeNontrivialString()
124 inline JSValue jsMakeNontrivialString(ExecState* exec, StringType1 string1, StringType2 string2, St… in jsMakeNontrivialString() argument
126 …PassRefPtr<StringImpl> result = WTF::tryMakeString(string1, string2, string3, string4, string5, st… in jsMakeNontrivialString()
/external/bluetooth/glib/tests/
Dtestglib.c1140 GString *string1, *string2; in gstring_tests() local
1146 string1 = g_string_new ("hi pete!"); in gstring_tests()
1149 g_assert (strcmp ("hi pete!", string1->str) == 0); in gstring_tests()
1152 g_string_append_c (string1, 'a'+(i%26)); in gstring_tests()
1161 string1->str, in gstring_tests()
1168 string1->str, in gstring_tests()
1186 g_string_free (string1, TRUE); in gstring_tests()
1190 string1 = g_string_new ("firsthalf"); in gstring_tests()
1191 g_string_append (string1, "lasthalf"); in gstring_tests()
1192 g_assert (strcmp (string1->str, "firsthalflasthalf") == 0); in gstring_tests()
[all …]
/external/webkit/Source/JavaScriptCore/wtf/text/
DStringConcatenate.h196 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2) in tryMakeString() argument
198 StringTypeAdapter<StringType1> adapter1(string1); in tryMakeString()
220 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3) in tryMakeString() argument
222 StringTypeAdapter<StringType1> adapter1(string1); in tryMakeString()
248 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3,… in tryMakeString() argument
250 StringTypeAdapter<StringType1> adapter1(string1); in tryMakeString()
280 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3,… in tryMakeString() argument
282 StringTypeAdapter<StringType1> adapter1(string1); in tryMakeString()
316 PassRefPtr<StringImpl> tryMakeString(StringType1 string1, StringType2 string2, StringType3 string3,… in tryMakeString() argument
318 StringTypeAdapter<StringType1> adapter1(string1); in tryMakeString()
[all …]
/external/linux-tools-perf/util/
Dlevenshtein.c41 int levenshtein(const char *string1, const char *string2, in levenshtein() argument
44 int len1 = strlen(string1), len2 = strlen(string2); in levenshtein()
58 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]); in levenshtein()
60 if (i > 0 && j > 0 && string1[i - 1] == string2[j] && in levenshtein()
61 string1[i] == string2[j - 1] && in levenshtein()
Dlevenshtein.h4 int levenshtein(const char *string1, const char *string2,
/external/valgrind/main/none/tests/darwin/
Daccess_extended.c21 char* string1 = (char*)&entries[3]; in main() local
22 char* string2 = string1 + strlen(name1) + 1; in main()
26 entries[0].ad_name_offset = string1 - (char*)entries; in main()
32 strcpy(string1, name1); in main()
/external/chromium/base/
Dstring_util_posix.h24 inline int strcasecmp(const char* string1, const char* string2) { in strcasecmp() argument
25 return ::strcasecmp(string1, string2); in strcasecmp()
28 inline int strncasecmp(const char* string1, const char* string2, size_t count) { in strncasecmp() argument
29 return ::strncasecmp(string1, string2, count); in strncasecmp()
Dfile_path.h334 static int CompareIgnoreCase(const StringType& string1,
336 static bool CompareEqualIgnoreCase(const StringType& string1, in CompareEqualIgnoreCase() argument
338 return CompareIgnoreCase(string1, string2) == 0; in CompareEqualIgnoreCase()
340 static bool CompareLessIgnoreCase(const StringType& string1, in CompareLessIgnoreCase() argument
342 return CompareIgnoreCase(string1, string2) < 0; in CompareLessIgnoreCase()
357 static int HFSFastUnicodeCompare(const StringType& string1,
Dfile_path.cc594 int FilePath::CompareIgnoreCase(const StringType& string1, in CompareIgnoreCase() argument
599 StringType::const_iterator i1 = string1.begin(); in CompareIgnoreCase()
601 StringType::const_iterator string1end = string1.end(); in CompareIgnoreCase()
1068 int FilePath::HFSFastUnicodeCompare(const StringType& string1, in HFSFastUnicodeCompare() argument
1070 int length1 = string1.length(); in HFSFastUnicodeCompare()
1076 int codepoint1 = HFSReadNextNonIgnorableCodepoint(string1.c_str(), in HFSFastUnicodeCompare()
1125 int FilePath::CompareIgnoreCase(const StringType& string1, in CompareIgnoreCase() argument
1129 if (string1.empty()) in CompareIgnoreCase()
1134 StringType hfs1 = GetHFSDecomposedForm(string1); in CompareIgnoreCase()
1143 reinterpret_cast<const UInt8*>(string1.c_str()), in CompareIgnoreCase()
[all …]
/external/webkit/Source/JavaScriptCore/wtf/
DStringExtras.h74 inline int strnicmp(const char* string1, const char* string2, size_t count) in strnicmp() argument
76 return _strnicmp(string1, string2, count); in strnicmp()
79 inline int stricmp(const char* string1, const char* string2) in stricmp() argument
81 return _stricmp(string1, string2); in stricmp()
/external/clang/test/Analysis/
DanalyzeOneFunction.m41 …NSString *string1 = [[NSString alloc] initWithFormat:@"test %f", 0.0]; // No warning: this functio…
42 cell.text = string1;
50 …NSString *string1 = [[NSString alloc] initWithFormat:@"test %f %d", 0.0, X+Y]; // expected-warning…
51 cell.text = string1;
/external/v8/src/
Dpreparse-data.h209 Key* string1 = reinterpret_cast<Key*>(a); in vector_compare() local
211 if (string1->is_ascii != string2->is_ascii) return false; in vector_compare()
212 int length = string1->literal_bytes.length(); in vector_compare()
214 return memcmp(string1->literal_bytes.start(), in vector_compare()
/external/srec/portable/src/
DLCHAR.c225 ESR_ReturnCode lstrcasecmp(const LCHAR *string1, const LCHAR *string2, int *result) in lstrcasecmp() argument
228 if (!string1 || !string2) in lstrcasecmp()
231 while (LTOUPPER(*string1) == LTOUPPER(*string2++)) in lstrcasecmp()
233 if (!*string1++) in lstrcasecmp()
240 *result = LTOUPPER(*string1) - LTOUPPER(*--string2); in lstrcasecmp()
/external/bluetooth/glib/tests/gobject/
Difacecheck.c118 char *string1 = "A"; in main() local
125 g_type_add_interface_check (string1, check_func); in main()
143 g_type_remove_interface_check (string1, check_func); in main()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DCollectionsTest.java818 …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… in test_replaceAllLjava_util_ListLjava_lang_ObjectLjava_lang_Object() local
819 char[] chars = string1.toCharArray(); in test_replaceAllLjava_util_ListLjava_lang_ObjectLjava_lang_Object()
838 string1, getString(list)); in test_replaceAllLjava_util_ListLjava_lang_ObjectLjava_lang_Object()
846 (string1 = string1.replace('S', 'K')), getString(list)); in test_replaceAllLjava_util_ListLjava_lang_ObjectLjava_lang_Object()
854 (string1 = string1.replace('Z', 'N')), getString(list)); in test_replaceAllLjava_util_ListLjava_lang_ObjectLjava_lang_Object()
862 (string1 = string1.replace('A', 'B')), getString(list)); in test_replaceAllLjava_util_ListLjava_lang_ObjectLjava_lang_Object()
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… in test_indexOfSubListLjava_util_ListLjava_util_List() local
1035 testwithCharList(1, string1, "B", true); in test_indexOfSubListLjava_util_ListLjava_util_List()
1036 testwithCharList(2, string1, "LIST", true); in test_indexOfSubListLjava_util_ListLjava_util_List()
1037 testwithCharList(3, string1, "SUBLIST", true); in test_indexOfSubListLjava_util_ListLjava_util_List()
[all …]
/external/icu4c/samples/legacy/
Dnewcol.cpp42 int compare_current(const void *string1, const void *string2) { in compare_current() argument
44 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
Doldcol.cpp43 int compare_legacy(const void *string1, const void *string2) { in compare_legacy() argument
45 …UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
/external/llvm/test/MC/Mips/
Dsym-offset.ll5 @string1 = internal global [11 x i8] c"aaaaaaaaaa\00", align 1
16 …%call = tail call i32 @memcmp(i8* getelementptr inbounds ([11 x i8]* @string1, i32 0, i32 0), i8* …
/external/chromium/chrome/browser/ui/cocoa/translate/
Dtranslate_message_infobar_controller.mm39 NSString* string1 = base::SysUTF16ToNSString(messageText);
40 [label1_ setStringValue:string1];
Dafter_translate_infobar_controller.mm18 NSString* string1 = base::SysUTF16ToNSString(strings[0]);
22 [label1_ setStringValue:string1];
Dbefore_translate_infobar_controller.mm75 NSString* string1 = base::SysUTF16ToNSString(text.substr(0, offset));
77 [label1_ setStringValue:string1];
/external/bluetooth/glib/glib/
Dgprintf.c321 gchar *string1 = g_strndup (*string, len); in g_vasprintf() local
323 *string = string1; in g_vasprintf()
/external/proguard/src/proguard/classfile/editor/
DCodeAttributeComposer.java806 private void println(String string1, String string2) in println() argument
808 print(string1, string2); in println()
813 private void print(String string1, String string2) in print() argument
815 System.out.print(string1); in print()

12