Lines Matching full:unorm_normalize
172 log_verbose("Testing unorm_normalize(%s)\n", modeStrings[mode]);
177 neededLen= unorm_normalize(source, u_strlen(source), mode, 0, NULL, 0, &status);
178 length2= unorm_normalize(source, -1, mode, 0, NULL, 0, &status2);
180 log_err("ERROR in unorm_normalize(%s)[%d]: "
188 length2=unorm_normalize(source, u_strlen(source), mode, 0, result, LENGTHOF(result), &status);
190 log_data_err("ERROR in unorm_normalize(%s/NUL) at %s: %s - (Are you missing data?)\n",
195 length2=unorm_normalize(source, -1, mode, 0, result, LENGTHOF(result), &status);
197 log_data_err("ERROR in unorm_normalize(%s/srcLength) at %s: %s - (Are you missing data?)\n",
254 len = unorm_normalize(src, srcLen, mode, 0, result, 50, &status);
257 log_data_err("unorm_normalize(%s) with 0x0000 failed: %s - (Are you missing data?)\n", name, u_errorName(status));
259 log_err("unorm_normalize(%s) with 0x0000 failed: Expected len %d, got %d\n", name, expLen, len);
265 log_err("unorm_normalize(%s): @%d, expected \\u%04X got \\u%04X\n",
276 log_verbose("unorm_normalize(%s) with 0x0000: OK\n", name);
668 normsize += unorm_normalize(data + size, 1, UNORM_NFD, 0,
678 nfdsize = unorm_normalize(data, size, UNORM_NFD, 0,
709 length=unorm_normalize(in, 2, UNORM_NFD, 0, NULL, 0, &errorCode);
711 log_data_err("unorm_normalize(pure preflighting NFD)=%ld failed with %s - (Are you missing data?)\n", length, u_errorName(errorCode));
716 length=unorm_normalize(in, 2, UNORM_NFD, 0, out, 3, &errorCode);
718 log_err("unorm_normalize(NFD)=%ld failed with %s\n", length, u_errorName(errorCode));
722 log_err("unorm_normalize(NFD ma<umlaut>)=%ld failed with out[]=U+%04x U+%04x U+%04x U+%04x\n", length, out[0], out[1], out[2], out[3]);
725 length=unorm_normalize(NULL, 0, UNORM_NFC, 0, NULL, 0, &errorCode);
727 log_err("unorm_normalize(src NULL[0], NFC, dest NULL[0])=%ld failed with %s\n", (long)length, u_errorName(errorCode));
730 length=unorm_normalize(NULL, 0, UNORM_NFC, 0, out, 20, &errorCode);
732 log_err("unorm_normalize(src NULL[0], NFC, dest out[20])=%ld failed with %s\n", (long)length, u_errorName(errorCode));
888 preflightLength=unorm_normalize(input, inLength,
893 log_data_err("error unorm_normalize(long input, output too short, UNORM_NFKC) did not overflow but %s - (Are you missing data?)\n", u_errorName(errorCode));
898 length=unorm_normalize(input, inLength,
903 log_data_err("error unorm_normalize(long input, UNORM_NFKC) failed with %s - (Are you missing data?)\n", u_errorName(errorCode));
905 log_err("error unorm_normalize(long input, UNORM_NFKC) produced wrong result\n");
914 log_err("error unorm_normalize(long input, UNORM_NFKC)==%ld but preflightLength==%ld\n", length, preflightLength);
938 length=unorm_normalize(input, inLength,
943 log_data_err("error unorm_normalize(long input, UNORM_FCD) failed with %s - (Are you missing data?)\n", u_errorName(errorCode));
945 log_err("error unorm_normalize(long input, UNORM_FCD) produced wrong result\n");
1405 length=unorm_normalize(s, length, UNORM_NFD, 0, nfd, LENGTHOF(nfd), &errorCode);
1457 length=unorm_normalize(