Searched refs:mask_buf (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libsepol/src/ |
D | nodes.c | 21 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/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_image.cpp | 207 FX_LPBYTE mask_buf = NULL; in SetImage() local 217 … _DCTEncodeBitmap(pMaskDict, pMaskBitmap, pParam ? pParam->nQuality : 75, mask_buf, mask_size); in SetImage() 219 _JBIG2EncodeBitmap(pMaskDict, pMaskBitmap, m_pDocument, mask_buf, mask_size, TRUE); in SetImage() 221 mask_buf = FX_Alloc2D(FX_BYTE, maskHeight, maskWidth); in SetImage() 224 FXSYS_memcpy32(mask_buf + a * maskWidth, pMaskBitmap->GetScanline(a), maskWidth); in SetImage() 237 CPDF_Stream* pMaskStream = new CPDF_Stream(mask_buf, mask_size, pMaskDict); in SetImage()
|