Searched refs:string (Results 1 - 25 of 437) sorted by relevance

1234567891011>>

/inkscape/src/svg/
H A Dstrip-trailing-zeros.h4 #include <string>
6 std::string strip_trailing_zeros(std::string str);
H A Dsvg-icc-color.h4 #include <string>
13 std::string colorProfile;
H A Dstrip-trailing-zeros.cpp3 #include <string>
8 using std::string;
10 string
11 strip_trailing_zeros(string str)
13 string::size_type p_ix = str.find('.');
14 if (p_ix != string::npos) {
15 string::size_type e_ix = str.find('e', p_ix);
20 string::size_type nz_ix = str.find_last_not_of('0', (e_ix == string::npos
23 if (nz_ix == string
[all...]
H A Dtest-stubs.cpp19 #include <string>
21 std::map<std::string,long long int> int_prefs;
26 int_prefs[std::string(path) + '/' + std::string(attr)] = val;
32 std::map<std::string,long long int>::const_iterator it=int_prefs.find(std::string(path) + '/' + std::string(attr));
/inkscape/src/util/
H A Dshare.cpp18 ptr_shared<char> share_string(char const *string) { argument
19 g_return_val_if_fail(string != NULL, share_unsafe<char>(NULL));
20 return share_string(string, std::strlen(string));
23 ptr_shared<char> share_string(char const *string, std::size_t length) { argument
24 g_return_val_if_fail(string != NULL, share_unsafe<char>(NULL));
26 std::memcpy(new_string, string, length);
H A Dege-tags.h40 #include <string>
57 Label(std::string const& lang, std::string const& value);
60 std::string lang;
61 std::string value;
68 Tag(std::string const& key);
71 std::string key;
86 std::string const & getLang() const;
87 void setLang(std::string const& lang);
97 int getCount( std::string cons
[all...]
H A Dziptool.h38 #include <string>
142 virtual std::string &getFileName();
147 virtual void setFileName(const std::string &val);
157 virtual bool readFile(const std::string &fName);
176 virtual bool writeFile(const std::string &fileName);
197 virtual bool loadFile(const std::string &fileName);
204 std::string fileName;
254 ZipEntry(const std::string &fileName,
255 const std::string &comment);
265 virtual std::string getFileNam
[all...]
/inkscape/src/
H A Ddir-util.h13 #include <string>
27 std::string sp_relative_path_from_path(std::string const &path, std::string const &base);
H A Dsp-string.cpp25 #include "sp-string.h"
57 SPString *string = SP_STRING(object); local
59 string->string.clear();
62 gchar const *xml_string = string->getRepr()->content();
123 string->string += c; // Preserve line feed
131 string->string += c; // Preserve tab
139 string
[all...]
H A Dsp-factory.h14 #include <string>
25 static SPObject *createObject(std::string const& id);
29 static std::string get_type_string(Inkscape::XML::Node const &node);
H A Dcolorspace.h22 #include <string>
39 Component(std::string const &name, std::string const &tip, guint scale);
41 std::string name;
42 std::string tip;
H A Duri-test.h22 void stringTest( std::string result, std::string expected )
27 TS_FAIL( std::string("Expected (") + expected + "), found null" );
29 TS_FAIL( std::string("Expected null, found (") + result + ")" );
33 std::string ValueOrEmpty(const char* s) {
34 return s == NULL ? std::string() : s;
37 void toStringTest( std::string uri, std::string expected ) {
40 void pathTest( std::string uri, std::string expecte
[all...]
H A Dverbs-test.h41 std::string descr(tmp);
63 TS_FAIL( std::string("Unable to getbyid() for ") + descr + std::string(" ID: '") + std::string(verb->get_id()) + std::string("'") );
68 TSM_ASSERT( std::string("SP_VERB_INVALID"), !verb->get_id() );
69 TSM_ASSERT( std::string("SP_VERB_INVALID"), !verb->get_name() );
/inkscape/CMakeScripts/Modules/
H A Dsigcpp_test.cpp9 #include <string>
/inkscape/src/ui/
H A Dtool-factory.h14 #include <string>
27 static Inkscape::UI::Tools::ToolBase *createObject(std::string const& id);
/inkscape/src/extension/
H A Dloader.h34 void set_base_directory(std::string dir) {
54 std::string _baseDirectory; /**< The base directory to load a plugin from */
/inkscape/src/extension/param/
H A Dnotebook.h34 * Internal value. This should point to a string that has
49 * A function to get the currentpage and the parameters in a string form.
50 * @return A string with the 'value' and all the parameters on all pages as command line arguments.
52 virtual void string (std::list <std::string> &list) const;
55 virtual void string(std::string &string) const {return Parameter::string(string);} function in class:Inkscape::Extension::ParamNotebook
[all...]
H A Dbool.h61 virtual void string(std::list <std::string> &list) const { return Parameter::string(list); } function in class:Inkscape::Extension::ParamBool
67 virtual void string(std::string &string) const;
H A Dcolor.h46 virtual void string(std::list <std::string> &list) const { return Parameter::string(list); } function in class:Inkscape::Extension::ParamColor
48 virtual void string (std::string &string) const;
H A Denum.h33 /** \brief Internal value. This should point to a string that has
35 It is the value of the current selected string */
46 virtual void string(std::list <std::string> &list) const { return Parameter::string(list); } function in class:Inkscape::Extension::ParamComboBox
48 virtual void string(std::string &string) const;
H A Dfloat.h55 virtual void string(std::list <std::string> &list) const { return Parameter::string(list); } function in class:Inkscape::Extension::ParamFloat
57 virtual void string(std::string &string) const;
/inkscape/share/extensions/
H A Dtext_lowercase.py2 import chardataeffect, inkex, string namespace
H A Dtext_uppercase.py2 import chardataeffect, inkex, string namespace
/inkscape/cxxtest/cxxtest/
H A DStdHeaders.h18 #include <string>
/inkscape/test/src/
H A Ddir-util-test.cpp41 if ( cases[i][0] && cases[i][1] ) { // std::string can't use null.
42 std::string result = sp_relative_path_from_path( cases[i][0], cases[i][1] );
46 ASSERT_EQ( std::string(cases[i][2]), result );

Completed in 189 milliseconds

1234567891011>>