Lines Matching refs:oob
1224 const u_char *oob, int autoecc) in doc_write_page() argument
1246 if (oob && autoecc) { in doc_write_page()
1247 doc_write_page_putbytes(docg3, DOC_LAYOUT_OOB_PAGEINFO_SZ, oob); in doc_write_page()
1249 oob += DOC_LAYOUT_OOB_UNUSED_OFS; in doc_write_page()
1261 doc_write_page_putbytes(docg3, DOC_LAYOUT_OOB_UNUSED_SZ, oob); in doc_write_page()
1263 if (oob && !autoecc) in doc_write_page()
1264 doc_write_page_putbytes(docg3, DOC_LAYOUT_OOB_SIZE, oob); in doc_write_page()
1382 u8 oob[DOC_LAYOUT_OOB_SIZE]; in doc_write_oob() local
1430 memset(oob, 0, sizeof(oob)); in doc_write_oob()
1432 memcpy(oob, docg3->oob_write_buf, DOC_LAYOUT_OOB_SIZE); in doc_write_oob()
1434 doc_fill_autooob(oob, oobbuf); in doc_write_oob()
1436 memcpy(oob, oobbuf, DOC_LAYOUT_OOB_SIZE); in doc_write_oob()
1437 ret = doc_write_page(docg3, ofs, buf, oob, autoecc); in doc_write_oob()