Home
last modified time | relevance | path

Searched refs:mask_buf (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dnodes.c21 char *addr_buf = NULL, *mask_buf = NULL; in node_from_record() local
32 if (sepol_node_get_mask_bytes(handle, data, &mask_buf, &mask_bsize) < 0) in node_from_record()
40 memcpy(&tmp_node->u.node.mask, mask_buf, mask_bsize); in node_from_record()
44 memcpy(tmp_node->u.node6.mask, mask_buf, mask_bsize); in node_from_record()
51 free(mask_buf); in node_from_record()
53 mask_buf = NULL; in node_from_record()
78 free(mask_buf); in node_from_record()
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp264 std::unique_ptr<uint8_t, FxFreeDeleter> mask_buf; in SetImage() local
275 mask_buf.reset(FX_Alloc2D(uint8_t, maskHeight, maskWidth)); in SetImage()
278 memcpy(mask_buf.get() + a * maskWidth, pMaskBitmap->GetScanline(a), in SetImage()
284 std::move(mask_buf), mask_size, std::move(pMaskDict)); in SetImage()