/external/icu/icu4c/source/test/cintltst/ |
spreptst.c | 106 const char *out; member in struct:ConformanceTestCases 325 const char* expectedDest = conformanceTestCases[i].out;
|
/external/icu/icu4c/source/test/intltest/ |
normconf.cpp | 102 // look in icu/source/test/testdata/out/build 196 // Parse out the comment. 205 // Parse out the fields 303 UnicodeString out, fcd; local 309 Normalizer::normalize(field[i], UNORM_NFC, options, out, status); 313 pass &= assertEqual("C", field[i], out, field[1], "c2!=C(c", fieldNum); 314 iterativeNorm(field[i], UNORM_NFC, options, out, +1); 315 pass &= assertEqual("C(+1)", field[i], out, field[1], "c2!=C(c", fieldNum); 316 iterativeNorm(field[i], UNORM_NFC, options, out, -1); 317 pass &= assertEqual("C(-1)", field[i], out, field[1], "c2!=C(c", fieldNum) [all...] |
/external/icu/icu4c/source/test/thaitest/ |
thaitest.cpp | 368 int32_t i, out, spaceCount; local 385 for (out = 0, i = 0; i < count; i += 1) { 387 noSpaces[out++] = spaces[i];
|
/external/icu/icu4c/source/tools/genrb/ |
wrtjava.cpp | 84 static FileStream* out=NULL; variable 247 write_tabs(out); 284 T_FileStream_write(out,"\"",1); 286 T_FileStream_write(out,current,add); 287 T_FileStream_write(out,"\" +\n",4); 288 write_tabs(out); 290 T_FileStream_write(out,current,bufLen-len); 295 T_FileStream_write(out,"\"",1); 296 T_FileStream_write(out, buf,bufLen); 299 T_FileStream_write(out,"\",\n",3) [all...] |
/external/icu/icu4c/source/tools/icupkg/ |
icupkg.cpp | 483 FileStream *out; local 484 out = T_FileStream_open(options[OPT_LIST_FILE].value, "w"); 485 if (out != NULL) { 487 T_FileStream_writeLine(out, pkg->getItem(i)->name); 488 T_FileStream_writeLine(out, "\n"); 490 T_FileStream_close(out);
|
/external/icu/icu4c/source/tools/icuswap/ |
icuswap.cpp | 104 FILE *in, *out; local 161 in=out=NULL; 253 out=fopen(argv[2], "wb"); 254 if(out==NULL) { 260 if(length!=(int32_t)fwrite(data, 1, length, out)) { 266 fclose(out); 267 out=NULL; 276 if(out!=NULL) { 277 fclose(out); 381 * Extract the package names from the in/out filenames [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
pkg_gencmn.c | 221 UNewDataMemory *out; local 234 out=udata_create(destDir, type, name, 246 udata_write32(out, fileCount); 248 udata_write32(out, files[i].basenameOffset); 249 udata_write32(out, files[i].fileOffset); 254 udata_writeString(out, files[i].basename, files[i].basenameLength); 263 udata_writePadding(out, 16-length); 282 udata_writeBlock(out, buffer, length); 296 udata_writePadding(out, 16-length); 300 udata_finish(out, &errorCode) 308 FileStream *out; local [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
TransliterationRuleSet.java | 197 System.out.println((incremental ? "Rule.i: match ":"Rule: match ") + 204 System.out.println((incremental ? "Rule.i: partial match ":"Rule: partial match ") + 211 System.out.println("Rule: no match " + rules[i]); 218 System.out.println((incremental ? "Rule.i: no match => ":"Rule: no match => ") +
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestBidi.java | 465 String out = bidi.writeReordered(Bidi.REMOVE_BIDI_CONTROLS | Bidi.DO_MIRRORING); local 466 assertEquals("\nWrong result #1", "abc", out); 472 out = bidi.writeReordered(0); 473 assertEquals("\nWrong result #2", "", out); 475 out = bidi.writeReordered(0); 476 assertEquals("\nWrong result #3", " ", out); 478 out = bidi.writeReordered(0); 479 assertEquals("\nWrong result #4", "abc", out); 481 out = bidi.writeReordered(0); 482 assertEquals("\nWrong result #5", "\u05d1\u05d0", out); [all...] |
TestInverse.java | 244 String out = bidi.writeReordered(0); local 253 new String(expected), out); 260 String out = bidi.writeReordered(Bidi.OUTPUT_REVERSE | Bidi.INSERT_LRM_FOR_NUMERIC); local 262 "\u200f \u200f", out); 271 System.out.println(e);
|
TestMultipleParagraphs.java | 417 String out = bidi.writeReordered(0); local 418 assertEquals("\nInvalid output", "\u05d1\u05d2 abc\n", out); 420 out = bidi.writeReordered(0); 421 assertEquals("\nInvalid output #1", "\u05d1\u05d2 abc", out); 428 out = bidi.writeReordered(0); 429 assertEquals("\nInvalid output #2", "ab\u05d2\u05d1\n123\u05d4\u05d3", out); 459 System.out.println(e);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
DataReadWriteTest.java | 106 boolean[] out = xrr.boolArray("test"); 108 assertNotNull("" + j, out); 109 assertEquals("" + j, data.length, out.length); 111 assertEquals("" + j + "/" + i, data[i], out[i]); 160 char[] out = xrr.characterArray("test"); local 162 assertNotNull("" + j, out); 163 assertEquals("" + j, data.length, out.length); 165 assertEquals("" + j + "/" + i, data[i], out[i]); 217 byte[] out = xrr.namedIndexArray("test", names); 219 assertNotNull("" + j, out); 287 String[] out = xrr.stringArray("test"); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
ConformanceTest.java | 86 // Parse out the fields 151 String out,fcd; local 155 out = Normalizer.normalize(field[i], Normalizer.NFC, options); 156 pass &= assertEqual("C", field[i], out, field[1], "c2!=C(c" + (i+1)); 158 out = iterativeNorm(field[i], Normalizer.NFC, buf, +1,options); 159 pass &= assertEqual("C(+1)", field[i], out, field[1], "c2!=C(c" + (i+1)); 161 out = iterativeNorm(field[i], Normalizer.NFC, buf, -1,options); 162 pass &= assertEqual("C(-1)", field[i], out, field[1], "c2!=C(c" + (i+1)); 164 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFC, buf, +1,options); 165 pass &= assertEqual("C(+1)", field[i], out, field[1], "c2!=C(c" + (i+1)) [all...] |
UnicodeNormalizerConformanceTest.java | 81 // Parse out the fields 146 String out; local 150 out = normalizer_C.normalize(field[i]); 151 pass &= assertEqual("C", field[i], out, field[1], "c2!=C(c" + (i+1)); 153 out = normalizer_D.normalize(field[i]); 154 pass &= assertEqual("D", field[i], out, field[2], "c3!=D(c" + (i+1)); 157 out = normalizer_KC.normalize(field[i]); 158 pass &= assertEqual("KC", field[i], out, field[3], "c4!=KC(c" + (i+1)); 160 out = normalizer_KD.normalize(field[i]); 161 pass &= assertEqual("KD", field[i], out, field[4], "c5!=KD(c" + (i+1)) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
NFS4StringPrep.java | 67 StringBuffer out = strprep.prepare(iter,StringPrep.DEFAULT); local 68 return out.toString().getBytes("UTF-8"); 127 StringBuffer out = new StringBuffer(); local 139 out.append(prep.nfsmxp.prepare(prefix,StringPrep.DEFAULT)); 140 out.append(AT_SIGN); // add the delimiter 141 out.append(prep.nfsmxs.prepare(suffix, StringPrep.DEFAULT)); 144 out.append(prep.nfsmxp.prepare(iter,StringPrep.DEFAULT)); 147 return out.toString().getBytes("UTF-8");
|
PunycodeReference.java | 140 int delta, h, b, out, max_out, bias, j, q, k, t; local 145 delta = out = 0; 153 if (max_out - out < 2) return punycode_big_output; 154 output[out++] = (char) 161 h = b = out; 164 /* number of basic code points, and out is the number of characters */ 167 if (b > 0) output[out++] = delimiter; 198 if (out >= max_out) return punycode_big_output; 202 output[out++] = encode_digit(t + (q - t) % (base - t), 0); 206 output[out++] = encode_digit(q, (case_flags !=null) ? case_flags[j] : 0) 300 int n, out, i, max_out, bias, local [all...] |
TestIDNARef.java | 111 StringBuffer out = IDNAReference.convertToUnicode(src,options); local 112 if(expected!=null && out != null && !out.toString().equals(expected)){ 114 " Expected: " + prettify(expected)+" Got: "+prettify(out)); 126 StringBuffer out = IDNAReference.convertToUnicode(inBuf,options); local 127 if(expected!=null && out != null && !out.toString().equals(expected)){ 129 " Expected: " + prettify(expected)+" Got: "+out); 141 StringBuffer out = IDNAReference.convertToUnicode(inIter,options); local 142 if(expected!=null && out != null && !out.toString().equals(expected)) 168 StringBuffer out = IDNAReference.convertIDNToUnicode(src,options); local 182 StringBuffer out = IDNAReference.convertIDNToUnicode(inBuf,options); local 197 StringBuffer out = IDNAReference.convertIDNToUnicode(inIter,options); local 223 StringBuffer out = IDNAReference.convertToASCII(src,options); local 238 StringBuffer out = IDNAReference.convertToASCII(inBuf,options); local 253 StringBuffer out = IDNAReference.convertToASCII(inIter,options); local 279 StringBuffer out = IDNAReference.convertIDNToASCII(src,options); local 293 StringBuffer out = IDNAReference.convertIDNtoASCII(inBuf,options); local 308 StringBuffer out = IDNAReference.convertIDNtoASCII(inIter,options); local [all...] |
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
MessagePatternUtilDemo.java | 32 System.out.println(indent + "text: «" + 39 System.out.println(indent + "replace: number"); 46 System.out.print(manySpaces.substring(0, depth * 2) + "arg: «" + arg.getName() + "»"); 49 System.out.println(" (no type)"); 51 System.out.print(" (" + arg.getTypeName() + ")"); 55 System.out.println(" (no style)"); 57 System.out.println(" style: «" + styleString + "»"); 60 System.out.println(); 69 System.out.println(manySpaces.substring(0, depth * 2) + "offset: " + style.getOffset()); 77 System.out.println(indent + variant.getSelectorValue() + " " [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
Checker.java | 152 System.out.println(language + "(" + encoding + ") stats, " + languageName(dataFilename) + "(" + fileEncoding + ") data:"); 175 System.out.println(ph + "\t" + histogram[ph]); 178 System.out.println();
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
CanonicalCharacterData.java | 91 System.out.println(Utility.hex(character, 6) + " - " + count + ":"); 99 System.out.print(" "); 102 System.out.print(Utility.hex(UTF16.charAt(equiv, c), 6)); 105 System.out.println(); 108 System.out.println(); 171 System.out.println("There are " + charCount + " characters with a canonical decomposition.");
|
DecompTable.java | 34 int out = 0, cp; local 38 decomp[out++] = cp;
|
ScriptList.java | 113 System.out.print(" (default)"); 125 System.out.print(" '" + langSysRecords[i].getTag() + "'"); 173 System.out.println("writing script list..."); 194 System.out.print(" script '" + scriptRecords[i].getTag() + "':"); 196 System.out.println();
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
MockSocketConnection.java | 60 private final OutputStream out = new OutputStream() { field in class:MockSocketConnection.MockSocket 123 return out;
|
MockSocketConnectionTest.java | 121 final OutputStream out = a.getOutputStream(); local 123 out.write(123); 129 final OutputStream out = b.getOutputStream(); local 133 out.write(0); 134 out.write(1); 135 out.write(2); 136 out.write(255); 152 final OutputStream out = b.getOutputStream(); local 161 out.write(123);
|
TcpServerOutputTest.java | 123 final OutputStream out = socket.getOutputStream(); local 124 out.write(0xca); 125 out.write(0xfe); 126 out.write(0xba); 127 out.write(0xbe);
|