/third_party/FreeBSD/sbin/newfs_msdos/ |
D | mkfs_msdos.c | 157 struct bpb { struct 180 struct bpb bpb; member 230 static int getstdfmt(const char *, struct bpb *); 231 static int getdiskinfo(int, const char *, const char *, int, struct bpb *); 232 static void print_bpb(struct bpb *); 245 struct bpb bpb; in mkfs_msdos() local 313 memset(&bpb, 0, sizeof(bpb)); in mkfs_msdos() 315 if (getstdfmt(o.floppy, &bpb) == -1) in mkfs_msdos() 317 bpb.bpbHugeSectors = bpb.bpbSectors; in mkfs_msdos() 318 bpb.bpbSectors = 0; in mkfs_msdos() [all …]
|
/third_party/ntfs-3g/libntfs-3g/ |
D | bootsect.c | 76 if (le16_to_cpu(b->bpb.bytes_per_sector) < 256 || in ntfs_boot_sector_is_ntfs() 77 le16_to_cpu(b->bpb.bytes_per_sector) > 4096) { in ntfs_boot_sector_is_ntfs() 79 le16_to_cpu(b->bpb.bytes_per_sector)); in ntfs_boot_sector_is_ntfs() 84 switch (b->bpb.sectors_per_cluster) { in ntfs_boot_sector_is_ntfs() 88 if ((b->bpb.sectors_per_cluster < 240) in ntfs_boot_sector_is_ntfs() 89 || (b->bpb.sectors_per_cluster > 253)) { in ntfs_boot_sector_is_ntfs() 90 if (b->bpb.sectors_per_cluster > 128) in ntfs_boot_sector_is_ntfs() 93 b->bpb.sectors_per_cluster); in ntfs_boot_sector_is_ntfs() 97 b->bpb.sectors_per_cluster); in ntfs_boot_sector_is_ntfs() 103 if (b->bpb.sectors_per_cluster > 128) in ntfs_boot_sector_is_ntfs() [all …]
|
/third_party/mesa3d/src/intel/isl/ |
D | isl_gfx9.c | 43 const uint32_t bpb = fmtl->bpb; in gfx9_calc_std_image_alignment_sa() local 52 .w = 1 << (12 - (ffs(bpb) - 4) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 63 .w = 1 << (6 - ((ffs(bpb) - 4) / 2) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 64 .h = 1 << (6 - ((ffs(bpb) - 3) / 2) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 89 .w = 1 << (4 - ((ffs(bpb) - 2) / 3) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 90 .h = 1 << (4 - ((ffs(bpb) - 4) / 3) + (2 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 91 .d = 1 << (4 - ((ffs(bpb) - 3) / 3) + (2 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
|
D | isl_gfx12.c | 89 if (isl_format_get_layout(info->format)->bpb % 3 == 0) in isl_gfx125_filter_tiling() 131 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_gfx125_choose_image_alignment_el() 169 } else if (!isl_is_pow2(fmtl->bpb)) { in isl_gfx125_choose_image_alignment_el() 193 *image_align_el = isl_extent3d(128 * 8 / fmtl->bpb, 4, 1); in isl_gfx125_choose_image_alignment_el()
|
D | isl_storage_image.c | 208 return isl_format_get_layout(fmt)->bpb <= 64; in isl_has_matching_typed_storage_image_format() 210 return isl_format_get_layout(fmt)->bpb <= 32; in isl_has_matching_typed_storage_image_format() 254 const int cpp = isl_format_get_layout(surf->format)->bpb / 8; in isl_surf_fill_image_param() 326 param->stride[0] = isl_format_get_layout(format)->bpb / 8; in isl_buffer_fill_image_param()
|
D | isl_genX_helpers.h | 91 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in isl_get_image_alignment() 100 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in isl_get_image_alignment()
|
D | isl_surface_state.c | 128 const uint32_t plane_bpb = isl_format_get_layout(lowered_format)->bpb; in get_media_compression_format() 191 assert(surf_fmtl->bpb == view_fmtl->bpb); in isl_genX() 494 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX() 502 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX() 504 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX() 810 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) && in isl_genX() 885 info->stride_B == isl_format_get_layout(info->format)->bpb / 8 && in isl_genX()
|
D | isl.c | 1627 const uint32_t bs = fmtl->bpb / 8; in isl_calc_row_pitch_alignment() 1671 const uint32_t bs = fmtl->bpb / 8; in isl_calc_linear_min_row_pitch() 1685 assert(fmtl->bpb % tile_info->format_bpb == 0); in isl_calc_tiled_min_row_pitch() 1687 const uint32_t tile_el_scale = fmtl->bpb / tile_info->format_bpb; in isl_calc_tiled_min_row_pitch() 1834 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_surf_init_s() 1884 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 4); in isl_surf_init_s() 1886 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 8); in isl_surf_init_s() 2012 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb, in isl_surf_get_tile_info() 2304 switch (isl_format_get_layout(surf->format)->bpb) { in isl_surf_get_ccs_surf() 2335 switch (isl_format_get_layout(surf->format)->bpb) { in isl_surf_get_ccs_surf() [all …]
|
D | isl_gfx4.c | 79 if (isl_format_get_layout(info->format)->bpb >= 128) in isl_gfx4_filter_tiling()
|
D | isl_gfx8.c | 177 fmtl->bpb == 32 && info->samples == 1) { in isl_gfx8_choose_image_alignment_el()
|
D | isl.h | 1329 uint16_t bpb; /**< Bits per block */ member 2582 assert(surf->row_pitch_B % (fmtl->bpb / 8) == 0); in isl_surf_get_row_pitch_el() 2583 return surf->row_pitch_B / (fmtl->bpb / 8); in isl_surf_get_row_pitch_el() 2801 uint32_t bpb, 2869 isl_tiling_get_intratile_offset_el(tiling, dim, msaa_layout, fmtl->bpb, in isl_tiling_get_intratile_offset_sa()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_formats.c | 204 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in iris_is_format_supported()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_storage_image.c | 404 assert(image_fmtl->bpb == 64 || image_fmtl->bpb == 128); in lower_image_load_instr() 405 enum isl_format raw_fmt = (image_fmtl->bpb == 64) ? in lower_image_load_instr() 431 nir_image_deref_load_raw_intel(b, image_fmtl->bpb / 32, 32, in lower_image_load_instr() 556 assert(image_fmtl->bpb == 64 || image_fmtl->bpb == 128); in lower_image_store_instr() 557 enum isl_format raw_fmt = (image_fmtl->bpb == 64) ? in lower_image_store_instr() 591 store->num_components = image_fmtl->bpb / 32; in lower_image_store_instr()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 881 assert(src_fmtl->bpb == dst_fmtl->bpb); in bit_cast_color() 883 if (src_fmtl->bpb <= 32) { in bit_cast_color() 1870 128 / (isl_format_get_layout(red_format)->bpb / 8); in surf_fake_rgb_with_red() 2125 if (isl_format_get_layout(params->dst.view.format)->bpb % 3 == 0) { in try_blorp_blit() 2498 if (fmtl->bpb == 96) { in blorp_copy_supports_blitter() 2618 get_copy_format_for_bpb(const struct isl_device *isl_dev, unsigned bpb) in get_copy_format_for_bpb() argument 2634 switch (bpb) { in get_copy_format_for_bpb() 2647 switch (bpb) { in get_copy_format_for_bpb() 2936 } else if (src_fmtl->bpb == dst_fmtl->bpb) { in blorp_copy() 2940 get_copy_format_for_bpb(isl_dev, src_fmtl->bpb); in blorp_copy() [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_formats.c | 549 supported &= fmtl->bpb != 24 && fmtl->bpb != 48 && fmtl->bpb != 96; in crocus_is_format_supported()
|
D | crocus_blt.c | 52 unsigned cpp = fmtl->bpb / 8; in blt_set_alpha_to_one() 243 unsigned src_cpp = src_fmtl->bpb / 8; in crocus_emit_blt() 245 const unsigned dst_cpp = dst_fmtl->bpb / 8; in crocus_emit_blt()
|
/third_party/exfatprogs/lib/ |
D | libexfat.c | 370 if (memcmp(bs->bpb.oem_name, "EXFAT ", 8) != 0) { in exfat_get_root_entry_offset() 572 if (memcmp(ppbr->bpb.oem_name, "EXFAT ", 8) != 0) { in exfat_show_volume_serial() 646 if (memcmp(ppbr->bpb.oem_name, "EXFAT ", 8) != 0) { in exfat_set_volume_serial() 830 if (memcmp(pbr->bpb.oem_name, "EXFAT ", 8) != 0) { in read_boot_sect()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | ppucd.cpp | 52 bmg(U_SENTINEL), bpb(U_SENTINEL), in UniProps() 406 props.bpb=U_SENTINEL; in parseProperty() 463 props.bpb=parseCodePoint(v, errorCode); in parseProperty()
|
D | ppucd.h | 53 UChar32 bmg, bpb; member
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_screen_cache.c | 47 unsigned bw, bh, bpb, total_size, i; in svga_surface_size() local 60 svga_format_size(key->format, &bw, &bh, &bpb); in svga_surface_size() 68 unsigned img_size = ((w + bw - 1) / bw) * ((h + bh - 1) / bh) * d * bpb; in svga_surface_size()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
D | ppucd.cpp | 44 bmg(U_SENTINEL), bpb(U_SENTINEL), in UniProps() 399 props.bpb=U_SENTINEL; in parseProperty() 456 props.bpb=parseCodePoint(v, errorCode); in parseProperty()
|
D | ppucd.h | 53 UChar32 bmg, bpb; member
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | ppucd.cpp | 52 bmg(U_SENTINEL), bpb(U_SENTINEL), in UniProps() 406 props.bpb=U_SENTINEL; in parseProperty() 463 props.bpb=parseCodePoint(v, errorCode); in parseProperty()
|
D | ppucd.h | 53 UChar32 bmg, bpb; member
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_formats.c | 454 if (!util_is_power_of_two_or_zero(isl_layout->bpb)) in anv_format_has_npot_plane() 503 (isl_layout->bpb == 24 || isl_layout->bpb == 48)) in anv_get_format_plane() 507 !util_is_power_of_two_or_zero(isl_layout->bpb)) { in anv_get_format_plane() 683 !util_is_power_of_two_or_zero(isl_format_layouts[base_isl_format].bpb) && in anv_get_image_format_features2() 1175 if (!util_is_power_of_two_or_zero(isl_layout->bpb)) in anv_get_image_format_properties()
|