Home | History | Annotate | Download | only in intltest

Lines Matching defs:bytes

140     char *bytes = NULL;
145 bytes = NEW_ARRAY(char, length + 1);
146 source.extract(0, sLength, bytes, codepage);
149 return bytes;
152 static void freeBytes(char *bytes)
154 DELETE_ARRAY(bytes);
172 char *bytes = extractBytes(testString, codepage, byteLength);
174 if (bytes == NULL) {
181 ucsdet_setText(csd.getAlias(), bytes, byteLength, &status);
237 freeBytes(bytes);
328 char *bytes = extractBytes(s, "UTF-8", byteLength);
333 ucsdet_setText(csd, bytes, byteLength, &status);
351 freeBytes(bytes);
428 char *bytes = extractBytes(s, "ISO-8859-1", byteLength);
440 ucsdet_setText(csd, bytes, byteLength, &status);
462 ucsdet_setText(csd, bytes, byteLength, &status);
483 freeBytes(bytes);
492 UnicodeString ssWindows("This is another small sample of some English text. Just enough to be sure that it detects correctly. It also includes some \\u201CC1\\u201D bytes.", -1, US_INV);
505 errcheckln(status, "English test with C1 bytes got no matches. - %s", u_errorName(status));
512 errln("English text with C1 bytes does not detect as windows-1252, but as %s", name);
519 errln("English text without C1 bytes got no matches.");
526 errln("English text without C1 bytes does not detect as ISO-8859-1, but as %s", name);
636 char *bytes = extractBytes(s1, "IBM424", bLength);
650 ucsdet_setText(csd, bytes, bLength, &status);
677 freeBytes(bytes);
726 char *bytes = extractBytes(s1, "IBM420", bLength);
740 ucsdet_setText(csd, bytes, bLength, &status);
767 freeBytes(bytes);
825 "It also includes some \\u201CC1\\u201D bytes.", -1, US_INV);