Home
last modified time | relevance | path

Searched refs:bh (Results 1 – 25 of 155) sorted by relevance

1234567

/external/libvncserver/test/
Dbmp.c181 bmphdr bh; int flags=O_RDONLY; in loadbmp() local
193 readme(fd, &bh.bfType, sizeof(unsigned short)); in loadbmp()
194 if(!littleendian()) bh.bfType=byteswap16(bh.bfType); in loadbmp()
196 if(bh.bfType==0x3650) in loadbmp()
201 if(bh.bfType==0x3350) in loadbmp()
207 readme(fd, &bh.bfSize, sizeof(unsigned int)); in loadbmp()
208 readme(fd, &bh.bfReserved1, sizeof(unsigned short)); in loadbmp()
209 readme(fd, &bh.bfReserved2, sizeof(unsigned short)); in loadbmp()
210 readme(fd, &bh.bfOffBits, sizeof(unsigned int)); in loadbmp()
211 readme(fd, &bh.biSize, sizeof(unsigned int)); in loadbmp()
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dblock.c50 struct buffer_head *bh; in get_block_length() local
52 bh = sb_bread(sb, *cur_index); in get_block_length()
53 if (bh == NULL) in get_block_length()
57 *length = (unsigned char) bh->b_data[*offset]; in get_block_length()
58 put_bh(bh); in get_block_length()
59 bh = sb_bread(sb, ++(*cur_index)); in get_block_length()
60 if (bh == NULL) in get_block_length()
62 *length |= (unsigned char) bh->b_data[0] << 8; in get_block_length()
65 *length = (unsigned char) bh->b_data[*offset] | in get_block_length()
66 (unsigned char) bh->b_data[*offset + 1] << 8; in get_block_length()
[all …]
/external/e2fsprogs/e2fsck/
Drecovery.c74 struct buffer_head *bh; in do_readahead() local
97 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
98 if (!bh) { in do_readahead()
103 if (!buffer_uptodate(bh) && !buffer_locked(bh)) { in do_readahead()
104 bufs[nbufs++] = bh; in do_readahead()
111 brelse(bh); in do_readahead()
136 struct buffer_head *bh; in jread() local
153 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
154 if (!bh) in jread()
157 if (!buffer_uptodate(bh)) { in jread()
[all …]
Djournal.c70 struct buffer_head *bh; in getblk() local
71 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - in getblk()
72 sizeof(bh->b_data); in getblk()
74 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer"); in getblk()
75 if (!bh) in getblk()
85 bh->b_ctx = kdev->k_ctx; in getblk()
87 bh->b_io = kdev->k_ctx->fs->io; in getblk()
89 bh->b_io = kdev->k_ctx->journal_io; in getblk()
90 bh->b_size = blocksize; in getblk()
91 bh->b_blocknr = blocknr; in getblk()
[all …]
Drevoke.c287 struct buffer_head *bh = NULL; in journal_revoke() local
302 bh = bh_in; in journal_revoke()
304 if (!bh) { in journal_revoke()
305 bh = get_hash_table(dev, blocknr, journal->j_blocksize); in journal_revoke()
306 if (bh) in journal_revoke()
307 BUFFER_TRACE(bh, "found on hash"); in journal_revoke()
318 if ((bh2 != bh) && in journal_revoke()
336 if (bh) { in journal_revoke()
337 J_ASSERT_BH(bh, !test_bit(BH_Revoked, &bh->b_state)); in journal_revoke()
338 set_bit(BH_Revoked, &bh->b_state); in journal_revoke()
[all …]
Djfs_user.h44 #define lock_buffer(bh) do {} while(0) argument
45 #define unlock_buffer(bh) do {} while(0) argument
46 #define buffer_req(bh) 1 argument
140 void ll_rw_block(int rw, int dummy, struct buffer_head *bh[]);
141 void mark_buffer_dirty(struct buffer_head *bh);
142 void mark_buffer_uptodate(struct buffer_head *bh, int val);
143 void brelse(struct buffer_head *bh);
144 int buffer_uptodate(struct buffer_head *bh);
145 void wait_on_buffer(struct buffer_head *bh);
151 #define set_buffer_uptodate(bh) mark_buffer_uptodate(bh, 1) argument
/external/e2fsprogs/lib/ext2fs/
Dkernel-jbd.h258 void buffer_assertion_failure(struct buffer_head *bh);
259 #define J_ASSERT_BH(bh, expr) \ argument
262 buffer_assertion_failure(bh); \
267 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr) argument
285 static inline int buffer_jbd(struct buffer_head *bh) in buffer_jbd() argument
287 return __buffer_state(bh, JBD); in buffer_jbd()
295 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh() argument
297 return bh->b_private; in bh2jh()
612 extern void __journal_free_buffer(struct journal_head *bh);
732 *journal_add_journal_head(struct buffer_head *bh);
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_rgtc.c53 const unsigned bw = 4, bh = 4, comps = 4; in util_format_rgtc1_unorm_unpack_rgba_8unorm() local
57 for(y = 0; y < height; y += bh) { in util_format_rgtc1_unorm_unpack_rgba_8unorm()
60 for(j = 0; j < bh; ++j) { in util_format_rgtc1_unorm_unpack_rgba_8unorm()
79 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_unorm_pack_rgba_8unorm() local
82 for(y = 0; y < height; y += bh) { in util_format_rgtc1_unorm_pack_rgba_8unorm()
86 for(j = 0; j < bh; ++j) { in util_format_rgtc1_unorm_pack_rgba_8unorm()
126 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_unorm_pack_rgba_float() local
129 for(y = 0; y < height; y += bh) { in util_format_rgtc1_unorm_pack_rgba_float()
133 for(j = 0; j < bh; ++j) { in util_format_rgtc1_unorm_pack_rgba_float()
177 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_snorm_pack_rgba_float() local
[all …]
Du_format_etc.c28 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; in util_format_etc1_rgb8_unpack_rgba_float() local
32 for (y = 0; y < height; y += bh) { in util_format_etc1_rgb8_unpack_rgba_float()
38 for (j = 0; j < bh; j++) { in util_format_etc1_rgb8_unpack_rgba_float()
68 const unsigned bw = 4, bh = 4; in util_format_etc1_rgb8_fetch_rgba_float() local
72 assert(i < bw && j < bh); in util_format_etc1_rgb8_fetch_rgba_float()
Du_format_s3tc.c250 const unsigned bw = 4, bh = 4, comps = 4; in util_format_dxtn_rgb_unpack_rgba_8unorm() local
252 for(y = 0; y < height; y += bh) { in util_format_dxtn_rgb_unpack_rgba_8unorm()
255 for(j = 0; j < bh; ++j) { in util_format_dxtn_rgb_unpack_rgba_8unorm()
393 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_dxt1_rgb_pack_rgba_8unorm() local
395 for(y = 0; y < height; y += bh) { in util_format_dxt1_rgb_pack_rgba_8unorm()
399 for(j = 0; j < bh; ++j) { in util_format_dxt1_rgb_pack_rgba_8unorm()
418 const unsigned bw = 4, bh = 4, comps = 4, bytes_per_block = 8; in util_format_dxt1_rgba_pack_rgba_8unorm() local
420 for(y = 0; y < height; y += bh) { in util_format_dxt1_rgba_pack_rgba_8unorm()
424 for(j = 0; j < bh; ++j) { in util_format_dxt1_rgba_pack_rgba_8unorm()
443 const unsigned bw = 4, bh = 4, comps = 4, bytes_per_block = 16; in util_format_dxt3_rgba_pack_rgba_8unorm() local
[all …]
/external/mesa3d/src/mesa/main/
Dtexcompress.c451 GLuint bw, bh; in _mesa_compressed_image_address() local
454 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in _mesa_compressed_image_address()
457 ASSERT(row % bh == 0); in _mesa_compressed_image_address()
459 offset = ((width + bw - 1) / bw) * (row / bh) + col / bw; in _mesa_compressed_image_address()
480 GLuint bytes, bw, bh; in _mesa_decompress_image() local
483 _mesa_get_format_block_size(format, &bw, &bh); in _mesa_decompress_image()
492 texImage.RowStride = srcRowStride * bh / bytes; in _mesa_decompress_image()
Dtexcompress_etc_tmp.h146 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; in etc1_unpack_rgba8888() local
150 for (y = 0; y < height; y += bh) { in etc1_unpack_rgba8888()
156 for (j = 0; j < bh; j++) { in etc1_unpack_rgba8888()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_segmentation.c114 int bw, int bh, int mi_row, int mi_col) { in count_segs() argument
123 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); in count_segs()
156 int bw, bh; in count_segs_sb() local
163 bh = num_8x8_blocks_high_lookup[mi[0]->mbmi.sb_type]; in count_segs_sb()
165 if (bw == bs && bh == bs) { in count_segs_sb()
168 } else if (bw == bs && bh < bs) { in count_segs_sb()
174 } else if (bw < bs && bh == bs) { in count_segs_sb()
184 assert(bw < bs && bh < bs); in count_segs_sb()
Dvp9_aq_variance.c152 const int bh = 8 * num_8x8_blocks_high_lookup[bs] - bottom_overflow; in block_variance() local
157 CONVERT_TO_BYTEPTR(vp9_highbd_64_zeros), 0, bw, bh, in block_variance()
163 vp9_64_zeros, 0, bw, bh, &sse, &avg); in block_variance()
167 vp9_64_zeros, 0, bw, bh, &sse, &avg); in block_variance()
169 var = sse - (((int64_t)avg * avg) / (bw * bh)); in block_variance()
170 return (256 * var) / (bw * bh); in block_variance()
/external/boringssl/src/crypto/bn/
Dgeneric.c141 #define mul64(l, h, bl, bh) \ argument
147 m = (bh) * (lt); \
150 ht = (bh) * (ht); \
182 #define mul_add(r, a, bl, bh, c) \ argument
189 mul64(l, h, (bl), (bh)); \
203 #define mul(r, a, bl, bh, c) \ argument
210 mul64(l, h, (bl), (bh)); \
306 BN_ULONG bl, bh; in bn_mul_add_words() local
314 bh = HBITS(w); in bn_mul_add_words()
317 mul_add(rp[0], ap[0], bl, bh, c); in bn_mul_add_words()
[all …]
Dinternal.h236 #define mul64(l, h, bl, bh) \ argument
242 m = (bh) * (lt); \
245 ht = (bh) * (ht); \
/external/llvm/test/CodeGen/X86/
D2012-11-30-handlemove-dbg.ll44 …!DIFile(filename: "MultiSource/Benchmarks/Olden/bh/newbh.c", directory: "MultiSource/Benchmarks/Ol…
47 …!DIFile(filename: "MultiSource/Benchmarks/Olden/bh/newbh.c", directory: "MultiSource/Benchmarks/Ol…
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c93 struct buffer_head *bh; in get_block_length() local
95 if (!(bh = sb_bread(s, *cur_index))) in get_block_length()
101 (bh->b_data + *offset)); in get_block_length()
104 (bh->b_data + *offset)); in get_block_length()
105 brelse(bh); in get_block_length()
106 if (!(bh = sb_bread(s, ++(*cur_index)))) in get_block_length()
110 bh->b_data); in get_block_length()
113 bh->b_data); in get_block_length()
119 (bh->b_data + *offset)); in get_block_length()
121 (bh->b_data + *offset + 1)); in get_block_length()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.c109 int bw, int bh, int ss_x, int ss_y) { in clamp_mv_to_umv_border_sb() argument
115 const int spel_top = (VP9_INTERP_EXTEND + bh) << SUBPEL_BITS; in clamp_mv_to_umv_border_sb()
157 int bw, int bh, in build_inter_predictors() argument
180 const MV mv_q4 = clamp_mv_to_umv_border_sb(xd, &mv, bw, bh, in build_inter_predictors()
245 const int bh = 4 * num_4x4_h; in build_inter_predictors_for_planes() local
252 build_inter_predictors(xd, plane, i++, bw, bh, in build_inter_predictors_for_planes()
255 build_inter_predictors(xd, plane, 0, bw, bh, in build_inter_predictors_for_planes()
256 0, 0, bw, bh, mi_x, mi_y); in build_inter_predictors_for_planes()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex_format.c58 GLuint bw, bh; in intel_compressed_num_bytes() local
62 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in intel_compressed_num_bytes()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_format.c58 GLuint bw, bh; in intel_compressed_num_bytes() local
62 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in intel_compressed_num_bytes()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_format.c58 GLuint bw, bh; in intel_compressed_num_bytes() local
62 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in intel_compressed_num_bytes()
/external/bison/runtime-po/
Dga.po41 msgstr "earr�id chomhr�ire, %s gan choinne, bh�othas ag s�il le %s"
46 msgstr "earr�id chomhr�ire, %s gan choinne, bh�othas ag s�il le %s n� %s"
51 msgstr "earr�id chomhr�ire, %s gan choinne, bh�othas ag s�il le %s n� %s n� %s"
57 "earr�id chomhr�ire, %s gan choinne, bh�othas ag s�il le %s n� %s n� %s n� %s"
/external/mesa3d/src/mesa/swrast/
Ds_texture.c195 GLuint bw, bh; in _swrast_map_teximage() local
201 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); in _swrast_map_teximage()
204 assert(y % bh == 0); in _swrast_map_teximage()
232 map += stride * (y / bh) + texelSize * (x / bw); in _swrast_map_teximage()
/external/llvm/test/CodeGen/MIR/X86/
Dused-physical-register-info.mir56 # CHECK: calleeSavedRegisters: [ '%bh', '%bl', '%bp', '%bpl', '%bx', '%ebp', '%ebx',
60 calleeSavedRegisters: [ '%bh', '%bl', '%bp', '%bpl', '%bx', '%ebp', '%ebx',
80 # CHECK: calleeSavedRegisters: [ '%bh', '%bl', '%bp', '%bpl', '%bx', '%ebp', '%ebx',

1234567