Lines Matching refs:icuDataFilePath
139 char *icuDataFilePath = 0; in TestUDataOpen() local
166 icuDataFilePath = (char *)uprv_malloc(strlen(path) + 10); in TestUDataOpen()
167 strcpy(icuDataFilePath, path); in TestUDataOpen()
168 strcat(icuDataFilePath, ".dat"); in TestUDataOpen()
170 if (uprv_fileExists(icuDataFilePath)) in TestUDataOpen()
173 log_verbose("Testing udata_open() on %s\n", icuDataFilePath); in TestUDataOpen()
190 icuDataFilePath); in TestUDataOpen()
192 uprv_free(icuDataFilePath); in TestUDataOpen()
206 icuDataFilePath = (char *)malloc(strlen(path) + 10); in TestUDataOpen()
207 strcpy(icuDataFilePath, path); in TestUDataOpen()
208 strcat(icuDataFilePath, ".dat"); in TestUDataOpen()
210 if (uprv_fileExists(icuDataFilePath)) in TestUDataOpen()
213 log_verbose("Testing udata_open() on %s\n", icuDataFilePath); in TestUDataOpen()
230 icuDataFilePath); in TestUDataOpen()
234 free(icuDataFilePath); in TestUDataOpen()
235 icuDataFilePath = NULL; in TestUDataOpen()
247 icuDataFilePath = (char *)malloc(strlen(ctest_dataOutDir()) + 50); in TestUDataOpen()
248 strcpy(icuDataFilePath, ctest_dataOutDir()); in TestUDataOpen()
249 strcat(icuDataFilePath, "build"); in TestUDataOpen()
250 strcat(icuDataFilePath, dirSepString); in TestUDataOpen()
251 strcat(icuDataFilePath, U_ICUDATA_NAME); in TestUDataOpen()
252 strcat(icuDataFilePath, dirSepString); in TestUDataOpen()
253 strcat(icuDataFilePath, "cnvalias.icu"); in TestUDataOpen()
256 if (uprv_fileExists(icuDataFilePath)) in TestUDataOpen()
259 log_verbose("%s exists, so..\n", icuDataFilePath); in TestUDataOpen()
260 strcpy(icuDataFilePath, ctest_dataOutDir()); in TestUDataOpen()
261 strcat(icuDataFilePath, "build"); in TestUDataOpen()
262 strcat(icuDataFilePath, dirSepString); in TestUDataOpen()
263 strcat(icuDataFilePath, U_ICUDATA_NAME); in TestUDataOpen()
264 log_verbose("Testing udata_open() on %s\n", icuDataFilePath); in TestUDataOpen()
267 result=udata_open(icuDataFilePath, memMap[i][1], memMap[i][0], &status); in TestUDataOpen()
269 …a_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", icuDataFilePath, memMap[i][0]… in TestUDataOpen()
271 …erbose("PASS: udata_open worked for path = %s, name=%s, type=%s\n", icuDataFilePath, memMap[i][0]… in TestUDataOpen()
279 icuDataFilePath); in TestUDataOpen()
282 free(icuDataFilePath); in TestUDataOpen()
283 icuDataFilePath = NULL; in TestUDataOpen()
304 free(icuDataFilePath); in TestUDataOpen()