Searched refs:mem_count (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/mem/swapping/ |
D | swapping01.c | 128 long mem_count; in do_alloc() local 132 mem_count = mem_free_init + mem_over; in do_alloc() 133 tst_resm(TINFO, "try to allocate: %ld MB", mem_count / 1024); in do_alloc() 134 s = malloc(mem_count * 1024); in do_alloc() 137 memset(s, 1, mem_count * 1024); in do_alloc() 138 tst_resm(TINFO, "memory allocated: %ld MB", mem_count / 1024); in do_alloc()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | 0020-opj_aligned_malloc.patch | 18 h.mem_count = opj_dwt_max_resolution(tr, numres); 19 + if (((OPJ_UINT32)-1) / (OPJ_UINT32)sizeof(OPJ_INT32) < (OPJ_UINT32)h.mem_count) { 22 h.mem = (OPJ_INT32*)opj_aligned_malloc(h.mem_count * sizeof(OPJ_INT32));
|
D | 0003-dwt-decode.patch | 17 + OPJ_SIZE_T mem_count; 106 + opj_dwt_decode_1_(v->mem, v->mem_count, v->dn, v->sn, v->cas); 181 + h.mem_count = opj_dwt_max_resolution(tr, numres); 182 + h.mem = (OPJ_INT32*)opj_aligned_malloc(h.mem_count * sizeof(OPJ_INT32)); 188 + v.mem_count = h.mem_count;
|
D | dwt.c | 54 OPJ_SIZE_T mem_count; member 334 opj_dwt_decode_1_(v->mem, v->mem_count, v->dn, v->sn, v->cas); in opj_dwt_decode_1() 578 h.mem_count = opj_dwt_max_resolution(tr, numres); in opj_dwt_decode_tile() 579 if (((OPJ_UINT32)-1) / (OPJ_UINT32)sizeof(OPJ_INT32) < (OPJ_UINT32)h.mem_count) { in opj_dwt_decode_tile() 582 h.mem = (OPJ_INT32*)opj_aligned_malloc(h.mem_count * sizeof(OPJ_INT32)); in opj_dwt_decode_tile() 588 v.mem_count = h.mem_count; in opj_dwt_decode_tile()
|