/inkscape/test/src/ |
H A D | dir-util-test.cpp | 42 std::string result = sp_relative_path_from_path( cases[i][0], cases[i][1] ); local 43 ASSERT_FALSE( result.empty() ); 44 if ( !result.empty() ) 46 ASSERT_EQ( std::string(cases[i][2]), result ); local
|
/inkscape/src/debug/ |
H A D | timestamp.cpp | 23 Util::ptr_shared<char> result; local 27 result = Util::share_string(value); 29 return result;
|
H A D | demangle.cpp | 27 char const *result; local 34 result = strdup(buffer); 36 result = name; 39 return result; 56 char const *result; local 58 result = (*found).second; 60 result = demangle_helper(name); 61 mangle_cache[name] = result; 64 return Util::share_unsafe(result);
|
/inkscape/src/ |
H A D | dir-util-test.h | 33 std::string result = sp_relative_path_from_path( cases[i][0], cases[i][1] ); local 34 TS_ASSERT( !result.empty() ); 35 if ( !result.empty() ) 37 TS_ASSERT_EQUALS( result, std::string(cases[i][2]) );
|
H A D | mod360-test.h | 36 double result = mod360( cases[i][0] ); local 37 TS_ASSERT_EQUALS( cases[i][1], result );
|
H A D | extract-uri-test.h | 14 gchar* result = extract_uri( str ); local 15 TS_ASSERT_EQUALS( ( result == NULL ), ( expected == NULL ) ); 16 if ( result && expected ) { 17 TS_ASSERT_EQUALS( std::string(result), std::string(expected) ); 18 } else if ( result ) { 19 TS_FAIL( std::string("Expected null, found (") + result + ")" ); 23 g_free( result );
|
H A D | round-test.h | 62 double result = Inkscape::round( nonneg_round_cases[i].arg0 ); local 63 TS_ASSERT_EQUALS( result, nonneg_round_cases[i].ret ); 71 double result = Inkscape::round( nonpos_round_cases[i].arg0 ); local 72 TS_ASSERT_EQUALS( result, nonpos_round_cases[i].ret );
|
H A D | sp-mesh-patch.cpp | 25 SPMeshpatch *result = 0; local 27 for (SPObject* obj = getNext(); obj && !result; obj = obj->getNext()) { 29 result = SP_MESHPATCH(obj); 33 return result; 38 SPMeshpatch *result = 0; local 46 result = meshpatch; 54 return result;
|
H A D | sp-mesh-row.cpp | 24 SPMeshrow *result = 0; local 26 for (SPObject* obj = getNext(); obj && !result; obj = obj->getNext()) { 28 result = SP_MESHROW(obj); 32 return result; 37 SPMeshrow *result = 0; local 45 result = meshrow; 53 return result;
|
H A D | uri-test.h | 22 void stringTest( std::string result, std::string expected ) argument 24 if ( !result.empty() && !expected.empty() ) { 25 TS_ASSERT_EQUALS( result, expected ); 26 } else if ( result.empty() && !expected.empty() ) { 28 } else if ( !result.empty() && expected.empty() ) { 29 TS_FAIL( std::string("Expected null, found (") + result + ")" );
|
/inkscape/src/libgdl/ |
H A D | gdl-win32.c | 25 BOOL result; local 31 result = GetVersionExA (&osver); 32 if (result)
|
/inkscape/src/xml/ |
H A D | quote.cpp | 43 char *result = static_cast<char*>(g_malloc(len + 1)); local 44 char *resp = result; 70 return result;
|
H A D | repr-sorting.cpp | 39 Inkscape::XML::Node const *result = 0; member in class:Inkscape::XML 42 result = descendent; 44 result = AncetreFils(descendent->parent(), ancestor); 47 return result;
|
/inkscape/src/helper/ |
H A D | gnome-utils.cpp | 30 GList *result = NULL; local 59 result = g_list_prepend(result, retval); 67 return g_list_reverse(result); 78 * will discard any non-file uri from the result value. 84 GList *result = gnome_uri_list_extract_uris(uri_list); local 86 GList *tmp_list = result; 99 result = g_list_remove_link(result, node); 104 return result; [all...] |
/inkscape/src/util/ |
H A D | format.h | 25 ptr_shared<char> result=share_string(temp); local 27 return result; 36 ptr_shared<char> result=vformat(format, args); local 39 return result;
|
/inkscape/src/2geom/numeric/ |
H A D | symmetric-matrix-fs-operation.h | 52 SymmetricMatrix<2> result; local 53 result.get<0,0>() = S.get<1,1>(); 54 result.get<1,0>() = -S.get<1,0>(); 55 result.get<1,1>() = S.get<0,0>(); 56 return result; 63 SymmetricMatrix<3> result; local 65 result.get<0,0>() = S.get<1,1>() * S.get<2,2>() - S.get<1,2>() * S.get<2,1>(); 66 result.get<1,0>() = S.get<0,2>() * S.get<2,1>() - S.get<0,1>() * S.get<2,2>(); 67 result.get<1,1>() = S.get<0,0>() * S.get<2,2>() - S.get<0,2>() * S.get<2,0>(); 68 result 78 SymmetricMatrix<N> result = adj(S); local [all...] |
/inkscape/src/io/ |
H A D | resource.cpp | 86 Util::ptr_shared<char> result=Util::share_string(path); local 88 return result;
|
/inkscape/src/libcroco/ |
H A D | cr-attr-sel.c | 44 CRAttrSel *result = NULL; local 46 result = g_malloc0 (sizeof (CRAttrSel)); 48 return result; 111 guchar *result = NULL; local 171 result = (guchar *) str_buf->str; 175 return result;
|
H A D | cr-parsing-location.c | 44 CRParsingLocation * result = NULL ; local 46 result = g_try_malloc (sizeof (CRParsingLocation)) ; 47 if (!result) { 51 cr_parsing_location_init (result) ; 52 return result ; 105 GString *result = NULL ; local 113 result =g_string_new (NULL) ; 114 if (!result) 117 g_string_append_printf (result, "line:%d ", 121 g_string_append_printf (result, "colum [all...] |
H A D | cr-pseudo.c | 40 CRPseudo *result = NULL; local 42 result = g_malloc0 (sizeof (CRPseudo)); 44 return result; 57 guchar *result = NULL; local 110 result = (guchar *) str_buf->str; 115 return result;
|
H A D | cr-string.c | 35 CRString *result = NULL ; local 37 result = (CRString *) g_try_malloc (sizeof (CRString)) ; 38 if (!result) { 42 memset (result, 0, sizeof (CRString)) ; 43 result->stryng = g_string_new (NULL) ; 44 return result ; 56 CRString *result = NULL ; local 58 result = cr_string_new () ; 59 if (!result) { 64 g_string_append (result 77 CRString *result = NULL ; local 96 CRString *result = NULL ; local 112 gchar *result = NULL ; local [all...] |
H A D | cr-stylesheet.c | 39 CRStyleSheet *result; local 41 result = (CRStyleSheet *) g_try_malloc (sizeof (CRStyleSheet)); 42 if (!result) { 47 memset (result, 0, sizeof (CRStyleSheet)); 50 result->statements = a_stmts; 52 return result;
|
/inkscape/src/ui/widget/ |
H A D | spinbutton.cpp | 36 Inkscape::Util::EvaluatorQuantity result; local 45 result = eval.evaluate(); 47 if (result.dimension != (unit->isAbsolute() ? 1 : 0) ) { 52 result = eval.evaluate(); 55 *newvalue = result.value;
|
/inkscape/src/widgets/ |
H A D | spinbutton-events.cpp | 68 gboolean result = FALSE; // I didn't consume the event local 74 result = TRUE; // I consumed the event 79 result = TRUE; // I consumed the event 85 result = FALSE; // I didn't consume the event 101 result = TRUE; // I consumed the event 114 result = TRUE; // I consumed the event 127 result = TRUE; // I consumed the event 140 result = TRUE; // I consumed the event 148 result = TRUE; // I consumed the event 152 result [all...] |
/inkscape/src/extension/internal/ |
H A D | latex-pstricks-out.cpp | 44 bool result = Inkscape::Extension::db.get("org.inkscape.print.latex") != NULL; local 45 return result;
|