Home | History | Annotate | Download | only in src

Lines Matching refs:Block

31 // memory block or any storage. Each IOhandler provides implementations for read,
135 // Those functions implements an iohandler which takes a block of memory as storage medium.
138 cmsUInt8Number* Block; // Points to allocated memory
155 cmsSignalError(iohandler ->ContextID, cmsERROR_READ, "Read from memory error. Got %d bytes, block should be of %d bytes", len, count * size);
159 Ptr = ResData -> Block;
208 memmove(ResData ->Block + ResData ->Pointer, Ptr, size);
225 if (ResData ->Block) _cmsFree(iohandler ->ContextID, ResData ->Block);
234 // Create a iohandler for memory block. AccessMode=='r' assumes the iohandler is going to read, and makes
235 // a copy of the memory block for letting user to free the memory after invoking open profile. In write
236 // mode ("w"), Buffere points to the begin of memory block to be written.
258 fm ->Block = (cmsUInt8Number*) _cmsMalloc(ContextID, size);
259 if (fm ->Block == NULL) {
268 memmove(fm->Block, Buffer, size);
279 fm ->Block = (cmsUInt8Number*) Buffer;
319 cmsSignalError(iohandler ->ContextID, cmsERROR_FILE, "Read error. Got %d bytes, block should be of %d bytes", nReaded * size, count * size);
1101 // Open from memory block
1162 // In this case a blind copy of the block data is performed
1770 // Now we need to serialize to a memory block: just use a memory iohandler
1837 // Keep a copy of the block
1845 // Using this function you can collapse several tag entries to the same block in the profile