| /src/external/mit/libuv/dist/test/ |
| test-get-memory.c | 27 uint64_t total_mem = uv_get_total_memory(); local 31 printf("free_mem=%llu, total_mem=%llu, constrained_mem=%llu, " 34 (unsigned long long) total_mem, 39 ASSERT_GT(total_mem, 0); 42 ASSERT_EQ(total_mem, free_mem); 44 ASSERT_GT(total_mem, free_mem); 46 ASSERT_LE(available_mem, total_mem);
|
| /src/external/bsd/flex/dist/tests/ |
| mem_nr.l | 67 static size_t total_mem=0; 93 total_mem += n; 112 printf("yyflex_alloc(%8ld) total=%8ld return=%#10lx\n",(long)n,(long)total_mem,(long)p); 122 total_mem -= ptrs[i].sz; 123 total_mem += n; 128 (long)p,(long)n,(long)total_mem,(long)ptrs[i].p); 143 total_mem -= ptrs[i].sz; 148 printf("yyflex_free(%#10lx) total=%8ld\n",(long)p,(long)total_mem); 173 if ( nptrs > 0 || total_mem > 0){ 174 fprintf(stderr,"Oops. Looks like a memory leak: nptrs=%d, unfreed memory=%ld\n",nptrs,(long)total_mem); [all...] |
| mem_r.l | 67 static size_t total_mem=0; 95 total_mem += n; 114 printf("yyflex_alloc(%8ld) total=%8ld return=%#10lx\n",(long)n,(long)total_mem,(long)p); 126 total_mem -= ptrs[i].sz; 127 total_mem += n; 132 (long)p,(long)n,(long)total_mem,(long)ptrs[i].p); 149 total_mem -= ptrs[i].sz; 154 printf("yyflex_free(%#10lx) total=%8ld\n",(long)p,(long)total_mem); 181 if ( nptrs > 0 || total_mem > 0){ 182 fprintf(stderr,"Oops. Looks like a memory leak: nptrs=%d, unfreed memory=%ld\n",nptrs,(long)total_mem); [all...] |
| /src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| vmwgfx_validation.c | 126 ctx->total_mem += ctx->vm->gran; 165 if (ctx->vm && ctx->total_mem) { 166 ctx->vm->unreserve_mem(ctx->vm, ctx->total_mem); 167 ctx->total_mem = 0;
|
| vmwgfx_validation.h | 75 * @total_mem: Amount of reserved memory. 90 size_t total_mem; member in struct:vmw_validation_context
|
| /src/external/gpl3/gcc/dist/libgomp/plugin/ |
| plugin-nvptx.c | 2091 size_t total_mem; local 2093 CUDA_CALL_ERET (propval, cuDeviceTotalMem, &total_mem, ptx_dev->dev); 2094 propval.val = total_mem; 2099 size_t total_mem; local 2105 CUDA_CALL_ERET (propval, cuMemGetInfo, &free_mem, &total_mem); 2111 CUDA_CALL_ERET (propval, cuMemGetInfo, &free_mem, &total_mem); 2120 CUDA_CALL_ERET (propval, cuMemGetInfo, &free_mem, &total_mem);
|
| /src/external/gpl3/gcc.old/dist/libgomp/plugin/ |
| plugin-nvptx.c | 1859 size_t total_mem; local 1861 CUDA_CALL_ERET (propval, cuDeviceTotalMem, &total_mem, ptx_dev->dev); 1862 propval.val = total_mem; 1867 size_t total_mem; local 1873 CUDA_CALL_ERET (propval, cuMemGetInfo, &free_mem, &total_mem); 1879 CUDA_CALL_ERET (propval, cuMemGetInfo, &free_mem, &total_mem); 1888 CUDA_CALL_ERET (propval, cuMemGetInfo, &free_mem, &total_mem);
|
| /src/sys/arch/sun3/sun3x/ |
| pmap.c | 915 unsigned int total_mem; local 931 total_mem = 0; 933 avail_mem[i].pmem_pvbase = m68k_btop(total_mem); 934 total_mem += avail_mem[i].pmem_seg->ps_end -
|