/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
StringBuilderTest.cpp | 134 String string1 = builder.toString(); local 135 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyzABC"), string1); 136 string1.append("DEF"); 138 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyzABCDEF"), string1); 141 string1 = builder.toString(); 144 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyzABC"), string1);
|
StringImpl.h | 692 static inline int codePointCompare8(const StringImpl* string1, const StringImpl* string2) 694 return codePointCompare(string1->length(), string2->length(), string1->characters8(), string2->characters8()); 697 static inline int codePointCompare16(const StringImpl* string1, const StringImpl* string2) 699 return codePointCompare(string1->length(), string2->length(), string1->characters16(), string2->characters16()); 702 static inline int codePointCompare8To16(const StringImpl* string1, const StringImpl* string2) 704 return codePointCompare(string1->length(), string2->length(), string1->characters8(), string2->characters16()); 707 static inline int codePointCompare(const StringImpl* string1, const StringImpl* string2 [all...] |
/external/chromium/chrome/browser/ui/cocoa/translate/ |
before_translate_infobar_controller.mm | 75 NSString* string1 = base::SysUTF16ToNSString(text.substr(0, offset)); 77 [label1_ setStringValue:string1];
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XSLTUnicodeSort.cpp | 166 Vector<UChar> string1; local 168 String::fromUTF8(reinterpret_cast<const char*>(results[j]->stringval)).appendTo(string1); 170 tst = collator.collate(string1.data(), string1.size(), string2.data(), string2.size()); 223 Vector<UChar> string1; local 225 String::fromUTF8(reinterpret_cast<const char*>(res[j]->stringval)).appendTo(string1); 227 tst = collator.collate(string1.data(), string1.size(), string2.data(), string2.size());
|
/external/icu4c/samples/legacy/ |
oldcol.cpp | 43 int compare_legacy(const void *string1, const void *string2) { 45 UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1);
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteProgramTest.java | 128 statement.bindString(1, "string1"); 145 assertEquals("string1", cursor.getString(COLUMN_TEXT1_INDEX)); 158 statement.bindString(1, "string1"); 176 assertEquals("string1", cursor.getString(COLUMN_TEXT1_INDEX));
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
database_string_table_unittest.cc | 62 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1)); 67 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1a)); 78 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id1)); 83 ASSERT_TRUE(table.StringToInt(&db_, "string1", &id2));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
FormatUtils.java | 45 * Finds the earliest point in string1 at which the first part of string2 matches. For example, 49 public static int overlapPoint(String string1, String string2) { 50 if (string1 == null || string2 == null) { 53 return overlapPoint(string1.toCharArray(), string2.toCharArray());
|
/hardware/ti/omap3/dspbridge/inc/ |
csl.h | 171 * Zero: String1 equals String2. 172 * < Zero: String1 is less than String2. 173 * > Zero: String1 is greater than String2. 208 * haystack: Ptr to string1. 264 * Zero: String1 equals String2. 265 * < Zero: String1 is less than String2. 266 * > Zero: String1 is greater than String2.
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
csl.h | 172 * Zero: String1 equals String2. 173 * < Zero: String1 is less than String2. 174 * > Zero: String1 is greater than String2. 209 * haystack: Ptr to string1. 265 * Zero: String1 equals String2. 266 * < Zero: String1 is less than String2. 267 * > Zero: String1 is greater than String2.
|
/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);
|
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
before_translate_infobar_controller.mm | 86 NSString* string1 = base::SysUTF16ToNSString(text.substr(0, offset)); 88 [label1_ setStringValue:string1];
|
/external/clang/test/Analysis/ |
properties.m | 46 NSString *string1 = [[NSString alloc] initWithFormat:@"test %f", 0.0]; // expected-warning {{Potential leak}} 47 cell.text = string1;
|
/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;
|
/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/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
AccessControlExceptionTest.java | 43 new AccessControlException("string1"),
|
/external/chromium_org/build/android/gyp/util/ |
md5_check_test.py | 13 input_strings = ['string1', 'string2']
|
/external/chromium_org/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(),
|
/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(),
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/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);
|
/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...] |
/external/chromium_org/gpu/config/ |
gpu_control_list_version_info_unittest.cc | 29 std::string string1; local 32 string1 = "8.9"; 35 VersionInfo info(op[i], std::string(), string1, string2);
|
/external/chromium_org/tools/grit/grit/format/policy_templates/ |
policy_template_generator_unittest.py | 228 {'name': 'item1', 'value': 0, 'caption': 'string1', 'desc': ''}, 237 self.tester.assertEquals(policy['items'][0]['caption'], 'string1') 252 {'name': 'item1', 'value': 'one', 'caption': 'string1', 'desc': ''}, 260 self.tester.assertEquals(policy['items'][0]['caption'], 'string1')
|