Searched refs:buf2 (Results 1 - 25 of 30) sorted by relevance

12

/xsrc/external/mit/libxcb/dist/tests/
H A Dcheck_public.c110 char buf2[sizeof(buf) + 7]; local in function:START_TEST
116 r = snprintf(buf2, sizeof buf2, "unix:%s", buf);
117 if (r < 5 || r >= (int)sizeof buf2) {
122 parse_display_pass(buf2, buf, 0, 0);
123 r = snprintf(buf2, sizeof buf2, "unix:%s.1", buf);
124 if (r < 7 || r >= (int)sizeof buf2) {
129 parse_display_pass(buf2, buf, 0, 1);
130 r = snprintf(buf2, sizeo
[all...]
/xsrc/external/mit/xf86-video-sis/dist/src/
H A Dsis_memcpy.c612 static unsigned int time_function(vidCopyFunc mf, UChar *buf1, UChar *buf2, int size) argument
618 (*mf)(buf1, buf2, size);
626 * player buffer (buf2) and a pool of uninitialized "video" data (buf3).
629 SiS_AllocBuffers(ScrnInfoPtr pScrn, UChar **buf1, UChar **buf2, UChar **buf3) argument
641 if(!((*buf2) = (UChar *)malloc(BUFFERSIZE + 15))) {
647 free((*buf2));
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);
689 SiS_builtin_memcpy(buf2, buf
656 SiS_BenchmarkMemcpy(ScrnInfoPtr pScrn,SISMCFuncData * MCFunctions,unsigned int myCPUflags,UChar * buf1,UChar * buf2,UChar * buf3,char * frqBuf,double cpuFreq,vidCopyFunc * UMemCpy,int * best2,Bool from) argument
1061 UChar *buf1, *buf2, *buf3; local in function:SiSVidCopyInitGen
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/x86emu/
H A Dvalidate.c64 char buf1[80],buf2[80]; \
89 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
91 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
97 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
99 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
105 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
107 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
195 char buf1[80],buf2[80]; \
213 r, #name, d, s, shift, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
215 r_asm, #name"_asm", d, s, shift, print_flags(buf1,inflags), print_flags(buf2,flag
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/x86emu/
H A Dvalidate.c64 char buf1[80],buf2[80]; \
89 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
91 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
97 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
99 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
105 r, #name, d, s, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
107 r_asm, #name"_asm", d, s, print_flags(buf1,inflags), print_flags(buf2,flags));
195 char buf1[80],buf2[80]; \
213 r, #name, d, s, shift, print_flags(buf1,inflags), print_flags(buf2,M.x86.R_EFLG)); \
215 r_asm, #name"_asm", d, s, shift, print_flags(buf1,inflags), print_flags(buf2,flag
[all...]
/xsrc/external/mit/xkbutils/dist/
H A Dutils.c133 char buf1[512], buf2[512]; local in function:uStrCaseCmp
146 for (n = 0, s = buf2; (c = *str2++); n++) {
154 return (strcmp(buf1, buf2));
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dshader-interp.c73 GLfloat buf1[300*4], buf2[300*4]; local in function:Redisplay
76 glReadPixels(Width * 3 / 4, 0, 1, Height, GL_RGBA, GL_FLOAT, buf2);
81 buf2[i*4], buf2[i*4] - buf2[i*4-4]);
/xsrc/external/mit/proxymngr/dist/
H A Dconfig.c78 char buf1[512],buf2[512]; local in function:ncasecmp
90 for (i=0, s = buf2; i < n && (c = *str2++); i++) {
98 return (strncmp(buf1, buf2, n));
/xsrc/external/mit/xf86-video-xgi/dist/src/
H A Dxgi_memcpy.c714 static unsigned int time_function(vidCopyFunc mf, UChar *buf1, UChar *buf2, int size)
720 (*mf)(buf1, buf2, size);
728 * player buffer (buf2) and a pool of uninitialized "video" data (buf3).
731 XGI_AllocBuffers(ScrnInfoPtr pScrn, UChar **buf1, UChar **buf2, UChar **buf3)
743 if(!((*buf2) = (UChar *)xalloc(BUFFERSIZE + 15))) {
749 xfree((*buf2));
760 unsigned int myCPUflags, UChar *buf1, UChar *buf2,
770 /* Make probable buf1 and buf2 are not paged out by referencing them */
771 XGI_libc_memcpy(buf1, buf2, BUFFERSIZE);
793 XGI_builtin_memcpy(buf2, buf
[all...]
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_memcpy.c444 time_function(vidCopyFunc mf, unsigned char *buf1, unsigned char *buf2) argument
450 (*mf) (buf1, buf2, BSIZA, BSIZW, BSIZH, 0);
523 unsigned char *buf1, *buf2, *buf3; local in function:viaVidCopyInit
567 * player buffer (buf2) and a pool of uninitialized "video" data (buf3).
572 if (NULL == (buf2 = (unsigned char *)malloc(testSize))) {
577 free(buf2);
585 /* Make probable that buf1 and buf2 are in memory by referencing them. */
586 libc_YUV42X(buf1, buf2, BSIZA, BSIZW, BSIZH, 0);
596 kernel_memcpy(buf2, buf3, testSize);
599 tmp = time_function(curData->mFunc, buf1, buf2);
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Ddebug.c490 GLubyte *buf2; local in function:_mesa_dump_depth_buffer
494 buf2 = malloc(w * h * 3); /* 3 bpp */
504 buf2[i*3+0] = (buf[i] >> 24) & 0xff;
505 buf2[i*3+1] = (buf[i] >> 16) & 0xff;
506 buf2[i*3+2] = (buf[i] >> 8) & 0xff;
510 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE);
515 free(buf2);
526 GLubyte *buf2; local in function:_mesa_dump_stencil_buffer
530 buf2 = malloc(w * h * 3); /* 3 bpp */
539 buf2[
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Ddebug.c487 GLubyte *buf2; local in function:_mesa_dump_depth_buffer
491 buf2 = malloc(w * h * 3); /* 3 bpp */
501 buf2[i*3+0] = (buf[i] >> 24) & 0xff;
502 buf2[i*3+1] = (buf[i] >> 16) & 0xff;
503 buf2[i*3+2] = (buf[i] >> 8) & 0xff;
507 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE);
512 free(buf2);
523 GLubyte *buf2; local in function:_mesa_dump_stencil_buffer
527 buf2 = malloc(w * h * 3); /* 3 bpp */
536 buf2[
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/decode/
H A Dbuffers.c57 const struct buffer *buf2 = (const struct buffer *)n2; local in function:buffer_insert_cmp
59 if (buf1->gpuaddr > buf2->gpuaddr)
61 else if (buf1->gpuaddr < buf2->gpuaddr)
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-inlines.h983 src_type_t buf2[2]; \
992 buf2[0] = buf2[1] = src2[0]; \
994 buf1, buf2, left_pad, weight1, weight2, 0, 0, 0, FALSE); \
1010 buf2[0] = buf2[1] = src2[src_image->bits.width - 1]; \
1012 buf1, buf2, right_pad, weight1, weight2, 0, 0, 0, FALSE); \
1019 src_type_t buf2[2]; \
1047 buf2[0] = buf2[
[all...]
/xsrc/external/mit/xkbcomp/dist/
H A Dutils.c286 char buf1[512], buf2[512]; local in function:uStrCaseCmp
299 for (n = 0, s = buf2; (c = *str2++); n++)
308 return (strcmp(buf1, buf2));
/xsrc/external/mit/fontconfig/dist/src/
H A Dfcname.c644 FcStrBuf buf, buf2; local in function:FcNameUnparseEscaped
650 FcStrBufInit (&buf2, buf2_static, sizeof (buf2_static));
662 if (!FcNameUnparseString (&buf2, (FcChar8 *) "-", 0))
664 if (!FcNameUnparseValueList (&buf2, FcPatternEltValues(e), escape ? (FcChar8 *) FC_ESCAPE_FIXED : 0))
666 p = FcStrBufDoneStatic (&buf2);
667 FcStrBufDestroy (&buf2);
/xsrc/external/mit/pixman/dist/test/
H A Dcomposite.c329 char buf[40], buf2[40]; local in function:composite_test
345 describe_color (&tsrc, buf2));
350 describe_color (&tmsk, buf2));
354 describe_color (&tdst, buf2));
/xsrc/external/mit/libXt/dist/src/
H A DIntrinsic.c1089 char *buf, *buf1, *buf2; local in function:XtFindFile
1095 buf2 = __XtMalloc((unsigned) PATH_MAX);
1121 if (firstTime || strcmp(buf1, buf2) != 0) {
1132 XtFree(buf2);
1136 return buf2;
1139 buf = buf2;
1156 XtFree(buf2);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_stencil.c215 GLubyte *fail = swrast->stencil_temp.buf2;
409 GLubyte *passMask = swrast->stencil_temp.buf2;
528 GLubyte *newVals = swrast->stencil_temp.buf2;
H A Ds_context.h330 GLubyte *buf1, *buf2, *buf3, *buf4; member in struct:__anon927bb33e0108::__anon927bb33e0208
H A Ds_context.c802 swrast->stencil_temp.buf2 = malloc(SWRAST_MAX_WIDTH * sizeof(GLubyte));
807 !swrast->stencil_temp.buf2 ||
831 free(swrast->stencil_temp.buf2);
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_stencil.c215 GLubyte *fail = swrast->stencil_temp.buf2;
469 GLubyte *passMask = swrast->stencil_temp.buf2;
588 GLubyte *newVals = swrast->stencil_temp.buf2;
H A Ds_context.h331 GLubyte *buf1, *buf2, *buf3, *buf4; member in struct:__anonea7e70310108::__anonea7e70310208
/xsrc/external/mit/freetype/dist/src/autofit/
H A Dafhints.c347 char buf1[16], buf2[16], buf3[16], buf4[16]; local in function:af_glyph_hints_dump_points
364 af_print_idx( buf2, segment_idx_1 ),
450 char buf1[16], buf2[16], buf3[16]; local in function:af_glyph_hints_dump_segments
480 af_print_idx( buf2, AF_INDEX_NUM( seg->serif, segments ) ),
587 char buf1[16], buf2[16]; local in function:af_glyph_hints_dump_edges
622 af_print_idx( buf2, AF_INDEX_NUM( edge->serif, edges ) ),
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/
H A DX11Application.m954 char buf2[1024];
957 snprintf (buf2, sizeof (buf2), "%s.old", buf);
959 for(i = 1; access (buf2, F_OK) == 0; i++)
960 snprintf (buf2, sizeof (buf2), "%s.old.%d", buf, i);
962 rename (buf, buf2);
/xsrc/external/mit/xorg-server/dist/hw/xquartz/
H A DX11Application.m714 char buf2[1024];
717 snprintf(buf2, sizeof(buf2), "%s.old", buf);
719 for (i = 1; access(buf2, F_OK) == 0; i++)
720 snprintf(buf2, sizeof(buf2), "%s.old.%d", buf, i);
722 rename(buf, buf2);

Completed in 27 milliseconds

12