| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/ |
| TestUCharacterIterator.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 391 String source ="asdfasdfjoiuyoiuy2341235679886765"; local 392 UCharacterIterator it = UCharacterIterator.getInstance(source); 394 CharacterIterator ci = new StringCharacterIterator(source);
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/shaping/ |
| ArabicShapingRegTest.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 54 public String source; field in class:ArabicShapingRegTest.TestData 64 public static TestData standard(String source, int flags, String result) { 65 return new TestData(STANDARD, source, flags, result, 0, null); 68 public static TestData preflight(String source, int flags, int length) { 69 return new TestData(PREFLIGHT, source, flags, null, length, null); 72 public static TestData error(String source, int flags, Class error) { 73 return new TestData(ERROR, source, flags, null, 0, error); 76 private TestData(int type, String source, int flags, String result, int length, Class error) { 78 this.source = source [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
| WriteCharts.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 50 public static void printSet(String source) { 51 UnicodeSet s = new UnicodeSet(source); 52 System.out.println("Printout for '" + source + "'"); 66 String source = (String) sources.nextElement(); local 67 scripts = UScript.getCode(source); 69 System.out.println("[Skipping " + source + "]"); 73 System.out.println("Source: " + source + ";\tScripts: " + showScripts(scripts)); 74 Enumeration targets = Transliterator.getAvailableTargets(source); 127 String source = id.substring(0,minusPos); local [all...] |
| /external/icu/icu4c/source/common/ |
| ucnvbocu.cpp | 395 const UChar *source, *sourceLimit; local 406 source=pArgs->source; 430 /* use only one loop counter variable, targetCapacity, not also source */ 431 diff=(int32_t)(sourceLimit-source); 435 while(targetCapacity>0 && (c=*source)<0x3000) { 442 ++source; 450 ++source; 462 while(source<sourceLimit) { 464 c=*source++ 656 const UChar *source, *sourceLimit; local 959 const uint8_t *source, *sourceLimit; local 1182 const uint8_t *source, *sourceLimit; local [all...] |
| /external/icu/icu4c/source/i18n/ |
| tridpars.cpp | 58 source = s; 541 * S-T/V, or S/V-T. If the source is missing, return a source of 544 * @return an array of 4 strings: source, target, variant, and 545 * isSourcePresent. If the source is not present, ANY will be 546 * given as the source, and isSourcePresent will be NULL. Otherwise 551 UnicodeString& source, 555 source.setTo(ANY, 3); 573 id.extractBetween(0, sep, source); 581 id.extractBetween(0, var, source); 707 UnicodeString source; local [all...] |
| /external/icu/icu4c/source/samples/ucnv/ |
| convsamp.cpp | 207 UChar source[] = { 0x041C, 0x043E, 0x0441, 0x043A, 0x0432, local 221 len = ucnv_fromUChars(conv, target, 100, source, -1, &status); 230 printUChars("src", source); 288 the source pointer will be equal to sourceLimit. If the output 300 const char *source; local 333 source = inBuf; 342 &source, sourceLimit, NULL, 369 } while (source < sourceLimit); // while simply out of space 400 const char *source; local 448 source = inBuf 533 char source[] = { 0x63, 0x61, 0x74, (char)0x94, 0x4C, (char)0x82, 0x6E, (char)0x82, 0x6A, 0x00 }; local 573 const char *source, *sourceLimit; local 880 const char *source; local 985 const UChar *source; local 1090 const char *source = input; local [all...] |
| /external/icu/icu4c/source/test/cintltst/ |
| cmsgtst.c | 830 UChar source[100]; local 838 u_uastrcpy(source, "You deposited an amount of $500.00"); 842 u_parseMessage( "en_US", pattern, u_strlen(pattern), source, u_strlen(source), &status, str, &value); 942 UChar source[100]; local [all...] |
| idnatest.c | 93 /* test null-terminated source and return value of number of UChars required */ 103 log_err("Did not get the expected result for null terminated source.\n" ); 106 log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); 111 log_err_status(status, "Did not get the expected error for %s null terminated source failed. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status)); 125 log_err("Did not get the expected result for %s null terminated source with both options set.\n",testName); 129 log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); 134 log_err( "Did not get the expected error for %s null terminated source with options set. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status)); 140 /* test source with lengthand return value of number of UChars required*/ 149 log_err("Did not get the expected result for %s with source length.\n",testName); 152 log_err( "%s with source length failed. Requires destCapacity > 300\n",testName) 575 UChar source[MAX_DEST_SIZE]={0}, local [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| tufmtts.cpp | 132 TimeUnitAmount* source = new TimeUnitAmount(tests[i], j, status); local 136 formattable.adoptObject(source);
|
| /external/icu/icu4c/source/tools/toolutil/ |
| ucbuf.cpp | 166 const char* source=NULL; local 218 /* since state is saved in the converter we add offset to source*/ 220 source = cbuf; 221 sourceLimit = source + inputRead; 223 &source,sourceLimit,NULL, 248 pos = (int32_t)(source - cbuf - len); 262 memcpy(postContext,source,stop-start); 286 /* reset source and target start positions */ 288 source = cbuf; 292 &source,sourceLimit,NULL [all...] |
| /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
| AnyTransliterator.java | 257 String source = (String) sources.nextElement(); local 258 if (source.equals("Any")) continue; // to keep from looping 260 Enumeration targets = Transliterator.getAvailableTargets(source); 267 Set variantSet = add(new TreeSet(), Transliterator.getAvailableVariants(source, target));
|
| TransliterationChart.java | 73 String source = names[i]; local 74 System.out.println(source); 80 Transliterator forward = Transliterator.getInstance(source + '-' + target); 118 String source = (String)sit.next(); local 119 String item = anyToLatin.transliterate(source); 120 if (item.equals("") || source.equals(item)) item = " "; 134 String temp = fallbacks[i].transliterate(source); 135 if (!temp.equals("") && !temp.equals(source)) item = temp;
|
| /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
| CharsetBOCU1.java | 390 protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush){ 418 labelType = fastSingle(source, target, offsets); 421 labelType = getTrail(source, target, offsets); 424 labelType = regularLoop(source, target, offsets); 432 private int fastSingle(CharBuffer source, ByteBuffer target, IntBuffer offsets){ 435 /*use only one loop counter variable , targetCapacity, not also source*/ 436 diff = source.limit() - source.position(); 440 while(targetCapacity>0 && (c=source.get(source.position()))<0x3000) [all...] |
| /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
| CollationElementIterator.java | 31 * in the source string. 131 * source string has been reached, and there are no more valid 206 * CollationElementIterator constructor. This takes a source 208 * the source string based on the rules defined by the 209 * collator. If the source string is empty, NULLORDER will be 212 * @param source the source string. 216 CollationElementIterator(String source, RuleBasedCollator collator) { 218 setText(source); 230 * CollationElementIterator constructor. This takes a source [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| DigitList.java | 341 // * @param source Value to be converted; must not be Inf, -Inf, Nan, 346 // public final void set(double source, int maximumFractionDigits) 348 // set(source, maximumFractionDigits, true); 354 * @param source Value to be converted; must not be Inf, -Inf, Nan, 361 final void set(double source, int maximumDigits, boolean fixedPoint) 363 if (source == 0) source = 0; 366 String rep = Double.toString(source); 547 public final void set(long source) 549 set(source, 0) [all...] |
| /external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
| TransliteratorIDParser.java | 31 * A basic ID, which contains source, target, and variant, but no 73 * 'source' and 'target' will always be non-null. The 'variant' 76 * 'sawSource' is true if there was an explicit source in the 77 * parsed id. If there was no explicit source, then an implied 78 * source of ANY is returned and 'sawSource' is set to false. 84 public String source; // not null field in class:TransliteratorIDParser.Specs 90 source = s; 458 * S-T/V, or S/V-T. If the source is missing, return a source of 461 * @return an array of 4 strings: source, target, variant, an 468 String source = ANY; local 595 String source = null; local [all...] |
| /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
| CollationDummyTest.java | 12 * Source File: $ICU4CRoot/source/test/intltest/allcoll.cpp 13 * $ICU4CRoot/source/test/cintltst/callcoll.c 237 String source = "THISISATEST."; local 247 int result = coll.compare(source, target); 256 result = coll.compare(source, target); 265 sourceKeyOut = coll.getCollationKey(source); 283 String source[] = {"z", local 309 doTest(enCollation, source[count], target[count], -1); 312 doTest(enCollation, source[count], target[count], 1) 358 char[] source = new char[1]; local [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
| CompactDecimalFormatTest.java | 462 Object source = row[0]; local 464 assertEquals(title + source, expected, 465 cdf.format(source));
|
| TimeUnitTest.java | 78 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); local 79 String formatted = formats[style].format(source); 86 if (result == null || !source.equals(result)) { 87 errln("No round trip: " + source + " => " + formatted + " => " + result); 312 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); local 313 String formatted = format.format(source); 318 if (result == null || !source.equals(result)) { 319 errln("No round trip: " + source + " => " + formatted + " => " + result); 415 * public Object parseObject(String source, ParsePosition pos)
|
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
| TestUCharacterIterator.java | 390 String source ="asdfasdfjoiuyoiuy2341235679886765"; local 391 UCharacterIterator it = UCharacterIterator.getInstance(source); 393 CharacterIterator ci = new StringCharacterIterator(source);
|
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/ |
| ArabicShapingRegTest.java | 53 public String source; field in class:ArabicShapingRegTest.TestData 63 public static TestData standard(String source, int flags, String result) { 64 return new TestData(STANDARD, source, flags, result, 0, null); 67 public static TestData preflight(String source, int flags, int length) { 68 return new TestData(PREFLIGHT, source, flags, null, length, null); 71 public static TestData error(String source, int flags, Class error) { 72 return new TestData(ERROR, source, flags, null, 0, error); 75 private TestData(int type, String source, int flags, String result, int length, Class error) { 77 this.source = source; [all...] |
| /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
| WriteCharts.java | 49 public static void printSet(String source) { 50 UnicodeSet s = new UnicodeSet(source); 51 System.out.println("Printout for '" + source + "'"); 65 String source = (String) sources.nextElement(); local 66 scripts = UScript.getCode(source); 68 System.out.println("[Skipping " + source + "]"); 72 System.out.println("Source: " + source + ";\tScripts: " + showScripts(scripts)); 73 Enumeration targets = Transliterator.getAvailableTargets(source); 80 System.out.println("[Skipping '" + source + "-" + target + "']") 126 String source = id.substring(0,minusPos); local [all...] |
| /external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
| MethodAnalyzer.java | 266 LabelInfo.getInstruction(j.target).setPredecessor(j.source); 295 final Instruction source; field in class:MethodAnalyzer.Jump 298 Jump(final Instruction source, final Label target) { 299 this.source = source;
|
| /external/libchrome/base/ |
| pickle_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 142 // Tests that reading/writing a long works correctly when the source process 449 Pickle source; local 450 source.WriteInt(1); 452 Pickle copy_refs_source_buffer(static_cast<const char*>(source.data()), 453 source.size()); 456 ASSERT_EQ(source.size(), copy.size()); 460 Pickle source; local 462 EXPECT_TRUE(source.WriteData(str.c_str(), 100000)); 465 PickleIterator iter(source); [all...] |
| /external/libpcap/msdos/ |
| pktdrvr.h | 86 ETHER source;
member in struct:__anon23994 96 ETHER source; /* E-net source address */
member in struct:__anon23995
|