Searched defs:dirname (Results 1 - 11 of 11) sorted by relevance
/inkscape/src/extension/ |
H A D | init.cpp | 116 static void build_module_from_dir(gchar const *dirname); 278 * \param dirname The directory that should be searched for modules 285 build_module_from_dir(gchar const *dirname) argument 287 if (!dirname) { 292 if (!Glib::file_test(std::string(dirname), Glib::FILE_TEST_EXISTS | Glib::FILE_TEST_IS_DIR)) { 299 GDir *directory = g_dir_open(dirname, 0, &err); 301 gchar *safeDir = Inkscape::IO::sanitizeString(dirname); 317 gchar *pathname = g_build_filename(dirname, filename, (char *) NULL);
|
/inkscape/CMakeScripts/ |
H A D | cmake_consistency_check.py | 29 from os.path import join, dirname, normpath, splitext namespace 128 cmake_base = dirname(f)
|
/inkscape/src/extension/internal/filter/ |
H A D | filter-file.cpp | 44 Filter::filters_load_dir (gchar const * dirname, gchar * menuname) argument 46 if (!dirname) { 51 if (!Glib::file_test(std::string(dirname), Glib::FILE_TEST_EXISTS | Glib::FILE_TEST_IS_DIR)) { 56 GDir *directory = g_dir_open(dirname, 0, &err); 58 gchar *safeDir = Inkscape::IO::sanitizeString(dirname); 74 gchar *pathname = g_build_filename(dirname, filename, NULL);
|
/inkscape/src/io/ |
H A D | sys.cpp | 264 gchar *dirname = g_path_get_dirname(filename); local 265 exists = Inkscape::IO::file_test( dirname, G_FILE_TEST_EXISTS); 267 g_free(dirname); 269 dirname = NULL;
|
/inkscape/src/ |
H A D | shortcuts.cpp | 219 gchar *dirname = sources.front(); local 220 if ( Inkscape::IO::file_test( dirname, G_FILE_TEST_EXISTS ) 221 && Inkscape::IO::file_test( dirname, G_FILE_TEST_IS_DIR )) { 223 GDir *directory = g_dir_open(dirname, 0, &err); 225 gchar *safeDir = Inkscape::IO::sanitizeString(dirname); 232 if (!strcmp(dirname, Inkscape::Application::profile_path("keys")) && 237 if (!strcmp(dirname, INKSCAPE_KEYSDIR) && 243 gchar* full = g_build_filename(dirname, filename, NULL); 283 g_free(dirname);
|
H A D | deptool.cpp | 280 bool listFilesInDirectory(const String &dirname, int depth); 548 * Recursively list all files and directories under 'dirname', except 551 bool DepTool::listFilesInDirectory(const String &dirname, int depth) argument 553 //trace("### listFilesInDirectory(%s, %d)", dirname.c_str(), depth); 559 DIR *dir = opendir(dirname.c_str()); 571 if (dirname.size()>0 && dirname != ".") 573 fname.append(dirname); 625 directories.push_back(dirname); 1129 String dirname local 1211 String dirname = *inciter; local [all...] |
H A D | file.cpp | 194 gchar *dirname = *it; local 195 if ( Inkscape::IO::file_test( dirname, (GFileTest)(G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR) ) ) { 201 char *tmp = g_build_filename(dirname, *nameIt, NULL);
|
H A D | main.cpp | 1664 Glib::ustring dirname = Glib::path_get_dirname(doc->getURI()); local 1665 if (!dirname.empty()) { 1666 path = Glib::build_filename(dirname, filename);
|
/inkscape/src/ui/dialog/ |
H A D | export.cpp | 981 Glib::ustring dirname = Glib::path_get_dirname(doc->getURI()); local 982 if (!dirname.empty()) { 983 path = Glib::build_filename(dirname, filename); 1135 Glib::ustring dirname = Glib::path_get_dirname(path); local 1136 if ( dirname.empty() 1137 || !Inkscape::IO::file_test(dirname.c_str(), (GFileTest)(G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)) ) 1139 gchar *safeDir = Inkscape::IO::sanitizeString(dirname.c_str()); 1342 std::string dirname = Glib::path_get_dirname(filename.raw()); local 1343 if ( !Glib::file_test(dirname, Glib::FILE_TEST_EXISTS) || 1345 dirname [all...] |
H A D | swatches.cpp | 536 gchar *dirname = sources.front(); local 537 if ( Inkscape::IO::file_test( dirname, G_FILE_TEST_EXISTS ) 538 && Inkscape::IO::file_test( dirname, G_FILE_TEST_IS_DIR )) { 540 GDir *directory = g_dir_open(dirname, 0, &err); 542 gchar *safeDir = Inkscape::IO::sanitizeString(dirname); 551 gchar* full = g_build_filename(dirname, filename, NULL); 564 // toss the dirname 565 g_free(dirname);
|
/inkscape/ |
H A D | buildtool.cpp | 3098 const String &dirname, 3105 const String &dirname, 3148 bool createDirectory(const String &dirname); 4890 bool MakeBase::createDirectory(const String &dirname) argument 4892 //trace("## createDirectory: %s", dirname.c_str()); 4895 String nativeDir = getNativePath(dirname); 4917 std::size_t pos = dirname.find_last_of('/'); 4918 if (pos>0 && pos != dirname.npos) 4920 String subpath = dirname.substr(0, pos); 6697 virtual bool isExcludedInc(const String &dirname) argument [all...] |
Completed in 82 milliseconds