| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| os_file.c | 22 size_t total = 0; local 24 ssize_t ret = read(fd, buf + total, len - total); 37 total += ret; 38 } while (total != len); 40 return total ? total : err;
|
| /xsrc/external/mit/libX11/dist/src/ |
| VisUtil.c | 68 int ii,screen_s,screen_e,total,count; local 79 total = 10; 80 if (! (vip_base = vip = Xmallocarray(total, sizeof(XVisualInfo)))) { 132 if (count+1 > total) 135 total += 10; 136 if (! (vip_base = Xreallocarray(vip_base, total,
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| lower_const_arrays_to_uniforms.cpp | 135 unsigned total = 0; local 143 total += var->type->component_slots(); 145 return total;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_helpers.c | 282 uint64_t total = util_get_throttle_total_memory_usage(t); local 288 total && total + memory_size > t->max_mem_usage) { 299 total = util_get_throttle_total_memory_usage(t);
|
| /xsrc/external/mit/libXrender/dist/src/ |
| Picture.c | 176 unsigned long total; local 180 total = (unsigned long) ((size_t) r->numRects * sizeof (XRectangle)); 181 if ((xr = (XRectangle *) _XAllocTemp(dpy, total))) { 197 _XFreeTemp(dpy, (char *)xr, total);
|
| /xsrc/external/mit/mesa-demos/dist/src/perf/ |
| vbo.c | 68 unsigned total = 0; local 77 total += VBOSize; 78 if (total >= 16*1024*1024) { 80 total = 0;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_helpers.c | 401 uint64_t total = util_get_throttle_total_memory_usage(t); local 407 total && total + memory_size > t->max_mem_usage) { 418 total = util_get_throttle_total_memory_usage(t);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/tests/unit/ |
| translate_test.c | 67 unsigned total = 0; local 322 ++total; 330 printf("%u/%u tests passed for translate_%s\n", passed, total, argv[1]); 331 return passed != total;
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| os_file.c | 98 size_t total = 0; local 100 ssize_t ret = read(fd, buf + total, len - total); 113 total += ret; 114 } while (total != len); 116 return total ? (ssize_t)total : err;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/unit/ |
| translate_test.c | 66 unsigned total = 0; local 315 ++total; 323 printf("%u/%u tests passed for translate_%s\n", passed, total, argv[1]); 324 return passed != total;
|
| /xsrc/external/mit/freetype/dist/src/cache/ |
| ftcsbits.c | 220 FT_UInt total; local 224 total = clazz->family_get_count( family, cache->manager ); 225 if ( total == 0 || gindex >= total ) 237 count = total - start;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/dmx/examples/ |
| xinput.c | 233 int total = 0; local 291 ++total; 295 if (!(total % 10)) {
|
| /xsrc/external/mit/libXfont2/dist/test/ |
| test-fserve-read-glyphs.c | 191 * Returns the total buffer size. Caller must free *out_buf. 208 long total = hdr_size + offsets_size + bitmap_size; local 209 long total_padded = (total + 3) & ~3; /* pad to 4 bytes */ 292 * range is valid, but the cumulative writes total 6400 bytes 334 * offsets, and total data fits in nbytes. 349 long total, total_padded; local 355 total = hdr_size + offsets_size + nbytes; 356 total_padded = (total + 3) & ~3;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| draw_pt_so_emit.c | 283 unsigned total = 0; local 285 total += 290 0, 0, total);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/hud/ |
| hud_cpu.c | 271 uint64_t busy, total; local 274 if (cpu_index != ALL_CPUS && !get_cpu_stats(cpu_index, &busy, &total)) { 310 uint64_t busy, total; local 313 while (get_cpu_stats(i, &busy, &total))
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_rast_debug.c | 483 unsigned total = 0; local 503 total += tile.coverage; 526 debug_printf("this tile total: %u possible %u: percentage: %f\n", 527 total, 529 total * 100.0 / (float)possible); 531 _total += total; 535 debug_printf("overall total: %" PRIu64
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/hud/ |
| hud_cpu.c | 232 uint64_t busy, total; local 235 if (cpu_index != ALL_CPUS && !get_cpu_stats(cpu_index, &busy, &total)) { 271 uint64_t busy, total; local 274 while (get_cpu_stats(i, &busy, &total))
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| freedreno_gmem.c | 83 uint32_t total = 0, i; local 87 gmem->cbuf_base[i] = align(total, gmem_align); 88 total = gmem->cbuf_base[i] + cbuf_cpp[i] * bin_w * bin_h; 93 gmem->zsbuf_base[0] = align(total, gmem_align); 94 total = gmem->zsbuf_base[0] + zsbuf_cpp[0] * bin_w * bin_h; 98 gmem->zsbuf_base[1] = align(total, gmem_align); 99 total = gmem->zsbuf_base[1] + zsbuf_cpp[1] * bin_w * bin_h; 102 return total;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_rast_debug.c | 348 unsigned total = 0; local 368 total += tile.coverage; 391 debug_printf("this tile total: %u possible %u: percentage: %f\n", 392 total, 394 total * 100.0 / (float)possible); 396 _total += total; 400 debug_printf("overall total: %" PRIu64
|
| lp_texture.c | 775 unsigned n = 0, total = 0; local 784 total += size; 787 debug_printf("LLVMPIPE: total size of %u resources: %u\n", n, total);
|
| /xsrc/external/mit/freetype/dist/src/pfr/ |
| pfrsbit.c | 44 FT_UInt total; /* total number of bits to draw */ member in struct:PFR_BitWriter_ 58 writer->total = writer->width * writer->rows; 82 if ( n > writer->total ) 83 n = writer->total; 135 n = writer->total; 216 n = writer->total;
|
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| imExten.c | 303 int total = 0; local 310 total += len; 312 return total; 335 INT16 total, 345 while (total > min_len) { 348 total -= len;
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| texdown.c | 56 * keep us out of most caches at 32mb total. 171 GLdouble total = 0; /* ints will tend to overflow */ local 258 total += w * h / 8; 266 total += w*h; 283 printf("total texels=%f time=%f\n", total, time); 284 DownloadRate = total / time;
|
| /xsrc/external/mit/pixman/dist/pixman/ |
| pixman-filter.c | 255 double total, e; local 265 total = 0; 287 total += *p; 295 total = 65536.0 / total; 300 double v = (*p) * total + e;
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/ |
| i830_bios.c | 57 uint16_t total, current_size; local 62 total = bdb->bdb_size; 65 while (index < total) {
|