Home | History | Annotate | Download | only in cintltst

Lines Matching defs:bytes

75     char *bytes = NEW_ARRAY(char, byteCount + 1);
76 char *dest = bytes, *destLimit = bytes + byteCount + 1;
82 return bytes;
85 static void freeBytes(char *bytes)
87 DELETE_ARRAY(bytes);
125 char *bytes;
131 bytes = extractBytes(s, sLength, "UTF-8", &byteLength);
133 ucsdet_setText(csd, bytes, byteLength, &status);
155 freeBytes(bytes);
228 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.";
248 log_err("English test with C1 bytes got no matches.\n");
255 log_data_err("English text with C1 bytes does not detect as windows-1252, but as %s. (Are you missing data?)\n", name);
262 log_err("English text without C1 bytes got no matches.\n");
269 log_err("English text without C1 bytes does not detect as ISO-8859-1, but as %s\n", name);
287 char *bytes;
293 bytes = extractBytes(s, sLength, "ISO-8859-1", &byteLength);
302 ucsdet_setText(csd, bytes, byteLength, &status);
324 ucsdet_setText(csd, bytes, byteLength, &status);
345 freeBytes(bytes);
475 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength);
482 ucsdet_setText(csd, bytes, bLength, &status);
509 freeBytes(bytes);
553 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength);
560 ucsdet_setText(csd, bytes, bLength, &status);
587 freeBytes(bytes);