Lines Matching full:path
127 char* path=(char*)malloc(sizeof(char) * (strlen(ctest_dataOutDir())
142 strcat(strcpy(path, ctest_dataOutDir()), U_ICUDATA_NAME);
147 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", testPath, name, type, myErrorName(status));
158 icuDataFilePath = (char *)malloc(strlen(path) + 10);
159 strcpy(icuDataFilePath, path);
169 result=udata_open(path, memMap[i][1], memMap[i][0], &status);
171 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", path, memMap[i][0], memMap[i][1], myErrorName(status));
173 log_verbose("PASS: udata_open worked for path = %s, name=%s, type=%s\n", path, memMap[i][0], memMap[i][1]);
219 log_data_err("FAIL: udata_open() failed for path = %s, name=%s, type=%s, \n errorcode=%s\n", icuDataFilePath, memMap[i][0], memMap[i][1], myErrorName(status));
221 log_verbose("PASS: udata_open worked for path = %s, name=%s, type=%s\n", icuDataFilePath, memMap[i][0], memMap[i][1]);
238 * path = wherever/testdata
257 /* This type of path is deprecated */
260 * take a slightly different code path, with the "base name" from the path
264 /* log_verbose("Testing udata_open, with path containing a trailing directory separator.\n"); */
295 * Try opening data with absurdly long path and name, to trigger buffer size
302 /* Try a very long nonexistent directory path.
303 * udata_open should still succeed. Opening with the path will fail,
304 * then fall back to skipping the directory portion of the path.
317 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
336 log_data_err("FAIL: udata_open() failed for path = %s\n name=%s, type=%s, \n errorcode=%s\n",
342 free(path);
641 log_data_err("FAIL: udata_openChoice() failed path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name[2], type, myErrorName(status));
700 const char* path = loadTestData(&status);
706 result=udata_openChoice(path, type, name, isAcceptable, &p, &status);
708 log_data_err("failed to load data at p=%s t=%s n=%s, isAcceptable", path, type, name);
716 result=udata_openChoice(path, type, name, isAcceptable, &p, &status);
771 log_data_err("FAIL: udata_open() failed for path = NULL, name=%s, type=%s, \n errorcode=%s\n", name, type, myErrorName(status));
795 log_data_err("FAIL: udata_open() failed for path=%s name2=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
853 log_data_err("FAIL: udata_openChoice() failed for path=%s name=%s, type=%s, \n errorcode=%s\n", testPath, name2, type, myErrorName(status));
898 log_data_err("FAIL: udata_open() is supposed to fail for path = %s, name=%s, type=%s, \n errorcode !=U_ZERO_ERROR\n", testPath, name, type);
916 log_err("FAIL: udata_open() with data name=NULL is supposed to fail for path = %s, name=NULL type=%s errorcode=U_ZERO_ERROR \n", testPath, type);
926 log_err("FAIL: udata_openChoice() is supposed to fail for path = %s, name=%s, type=%s, \n errorcode != U_ZERO_ERROR\n", testPath, name, type);
943 log_err("FAIL: udata_openChoice() with data name=NULL is supposed to fail for path = %s, name=NULL type=%s errorcode=U_ZERO_ERROR \n", testPath, type);
1763 udata_setAppData("invalid path", badBuffer, &status);