Searched refs:file_test (Results 1 - 25 of 29) sorted by relevance

12

/inkscape/src/extension/
H A Ddependency.cpp158 if (Glib::file_test(temploc, filetest)) {
165 if (!Glib::file_test(location, filetest)) {
204 if (Glib::file_test(final_name, filetest)) {
211 if (Glib::file_test(final_name_exe, filetest)) {
218 if (Glib::file_test(final_name_cmd, filetest)) {
H A Dinit.cpp292 if (!Glib::file_test(std::string(dirname), Glib::FILE_TEST_EXISTS | Glib::FILE_TEST_IS_DIR)) {
H A Dsystem.cpp274 if (Inkscape::IO::file_test(filename, G_FILE_TEST_EXISTS) && !Inkscape::IO::file_is_writable(filename)) {
/inkscape/src/helper/
H A Dstock-items.cpp60 if (Inkscape::IO::file_test(markers, G_FILE_TEST_IS_REGULAR)) {
98 if (Inkscape::IO::file_test(patterns, G_FILE_TEST_IS_REGULAR)) {
103 if (Inkscape::IO::file_test(patterns, G_FILE_TEST_IS_REGULAR)) {
141 if (Inkscape::IO::file_test(gradients, G_FILE_TEST_IS_REGULAR)) {
146 if (Inkscape::IO::file_test(gradients, G_FILE_TEST_IS_REGULAR)) {
/inkscape/src/io/
H A Dsys.h37 bool file_test( char const *utf8name, GFileTest test );
H A Dsys.cpp182 bool Inkscape::IO::file_test( char const *utf8name, GFileTest test ) function in class:Inkscape::IO
204 g_warning( "Unable to convert filename in IO:file_test" );
238 g_warning( "Unable to convert filename in IO:file_test" );
265 exists = Inkscape::IO::file_test( dirname, G_FILE_TEST_EXISTS);
271 g_warning( "Unable to convert filename in IO:file_test" );
/inkscape/src/
H A Dshortcuts.cpp103 using Inkscape::IO::file_test;
106 if (file_test(filename, G_FILE_TEST_EXISTS)) {
220 if ( Inkscape::IO::file_test( dirname, G_FILE_TEST_EXISTS )
221 && Inkscape::IO::file_test( dirname, G_FILE_TEST_IS_DIR )) {
244 if (!Inkscape::IO::file_test(full, G_FILE_TEST_IS_DIR)) {
299 if (!Inkscape::IO::file_test(open_path.c_str(),
H A Dresource-manager.cpp191 if ( !Glib::file_test(uri, Glib::FILE_TEST_EXISTS) ) {
197 if ( !Glib::file_test(uri, Glib::FILE_TEST_EXISTS) ) {
252 if ( !Glib::file_test(uri, Glib::FILE_TEST_EXISTS) ) {
362 exists = Glib::file_test(filepath, Glib::FILE_TEST_EXISTS);
H A Dfile.cpp195 if ( Inkscape::IO::file_test( dirname, (GFileTest)(G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR) ) ) {
202 if (Inkscape::IO::file_test(tmp, G_FILE_TEST_IS_REGULAR)) {
507 if (!Inkscape::IO::file_test(open_path.c_str(),
857 if (!Inkscape::IO::file_test(save_path.c_str(),
872 while (Inkscape::IO::file_test(save_loc.c_str(), G_FILE_TEST_EXISTS)) {
1308 if (!Inkscape::IO::file_test(import_path.c_str(),
1430 if (!Inkscape::IO::file_test(export_path.c_str(),
H A Dinkscape.cpp1298 bool needsMigration = ( !Inkscape::IO::file_test( prefdir, G_FILE_TEST_EXISTS ) && Inkscape::IO::file_test( legacyDir, G_FILE_TEST_EXISTS ) );
1305 bool needsRenameWarning = ( !Inkscape::IO::file_test( prefdir, G_FILE_TEST_EXISTS ) && Inkscape::IO::file_test( dev47Dir, G_FILE_TEST_EXISTS ) );
/inkscape/src/ui/dialog/
H A Dfiledialogimpl-gtkmm.cpp543 if (!Glib::file_test(fileName, Glib::FILE_TEST_EXISTS)) {
549 if (Glib::file_test(fileName, Glib::FILE_TEST_IS_DIR)) {
554 if (Glib::file_test(fileName, Glib::FILE_TEST_IS_REGULAR)) {
742 if (Inkscape::IO::file_test(INKSCAPE_EXAMPLESDIR, G_FILE_TEST_EXISTS) &&
743 Inkscape::IO::file_test(INKSCAPE_EXAMPLESDIR, G_FILE_TEST_IS_DIR) && g_path_is_absolute(INKSCAPE_EXAMPLESDIR)) {
1100 if (Inkscape::IO::file_test(templates, G_FILE_TEST_EXISTS) &&
1101 Inkscape::IO::file_test(templates, G_FILE_TEST_IS_DIR) && g_path_is_absolute(templates)) {
1148 if (Glib::file_test(fileName, Glib::FILE_TEST_IS_DIR)) {
1150 } else if (/*Glib::file_test(fileName, Glib::FILE_TEST_IS_REGULAR)*/ 1) {
1344 if (Glib::file_test(myFilenam
[all...]
H A Dsymbols.cpp586 if( Inkscape::IO::file_test( INKSCAPE_SYMBOLSDIR, G_FILE_TEST_EXISTS ) &&
587 Inkscape::IO::file_test( INKSCAPE_SYMBOLSDIR, G_FILE_TEST_IS_DIR ) ) {
590 if( Inkscape::IO::file_test( Inkscape::Application::profile_path("symbols"), G_FILE_TEST_EXISTS ) &&
591 Inkscape::IO::file_test( Inkscape::Application::profile_path("symbols"), G_FILE_TEST_IS_DIR ) ) {
607 if ( !Inkscape::IO::file_test( fullname, G_FILE_TEST_IS_DIR )
H A Dtemplate-load-tab.cpp265 if ( !Glib::file_test(path, Glib::FILE_TEST_EXISTS) ||
266 !Glib::file_test(path, Glib::FILE_TEST_IS_DIR))
H A Docaldialogs.cpp821 if (!Glib::file_test(ocal_tmp_thumbnail_dir, Glib::FILE_TEST_EXISTS)) {
826 if (!Glib::file_test(ocal_tmp_image_dir, Glib::FILE_TEST_EXISTS)) {
853 if (Glib::file_test(path, Glib::FILE_TEST_EXISTS)) {
H A Dswatches.cpp537 if ( Inkscape::IO::file_test( dirname, G_FILE_TEST_EXISTS )
538 && Inkscape::IO::file_test( dirname, G_FILE_TEST_IS_DIR )) {
552 if ( !Inkscape::IO::file_test( full, G_FILE_TEST_IS_DIR ) ) {
H A Dexport.cpp1137 || !Inkscape::IO::file_test(dirname.c_str(), (GFileTest)(G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)) )
1343 if ( !Glib::file_test(dirname, Glib::FILE_TEST_EXISTS) ||
1344 Glib::file_test(filename, Glib::FILE_TEST_IS_DIR) ||
/inkscape/src/ui/widget/
H A Dimageicon.cpp376 if (!Glib::file_test(fileName, Glib::FILE_TEST_EXISTS)) {
381 if (Glib::file_test(fileName, Glib::FILE_TEST_IS_REGULAR)) {
H A Dpreferences-widget.cpp832 if (!Inkscape::IO::file_test(open_path.c_str(),
/inkscape/src/xml/
H A Drebase-hrefs.cpp68 && !Inkscape::IO::file_test(ret.c_str(), G_FILE_TEST_EXISTS)
69 && Inkscape::IO::file_test(sp_absref, G_FILE_TEST_EXISTS) )
259 * (e.g. passing it to g_path_is_absolute, g_build_filename or IO::file_test, or avoiding
H A Drepr-io.cpp338 if (!Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS )) {
/inkscape/src/widgets/
H A Dicon.cpp448 if ( Glib::file_test(potentialFile, Glib::FILE_TEST_EXISTS) && Glib::file_test(potentialFile, Glib::FILE_TEST_IS_REGULAR) ) {
489 if ( Glib::file_test(subdirName, Glib::FILE_TEST_IS_DIR) ) {
493 if ( Glib::file_test(fullpath, Glib::FILE_TEST_EXISTS) && !Glib::file_test(fullpath, Glib::FILE_TEST_IS_DIR) ) {
510 if ( Glib::file_test(iconCacheDir, Glib::FILE_TEST_EXISTS) ) {
512 if ( Glib::file_test(iconCacheDir, Glib::FILE_TEST_IS_DIR) ) {
517 if ( Glib::file_test(subdirName, Glib::FILE_TEST_IS_DIR) ) {
521 if ( Glib::file_test(fullpath, Glib::FILE_TEST_EXISTS) && !Glib::file_test(fullpat
[all...]
H A Dstroke-marker-selector.cpp182 if (Inkscape::IO::file_test(markers_source, G_FILE_TEST_IS_REGULAR)) {
/inkscape/src/extension/internal/filter/
H A Dfilter-file.cpp51 if (!Glib::file_test(std::string(dirname), Glib::FILE_TEST_EXISTS | Glib::FILE_TEST_IS_DIR)) {
/inkscape/src/extension/implementation/
H A Dxslt.cpp81 if ( Inkscape::IO::file_test(filename.c_str(), G_FILE_TEST_EXISTS) )
H A Dscript.cpp200 if ( Inkscape::IO::file_test(filename.c_str(), G_FILE_TEST_EXISTS) ) {
235 return Glib::file_test(command, Glib::FILE_TEST_EXISTS);
263 if (Glib::file_test(candidatePath,

Completed in 124 milliseconds

12