Lines Matching refs:part1
91 size_t part1 = fifo->mFrameCount - rear;
92 if (part1 > availToWrite) {
93 part1 = availToWrite;
95 if (part1 > 0) {
97 part1 * fifo->mFrameSize);
98 size_t part2 = availToWrite - part1;
100 memcpy(fifo->mBuffer, (char *) buffer + (part1 * fifo->mFrameSize),
118 size_t part1 = fifo->mFrameCount - front;
119 if (part1 > availToRead) {
120 part1 = availToRead;
122 if (part1 > 0) {
124 part1 * fifo->mFrameSize);
125 size_t part2 = availToRead - part1;
127 memcpy((char *) buffer + (part1 * fifo->mFrameSize), fifo->mBuffer,