/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 | 82 if (isl_format_get_layout(info->format)->bpb % 3 == 0) in isl_gfx125_filter_tiling() 112 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_gfx125_choose_image_alignment_el() 150 } else if (!isl_is_pow2(fmtl->bpb)) { in isl_gfx125_choose_image_alignment_el() 174 *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_surface_state.c | 176 } else if (isl_format_get_layout(surf->format)->bpb % 3 == 0) { in get_image_alignment() 185 const uint32_t bs = isl_format_get_layout(surf->format)->bpb / 8; in get_image_alignment() 320 assert(surf_fmtl->bpb == view_fmtl->bpb); in isl_genX() 598 assert(isl_is_pow2(isl_format_get_layout(info->view->format)->bpb)); in isl_genX() 606 if (isl_format_get_layout(info->view->format)->bpb == 8) in isl_genX() 608 if (isl_format_get_layout(info->view->format)->bpb == 16) in isl_genX() 873 info->stride_B < isl_format_get_layout(info->format)->bpb / 8) && in isl_genX() 948 info->stride_B == isl_format_get_layout(info->format)->bpb / 8 && in isl_genX()
|
D | isl.c | 1565 const uint32_t bs = fmtl->bpb / 8; in isl_calc_row_pitch_alignment() 1609 const uint32_t bs = fmtl->bpb / 8; in isl_calc_linear_min_row_pitch() 1623 assert(fmtl->bpb % tile_info->format_bpb == 0); in isl_calc_tiled_min_row_pitch() 1625 const uint32_t tile_el_scale = fmtl->bpb / tile_info->format_bpb; in isl_calc_tiled_min_row_pitch() 1764 isl_tiling_get_info(tiling, info->dim, msaa_layout, fmtl->bpb, in isl_surf_init_s() 1814 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 4); in isl_surf_init_s() 1816 base_alignment_B = MAX(base_alignment_B, fmtl->bpb / 8); in isl_surf_init_s() 1942 isl_tiling_get_info(surf->tiling, surf->dim, surf->msaa_layout, fmtl->bpb, in isl_surf_get_tile_info() 2140 if (!isl_is_pow2(isl_format_get_layout(surf->format)->bpb)) in isl_surf_supports_ccs() 2272 if (isl_format_get_layout(surf->format)->bpb < 32) in isl_surf_supports_ccs() [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 | 1317 uint16_t bpb; /**< Bits per block */ member 2490 assert(surf->row_pitch_B % (fmtl->bpb / 8) == 0); in isl_surf_get_row_pitch_el() 2491 return surf->row_pitch_B / (fmtl->bpb / 8); in isl_surf_get_row_pitch_el() 2709 uint32_t bpb, 2777 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 | 200 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() 2534 get_copy_format_for_bpb(const struct isl_device *isl_dev, unsigned bpb) in get_copy_format_for_bpb() argument 2550 switch (bpb) { in get_copy_format_for_bpb() 2563 switch (bpb) { in get_copy_format_for_bpb() 2838 } else if (src_fmtl->bpb == dst_fmtl->bpb) { in blorp_copy() 2842 get_copy_format_for_bpb(isl_dev, src_fmtl->bpb); in blorp_copy() 2847 if (src_fmtl->bpb == dst_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/flutter/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/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/icu/icu4c/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/icu/tools/unicode/c/genprops/ |
D | bidipropsbuilder.cpp | 281 if(!(bpt==0 ? props.bpb==U_SENTINEL : props.bpb==props.bmg)) { in setProps()
|