| /system/core/libacc/tests/ |
| main.cpp | 171 char** strings = new char*[numPragmaStrings]; local 172 accGetPragmas(script, NULL, numPragmaStrings, strings); 174 fprintf(stderr, "#pragma %s(%s)\n", strings[i], strings[i+1]); 176 delete[] strings;
|
| /bootable/recovery/edify/ |
| expr.c | 71 char** strings = malloc(argc * sizeof(char*)); local 74 strings[i] = NULL; 79 strings[i] = Evaluate(state, argv[i]); 80 if (strings[i] == NULL) { 83 length += strlen(strings[i]); 89 strcpy(result+p, strings[i]); 90 p += strlen(strings[i]); 96 free(strings[i]); 98 free(strings); 457 // strings it contains [all...] |
| /development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
| DictionaryDatabase.java | 211 String[] strings = TextUtils.split(line, "-"); local 212 if (strings.length < 2) continue; 213 long id = addWord(strings[0].trim(), strings[1].trim()); 215 Log.e(TAG, "unable to add word: " + strings[0].trim());
|
| /external/bluetooth/glib/gio/tests/ |
| g-file.c | 262 const struct TestPathsWithOper strings[] = local 272 for (i = 0; i < G_N_ELEMENTS (strings); i++) 274 gboolean equal = parse_check_utf8 (strings[i].use_uri, strings[i].path1, strings[i].path2); 516 /* Testing whether the g_file_new_for_path() correctly canonicalizes strings and two files equals (g_file_equal()) */ 519 /* Testing whether the g_file_new_for_uri() correctly canonicalizes strings and two files equals (g_file_equal()) */
|
| /external/bluetooth/glib/glib/ |
| gtestutils.h | 246 gchar **strings; /* NULL terminated */ member in struct:__anon1349
|
| /external/icu4c/i18n/ |
| reldtfmt.cpp | 195 // Linear search the relative strings 247 // Linear search the held strings 378 UResourceBundle *strings = calData.getByKey3("fields", "day", "relative", status); local 388 fDatesLen = ures_getSize(strings); 396 while(ures_hasNext(strings) && U_SUCCESS(status)) { // iterate over items 397 subString = ures_getNextResource(strings, subString, &status);
|
| /external/icu4c/test/intltest/ |
| thcoll.cpp | 362 UChar strings[LINES][20]; local 380 len = u_unescape(tests[i], strings[i], 20); 381 strings[i][len] = 0; 382 toSort[i] = strings[i]; 394 errln("Inconsistent ordering between strings %i and %i", i, j);
|
| tsdtfmsy.cpp | 333 const UnicodeString **strings = en.getZoneStrings(rowCount, columnCount); local 334 fr.setZoneStrings(strings, rowCount, columnCount); 338 if( strings[i][j] != strings1[i][j] ) {
|
| /frameworks/base/core/tests/coretests/src/android/text/ |
| TextUtilsTest.java | 222 List<String> strings = Lists.newArrayList(); local 224 strings.add(s); 226 MoreAsserts.assertEquals(expectedStrings, strings.toArray(new String[]{})); 231 String[] strings = { "abc", " abc", " abc", "abc ", "abc ", local 234 for (String s : strings) { 309 // Are all normal output strings identical? 313 // Are preserved output strings identical? 320 // Did preserved output strings preserve length?
|
| /frameworks/base/keystore/java/android/security/ |
| KeyStore.java | 106 String[] strings = new String[values.length]; local 108 strings[i] = toString(values[i]); 110 return strings;
|
| /frameworks/base/tools/aapt/ |
| StringPool.cpp | 197 // our client placed their own strings in it. 219 // Now build the pool of unique strings. 221 const size_t STRINGS = mEntries.size(); 233 for (i=0; i<STRINGS; i++) { 261 uint8_t* strings = (uint8_t*)dat; local 263 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize) 265 ENCODE_LENGTH(strings, sizeof(uint8_t), encSize) 267 strncpy((char*)strings, encStr, encSize+1); 269 uint16_t* strings = (uint16_t*)dat; local 271 ENCODE_LENGTH(strings, sizeof(uint16_t), strSize [all...] |
| /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
| HexStringParser.java | 162 String[] strings = significantStr.split("\\."); //$NON-NLS-1$ local 163 String strIntegerPart = strings[0]; 164 String strDecimalPart = strings.length > 1 ? strings[1] : ""; //$NON-NLS-1$
|
| /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
| ArraysTest.java | 511 String[] strings = new String[] { "a", "B", "c", "D" }; local 512 Arrays.sort(strings, String.CASE_INSENSITIVE_ORDER); 513 assertEquals(0, Arrays.binarySearch(strings, "a", 515 assertEquals(0, Arrays.binarySearch(strings, "A", 517 assertEquals(1, Arrays.binarySearch(strings, "b", 519 assertEquals(1, Arrays.binarySearch(strings, "B", 521 assertEquals(2, Arrays.binarySearch(strings, "c", 523 assertEquals(2, Arrays.binarySearch(strings, "C", 525 assertEquals(3, Arrays.binarySearch(strings, "d", 527 assertEquals(3, Arrays.binarySearch(strings, "D" [all...] |
| /dalvik/tests/074-gc-thrash/src/ |
| Main.java | 167 String strings[] = new String[ARRAY_SIZE]; local 171 strings[idx] = makeString(idx);
|
| /external/icu4c/test/cintltst/ |
| idnatest.c | 526 log_err("Did not get the expected result for %s with null termniated strings.\n",testName); 536 log_err("Did not get the expected result for %s with null termniated strings with options set.\n", testName); 647 static const UChar strings[][8]={ local 656 for(i=0; i<LENGTHOF(strings); ++i) { 658 length=uidna_toASCII(strings[i], -1, ascii, LENGTHOF(ascii), 0, NULL, &errorCode); [all...] |
| bocu1tst.c | 951 } strings[]={ variable in typeref:struct:__anon2289 992 /* text 1: each of strings[] once */ 994 for(i=0; i<LENGTHOF(strings); ++i) { 995 u_memcpy(text+length, strings[i].s, strings[i].length); 996 length+=strings[i].length; 1000 /* text 2: each of strings[] twice */ 1002 for(i=0; i<LENGTHOF(strings); ++i) { 1003 u_memcpy(text+length, strings[i].s, strings[i].length) [all...] |
| cdtrgtst.c | 136 const char* strings[] = { local 177 u_uastrcpy(s, strings[i]); 198 * SimpleDateFormat does not properly parse date strings without delimiters 363 Please extend the parsing method(s) to handle strings with
|
| /external/libxml2/ |
| dict.c | 2 * dict.c: dictionary of reusable strings, just used to avoid allocation 98 xmlDictStringsPtr strings; member in struct:_xmlDict 166 pool = dict->strings; 188 pool->next = dict->strings; 189 dict->strings = pool; 228 pool = dict->strings; 250 pool->next = dict->strings; 251 dict->strings = pool; 303 * Calculate a hash key for two strings using a good hash function 309 * Neither of the two strings must be NULL [all...] |
| /external/srec/seti/sltsEngine/include/ |
| lts_seq_internal.h | 130 char **strings; member in struct:LTS
|
| /external/srec/tools/thirdparty/OpenFst/fst/lib/ |
| synchronize.h | 67 // Residual strings are represented by const pointers to 85 vector<const String*> strings; local 88 strings.push_back(*it); 90 for (size_t i = 0; i < strings.size(); ++i) 91 delete strings[i]; 242 // Equality function for Elements, assume strings have been hashed. 267 // Equality function for strings 278 // Hash function for set of strings
|
| /frameworks/base/core/java/android/widget/ |
| ArrayAdapter.java | 391 CharSequence[] strings = context.getResources().getTextArray(textArrayResId); local 392 return new ArrayAdapter<CharSequence>(context, textViewResId, strings);
|
| /frameworks/base/tools/localize/ |
| localize.cpp | 118 const set<StringResource>& strings = values->GetStrings(); local 119 for (set<StringResource>::const_iterator it=strings.begin(); it!=strings.end(); it++) { 168 * translation memory or tools to notice that the strings haven't changed, and populate the 323 // pull out the strings and add them to the XLIFFFile 409 " config files translate comments strings\n" 591 " --big Pad strings so they get longer.\n" 600 "Reads the base strings and prints warnings about bad resources from the given files.\n"
|
| /frameworks/base/wifi/java/android/net/wifi/ |
| WifiConfiguration.java | 109 public static final String[] strings = { "NONE", "WPA_PSK", "WPA_EAP", "IEEE8021X" }; field in class:WifiConfiguration.KeyMgmt 125 public static final String[] strings = { "WPA", "RSN" }; field in class:WifiConfiguration.Protocol 143 public static final String[] strings = { "OPEN", "SHARED", "LEAP" }; field in class:WifiConfiguration.AuthAlgorithm 161 public static final String[] strings = { "NONE", "TKIP", "CCMP" }; field in class:WifiConfiguration.PairwiseCipher 187 public static final String[] strings = { "WEP40", "WEP104", "TKIP", "CCMP" }; field in class:WifiConfiguration.GroupCipher 201 public static final String[] strings = { "current", "disabled", "enabled" }; field in class:WifiConfiguration.Status 331 if (k < KeyMgmt.strings.length) { 332 sbuf.append(KeyMgmt.strings[k]); 342 if (p < Protocol.strings.length) { 343 sbuf.append(Protocol.strings[p]) [all...] |
| /dalvik/libcore/text/src/main/java/java/text/ |
| MessageFormat.java | 39 * inserts the formatted strings into the pattern at the appropriate places. 114 * comments in resource bundle source files) which strings will be processed by 116 * translated strings where the original version doesn't have them. <br> 343 transient private String[] strings; field in class:MessageFormat 441 this.strings = new String[localStrings.size()]; 443 this.strings[i] = localStrings.elementAt(i); 505 && Arrays.equals(strings, format.strings) 575 buffer.append(strings[i]); 616 if (maxOffset + 1 < strings.length) [all...] |
| /development/samples/RSSReader/src/com/example/android/rssreader/ |
| RssReader.java | 104 public static final String STRINGS_KEY = "strings"; 389 * objects, such as Strings, Integers or lists of Strings. In this case, we 412 ArrayList<CharSequence> strings = new ArrayList<CharSequence>(); local 415 strings.add(item.getTitle()); 416 strings.add(item.getLink()); 417 strings.add(item.getDescription()); 419 outState.putSerializable(STRINGS_KEY, strings); 447 List<CharSequence> strings = (ArrayList<CharSequence>)state.getSerializable(STRINGS_KEY); 449 for (int i = 0; i < strings.size(); i += 3) [all...] |