Searched defs:ptr (Results 1 - 23 of 23) sorted by relevance

/inkscape/src/libdepixelize/priv/
H A Diterator.h46 typename std::vector<T>::const_iterator to_iterator(T const *ptr, argument
52 difference_type idx = ptr - to_ptr<T>(begin);
57 typename std::vector<T>::iterator to_iterator(T *ptr, argument
63 difference_type idx = ptr - to_ptr<T>(begin);
78 const_iterator operator()(T const *ptr) const
80 return to_iterator<T>(ptr, begin);
83 iterator operator()(T *ptr) const
85 return to_iterator<T>(ptr, begin);
/inkscape/src/io/
H A Dstreamtest.cpp198 char * ptr = strrchr(path,'/'); local
199 if (!ptr)
204 strncpy(ptr+1,name,strlen(name)+1);
H A Dsys.cpp375 guchar const *ptr = (guchar const*)str; local
376 while ( *ptr )
378 if ( *ptr == '\\' )
381 } else if ( *ptr < 0x80 ) {
382 buf += (char)(*ptr);
384 g_snprintf((gchar*)scratch, sizeof(scratch), "\\x%02x", *ptr);
387 ptr++;
/inkscape/src/svg/
H A Dsvg-color.cpp315 gchar *ptr = (gchar *) str + 4; local
317 gchar *e; // ptr after read
319 double h = g_ascii_strtod(ptr, &e); // Read h (0-360)
320 if (ptr == e) return def; // Read failed
321 ptr = e;
323 while (*ptr && g_ascii_isspace(*ptr)) ptr += 1; // Remove any white space
324 if (*ptr != ',') return def; // Need comma
325 ptr
[all...]
/inkscape/src/inkgc/
H A Dgc-core.h53 void *(*base)(void *ptr);
66 void (*free)(void *ptr);
84 static inline void *base(void *ptr) { argument
85 return _ops.base(ptr);
119 static inline void free(void *ptr) { argument
120 return _ops.free(ptr);
H A Dgc.cpp68 void *debug_base(void *ptr) { argument
69 char *base=reinterpret_cast<char *>(GC_base(ptr));
/inkscape/src/
H A Dsp-conn-end-pair.cpp248 static void redrawConnectorCallback(void *ptr) argument
250 SPPath *path = SP_PATH(ptr);
H A Dege-color-prof-tracker.cpp237 void ege_color_prof_tracker_get_profile( EgeColorProfTracker const * tracker, gpointer* ptr, guint* len ) argument
263 if ( ptr ) {
264 *ptr = dataPos;
271 void ege_color_prof_tracker_get_profile_for( guint screenNum, guint monitor, gpointer* ptr, guint* len ) argument
305 if ( ptr ) {
306 *ptr = dataPos;
H A Dpreferences.cpp866 Preferences::Entry const Preferences::_create_pref_value(Glib::ustring const &path, void const *ptr) argument
868 return Entry(path, ptr);
/inkscape/src/ui/dialog/
H A Dicon-preview.cpp293 gchar *ptr = g_strdup_printf(":%02ld:%02ld.%06ld", mins, secs, now.tv_usec); local
294 str = ptr;
295 g_free(ptr);
296 ptr = 0;
H A Dcolor-item.cpp180 const gchar* ptr = xxx.c_str(); local
182 numVal = g_ascii_strtoull( ptr, &endPtr, 10 );
185 } else if ( (numVal == 0) && (endPtr == ptr) ) {
H A Dswatches.cpp417 char *ptr = block; local
419 while ( *ptr == ' ' || *ptr == '\t' ) {
420 ptr++;
422 if ( (*ptr == 0) || (*ptr == '\r') || (*ptr == '\n') ) {
424 } else if ( '0' <= *ptr && *ptr <= '9' ) {
427 ptr
[all...]
/inkscape/src/libavoid/
H A Dvpsc.h252 void operator()(T *ptr){ delete ptr;} argument
H A Dconnector.cpp565 void ConnRef::setCallback(void (*cb)(void *), void *ptr) argument
568 _connector = ptr;
/inkscape/src/ui/tool/
H A Dnode.h343 N *ptr() const { return static_cast<N*>(_node); } function in class:Inkscape::UI::NodeIterator
H A Dtransform-handle-set.cpp272 Inkscape::PureScale *ptr; local
275 ptr = new Inkscape::PureScaleConstrained(Geom::Scale(scale[0], scale[1]), scc);
277 ptr = new Inkscape::PureScale(Geom::Scale(scale[0], scale[1]), scc, false);
279 m.snapTransformed(_snap_points, _origin, (*ptr));
282 if (ptr->best_snapped_point.getSnapped()) {
283 scale = ptr->getScaleSnapped();
286 delete ptr;
/inkscape/src/widgets/
H A Dsp-xmlview-tree.cpp233 void element_child_added (Inkscape::XML::Node * /*repr*/, Inkscape::XML::Node * child, Inkscape::XML::Node * ref, gpointer ptr) argument
235 NodeData *data = static_cast<NodeData *>(ptr);
249 void element_attr_changed(Inkscape::XML::Node * repr, const gchar * key, const gchar * /*old_value*/, const gchar * new_value, bool /*is_interactive*/, gpointer ptr) argument
251 NodeData *data = static_cast<NodeData *>(ptr);
277 void element_child_removed(Inkscape::XML::Node * /*repr*/, Inkscape::XML::Node * child, Inkscape::XML::Node * /*ref*/, gpointer ptr) argument
279 NodeData *data = static_cast<NodeData *>(ptr);
289 void element_order_changed(Inkscape::XML::Node * /*repr*/, Inkscape::XML::Node * child, Inkscape::XML::Node * /*oldref*/, Inkscape::XML::Node * newref, gpointer ptr) argument
291 NodeData *data = static_cast<NodeData *>(ptr);
307 void text_content_changed(Inkscape::XML::Node * /*repr*/, const gchar * /*old_content*/, const gchar * new_content, gpointer ptr) argument
309 NodeData *data = static_cast<NodeData *>(ptr);
322 comment_content_changed(Inkscape::XML::Node * , const gchar * , const gchar *new_content, gpointer ptr) argument
336 pi_content_changed(Inkscape::XML::Node *repr, const gchar * , const gchar *new_content, gpointer ptr) argument
[all...]
H A Dicon.cpp1517 guchar *ptr = px + y * stride; local
1519 *(ptr++) = r;
1520 *(ptr++) = g;
1521 *(ptr++) = b;
1522 *(ptr++) = 0xff;
1524 ptr += bytesPerPixel * (spacing - 1);
1530 guchar *ptr = px + ((height-1) * stride) + ((width - 1) * bytesPerPixel); local
1538 ptr[-12] = r;
1539 ptr[-11] = g;
1540 ptr[
[all...]
H A Dtoolbox.cpp1174 gpointer ptr = g_object_get_data(G_OBJECT(toolbox), "desktop"); local
1175 SPDesktop *old_desktop = static_cast<SPDesktop*>(ptr);
1571 gpointer ptr = g_object_get_data(G_OBJECT(data), "desktop"); local
1572 g_assert(ptr != NULL);
1574 SPDesktop *dt = reinterpret_cast<SPDesktop*>(ptr);
/inkscape/src/extension/internal/
H A Demf-inout.cpp1464 char *ptr; local
1465 ptr = (char *)pEmr;
1466 PU_EMRSETMAPMODE nEmr = (PU_EMRSETMAPMODE) (ptr + pEmr->emr.nSize);
/inkscape/src/libuemf/
H A Duemf.c268 char *ptr=(char *)buf; local
269 for(;size;size--,ptr++){ sum += *ptr; } // read all bytes, trigger valgrind warning if any uninitialized
3490 char *ptr; local
3511 ptr = record + off;
3512 *(uint32_t *)ptr = irecsize + et->used; // EMREOF nSizeLast field, not at a fixed position, cannot be accessed by field name
H A Dupmf.c1950 char *ptr = (char *) &argb; local
1951 U_PMF_MEMCPY_DSTSHIFT(&ptr, &Blue, 1);
1952 U_PMF_MEMCPY_DSTSHIFT(&ptr, &Green, 1);
1953 U_PMF_MEMCPY_DSTSHIFT(&ptr, &Red, 1);
1954 U_PMF_MEMCPY_DSTSHIFT(&ptr, &Alpha, 1);
/inkscape/
H A Dbuildtool.cpp168 const char *ptr; member in struct:buildtool::slre_cap
241 const char *ptr; /* Points to the first char after '(' in regex */ member in struct:buildtool::bracket_pair
483 info->caps[bi - 1].ptr = s + j;
509 p = i == 0 ? b->ptr : info->branches[b->branches + i - 1].schlong + 1;
511 i == b->num_branches ? (int) (b->ptr + b->len - p) :
522 int i, result = -1, is_anchored = info->brackets[0].ptr[0] == '^';
570 info->brackets[0].ptr = re;
602 info->brackets[info->num_brackets].ptr = re + i + 1;
610 info->brackets[ind].len = (int) (&re[i] - info->brackets[ind].ptr);
612 ind, info->brackets[ind].len, info->brackets[ind].ptr));
[all...]

Completed in 536 milliseconds