Home | History | Annotate | Download | only in core

Lines Matching refs:block

492 struct SkDynamicMemoryWStream::Block {
493 Block* fNext;
532 Block* block = fHead;
534 while (block != NULL) {
535 Block* next = block->fNext;
536 sk_free(block);
537 block = next;
562 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size);
563 block->init(size);
564 block->append(buffer, count);
567 fTail->fNext = block;
569 fHead = fTail = block;
570 fTail = block;
583 Block* block = fHead;
584 while (block != NULL) {
585 size_t size = block->written();
588 memcpy(block->start() + offset, buffer, part);
595 block = block->fNext;
604 Block* block = fHead;
605 while (block != NULL) {
606 size_t size = block->written();
609 memcpy(buffer, block->start() + offset, part);
616 block = block->fNext;
626 Block* block = fHead;
628 while (block != NULL) {
629 size_t size = block->written();
630 memcpy(dst, block->start(), size);
632 block = block->fNext;
666 explicit SkBlockMemoryRefCnt(SkDynamicMemoryWStream::Block* head) : fHead(head) { }
669 SkDynamicMemoryWStream::Block* block = fHead;
670 while (block != NULL) {
671 SkDynamicMemoryWStream::Block* next = block->fNext;
672 sk_free(block);
673 block = next;
677 SkDynamicMemoryWStream::Block* const fHead;
682 SkBlockMemoryStream(SkDynamicMemoryWStream::Block* head, size_t size)
742 // If possible, move backward within the current block.
778 SkDynamicMemoryWStream::Block const * fCurrent;