| /external/icu4c/test/intltest/ |
| ustrtest.cpp | 334 // test compare() etc. with strings that share a buffer but are not equal 350 /* these strings are in ascending order */ 351 static const UChar strings[][4]={ local 363 UnicodeString u[20]; // must be at least as long as strings[] 366 for(i=0; i<(int32_t)(sizeof(strings)/sizeof(strings[0])); ++i) { 367 u[i]=UnicodeString(TRUE, strings[i], -1); 370 for(i=0; i<(int32_t)(sizeof(strings)/sizeof(strings[0])-1); ++i) { [all...] |
| dtfmrgts.cpp | 243 UnicodeString strings [] = { local 258 UnicodeString s = strings[i]; 560 Please extend the parsing method(s) to handle strings with 807 UnicodeString strings [] = { local 832 UnicodeString text = strings[i]; 917 UnicodeString strings [] = { local 942 UnicodeString dateString = strings[i]; [all...] |
| tstnorm.cpp | 59 * Convert Java-style strings with \u Unicode escapes into UnicodeString objects 629 // initially set the indexes into the middle of the strings 675 // src and expect strings 698 // src and expect strings for regression test for j2911 721 // initial indexes into the src and expect strings 950 strings[]={ local [all...] |
| dtfmttst.cpp | 448 * Verify that strings which contain incomplete specifications are parsed 734 * Verify the correct behavior when handling invalid input strings. 744 const char* strings[] = { local 747 int32_t strings_length = (int32_t)(sizeof(strings) / sizeof(strings[0])); 755 const char* text = strings[i]; 828 * the input strings in each row. [all...] |
| ssearch.cpp | 1712 const StringList *strings = collData->getStringList(ce); local [all...] |
| usettest.cpp | 156 // Test pattern behavior of multicharacter strings. 719 // 6 code points, 3 ranges, 2 strings, 8 total elements 2312 const UnicodeString *strings[20]; member in class:UnicodeSetWithStrings [all...] |
| /frameworks/base/tests/CoreTests/android/core/ |
| StringTest.java | 529 /** Split a string into an array of strings* */ 532 String[] strings; local 535 strings = str1.split(str); 536 strings = str1.split(str); 537 strings = str1.split(str); 538 strings = str1.split(str); 539 strings = str1.split(str); 540 strings = str1.split(str); 541 strings = str1.split(str); 542 strings = str1.split(str) 553 String[] strings; local [all...] |
| /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
| String2Test.java | 516 assertTrue("Returned false for equals strings.", hwlc 519 assertFalse("Returned true for different strings.", hwlc 1716 String[][] strings = { local [all...] |
| /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
| CollectionsTest.java | 373 List<String> strings = Arrays.asList(new String[] { "1", "2", "3", "1", "1" }); local 375 assertEquals("Assert 1: did not find three \"1\" strings", 3, 376 Collections.frequency(strings, "1")); 378 assertEquals("Assert 2: did not find one \"2\" strings", 1, Collections 379 .frequency(strings, "2")); 381 assertEquals("Assert 3: did not find three \"3\" strings", 1, 382 Collections.frequency(strings, "3")); 385 Collections.frequency(strings, null));
|
| /dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
| SerializationStressTest1.java | 685 String[] strings = { "foo", "bar", "java" }; local 686 objToSave = strings; 916 String[] strings = new String[2]; local 917 strings[0] = FOO; 918 strings[1] = (" " + FOO + " ").trim(); // Safe way to get a copy 920 objToSave = strings; [all...] |
| /dalvik/libcore/xml/src/main/java/org/apache/xalan/processor/ |
| XSLTAttributeDef.java | 247 // Used for a list of white-space delimited strings. 250 // Used for a list of white-space delimited strings. 268 // Used for a list of white-space delimited strings. 269 // strings are checked to make sure they are valid 350 * an array of strings - the values in the enumeration 1204 StringVector strings = new StringVector(nStrings); local 1235 StringVector strings = new StringVector(nStrings); local 1273 StringVector strings = new StringVector(nStrings); local [all...] |
| /external/icu4c/i18n/ |
| colldata.cpp | 201 : strings(NULL), listMax(STRING_LIST_BUFFER_SIZE), listSize(0) 207 strings = new UnicodeString [listMax]; 209 if (strings == NULL) { 222 delete[] strings; 240 uprv_memcpy(newStrings, strings, listSize * sizeof(UnicodeString)); 252 delete[] strings; 253 strings = newStrings; 257 // The ctor initialized all the strings in 258 // the array to empty strings, so this 260 strings[listSize++].append(*string) 328 StringList *strings = getStringList(ce); local 356 StringList *strings = (StringList *) obj; local 876 const StringList *strings = ceToCharsStartingWith->getStringList(ce); local [all...] |
| zstrfmt.cpp | 455 ZoneStringFormat::ZoneStringFormat(const UnicodeString* const* strings, 466 if (strings == NULL || columnCount <= 0 || rowCount <= 0) { 474 if (strings[row][0].isEmpty()) { 479 if (!strings[row][col].isEmpty()) { 505 names[typeIdx].setTo(strings[row][col]); 509 ZoneStringInfo *zsinf = new ZoneStringInfo(strings[row][0], strings[row][col], (TimeZoneTranslationType)type); 510 fZoneStringsTrie.put(strings[row][col], zsinf, status); 519 fTzidToStrings.put(strings[row][0], zstrings, status); 547 // We still want to go through the rest of zone strings initialization 858 UnicodeString *strings = NULL; local [all...] |
| /external/icu4c/test/cintltst/ |
| custrtst.c | 417 /* these strings are in ascending order */ 418 static const UChar strings[][4]={ local 434 for(i=0; i<(sizeof(strings)/sizeof(strings[0])-1); ++i) { 435 if(u_strcmpCodePointOrder(strings[i], strings[i+1])>=0) { 438 if(u_strncmpCodePointOrder(strings[i], strings[i+1], 10)>=0) { 443 if(u_strncmpCodePointOrder(strings[i], strings[i+1], 2)!=u_memcmpCodePointOrder(strings[i], strings[i+1], 2)) [all...] |
| creststn.c | 601 /* This strcpy fixes compiler warnings about long strings */ 2237 const char* strings[] = { local [all...] |
| /external/qemu/android/ |
| help.c | 281 const char** strings; local 304 strings = calloc( count, sizeof(char*) ); 306 strings[n] = skin_key_command_to_str(n+1); 308 stralloc_tabular( out, strings, count, " ", 80-8 ); 309 free(strings); 326 strings = calloc( count, sizeof(char*) ); 328 strings[n] = skin_keysym_str(n); 330 stralloc_tabular( out, strings, count, " ", 80-8 ); 331 free(strings); [all...] |
| /external/srec/seti/sltsEngine/src/ |
| run_seq_lts.c | 141 void* my_PHashTableCreate_FromStrings( const char* strings[], int num_strings, 156 rc = PHashTableGetValue( table, strings[i], (void**)&old); 158 rc = PHashTablePutValue( table, strings[i], (const void *)i, NULL ); 763 char ** strings; local 768 lts->strings = strings = (char **) lts_alloc(num, sizeof(char*)); 771 if (strings == NULL || lts->string_lens == NULL ) { 779 str = strings[i] = lts_alloc(len + 1, sizeof(char)); 790 bitarray_populate_from_list( lts->membership, lts->strings[i], len); 791 lts->string_lens[i] = strlen(lts->strings[i]) [all...] |
| /hardware/ril/reference-ril/ |
| reference-ril.c | 191 // Some lame implementations return strings 1159 const char** strings = (const char**)data;; local 1162 asprintf(&cmd, "AT+CPIN=%s", strings[0]); 1164 asprintf(&cmd, "AT+CPIN=%s,%s", strings[0], strings[1]); [all...] |
| /dalvik/vm/ |
| Thread.c | 2460 char** strings; local [all...] |
| /external/freetype/include/freetype/internal/ |
| tttypes.h | 181 /* to store important strings like family name, style name, */ 904 FT_Byte* strings; member in struct:TT_BDFRec_ [all...] |
| /frameworks/base/core/jni/ |
| android_opengl_GLES20.cpp | 3569 const char* strings[] = {nativeString}; local [all...] |
| /frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
| CdmaServiceStateTracker.java | 293 String[] strings; local [all...] |
| /frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
| GsmServiceStateTracker.java | 344 String[] strings; local [all...] |
| /packages/apps/Calendar/src/com/android/calendar/ |
| EventInfoActivity.java | 94 * These are the corresponding indices into the array of strings 368 String[] strings = r.getStringArray(R.array.reminder_minutes_values); local 369 int size = strings.length; 372 list.add(Integer.parseInt(strings[i])); [all...] |
| /frameworks/base/libs/utils/ |
| ResourceTypes.cpp | 320 // check invariant: styles follow the strings 322 LOGW("Bad style block: style block starts at %d, before strings at %d\n", 343 const char16_t* strings = (const char16_t*)mStrings; local 344 char16_t* s = const_cast<char16_t*>(strings); 346 s[i] = dtohs(strings[i]); 456 const char16_t* strings = (char16_t*)mStrings; local 457 const char16_t* str = strings+off; 459 if ((uint32_t)(str+*outLen-strings) < mStringPoolSize) { 463 (int)idx, (int)(str+*outLen-strings), (int)mStringPoolSize); 466 const uint8_t* strings = (uint8_t*)mStrings local 507 const uint8_t* strings = (uint8_t*)mStrings; local [all...] |