Lines Matching refs:element
297 write_buffer *element = fWriteBuffers;
298 while (element) {
299 write_buffer *next = element->next;
300 free(element);
301 element = next;
689 write_buffer *element = fWriteBuffers;
699 if (element != NULL) {
700 gapSize = (size_t)MIN((off_t)bytesLeft, element->position > position ?
701 element->position - position : 0);
766 if (bytesLeft == 0 || element == NULL)
769 off_t elementEnd = element->position + element->length;
774 const void *source = element->buffer + (position
775 - element->position);
787 element = element->next;
865 write_buffer *element = (write_buffer *)malloc(sizeof(write_buffer) - 1
867 if (element == NULL)
870 element->next = *link;
871 element->position = newPosition;
872 element->length = newLength;
873 *link = element;
888 memcpy(element->buffer + (swallow->position - newPosition),
891 element->next = swallow->next;
893 swallow = element->next;
897 void *target = element->buffer + (position - newPosition);