Lines Matching refs:filepath
65 static void get_filename_pathname (REGTEST_DB * db, const char *filepath) ;
68 static int get_ekey_from_filename (REGTEST_DB * db, const char *filepath) ;
172 db_add_file (REG_DB * db_handle, const char * filepath)
181 get_filename_pathname (db, filepath) ;
183 if (db_file_exists (db_handle, filepath))
195 { printf (" %s : could not open : %s, filepath: '%s'\n", db->filename, sf_strerror (NULL), filepath) ;
222 db_check_file (REG_DB * db_handle, const char * filepath)
226 if (db_file_exists (db_handle, filepath) == 0)
233 ekey = get_ekey_from_filename (db, filepath) ;
285 get_ekey_from_filename (REGTEST_DB * db, const char *filepath)
289 get_filename_pathname (db, filepath) ;
428 get_filename_pathname (REGTEST_DB * db, const char *filepath)
430 const char * basename = db_basename (filepath) ;
435 if (!IS_SLASH(filepath [0]) && !HAS_DRIVELETTER(filepath))
444 snprintf (db->pathname + slen, sizeof (db->pathname) - slen, "/%s", filepath) ;
447 snprintf (db->pathname, sizeof (db->pathname), "%s", filepath) ;
453 { printf ("\nError : bad pathname %s\n", filepath) ;