/third_party/mesa3d/src/freedreno/decode/ |
H A D | pgmdump.c | 278 next_sect(struct state *state, int *sect_size) in next_sect() argument 286 *sect_size = end - state->buf; in next_sect() 289 sect = malloc(ALIGN(*sect_size, 4)); in next_sect() 290 memcpy(sect, state->buf, *sect_size); in next_sect() 292 state->sz -= *sect_size + 4; in next_sect() 433 int i, sect_size; in dump_shaders_a2xx() local 438 struct vs_header *vs_hdr = next_sect(state, §_size); in dump_shaders_a2xx() 446 printf("######## VS%d HEADER: (size %d)\n", i, sect_size); in dump_shaders_a2xx() 447 dump_hex((void *)vs_hdr, sect_size); in dump_shaders_a2xx() 451 constants[j] = next_sect(state, §_size); in dump_shaders_a2xx() 539 int instrs_size, hdr_size, sect_size, nconsts = 0, level = 0, compact = 0; dump_shaders_a3xx() local 620 int instrs_size, hdr_size, sect_size, nconsts = 0, level = 0, compact = 0; dump_shaders_a3xx() local 703 int i, sect_size; dump_program() local [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | device.c | 857 int sect_size = 0; in ntfs_device_sector_size_get() local 859 if (!dev->d_ops->ioctl(dev, BLKSSZGET, §_size)) { in ntfs_device_sector_size_get() 861 sect_size); in ntfs_device_sector_size_get() 862 return sect_size; in ntfs_device_sector_size_get() 868 size_t sect_size = 0; in ntfs_device_sector_size_get() local 870 if (!dev->d_ops->ioctl(dev, DIOCGSECTORSIZE, §_size)) { in ntfs_device_sector_size_get() 872 (int) sect_size); in ntfs_device_sector_size_get() 873 return sect_size; in ntfs_device_sector_size_get() 879 uint32_t sect_size = 0; in ntfs_device_sector_size_get() local 881 if (!dev->d_ops->ioctl(dev, DKIOCGETBLOCKSIZE, §_size)) { in ntfs_device_sector_size_get() [all...] |
/third_party/exfatprogs/fsck/ |
H A D | fsck.c | 300 int bs_offset, unsigned int sect_size) in boot_region_checksum() 307 sect = malloc(sect_size); in boot_region_checksum() 313 if (exfat_read(dev_fd, sect, sect_size, in boot_region_checksum() 314 bs_offset * sect_size + i * sect_size) != in boot_region_checksum() 315 (ssize_t)sect_size) { in boot_region_checksum() 320 boot_calc_checksum(sect, sect_size, i == 0, &checksum); in boot_region_checksum() 323 if (exfat_read(dev_fd, sect, sect_size, in boot_region_checksum() 324 bs_offset * sect_size + 11 * sect_size) ! in boot_region_checksum() 299 boot_region_checksum(int dev_fd, int bs_offset, unsigned int sect_size) boot_region_checksum() argument 368 read_boot_region(struct exfat_blk_dev *bd, struct pbr **pbr, int bs_offset, unsigned int sect_size, bool verbose) read_boot_region() argument 453 restore_boot_region(struct exfat_blk_dev *bd, unsigned int sect_size) restore_boot_region() argument 499 unsigned int sect_size; exfat_boot_region_check() local [all...] |
/third_party/exfatprogs/include/ |
H A D | exfat_fs.h | 40 unsigned int sect_size; member 86 unsigned int clu_size, unsigned int sect_size);
|
/third_party/exfatprogs/lib/ |
H A D | exfat_fs.c | 139 exfat->sect_size = EXFAT_SECTOR_SIZE(bs); in exfat_alloc_exfat() 177 unsigned int clu_size, unsigned int sect_size) in exfat_alloc_buffer() 190 bd[i].dirty = (char *)calloc(clu_size / sect_size, 1); in exfat_alloc_buffer() 176 exfat_alloc_buffer(int count, unsigned int clu_size, unsigned int sect_size) exfat_alloc_buffer() argument
|
H A D | libexfat.c | 818 unsigned int sect_size, clu_size; in read_boot_sect() local 835 sect_size = 1 << pbr->bsx.sect_size_bits; in read_boot_sect() 839 if (sect_size < 512 || sect_size > 4 * KB) { in read_boot_sect() 841 sect_size); in read_boot_sect() 845 if (clu_size < sect_size || clu_size > 32 * MB) { in read_boot_sect()
|
H A D | exfat_dir.c | 226 iter->write_size = exfat->sect_size; in exfat_de_iter_init() 362 bd = exfat_alloc_buffer(2, exfat->clus_size, exfat->sect_size); in exfat_lookup_dentry_set()
|
/third_party/exfatprogs/exfat2img/ |
H A D | exfat2img.c | 123 ei->exfat->sect_size); in create_exfat2img() 131 ei->exfat->sect_size); in create_exfat2img() 732 exfat->sect_size); in dump_header()
|
/third_party/elfio/elfio/ |
H A D | elfio.hpp | 543 Elf_Xword sect_size, 548 ( sect_begin + sect_size <= seg_end ) && 550 seg_end ); // this is important criteria when sect_size == 0 552 // sect_begin=12, sect_size=0 -> shall return false!
|