Searched defs:buffer (Results 1 - 25 of 25) sorted by relevance

/inkscape/src/io/
H A Dbufferstream.h63 const std::vector<unsigned char> &buffer; member in class:Inkscape::IO::BufferInputStream
77 * This class is for sending a stream to a character buffer
91 { return buffer; }
94 { buffer.clear(); }
97 std::vector<unsigned char> buffer; member in class:Inkscape::IO::BufferOutputStream
H A Dstringstream.h40 Glib::ustring &buffer; member in class:Inkscape::IO::StringInputStream
73 { return buffer; }
76 { buffer = ""; }
80 Glib::ustring buffer; member in class:Inkscape::IO::StringOutputStream
/inkscape/src/debug/
H A Ddemangle.cpp26 char buffer[1024]; local
29 if (fgets(buffer, sizeof(buffer), stream)) {
30 size_t len=strlen(buffer);
31 if ( buffer[len-1] == '\n' ) {
32 buffer[len-1] = '\000';
34 result = strdup(buffer);
/inkscape/src/extension/internal/
H A Dmetafile-inout.h57 char *buffer; member in struct:Inkscape::Extension::Internal::__anon64
H A Dsvg.cpp173 gchar buffer[BUF_SIZE]; local
174 result = gnome_vfs_read (handle, buffer, BUF_SIZE, &bytes_read);
175 doc.insert(doc.end(), buffer, buffer+bytes_read);
200 gchar * buffer = _load_uri(uri); local
201 if (buffer == NULL) {
205 SPDocument * doc = SPDocument::createNewDocFromMem(buffer, strlen(buffer), 1);
207 g_free(buffer);
H A Dtext_reassemble.c1695 \brief Append text to a TR_INFO struct's output buffer, expanding it if necessary.
1914 \param tri pointer to a TR_INFO struct which will be analyzed. Result is stored in its "out" buffer.
2585 int parseit(char *buffer,char **data){ argument
2587 pre = strcspn(buffer,":");
2589 *data=&buffer[pre+1];
2590 buffer[pre]='\0';
2591 if(*buffer=='#' )return(OPCOM );
2592 if(0==strcmp("FONT",buffer))return(OPFONT);
2593 if(0==strcmp("ESC" ,buffer))return(OPESC );
2594 if(0==strcmp("ORI", buffer))retur
[all...]
/inkscape/src/ui/dialog/
H A Dmessages.cpp34 Glib::RefPtr<Gtk::TextBuffer> buffer = messageText.get_buffer(); local
35 buffer->erase(buffer->begin(), buffer->end());
114 Glib::RefPtr<Gtk::TextBuffer> buffer = messageText.get_buffer(); local
118 buffer->insert (buffer->end(), uMsg);
H A Ddebug.cpp63 Glib::RefPtr<Gtk::TextBuffer> buffer = messageText.get_buffer(); local
64 buffer->erase(buffer->begin(), buffer->end());
146 Glib::RefPtr<Gtk::TextBuffer> buffer = messageText.get_buffer(); local
150 buffer->insert (buffer->end(), uMsg);
H A Dsymbols.cpp863 gchar const *buffer = local
874 return SPDocument::createNewDocFromMem( buffer, strlen(buffer), FALSE );
H A Dfiledialogimpl-win32.cpp1132 void FileOpenDialogImplWin32::destroy_svg_rendering(const guint8 *buffer) argument
1134 g_assert(buffer != NULL);
1135 g_free((void*)buffer);
/inkscape/src/
H A Dwinconsole.cpp55 char *buffer = reinterpret_cast<char *>(LocalAlloc(LMEM_FIXED, info->buffer_size)); local
59 if (!ReadFile(info->echo_read, buffer, info->buffer_size, &bytes_read, NULL) || bytes_read == 0)
63 if (!WriteFile(info->echo_write, buffer, bytes_read, &bytes_written, NULL)) {
69 LocalFree(reinterpret_cast<HLOCAL>(buffer));
H A Dshortcuts.cpp196 gchar const *buffer = local
201 Inkscape::XML::Document *doc = sp_repr_read_mem(buffer, strlen(buffer), NULL);
H A Dsp-image.cpp774 gchar *buffer = (gchar *) g_malloc(needed_size); local
775 gchar *buf_work = buffer;
776 buf_work += g_sprintf(buffer, "data:%s;base64,", data_mimetype.c_str());
788 image_node->setAttribute("xlink:href", buffer);
790 g_free(buffer);
H A Dfile.cpp755 guint8 buffer[8192]; local
786 result = gnome_vfs_read (from_handle, buffer, 8192, &bytes_read);
798 result = gnome_vfs_write (to_handle, buffer, bytes_read, &bytes_written);
H A Ddocument.cpp553 SPDocument *SPDocument::createNewDocFromMem(gchar const *buffer, gint length, unsigned int keepalive) argument
557 Inkscape::XML::Document *rdoc = sp_repr_read_mem(buffer, length, SP_SVG_NS_URI);
/inkscape/src/xml/
H A Devent.cpp430 char buffer[40]; local
434 snprintf(buffer, 40, "0x%p", &node);
435 result.append(buffer);
H A Drepr-io.cpp109 static int readCb( void * context, char * buffer, int len );
113 int read( char * buffer, int len );
191 char *buffer = new char [4096]; local
193 int len = this->read(buffer, 4096);
195 buffer[len] = 0;
196 this->cachedData += buffer;
198 delete[] buffer;
238 int XmlSource::readCb( void * context, char * buffer, int len ) argument
244 retVal = self->read( buffer, len );
258 int XmlSource::read( char *buffer, in argument
398 sp_repr_read_mem(const gchar * buffer, gint length, const gchar *default_ns) argument
[all...]
/inkscape/cxxtest/cxxtest/
H A DErrorFormatter.h240 void dump( const void *buffer, unsigned size ) argument
242 if ( !buffer )
245 dumpBuffer( buffer, size );
253 void dumpBuffer( const void *buffer, unsigned size ) argument
259 const unsigned char *p = (const unsigned char *)buffer;
/inkscape/src/2geom/
H A Dsvg-path-parser.cpp1581 char buffer[BUFFER_SIZE]; local
1586 bytes_read = fread(buffer, 1, BUFFER_SIZE, fi);
1588 parser.parse(buffer, bytes_read);
1591 parser.feed(buffer, bytes_read);
/inkscape/src/extension/
H A Dsystem.cpp561 * \return The module created, or NULL if buffer is invalid
562 * \brief This function creates a module from a buffer holding an
564 * \param buffer The buffer holding the XML description of the module.
567 * finds the length of the buffer using strlen.
570 build_from_mem(gchar const *buffer, Implementation::Implementation *in_imp) argument
572 Inkscape::XML::Document *doc = sp_repr_read_mem(buffer, strlen(buffer), INKSCAPE_EXTENSION_URI);
/inkscape/src/widgets/
H A Dstroke-marker-selector.cpp581 gchar const *buffer = "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\" xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"MarkerSample\">" local
607 return SPDocument::createNewDocFromMem (buffer, strlen(buffer), FALSE);
/inkscape/src/libnrtype/
H A DFontInstance.cpp403 char *buffer = new char[bufferSize]; local
404 if ( GetGlyphOutline (parent->hScreenDC, glyph_id, GGO_GLYPH_INDEX | GGO_NATIVE | GGO_UNHINTED, &metrics, bufferSize, buffer, &identity) <= 0 ) {
410 TTPOLYGONHEADER const *polyHeader=(TTPOLYGONHEADER const *)(buffer+polyOffset);
418 TTPOLYCURVE const *polyCurve=(TTPOLYCURVE const *)(buffer+curveOffset);
462 delete [] buffer;
/inkscape/src/livarot/
H A DLivarotDefs.h161 uint32_t* buffer; // pointer to the first pixel in the run member in struct:raster_info
/inkscape/src/extension/internal/pdfinput/
H A Dsvg-builder.cpp1350 // Append the character to the text buffer
1375 * \brief Adds the specified character to the text buffer
1583 unsigned char *buffer = new unsigned char[width]; local
1588 color_map->getGrayLine(row, buffer, width);
1590 unsigned char *buf_ptr = buffer;
1599 png_write_row(png_ptr, (png_bytep)buffer);
1601 delete [] buffer;
1609 unsigned int *buffer = new unsigned int[width]; local
1613 color_map->getRGBLine(row, buffer, width);
1615 unsigned int *dest = buffer;
[all...]
/inkscape/src/ui/
H A Dinterface.cpp126 static void sp_ui_import_files(gchar *buffer);
1335 sp_ui_import_files(gchar *buffer) argument
1337 GList *list = gnome_uri_list_extract_filenames(buffer);

Completed in 1157 milliseconds