/inkscape/cxxtest/cxxtest/ |
H A D | TestSuite.cpp | 56 void doTrace( const char *file, unsigned line, const char *message ) argument 58 tracker().trace( file, line, message ); 61 void doWarn( const char *file, unsigned line, const char *message ) argument 63 tracker().warning( file, line, message ); 66 void doFailTest( const char *file, unsigned line, const char *message ) argument 68 tracker().failedTest( file, line, message ); 72 void doFailAssert( const char *file, unsigned line, argument 76 tracker().failedTest( file, line, message ); 77 tracker().failedAssert( file, line, expression ); 101 void doAssertSameData( const char *file, unsigne argument 115 doFailAssertThrows( const char *file, unsigned line, const char *expr, const char *type, bool otherThrown, const char *message ) argument 127 doFailAssertThrowsNot( const char *file, unsigned line, const char *expression, const char *message ) argument [all...] |
H A D | TeeListener.h | 54 void trace( const char *file, unsigned line, const char *expression ) argument 56 _first->trace( file, line, expression ); 57 _second->trace( file, line, expression ); 60 void warning( const char *file, unsigned line, const char *expression ) argument 62 _first->warning( file, line, expression ); 63 _second->warning( file, line, expression ); 66 void failedTest( const char *file, unsigned line, const char *expression ) argument 68 _first->failedTest( file, line, expression ); 69 _second->failedTest( file, line, expression ); 72 void failedAssert( const char *file, unsigne argument 78 failedAssertEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 86 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 95 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 103 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 111 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 119 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 127 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 134 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 142 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 150 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument [all...] |
H A D | TestTracker.h | 48 void trace( const char *file, unsigned line, const char *expression ); 49 void warning( const char *file, unsigned line, const char *expression ); 50 void failedTest( const char *file, unsigned line, const char *expression ); 51 void failedAssert( const char *file, unsigned line, const char *expression ); 52 void failedAssertEquals( const char *file, unsigned line, 55 void failedAssertSameData( const char *file, unsigned line, 59 void failedAssertDelta( const char *file, unsigned line, 62 void failedAssertDiffers( const char *file, unsigned line, 65 void failedAssertLessThan( const char *file, unsigned line, 68 void failedAssertLessThanEquals( const char *file, unsigne [all...] |
H A D | ErrorFormatter.h | 96 void trace( const char *file, unsigned line, const char *expression ) argument 98 stop( file, line ) << "Trace: " << 102 void warning( const char *file, unsigned line, const char *expression ) argument 104 stop( file, line ) << "Warning: " << 108 void failedTest( const char *file, unsigned line, const char *expression ) argument 110 stop( file, line ) << "Error: Test failed: " << 114 void failedAssert( const char *file, unsigned line, const char *expression ) argument 116 stop( file, line ) << "Error: Assertion failed: " << 120 void failedAssertEquals( const char *file, unsigned line, argument 124 stop( file, lin 129 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 141 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 150 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 159 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 168 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 177 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 185 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 192 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 201 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument 217 stop( const char *file, unsigned line ) argument [all...] |
H A D | TestTracker.cpp | 115 void TestTracker::trace( const char *file, unsigned line, const char *expression ) argument 117 _l->trace( file, line, expression ); 120 void TestTracker::warning( const char *file, unsigned line, const char *expression ) argument 123 _l->warning( file, line, expression ); 126 void TestTracker::failedTest( const char *file, unsigned line, const char *expression ) argument 129 _l->failedTest( file, line, expression ); 132 void TestTracker::failedAssert( const char *file, unsigned line, const char *expression ) argument 135 _l->failedAssert( file, line, expression ); 138 void TestTracker::failedAssertEquals( const char *file, unsigned line, argument 143 _l->failedAssertEquals( file, lin 146 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 155 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 163 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 171 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 179 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 187 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 194 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 202 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 210 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument [all...] |
H A D | DummyDescriptions.h | 17 const char *file() const; 34 const char *file() const;
|
H A D | Descriptions.h | 20 virtual const char *file() const = 0; 36 virtual const char *file() const = 0;
|
H A D | DummyDescriptions.cpp | 7 const char *DummyTestDescription::file() const { return "<no file>"; } function in class:CxxTest::DummyTestDescription 20 const char *DummySuiteDescription::file() const { return "<no file>"; } function in class:CxxTest::DummySuiteDescription
|
H A D | RealDescriptions.cpp | 47 doFailTest( file(), line(), "Error in GlobalFixture::setUp()" ); 53 _TSM_ASSERT_THROWS_NOTHING( file(), line(), "Exception thrown from setUp()", suite()->setUp() ); 66 _TSM_ASSERT_THROWS_NOTHING( file(), line(), "Exception thrown from tearDown()", suite()->tearDown() ); 76 doFailTest( file(), line(), "Error in GlobalFixture::tearDown()" ); 84 const char *RealTestDescription::file() const { return _suite->file(); } function in class:CxxTest::RealTestDescription 98 ___TSM_CATCH( file(), line(), "Exception thrown from test" ); 123 const char *RealSuiteDescription::file() const { return _file; } function in class:CxxTest::RealSuiteDescription
|
H A D | RealDescriptions.h | 21 const char *file() const; 54 const char *file() const; 179 _TSM_ASSERT_THROWS_NOTHING( file(), _createLine, "Exception thrown from createSuite()", createSuite() ); 180 _TSM_ASSERT( file(), _createLine, "createSuite() failed", suite() != 0 ); 194 _TSM_ASSERT_THROWS_NOTHING( file(), _destroyLine, "destroySuite() failed", destroySuite() );
|
H A D | TestSuite.h | 39 void doTrace( const char *file, unsigned line, const char *message ); 40 void doWarn( const char *file, unsigned line, const char *message ); 41 void doFailTest( const char *file, unsigned line, const char *message ); 42 void doFailAssert( const char *file, unsigned line, const char *expression, const char *message ); 51 void doAssertEquals( const char *file, unsigned line, argument 58 tracker().failedTest( file, line, message ); 59 tracker().failedAssertEquals( file, line, xExpr, yExpr, TS_AS_STRING(x), TS_AS_STRING(y) ); 64 void doAssertSameData( const char *file, unsigned line, 77 void doAssertDiffers( const char *file, unsigned line, argument 84 tracker().failedTest( file, lin 97 doAssertLessThan( const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *message ) argument 117 doAssertLessThanEquals( const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *message ) argument 131 doAssertPredicate( const char *file, unsigned line, const char *pExpr, const P &p, const char *xExpr, X x, const char *message ) argument 145 doAssertRelation( const char *file, unsigned line, const char *rExpr, const R &r, const char *xExpr, X x, const char *yExpr, Y y, const char *message ) argument 166 doAssertDelta( const char *file, unsigned line, const char *xExpr, X x, const char *yExpr, Y y, const char *dExpr, D d, const char *message ) argument [all...] |
/inkscape/src/2geom/ |
H A D | exception.h | 2 * \file 21 * notice, a recipient may use your version of this file under either 25 * in the file COPYING-LGPL-2.1; if not, write to the Free Software 28 * in the file COPYING-MPL-1.1 30 * The contents of this file are subject to the Mozilla Public License 31 * Version 1.1 (the "License"); you may not use this file except in 55 Exception(const char * message, const char *file, const int line) { argument 57 os << "lib2geom exception: " << message << " (" << file << ":" << line << ")"; 75 LogicalError(const char * message, const char *file, const int line) argument 76 : Exception(message, file, lin 82 RangeError(const char * message, const char *file, const int line) argument 92 NotImplemented(const char *file, const int line) argument 99 InvariantsViolation(const char *file, const int line) argument 107 NotInvertible(const char *file, const int line) argument 114 InfiniteSolutions(const char *file, const int line) argument 121 ContinuityError(const char *file, const int line) argument [all...] |
/inkscape/src/ |
H A D | PylogFormatter.h | 145 virtual void trace( const char * file, unsigned line, argument 149 _traceCurrent( file, line, tmp ); 152 virtual void warning( const char * file, unsigned line, argument 156 _warnCurrent( file, line, tmp ); 159 virtual void failedTest( const char * file, unsigned line, argument 163 _failCurrent( file, line, tmp ); 166 virtual void failedAssert( const char * file, unsigned line, argument 170 _failCurrent( file, line, tmp ); 173 virtual void failedAssertEquals( const char * file, unsigned line, argument 187 _failCurrent( file, lin 190 failedAssertSameData( const char * file, unsigned line, const char * , const char * , const char * , const void * , const void * , unsigned ) argument 199 failedAssertDelta( const char * file, unsigned line, const char * , const char * , const char * , const char * , const char * , const char * ) argument 208 failedAssertDiffers( const char * file, unsigned line, const char * xStr, const char * yStr, const char * value ) argument 223 failedAssertLessThan( const char * file, unsigned line, const char * xStr, const char * yStr, const char * x, const char * y ) argument 240 failedAssertLessThanEquals( const char * file, unsigned line, const char * xStr, const char * yStr, const char * x, const char * y ) argument 257 failedAssertPredicate( const char * file, unsigned line, const char * , const char * , const char * ) argument 264 failedAssertRelation( const char * file, unsigned line, const char * , const char * , const char * , const char * , const char * ) argument 272 failedAssertThrows( const char * file, unsigned line, const char * , const char * , bool ) argument 280 failedAssertThrowsNot( const char * file, unsigned line, const char * expression ) argument [all...] |
H A D | attribute-rel-css.cpp | 43 // Always valid if data file not found! 53 // FixMe: Name space list should be created when file read in. 83 // Always false if data file not found! 102 // Always false if data file not found! 117 // Always true if data file not found! 148 std::fstream file; local 149 file.open(fileName.c_str(), std::ios::in); 151 if (!file.is_open()) { 152 // Display warning for file not open 153 g_warning("Could not open the data file fo [all...] |
/inkscape/share/extensions/ |
H A D | embedimage.py | 71 # 3. absref, only if the above does not point to a file 84 inkex.errormsg(_('No xlink:href or sodipodi:absref attributes found, or they do not point to an existing file! Unable to embed image.')) 89 file = open(path,"rb").read() 91 if (file[:4]=='\x89PNG'): 93 elif (file[:2]=='\xff\xd8'): 95 elif (file[:2]=='BM'): 97 elif (file[:6]=='GIF87a' or file[:6]=='GIF89a'): 99 elif (file[:4]=='MM\x00\x2a' or file[ [all...] |
H A D | text_extract.py | 66 file = self.args[ -1 ] 68 # get all bounding boxes in file by calling inkscape again with the --query-all command line option 71 p = Popen('inkscape --query-all "%s"' % (file), shell=True, stdout=PIPE, stderr=PIPE) 80 _,f,err = os.popen3('inkscape --query-all "%s"' % ( file ) ) 90 if not bsubprocess: #close file if opened using os.popen3
|
H A D | embed_raster_in_svg.pl | 22 Looks through the svg file for raster images that are given as links, rather than 23 being embedded, and embeds them in the file. The links must be local URIs, and if 24 they're relative, they must be relative to the directory where the svg file is located. 48 undef $/; # slurp whole file 57 die "input file $svg not found" if ! -e $svg; 58 die "input file $svg not readable" if ! -r $svg; 60 open(FILE,"<$svg") or die "error opening file $svg for input, $!"; 67 # The file is now in memory. 86 print "no embedded jpgs found in file $svg\n"; 92 # file, an [all...] |
/inkscape/share/palettes/ |
H A D | i18n.py | 15 file = open (filename, 'r') variable 16 for line in file:
|
/inkscape/cxxtest/ |
H A D | cxxtestgen.pl | 6 print STDERR "Usage: $0 [OPTIONS] <input file(s)>\n"; 7 print STDERR "Generate test source file for CxxTest.\n"; 10 print STDERR " -o, --output=NAME Write output to file NAME\n"; 20 print STDERR " --template=TEMPLATE Use TEMPLATE file to generate the test runner\n"; 106 foreach my $file (@ARGV) { 107 scanInputFile( $file ); 113 my ($file) = @_; 114 open FILE, "<$file" or die("Cannot open input file \"$file\"\ [all...] |
H A D | cxxtestgen.py | 2 '''Usage: %s [OPTIONS] <input file(s)> 3 Generate test source file for CxxTest. 6 -o, --output=NAME Write output to file NAME 16 --template=TEMPLATE Use TEMPLATE file to generate the test runner 164 '''Convert backslashes to slashes in file name''' 169 for file in files: 170 scanInputFile(file) 176 '''Scan single input file for test suites''' 177 file = open(fileName) 180 line = file [all...] |
/inkscape/packaging/wix/ |
H A D | files.py | 26 for file in files: 27 file_key = os.path.join(root, file) 31 if file == 'inkscape.exe': 34 wxs.write(indent(level + 1)+ "<File Id='file" + _id + "' Name='" + file + "' DiskId='1' Source='" + file_key + "' KeyPath='yes' />\n") 63 wxs.write("<!-- do not edit, this file is created by files.py tool any changes will be lost -->\n")
|
/inkscape/packaging/macosx/Resources/etc/fonts/ |
H A D | fonts.conf | 3 <!-- /etc/fonts/fonts.conf file to configure system font access --> 11 The intent of this standard configuration file is to be adequate for 18 replace any existing fonts.conf file with the new version. Place 19 any local customizations in local.conf which this file references. 74 Load local system customization file
|
/inkscape/packaging/macosx/ |
H A D | osx-app.sh | 11 # The Info.plist file can be found in the base inkscape directory once 27 # Released under GNU GPL, read the file 'COPYING' for more information 138 echo "Info.plist file not specified." >&2 143 echo "Info.plist file not found at $plist." >&2 331 # the Info.plist file which is filled in by the configure script. 436 # Copy GTK hicolor icon theme index file 559 # We use a modified fonts.conf file so only need the dtd 669 extra_bin=$(find $pkgbin -exec file {} \; | grep executable | grep -v text | cut -d: -f1) 788 for file in $extra_bin; do 789 echo -n "Rewriting dylib paths for $file [all...] |
/inkscape/ |
H A D | distro | 124 # Find the contents from the appropriate file, and store it in 138 for file in $files; do 139 if test -f "$file"; then 140 filename="$file" 144 contents="`cat $file`"
|
/inkscape/src/ui/dialog/ |
H A D | template-load-tab.cpp | 1 /** @file 8 * Released under GNU GPL, read the file 'COPYING' for more information 28 #include "file.h" 248 if (strcmp(myRoot->name(), "svg:svg") != 0){ // Wrong file format 271 std::string file = Glib::build_filename(path, dir.read_name()); local 272 while (file != path){ 273 if (Glib::str_has_suffix(file, ".svg") && !Glib::str_has_prefix(Glib::path_get_basename(file), "default.")){ 274 TemplateData tmp = _processTemplateFile(file); 278 file [all...] |