Lines Matching refs:last_bytes_read
1175 size_t last_bytes_read; in hfslib_read_volume_header() local
1211 if ((last_bytes_read = hfslib_read_fork_descriptor(ptr, in hfslib_read_volume_header()
1214 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_volume_header()
1216 if ((last_bytes_read = hfslib_read_fork_descriptor(ptr, in hfslib_read_volume_header()
1219 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_volume_header()
1221 if ((last_bytes_read = hfslib_read_fork_descriptor(ptr, in hfslib_read_volume_header()
1224 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_volume_header()
1226 if ((last_bytes_read = hfslib_read_fork_descriptor(ptr, in hfslib_read_volume_header()
1229 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_volume_header()
1231 if ((last_bytes_read = hfslib_read_fork_descriptor(ptr, in hfslib_read_volume_header()
1234 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_volume_header()
1358 size_t last_bytes_read; in hfslib_reada_node() local
1412 last_bytes_read = hfslib_read_header_node(header_rec_offset, in hfslib_reada_node()
1414 if (last_bytes_read == 0) in hfslib_reada_node()
1478 last_bytes_read = hfslib_reada_node_offsets((uint8_t*)in_bytes + nodesize - in hfslib_reada_node()
1480 if (last_bytes_read == 0) in hfslib_reada_node()
1524 last_bytes_read = hfslib_read_catalog_keyed_record(ptr, NULL, in hfslib_reada_node()
1526 if (last_bytes_read == 0) in hfslib_reada_node()
1665 size_t last_bytes_read; in hfslib_read_catalog_keyed_record() local
1685 last_bytes_read = hfslib_read_unistr255(ptr, &out_key->name); in hfslib_read_catalog_keyed_record()
1686 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1688 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1720 last_bytes_read = hfslib_read_bsd_data(ptr, in hfslib_read_catalog_keyed_record()
1722 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1724 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1726 last_bytes_read = hfslib_read_folder_userinfo(ptr, in hfslib_read_catalog_keyed_record()
1728 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1730 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1732 last_bytes_read = hfslib_read_folder_finderinfo(ptr, in hfslib_read_catalog_keyed_record()
1734 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1736 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1754 last_bytes_read = hfslib_read_bsd_data(ptr, in hfslib_read_catalog_keyed_record()
1756 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1758 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1760 last_bytes_read = hfslib_read_file_userinfo(ptr, in hfslib_read_catalog_keyed_record()
1762 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1764 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1766 last_bytes_read = hfslib_read_file_finderinfo(ptr, in hfslib_read_catalog_keyed_record()
1768 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1770 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1775 last_bytes_read = hfslib_read_fork_descriptor(ptr, in hfslib_read_catalog_keyed_record()
1777 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1779 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1781 last_bytes_read = hfslib_read_fork_descriptor(ptr, in hfslib_read_catalog_keyed_record()
1783 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1785 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1795 last_bytes_read = hfslib_read_unistr255(ptr, in hfslib_read_catalog_keyed_record()
1797 if (last_bytes_read == 0) in hfslib_read_catalog_keyed_record()
1799 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_catalog_keyed_record()
1822 size_t last_bytes_read; in hfslib_read_extent_record() local
1853 last_bytes_read = hfslib_read_extent_descriptors(ptr, out_rec); in hfslib_read_extent_record()
1854 if (last_bytes_read == 0) in hfslib_read_extent_record()
1856 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_extent_record()
1908 size_t last_bytes_read; in hfslib_read_fork_descriptor() local
1919 if ((last_bytes_read = hfslib_read_extent_descriptors(ptr, in hfslib_read_fork_descriptor()
1922 ptr = (uint8_t*)ptr + last_bytes_read; in hfslib_read_fork_descriptor()