• Home
  • Raw
  • Download

Lines Matching refs:standard

38 static int dotestname(const char *name, const char *standard, const char *expected) {  in dotestname()  argument
45 tag = ucnv_getStandardName(name, standard, &error); in dotestname()
47 log_err_status(error, "FAIL: could not find %s standard name for %s\n", standard, name); in dotestname()
50 … log_err("FAIL: expected %s for %s standard name for %s, got %s\n", expected, standard, name, tag); in dotestname()
66 const char *standard; in TestStandardName() local
69 standard = ucnv_getStandard(i, &err); in TestStandardName()
73 } else if (!standard || !*standard) { in TestStandardName()
74 log_err("FAIL: %s standard name at index %d\n", (standard ? "empty" : in TestStandardName()
114 static int dotestconv(const char *name, const char *standard, const char *expected) { in dotestconv() argument
121 tag = ucnv_getCanonicalName(name, standard, &error); in dotestconv()
123 log_err("FAIL: Unexpectedly found %s canonical name for %s, got %s\n", standard, name, tag); in dotestconv()
127 …us(error, "FAIL: could not find %s canonical name for %s\n", (standard ? "\"\"" : standard), name); in dotestconv()
131 …log_err("FAIL: expected %s for %s canonical name for %s, got %s\n", expected, standard, name, tag); in dotestconv()
135 log_verbose("PASS: (\"%s\", \"%s\") -> %s == %s \n", name, standard, tag, expected); in dotestconv()
170 static UBool doTestNames(const char *name, const char *standard, const char **expected, int32_t siz… in doTestNames() argument
172 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err); in doTestNames()
178 log_data_err("Unable to open standard names for %s of standard: %s\n", name, standard); in doTestNames()
189 log_verbose("\n%s %s\n", name, standard); in doTestNames()
207 …n NULL[0] with U_SUCCESS(). name=%s standard=%s len=%d err=%s\n", name, standard, len, u_errorName… in doTestNames()
214 name, standard, u_errorName(err)); in doTestNames()
222 static UBool doTestUCharNames(const char *name, const char *standard, const char **expected, int32_… in doTestUCharNames() argument
224 UEnumeration *myEnum = ucnv_openStandardNames(name, standard, &err); in doTestUCharNames()
229 log_data_err("Unable to open standard names for %s of standard: %s\n", name, standard); in doTestUCharNames()
241 log_verbose("\n%s %s\n", name, standard); in doTestUCharNames()
261 name, standard, u_errorName(err)); in doTestUCharNames()