Searched refs:fh (Results 1 - 25 of 29) sorted by relevance

12

/xsrc/external/mit/xorg-server/dist/dix/
H A Dregistry.c42 static FILE *fh; variable in typeref:typename:FILE *
139 if (fh == NULL)
142 rewind(fh);
144 while (fgets(buf, sizeof(buf), fh)) {
332 if (fh) {
333 fclose(fh);
334 fh = NULL;
353 fh = fopen(FILENAME, "r");
354 if (!fh)
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dregistry.c42 static FILE *fh; variable in typeref:typename:FILE *
123 if (fh == NULL)
126 rewind(fh);
128 while (fgets(buf, sizeof(buf), fh)) {
312 if (fh)
313 fclose(fh);
314 fh = fopen(FILENAME, "r");
315 if (!fh)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c409 float fh = flip * viewport->scale[1] * 2.0f; local in function:emit_viewport
424 fh);
452 if (fh < 0.0) {
455 prescale.translate[1] = fh + fy * 2.0f;
459 prescale.translate[1] = fh - 1.0f + fy * 2.0f;
461 fh = -fh;
462 fy -= fh;
481 prescale.scale[1] *= fh / (fh
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/
H A Dswr_fence_work.cpp60 swr_add_fence_work(struct pipe_fence_handle *fh, argument
64 if (!fh) {
70 struct swr_fence *fence = swr_fence(fh);
H A Dswr_fence.cpp62 swr_fence_submit(struct swr_context *ctx, struct pipe_fence_handle *fh) argument
64 struct swr_fence *fence = swr_fence(fh);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/hud/
H A Dhud_cpufreq.c82 FILE *fh = fopen(fn, "r"); local in function:get_file_value
83 if (!fh) {
87 int ret = fscanf(fh, "%" PRIu64 "", KHz);
88 fclose(fh);
H A Dhud_diskstat.c103 FILE *fh = fopen(fn, "r"); local in function:get_file_values
104 if (!fh)
107 ret = fscanf(fh,
114 fclose(fh);
H A Dhud_nic.c88 FILE *fh = fopen(fname, "r"); local in function:get_file_value
89 if (!fh)
91 if (fscanf(fh, "%" PRIu64 "", value) != 0) {
94 fclose(fh);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/hud/
H A Dhud_cpufreq.c82 FILE *fh = fopen(fn, "r"); local in function:get_file_value
83 if (!fh) {
87 int ret = fscanf(fh, "%" PRIu64 "", KHz);
88 fclose(fh);
H A Dhud_diskstat.c104 FILE *fh = fopen(fn, "r"); local in function:get_file_values
105 if (!fh)
108 ret = fscanf(fh,
115 fclose(fh);
H A Dhud_nic.c89 FILE *fh = fopen(fname, "r"); local in function:get_file_value
90 if (!fh)
92 if (fscanf(fh, "%" PRIu64 "", value) != 0) {
95 fclose(fh);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/
H A Dswr_fence.cpp62 swr_fence_submit(struct swr_context *ctx, struct pipe_fence_handle *fh) argument
64 struct swr_fence *fence = swr_fence(fh);
H A Dswr_fence_work.cpp60 swr_add_fence_work(struct pipe_fence_handle *fh, argument
64 if (!fh) {
70 struct swr_fence *fence = swr_fence(fh);
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/glx/
H A Dgen_gl_wrappers.py67 fh = open(dispatchheader) variable
68 dispatchh = fh.readlines()
87 fh = open(typemapfile) variable
88 tm = fh.readlines()
121 fh = open(specfile) variable
122 glspec = fh.readlines()
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c426 float fh = flip * viewport->scale[1] * 2.0f; local in function:get_viewport_prescale
440 fh);
468 if (fh < 0.0) {
471 prescale->translate[1] = fh + fy * 2.0f;
475 prescale->translate[1] = fh - 1.0f + fy * 2.0f;
477 fh = -fh;
478 fy -= fh;
497 prescale->scale[1] *= fh / (fh
[all...]
/xsrc/external/mit/xterm/dist/vttests/
H A Dsetpos.pl110 if ( open my $fh, "$cmd |" ) {
111 @result = <$fh>;
112 close $fh;
/xsrc/external/mit/xterm/dist/
H A Dgen-charsets.pl393 open( my $fh, ">", $update )
396 printf $fh "%s\n", $head[$n];
398 close $fh;
/xsrc/external/mit/MesaLib/dist/src/intel/dev/
H A Dintel_device_info.h415 bool intel_get_device_info_from_fd(int fh, struct intel_device_info *devinfo);
/xsrc/external/mit/ctwm/dist/
H A Dwin_iconify.c447 unsigned int fw, fh, tw, th; /* from, to */ local in function:Zoom
461 XGetGeometry(dpy, wf, &JunkRoot, &fx, &fy, &fw, &fh, &JunkBW, &JunkDepth);
467 dh = (long) th - (long) fh; /* going from -> to */
473 XDrawRectangle(dpy, Scr->Root, Scr->DrawGC, fx, fy, fw, fh);
478 unsigned height = (unsigned)(((long) fh) + (dh * i) / z);
H A Dwin_decorations.c1517 int h, fw, fh, wd; local in function:SetBorderCursor
1527 fh = tmp_win->frame_height;
1530 fprintf(stderr, "wd=%d h=%d, fw=%d fh=%d x=%d y=%d\n",
1531 wd, h, fw, fh, x, y);
1557 else if(y >= fh - h) {
1568 else if(y >= fh - h) {
1578 else if(y >= fh - h) {
/xsrc/external/mit/xf86-video-glint/dist/src/
H A Dpm2_video.c123 int fw, fh; member in struct:_PortPrivRec
997 DBox.y2 = DBox.y1 + (pPPriv->fh * pPPriv->dh) / pPPriv->vh;
1025 if ((y + h) > pPPriv->fh)
1026 h = pPPriv->fh - y;
1411 pPPriv->fh = InputVideoEncodings[pAPriv->VideoStd * 3].height >>
1521 pPPriv->vy = ((vid_y << 10) * pPPriv->fh) / sh;
1523 pPPriv->vh = ((vid_h << 10) * pPPriv->fh) / sh;
1565 pPPriv->vy = ((vid_y << 10) * pPPriv->fh) / sh;
1567 pPPriv->vh = ((vid_h << 10) * pPPriv->fh) / sh;
1626 pPPriv->vy = (vid_y * pPPriv->fh) / s
[all...]
/xsrc/external/mit/twm/dist/src/
H A Dutil.c208 unsigned int fw, fh, tw, th; /* from, to */ local in function:Zoom
221 XGetGeometry(dpy, wf, &wdummy, &fx, &fy, &fw, &fh, &udummy, &udummy);
227 dh = ((long) (th - fh)); /* going from -> to */
233 XDrawRectangle(dpy, Scr->Root, Scr->DrawGC, fx, fy, fw, fh);
238 unsigned height = (unsigned) (((long) fh) + (dh * i) / z);
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimstb_truetype.h3995 float fh = ranges[i].font_size; local in function:stbtt_PackFontRangesGatherRects
3996 float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh);
4055 float fh = ranges[i].font_size; local in function:stbtt_PackFontRangesRenderIntoRects
4056 float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh);
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimstb_truetype.h3995 float fh = ranges[i].font_size; local in function:stbtt_PackFontRangesGatherRects
3996 float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh);
4055 float fh = ranges[i].font_size; local in function:stbtt_PackFontRangesRenderIntoRects
4056 float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_surface.c1256 const float fh = u_minify(src->width0 << nv50_miptree(src)->ms_x, l); local in function:nvc0_blit_3d
1258 x0 /= fh;
1259 x1 /= fh;

Completed in 47 milliseconds

12