Home
last modified time | relevance | path

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

/external/libpng/
Dpngset.c1376 unsigned int num_chunks, old_num_chunks; in png_set_keep_unknown_chunks() local
1442 old_num_chunks = png_ptr->num_chunk_list; in png_set_keep_unknown_chunks()
1444 old_num_chunks = 0; in png_set_keep_unknown_chunks()
1448 if (num_chunks + old_num_chunks > UINT_MAX/5) in png_set_keep_unknown_chunks()
1462 5 * (num_chunks + old_num_chunks))); in png_set_keep_unknown_chunks()
1464 if (old_num_chunks > 0) in png_set_keep_unknown_chunks()
1465 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks); in png_set_keep_unknown_chunks()
1468 else if (old_num_chunks > 0) in png_set_keep_unknown_chunks()
1487 old_num_chunks = add_one_chunk(new_list, old_num_chunks, in png_set_keep_unknown_chunks()
1493 for (i=0, inlist=outlist=new_list; i<old_num_chunks; ++i, inlist += 5) in png_set_keep_unknown_chunks()
/external/pdfium/third_party/libpng16/
Dpngset.c1376 unsigned int num_chunks, old_num_chunks; in png_set_keep_unknown_chunks() local
1442 old_num_chunks = png_ptr->num_chunk_list; in png_set_keep_unknown_chunks()
1444 old_num_chunks = 0; in png_set_keep_unknown_chunks()
1448 if (num_chunks + old_num_chunks > UINT_MAX/5) in png_set_keep_unknown_chunks()
1462 5 * (num_chunks + old_num_chunks))); in png_set_keep_unknown_chunks()
1464 if (old_num_chunks > 0) in png_set_keep_unknown_chunks()
1465 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks); in png_set_keep_unknown_chunks()
1468 else if (old_num_chunks > 0) in png_set_keep_unknown_chunks()
1487 old_num_chunks = add_one_chunk(new_list, old_num_chunks, in png_set_keep_unknown_chunks()
1493 for (i=0, inlist=outlist=new_list; i<old_num_chunks; ++i, inlist += 5) in png_set_keep_unknown_chunks()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_primary64.h121 uptr old_num_chunks = region->num_freed_chunks; in ReturnToAllocator() local
122 uptr new_num_freed_chunks = old_num_chunks + n_chunks; in ReturnToAllocator()
133 free_array[old_num_chunks + i] = chunks[i]; in ReturnToAllocator()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c1555 unsigned old_num_chunks = num_chunks; in amdgpu_cs_submit_ib() local
1610 num_chunks = old_num_chunks; in amdgpu_cs_submit_ib()