Searched refs:mem_count (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/mem/swapping/ |
D | swapping01.c | 103 long mem_count; in do_alloc() local 108 mem_count = mem_available_init + mem_over; in do_alloc() 109 tst_res(TINFO, "try to allocate: %ld MB", mem_count / 1024); in do_alloc() 110 s = SAFE_MALLOC(mem_count * 1024); in do_alloc() 111 memset(s, 1, mem_count * 1024); in do_alloc() 112 tst_res(TINFO, "memory allocated: %ld MB", mem_count / 1024); in do_alloc()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | 0003-dwt-decode.patch | 19 + OPJ_SIZE_T mem_count; 113 + opj_dwt_decode_1_(v->mem, v->mem_count, v->dn, v->sn, v->cas); 196 + h.mem_count = opj_dwt_max_resolution(tr, numres); 199 + if (h.mem_count > (SIZE_MAX / PARALLEL_COLS_53 / sizeof(OPJ_INT32))) { 207 + h_mem_size = h.mem_count * PARALLEL_COLS_53 * sizeof(OPJ_INT32); 214 + v.mem_count = h.mem_count; 233 + h.mem_count = opj_dwt_max_resolution(tr, numres); 237 + if (h.mem_count > (SIZE_MAX / (4 * sizeof(OPJ_INT32)))) { 244 + h_mem_size = h.mem_count * 4 * sizeof(OPJ_INT32); 252 + v.mem_count = h.mem_count; [all …]
|
D | dwt.c | 82 OPJ_SIZE_T mem_count; member 414 opj_dwt_decode_1_(v->mem, v->mem_count, v->dn, v->sn, v->cas); in opj_dwt_decode_1() 1410 h.mem_count = opj_dwt_max_resolution(tr, numres); in opj_dwt_decode_tile() 1412 if (h.mem_count > (SIZE_MAX / PARALLEL_COLS_53 / sizeof(OPJ_INT32))) { in opj_dwt_decode_tile() 1419 h_mem_size = h.mem_count * PARALLEL_COLS_53 * sizeof(OPJ_INT32); in opj_dwt_decode_tile() 1426 v.mem_count = h.mem_count; in opj_dwt_decode_tile() 1985 h.mem_count = opj_dwt_max_resolution(tr, numres); in opj_dwt_decode_partial_tile() 1988 if (h.mem_count > (SIZE_MAX / (4 * sizeof(OPJ_INT32)))) { in opj_dwt_decode_partial_tile() 1994 h_mem_size = h.mem_count * 4 * sizeof(OPJ_INT32); in opj_dwt_decode_partial_tile() 2002 v.mem_count = h.mem_count; in opj_dwt_decode_partial_tile() [all …]
|