Searched refs:line (Results 1 - 25 of 99) sorted by relevance

1234

/inkscape/share/templates/
H A Dcreate_defaults.pl50 while( my $line = <INPUT> ) {
52 if( $line =~ /inkscape:label=/ ) {
53 $line =~ s/Layer 1/$values[1]/;
55 print OUTPUT $line;
/inkscape/packaging/
H A DmkNEWS19 foreach my $line (@page) {
21 $line =~ s/\[\[\d+\]edit\]//g;
23 last if $line =~ /^\s*Previous releases/;
25 if ($line =~ /^\s*Inkscape $rel/) {
30 print $line;
/inkscape/cxxtest/cxxtest/
H A DTestSuite.cpp56 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, unsigned line, 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 DTeeListener.h54 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, unsigned line, cons 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 DTestTracker.h48 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, unsigned line,
[all...]
H A DErrorFormatter.h96 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, line ) << "Erro
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
[all...]
H A DTestTracker.cpp115 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, line, xSt
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...]
/inkscape/cxxtest/
H A Dcxxtestgen.pl37 # Handling the command line
116 my $line;
117 while (defined($line = <FILE>)) {
118 scanLineForExceptionHandling( $line );
119 scanLineForStandardLibrary( $line );
121 scanLineForSuiteStart( $file, $., $line );
124 if ( lineBelongsToSuite( $suite, $., $line ) ) {
125 scanLineForTest( $., $line );
126 scanLineForCreate( $., $line );
127 scanLineForDestroy( $., $line );
[all...]
H A Dcxxtestgen.py78 '''Analyze command line arguments'''
91 '''Set options specified on command line'''
148 '''Set input files specified on command line'''
180 line = file.readline()
181 if not line:
185 scanInputLine( fileName, lineNo, line )
189 def scanInputLine( fileName, lineNo, line ):
190 '''Scan single input line for interesting stuff'''
191 scanLineForExceptionHandling( line )
192 scanLineForStandardLibrary( line )
[all...]
/inkscape/src/2geom/
H A Dexception.h55 Exception(const char * message, const char *file, const int line) { argument
57 os << "lib2geom exception: " << message << " (" << file << ":" << line << ")"; local
75 LogicalError(const char * message, const char *file, const int line) argument
76 : Exception(message, file, line) {}
82 RangeError(const char * message, const char *file, const int line) argument
83 : Exception(message, file, line) {}
92 NotImplemented(const char *file, const int line) argument
93 : LogicalError("Method not implemented", file, line) {}
99 InvariantsViolation(const char *file, const int line) argument
100 : LogicalError("Invariants violation", file, line) {}
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...]
H A Dsvg-path-parser.cpp2 #line 1 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.rl"
47 #line 48 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.cpp"
1078 #line 47 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.rl"
1104 #line 1105 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.cpp"
1109 #line 73 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.rl"
1246 #line 1247 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.cpp"
1321 #line 209 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.rl"
1327 #line 213 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.rl"
1341 #line 225 "/home/tweenk/src/lib2geom/src/2geom/svg-path-parser.rl"
1347 #line 22
[all...]
/inkscape/packaging/wix/
H A Dversion.py40 for line in rc.readlines():
41 if 'productversion' in line.lower() and 'value' in line.lower():
42 items = line.split()
48 if 'versioninfo' in line.lower():
50 if 'begin' in line.lower():
52 if isversioninfo and 'productversion' in line.lower():
53 items = line.split()
/inkscape/share/extensions/
H A Ddimension.py87 line = inkex.etree.Element("path")
91 line.set('d', 'M %f %f H %f' % (x1, y, x2))
92 return line
95 line = inkex.etree.Element("path")
99 line.set('d', 'M %f %f V %f' % (x, y1, y2))
100 return line
147 line = self.dimHLine(self.bbox[2], [0, 1])
148 line.set('marker-start', 'url(#Arrow1Lstart)')
149 line.set('marker-end', 'url(#Arrow1Lend)')
150 line
[all...]
H A Dtext_lowercase.py5 def process_chardata(self,text, line=False, par=False):
H A Dtext_uppercase.py5 def process_chardata(self,text, line=False, par=False):
H A Dextrude.py65 line = []
68 line += [('M', v[0])]
69 line += [('L', v[1])]
72 ele.set('d', simplepath.formatPath(line))
82 line = []
83 line += [('M', comp[n][0])]
84 line += [('L', comp[n][1])]
85 line += [('L', comp[nn][1])]
86 line += [('L', comp[nn][0])]
87 line
[all...]
H A Dtext_sentencecase.py9 def process_chardata(self,text, line, par):
11 #inkex.debug(text+str(line)+str(par))
15 elif ((c.isspace() or line == True) and self.was_punctuation) or par == True:
24 line = False
H A Dtext_titlecase.py8 def process_chardata(self,text, line, par):
12 if c.isspace() or line == True or par == True:
15 line = False
/inkscape/cxxtest/docs/
H A Dconvert.pl15 my ($line) = @_;
16 my ($htmlLine, $texiLine) = ($line, $line);
18 # command line options
41 my $line;
43 while ( defined( $line = <TEXT> ) ) {
44 chomp $line;
45 if ( $line =~ m/^CxxTest Releases/ ) {
52 elsif ( $line =~ m/^(.*):$/ ) {
66 elsif ( $line
[all...]
/inkscape/src/helper/
H A Dgeom-curves.h17 #include <2geom/line.h>
27 // the curve can be a quad/cubic bezier, but could still be a perfect straight line
28 // if the control points are exactly on the line connecting the initial and final points.
31 Geom::Line line(curve->initialPoint(), curve->finalPoint());
34 if (!are_near(pts[i], line))
/inkscape/src/
H A DPylogFormatter.h98 (*_o) << "Command line asked for " << desc.numTotalTests() << " of " << desc.numTotalTests() << " tests" << endl;
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
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 Dline-geometry.cpp12 #include "line-geometry.h"
27 * Draw a line beginning at 'start'. If is_endpoint is true, use 'vec' as the endpoint
28 * of the segment. Otherwise interpret it as the direction of the line.
42 Line::Line(Line const &line): argument
43 pt(line.pt),
44 v_dir(line.v_dir),
45 normal(line.normal),
46 d0(line.d0)
50 Line &Line::operator=(Line const &line) { argument
51 pt = line
59 intersect(Line const &line) argument
218 SPCtrlLine *line = ControlManager::getManager().createControlLine(desktop->getControls(), p1, p2); local
[all...]
/inkscape/share/palettes/
H A Di18n.py16 for line in file:
17 match = regex.match(line)
H A DPaletteGen.py23 line = "%3s %3s %3s Black" % (rval, gval, bval) variable
25 line = "%3s %3s %3s White" % (rval, gval, bval) variable
27 line = "%3s %3s %3s %s%% Gray" % (rval, gval, bval, 100 - int(level * 100)) variable
28 print line
90 line = "%3s %3s %3s #%02X%02X%02X" % (rval, gval, bval, rval, gval, bval) variable
91 print line
/inkscape/share/extensions/test/
H A Drender_barcode.test.py25 for line in fhl:
26 line = line.replace('\n', '').replace('\r', '')
27 (btype, text, code) = line.split(':')

Completed in 1247 milliseconds

1234