Searched refs:mem_count (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/mem/swapping/ |
D | swapping01.c | 102 long mem_count; in do_alloc() local 107 mem_count = mem_available_init + mem_over; in do_alloc() 108 tst_res(TINFO, "try to allocate: %ld MB", mem_count / 1024); in do_alloc() 109 s = SAFE_MALLOC(mem_count * 1024); in do_alloc() 110 memset(s, 1, mem_count * 1024); in do_alloc() 111 tst_res(TINFO, "memory allocated: %ld MB", mem_count / 1024); in do_alloc()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | 0003-dwt-decode.patch | 18 + 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 416 opj_dwt_decode_1_(v->mem, v->mem_count, v->dn, v->sn, v->cas); in opj_dwt_decode_1() 1412 h.mem_count = opj_dwt_max_resolution(tr, numres); in opj_dwt_decode_tile() 1414 if (h.mem_count > (SIZE_MAX / PARALLEL_COLS_53 / sizeof(OPJ_INT32))) { in opj_dwt_decode_tile() 1421 h_mem_size = h.mem_count * PARALLEL_COLS_53 * sizeof(OPJ_INT32); in opj_dwt_decode_tile() 1428 v.mem_count = h.mem_count; in opj_dwt_decode_tile() 1987 h.mem_count = opj_dwt_max_resolution(tr, numres); in opj_dwt_decode_partial_tile() 1990 if (h.mem_count > (SIZE_MAX / (4 * sizeof(OPJ_INT32)))) { in opj_dwt_decode_partial_tile() 1996 h_mem_size = h.mem_count * 4 * sizeof(OPJ_INT32); in opj_dwt_decode_partial_tile() 2004 v.mem_count = h.mem_count; in opj_dwt_decode_partial_tile() [all …]
|