Home | History | Annotate | Download | only in cintltst

Lines Matching defs:bytes

76     char *bytes = NEW_ARRAY(char, byteCount + 1);
77 char *dest = bytes, *destLimit = bytes + byteCount + 1;
83 return bytes;
86 static void freeBytes(char *bytes)
88 DELETE_ARRAY(bytes);
126 char *bytes;
132 bytes = extractBytes(s, sLength, "UTF-8", &byteLength);
134 ucsdet_setText(csd, bytes, byteLength, &status);
156 freeBytes(bytes);
229 static const char 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.";
249 log_err("English test with C1 bytes got no matches.\n");
256 log_data_err("English text with C1 bytes does not detect as windows-1252, but as %s. (Are you missing data?)\n", name);
263 log_err("English text without C1 bytes got no matches.\n");
270 log_err("English text without C1 bytes does not detect as ISO-8859-1, but as %s\n", name);
288 char *bytes;
294 bytes = extractBytes(s, sLength, "ISO-8859-1", &byteLength);
303 ucsdet_setText(csd, bytes, byteLength, &status);
325 ucsdet_setText(csd, bytes, byteLength, &status);
346 freeBytes(bytes);
476 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength);
483 ucsdet_setText(csd, bytes, bLength, &status);
510 freeBytes(bytes);
554 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength);
561 ucsdet_setText(csd, bytes, bLength, &status);
588 freeBytes(bytes);