Lines Matching refs:filename
761 static char *make_filename_safe(const char *filename TSRMLS_DC) in make_filename_safe()
763 if (*filename && memcmp(filename, ":memory:", sizeof(":memory:"))) { in make_filename_safe()
764 char *fullpath = expand_filepath(filename, NULL TSRMLS_CC); in make_filename_safe()
776 return estrdup(filename); in make_filename_safe()
782 char *filename; in authorizer() local
786 filename = make_filename_safe(arg4 TSRMLS_CC); in authorizer()
787 if (!filename) { in authorizer()
790 efree(filename); in authorizer()
796 filename = make_filename_safe(arg3 TSRMLS_CC); in authorizer()
797 if (!filename) { in authorizer()
800 efree(filename); in authorizer()
815 char *filename; in pdo_sqlite_handle_factory() local
823 filename = make_filename_safe(dbh->data_source TSRMLS_CC); in pdo_sqlite_handle_factory()
825 if (!filename) { in pdo_sqlite_handle_factory()
832 i = sqlite3_open(filename, &H->db); in pdo_sqlite_handle_factory()
833 efree(filename); in pdo_sqlite_handle_factory()