Searched refs:magic_offset (Results 1 – 3 of 3) sorted by relevance
/third_party/toybox/toys/other/ |
D | blkid.c | 42 int magic_len, magic_offset, uuid_off, label_len, label_off; member 105 if (fstypes[i].magic_offset > off+sizeof(toybuf)) { in do_blkid() 109 if (fstypes[i].magic_offset < off) continue; in do_blkid() 114 test += ((uint64_t)toybuf[j+fstypes[i].magic_offset-off])<<(8*j); in do_blkid()
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gstjpeg2000parse.c | 363 guint magic_offset = -1; in gst_jpeg2000_parse_handle_frame() local 366 magic_offset = gst_byte_reader_masked_scan_uint32_peek (&reader, 0xffffffff, in gst_jpeg2000_parse_handle_frame() 369 if (magic_offset == -1) in gst_jpeg2000_parse_handle_frame() 372 magic_offset); in gst_jpeg2000_parse_handle_frame() 374 if (magic_offset > 0) { in gst_jpeg2000_parse_handle_frame() 377 GST_JPEG2000_PARSE_J2C_BOX_ID, 0, magic_offset, NULL); in gst_jpeg2000_parse_handle_frame() 381 if (j2c_box_id_offset + GST_JPEG2000_JP2_SIZE_OF_BOX_ID != magic_offset in gst_jpeg2000_parse_handle_frame() 431 *skipsize = magic_offset; in gst_jpeg2000_parse_handle_frame()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 1889 tdb_off_t *magic_offset) in transaction_setup_recovery() argument 1978 *magic_offset = recovery_offset + offsetof(struct list_struct, magic); in transaction_setup_recovery() 1980 if (methods->tdb_write(tdb, *magic_offset, &magic, sizeof(magic)) == -1) { in transaction_setup_recovery() 1987 if (transaction_sync(tdb, *magic_offset, sizeof(magic)) == -1) { in transaction_setup_recovery() 2000 tdb_off_t magic_offset = 0; in tdb_transaction_commit() local 2056 if (transaction_setup_recovery(tdb, &magic_offset) == -1) { in tdb_transaction_commit() 2110 if (methods->tdb_write(tdb, magic_offset, &zero, 4) == -1) { in tdb_transaction_commit() 2116 if (transaction_sync(tdb, magic_offset, 4) == -1) { in tdb_transaction_commit()
|