Lines Matching refs:icuDataFilePath
138 char *icuDataFilePath = 0; in TestUDataOpen() local
165 icuDataFilePath = (char *)uprv_malloc(strlen(path) + 10); in TestUDataOpen()
166 strcpy(icuDataFilePath, path); in TestUDataOpen()
167 strcat(icuDataFilePath, ".dat"); in TestUDataOpen()
169 if (uprv_fileExists(icuDataFilePath)) in TestUDataOpen()
172 log_verbose("Testing udata_open() on %s\n", icuDataFilePath); in TestUDataOpen()
189 icuDataFilePath); in TestUDataOpen()
191 uprv_free(icuDataFilePath); in TestUDataOpen()
205 icuDataFilePath = (char *)malloc(strlen(path) + 10); in TestUDataOpen()
206 strcpy(icuDataFilePath, path); in TestUDataOpen()
207 strcat(icuDataFilePath, ".dat"); in TestUDataOpen()
209 if (uprv_fileExists(icuDataFilePath)) in TestUDataOpen()
212 log_verbose("Testing udata_open() on %s\n", icuDataFilePath); in TestUDataOpen()
229 icuDataFilePath); in TestUDataOpen()
233 free(icuDataFilePath); in TestUDataOpen()
234 icuDataFilePath = NULL; in TestUDataOpen()
246 icuDataFilePath = (char *)malloc(strlen(ctest_dataOutDir()) + 50); in TestUDataOpen()
247 strcpy(icuDataFilePath, ctest_dataOutDir()); in TestUDataOpen()
248 strcat(icuDataFilePath, "build"); in TestUDataOpen()
249 strcat(icuDataFilePath, dirSepString); in TestUDataOpen()
250 strcat(icuDataFilePath, U_ICUDATA_NAME); in TestUDataOpen()
251 strcat(icuDataFilePath, dirSepString); in TestUDataOpen()
252 strcat(icuDataFilePath, "cnvalias.icu"); in TestUDataOpen()
255 if (uprv_fileExists(icuDataFilePath)) in TestUDataOpen()
258 log_verbose("%s exists, so..\n", icuDataFilePath); in TestUDataOpen()
259 strcpy(icuDataFilePath, ctest_dataOutDir()); in TestUDataOpen()
260 strcat(icuDataFilePath, "build"); in TestUDataOpen()
261 strcat(icuDataFilePath, dirSepString); in TestUDataOpen()
262 strcat(icuDataFilePath, U_ICUDATA_NAME); in TestUDataOpen()
263 log_verbose("Testing udata_open() on %s\n", icuDataFilePath); in TestUDataOpen()
266 result=udata_open(icuDataFilePath, memMap[i][1], memMap[i][0], &status); in TestUDataOpen()
268 …a_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", icuDataFilePath, memMap[i][0]… in TestUDataOpen()
270 …erbose("PASS: udata_open worked for path = %s, name=%s, type=%s\n", icuDataFilePath, memMap[i][0]… in TestUDataOpen()
278 icuDataFilePath); in TestUDataOpen()
281 free(icuDataFilePath); in TestUDataOpen()
282 icuDataFilePath = NULL; in TestUDataOpen()
303 free(icuDataFilePath); in TestUDataOpen()