Home
last modified time | relevance | path

Searched refs:mem_count (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/mem/swapping/
Dswapping01.c129 long mem_count; in do_alloc() local
134 mem_count = mem_available_init + mem_over; in do_alloc()
135 tst_resm(TINFO, "try to allocate: %ld MB", mem_count / 1024); in do_alloc()
136 s = malloc(mem_count * 1024); in do_alloc()
139 memset(s, 1, mem_count * 1024); in do_alloc()
140 tst_resm(TINFO, "memory allocated: %ld MB", mem_count / 1024); in do_alloc()
/external/pdfium/third_party/libopenjpeg20/
D0020-opj_aligned_malloc.patch18 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));
D0003-dwt-decode.patch17 + 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;
Ddwt.c54 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()