/inkscape/src/io/ |
H A D | bufferstream.cpp | 49 : buffer(sourceBuffer) 72 return buffer.size() - position; 92 if (position >= (int)buffer.size()) 94 int ch = (int) buffer[position++]; 145 buffer.push_back(ch);
|
H A D | stringstream.cpp | 31 : buffer(sourceString) 51 return buffer.size() - position; 68 if (position >= (int)buffer.size()) 70 int ch = (int) buffer[position++]; 117 buffer.push_back(ch);
|
H A D | bufferstream.h | 63 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 D | stringstream.h | 40 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 D | demangle.cpp | 26 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/ui/dialog/ |
H A D | messages.cpp | 34 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 D | debug.cpp | 63 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 D | filedialogimpl-win32.h | 295 /// @buffer buffer The buffer to free 296 static void destroy_svg_rendering(const guint8 *buffer); 317 /// @param caption The buffer to format the caption string into 318 /// @param caption_size The number of wchar_ts in the caption buffer
|
/inkscape/src/extension/internal/ |
H A D | svg.cpp | 173 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 D | metafile-inout.cpp | 54 http://stackoverflow.com/questions/1821806/how-to-encode-png-to-buffer-using-libpng 86 /* allocate or grow buffer */ 87 if(p->buffer){ p->buffer = (char *) realloc(p->buffer, nsize); } 88 else{ p->buffer = (char *) malloc(nsize); } 90 if(!p->buffer){ png_error(png_ptr, "Write Error"); } 92 /* copy new bytes to end of buffer */ 93 memcpy(p->buffer + p->size, data, length); 100 accum->buffer [all...] |
H A D | metafile-inout.h | 57 char *buffer; member in struct:Inkscape::Extension::Internal::__anon64
|
H A D | text_reassemble.c | 1695 \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/2geom/ |
H A D | coord.cpp | 519 bool ToHexString(char* buffer, int buffer_size) const; 592 static uint64_t ReadUInt64(Vector<const char> buffer, 597 int digit = buffer[i] - '0'; 1018 bool Bignum::ToHexString(char* buffer, int buffer_size) const { 1026 buffer[0] = '0'; 1027 buffer[1] = '\0'; 1035 buffer[string_index--] = '\0'; 1038 buffer[string_index--] = '0'; 1044 buffer[string_index--] = HexCharOfValue(current_bigit & 0xF); 1051 buffer[string_inde [all...] |
H A D | svg-path-parser.cpp | 1581 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/ |
H A D | winconsole.cpp | 55 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 D | sp-image.cpp | 774 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);
|
/inkscape/share/extensions/ |
H A D | render_barcode_qrcode.py | 39 def write(self, buffer): 42 buffer.put(ord(self.data[i]), 8) 281 buffer = QRBitBuffer(); 285 buffer.put(data.mode, 4) 286 buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, tn) ) 287 data.write(buffer) 294 if (buffer.getLengthInBits() <= totalDataCount * 8): 298 + str(buffer.getLengthInBits()) 311 buffer = QRBitBuffer(); 315 buffer [all...] |
/inkscape/cxxtest/cxxtest/ |
H A D | ErrorFormatter.h | 240 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/xml/ |
H A D | repr-io.cpp | 109 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...] |
H A D | event.cpp | 430 char buffer[40]; local 434 snprintf(buffer, 40, "0x%p", &node); 435 result.append(buffer);
|
/inkscape/src/extension/ |
H A D | system.h | 53 Extension *build_from_mem(gchar const *buffer, Implementation::Implementation *in_imp);
|
H A D | system.cpp | 561 * \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/livarot/ |
H A D | LivarotDefs.h | 161 uint32_t* buffer; // pointer to the first pixel in the run member in struct:raster_info
|
/inkscape/src/extension/internal/pdfinput/ |
H A D | svg-builder.cpp | 1350 // 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/libnrtype/ |
H A D | FontInstance.cpp | 403 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;
|