Lines Matching defs:buf1
612 static unsigned int time_function(vidCopyFunc mf, UChar *buf1, UChar *buf2, int size)
618 (*mf)(buf1, buf2, size);
625 /* Allocate an area of offscreen FB memory (buf1), a simulated video
629 SiS_AllocBuffers(ScrnInfoPtr pScrn, UChar **buf1, UChar **buf2, UChar **buf3)
638 (*buf1) = (UChar *)pSiS->FbBase + offset;
639 (*buf1) = (UChar *)(((ULong)(*buf1) + 31) & ~31);
657 unsigned int myCPUflags, UChar *buf1, UChar *buf2,
667 /* Make probable buf1 and buf2 are not paged out by referencing them */
668 SiS_libc_memcpy(buf1, buf2, BUFFERSIZE);
690 tmp1 = time_function(curData->mFunc, buf1, buf2, BUFFERSIZE);
692 tmp2 = time_function(curData->mFunc, buf1, buf2, BUFFERSIZE);
695 tmp2 = time_function(curData->mFunc, buf1, buf2, BUFFERSIZE);
698 tmp2 = time_function(curData->mFunc, buf1, buf2, BUFFERSIZE);
702 tmp1 = time_function(curData->mFunc, buf2, buf1, BUFFERSIZE);
704 tmp2 = time_function(curData->mFunc, buf2, buf1, BUFFERSIZE);
707 tmp2 = time_function(curData->mFunc, buf2, buf1, BUFFERSIZE);
710 tmp2 = time_function(curData->mFunc, buf2, buf1, BUFFERSIZE);
1061 UChar *buf1, *buf2, *buf3;
1087 if(!(fbhandle = SiS_AllocBuffers(pScrn, &buf1, &buf2, &buf3))) {
1094 best = SiS_BenchmarkMemcpy(pScrn, MCFunctions, myCPUflags, buf1,