Home
last modified time | relevance | path

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

1234567891011

/third_party/boost/libs/yap/test/
Dcompile_term_plus_expr.cpp16 namespace bh = boost::hana;
27 bh::tuple<ref<term<double> &>, ref<term<int> &>>> in compile_term_plus_expr()
31 bh::tuple< in compile_term_plus_expr()
35 bh::tuple<ref<term<double> &>, ref<term<int> &>>> &>>> in compile_term_plus_expr()
45 bh::tuple<ref<term<double> &>, ref<term<int const> &>>> in compile_term_plus_expr()
49 bh::tuple< in compile_term_plus_expr()
53 bh::tuple<ref<term<double> &>, ref<term<int const> &>>> &>>> in compile_term_plus_expr()
63 bh::tuple<ref<term<double> &>, term<int>>> in compile_term_plus_expr()
67 bh::tuple< in compile_term_plus_expr()
71 bh::tuple<ref<term<double> &>, term<int>>> &>>> in compile_term_plus_expr()
[all …]
Doperators_unary.cpp24 namespace bh = boost::hana;
36 bh::tuple<term<uint32_t>>> in test_main()
40 bh::tuple<term_ref<uint32_t>>> in test_main()
44 bh::tuple<term_cref<uint32_t>>> in test_main()
53 yap::expression<yap::expr_kind::negate, bh::tuple<term<uint32_t>>> in test_main()
57 bh::tuple<term_ref<uint32_t>>> in test_main()
61 bh::tuple<term_cref<uint32_t>>> in test_main()
72 bh::tuple<term<uint32_t>>> in test_main()
76 bh::tuple<term_ref<uint32_t>>> in test_main()
80 bh::tuple<term_cref<uint32_t>>> in test_main()
[all …]
Dright.cpp20 namespace bh = boost::hana;
46 bh::tuple<ref<term<double> &>, term<int>>>; in test_main()
72 bh::tuple<ref<term<double> &>, term<int>>>; in test_main()
77 bh::tuple<ref<plus_expr_type &>, term<int>>>; in test_main()
82 bh::front(plus_plus_expr.elements); in test_main()
92 bh::front(plus_plus_expr.elements); in test_main()
101 bh::front(plus_plus_expr.elements); in test_main()
112 bh::tuple<ref<term<double> &>, term<int>>>; in test_main()
117 bh::tuple<ref<plus_expr_type const &>, term<int>>>; in test_main()
122 bh::front(plus_plus_expr.elements); in test_main()
[all …]
Dcompile_term_plus_term.cpp18 namespace bh = boost::hana;
30 bh::tuple<ref<term<double> &>, term<char const *>>> in compile_term_plus_term()
40 bh::tuple<ref<term<double> &>, term<std::string>>> in compile_term_plus_term()
52 bh::tuple<ref<term<double> &>, ref<term<int *> &>>> in compile_term_plus_term()
63 bh::tuple<ref<term<double> &>, ref<term<int const *> &>>> in compile_term_plus_term()
74 bh::tuple<ref<term<double> &>, term<int *>>> in compile_term_plus_term()
86 bh::tuple<ref<term<double> &>, ref<term<int * const> &>>> in compile_term_plus_term()
97 bh::tuple<ref<term<double> &>, ref<term<int const * const> &>>> in compile_term_plus_term()
108 bh::tuple<ref<term<double> &>, term<int * const>>> in compile_term_plus_term()
119 bh::tuple<ref<term<double> &>, ref<term<int> &>>> in compile_term_plus_term()
[all …]
Dleft.cpp20 namespace bh = boost::hana;
46 bh::tuple<ref<term<double> &>, term<int>>>; in test_main()
73 bh::tuple<ref<term<double> const &>, term<int>>>; in test_main()
101 bh::tuple<ref<term<double> &>, term<int>>>; in test_main()
106 bh::tuple<ref<plus_expr_type &>, term<int>>>; in test_main()
111 bh::front(plus_plus_expr.elements); in test_main()
120 bh::front(plus_plus_expr.elements); in test_main()
129 bh::front(plus_plus_expr.elements); in test_main()
140 bh::tuple<ref<term<double> &>, term<int>>>; in test_main()
145 bh::tuple<ref<plus_expr_type const &>, term<int>>>; in test_main()
[all …]
Dderef.cpp20 namespace bh = boost::hana;
46 bh::tuple<ref<term<double> &>, term<int>>>; in test_main()
51 ref<term<double> &> ref = bh::front(plus_expr.elements); in test_main()
59 ref<term<double> &> ref = bh::front(plus_expr.elements); in test_main()
66 ref<term<double> &> const ref = bh::front(plus_expr.elements); in test_main()
76 bh::tuple<ref<term<double> const &>, term<int>>> in test_main()
80 ref<term<double> const &> ref = bh::front(plus_expr.elements); in test_main()
88 ref<term<double> const &> ref = bh::front(plus_expr.elements); in test_main()
97 bh::front(plus_expr.elements); in test_main()
110 bh::tuple<user_ref<user_term<double> &>, user_term<int>>>; in test_main()
[all …]
Dcompile_term_plus_x_this_ref_overloads.cpp18 namespace bh = boost::hana;
30 bh::tuple<ref<term<double> &>, term<char const *>>> in compile_term_plus_x_this_ref_overloads()
40 bh::tuple<ref<term<double> &>, term<std::string>>> in compile_term_plus_x_this_ref_overloads()
51 bh::tuple<ref<term<double> &>, term<int *>>> in compile_term_plus_x_this_ref_overloads()
61 bh::tuple<ref<term<double> &>, term<int const *>>> in compile_term_plus_x_this_ref_overloads()
71 bh::tuple<ref<term<double> &>, term<int *>>> in compile_term_plus_x_this_ref_overloads()
83 bh::tuple<ref<term<double> &>, term<int *&>>> in compile_term_plus_x_this_ref_overloads()
94 bh::tuple<ref<term<double> &>, term<int const *&>>> in compile_term_plus_x_this_ref_overloads()
105 bh::tuple<ref<term<double> &>, term<int *>>> in compile_term_plus_x_this_ref_overloads()
117 bh::tuple<ref<term<double> &>, term<int * const &>>> in compile_term_plus_x_this_ref_overloads()
[all …]
Dcompile_term_plus_x.cpp18 namespace bh = boost::hana;
30 bh::tuple<ref<term<double> &>, term<char const *>>> in compile_term_plus_x()
40 bh::tuple<ref<term<double> &>, term<std::string>>> in compile_term_plus_x()
51 bh::tuple<ref<term<double> &>, term<int *>>> in compile_term_plus_x()
61 bh::tuple<ref<term<double> &>, term<int const *>>> in compile_term_plus_x()
71 bh::tuple<ref<term<double> &>, term<int *>>> in compile_term_plus_x()
83 bh::tuple<ref<term<double> &>, term<int *&>>> in compile_term_plus_x()
94 bh::tuple<ref<term<double> &>, term<int const *&>>> in compile_term_plus_x()
105 bh::tuple<ref<term<double> &>, term<int *>>> in compile_term_plus_x()
117 bh::tuple<ref<term<double> &>, term<int * const &>>> in compile_term_plus_x()
[all …]
Dcompile_x_plus_term.cpp18 namespace bh = boost::hana;
30 bh::tuple<term<char const *>, ref<term<double> &>>> in compile_x_plus_term()
40 bh::tuple<term<std::string>, ref<term<double> const &>>> in compile_x_plus_term()
51 bh::tuple<term<int *>, ref<term<double> &>>> in compile_x_plus_term()
61 bh::tuple<term<int const *>, ref<term<double> &>>> in compile_x_plus_term()
71 bh::tuple<term<int *>, ref<term<double> &>>> in compile_x_plus_term()
83 bh::tuple<term<int *&>, ref<term<double> &>>> in compile_x_plus_term()
94 bh::tuple<term<int const *&>, ref<term<double> &>>> in compile_x_plus_term()
105 bh::tuple<term<int *>, ref<term<double> &>>> in compile_x_plus_term()
117 bh::tuple<term<int * const &>, ref<term<double> &>>> in compile_x_plus_term()
[all …]
Dprint.cpp22 namespace bh = boost::hana;
125 bh::tuple<int> tuple{i}; in test_main()
133 bh::tuple<int const> tuple{i}; in test_main()
141 bh::tuple<int &> tuple{i}; in test_main()
149 bh::tuple<int const &> tuple{i}; in test_main()
160 bh::tuple<user_ref<user_term<double> &>, user_term<int &&>>> in test_main()
164 bh::tuple< in test_main()
168 bh::tuple< in test_main()
200 user_term<thing> a_thing{bh::make_tuple(thing{})}; in test_main()
212 bh::tuple< in test_main()
[all …]
Dvalue.cpp20 namespace bh = boost::hana;
86 bh::tuple<ref<term<double> &>, term<int>>>; in test_main()
90 ref<term<double> &> ref = bh::front(plus_expr.elements); in test_main()
96 ref<term<double> &> ref = bh::front(plus_expr.elements); in test_main()
101 ref<term<double> &> const ref = bh::front(plus_expr.elements); in test_main()
109 bh::tuple<ref<term<double> const &>, term<int>>> in test_main()
113 ref<term<double> const &> ref = bh::front(plus_expr.elements); in test_main()
120 ref<term<double> const &> ref = bh::front(plus_expr.elements); in test_main()
126 ref<term<double> const &> const ref = bh::front(plus_expr.elements); in test_main()
157 bh::tuple<user_ref<user_term<double> &>, user_term<int>>>; in test_main()
[all …]
Dcompile_const_term.cpp16 namespace bh = boost::hana;
27 bh::tuple<ref<term<double const> &>, term<int &&>>> in compile_const_term()
31 bh::tuple< in compile_const_term()
35 bh::tuple<ref<term<double const> &>, term<int &&>>>>> in compile_const_term()
46 bh::tuple<ref<term<double> const &>, term<int &&>>> in compile_const_term()
50 bh::tuple< in compile_const_term()
54 bh::tuple<ref<term<double> const &>, term<int &&>>>>> in compile_const_term()
65 bh::tuple<ref<term<double> &>, term<int const &>>> const expr = in compile_const_term()
69 bh::tuple< in compile_const_term()
73 bh::tuple<ref<term<double> &>, term<int const &>>>>> in compile_const_term()
/third_party/e2fsprogs/debugfs/
Djournal.c127 struct buffer_head *bh; in getblk() local
128 int bufsize = sizeof(*bh) + kdev->k_fs->blocksize - in getblk()
129 sizeof(bh->b_data); in getblk()
132 retval = ext2fs_get_memzero(bufsize, &bh); in getblk()
141 bh->b_fs = kdev->k_fs; in getblk()
143 bh->b_io = kdev->k_fs->io; in getblk()
145 bh->b_io = kdev->k_fs->journal_io; in getblk()
146 bh->b_size = blocksize; in getblk()
147 bh->b_blocknr = blocknr; in getblk()
149 return bh; in getblk()
[all …]
Ddo_journal.c69 struct buffer_head *bh, *cbh = NULL; in journal_commit_trans() local
82 bh = getblk(trans->journal->j_dev, 0, trans->journal->j_blocksize); in journal_commit_trans()
83 if (bh == NULL) in journal_commit_trans()
87 commit = (struct commit_header *)bh->b_data; in journal_commit_trans()
135 jbd2_commit_block_csum_set(trans->journal, bh); in journal_commit_trans()
136 err = jbd2_journal_bmap(trans->journal, trans->block, &bh->b_blocknr); in journal_commit_trans()
141 bh->b_blocknr); in journal_commit_trans()
142 mark_buffer_dirty(bh); in journal_commit_trans()
143 ll_rw_block(REQ_OP_WRITE, 0, 1, &bh); in journal_commit_trans()
144 err = bh->b_err; in journal_commit_trans()
[all …]
/third_party/e2fsprogs/e2fsck/
Drecovery.c71 struct buffer_head *bh; in do_readahead() local
94 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
95 if (!bh) { in do_readahead()
100 if (!buffer_uptodate(bh) && !buffer_locked(bh)) { in do_readahead()
101 bufs[nbufs++] = bh; in do_readahead()
108 brelse(bh); in do_readahead()
133 struct buffer_head *bh; in jread() local
150 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
151 if (!bh) in jread()
154 if (!buffer_uptodate(bh)) { in jread()
[all …]
Drevoke.c329 struct buffer_head *bh = NULL; in jbd2_journal_revoke() local
345 bh = bh_in; in jbd2_journal_revoke()
347 if (!bh) { in jbd2_journal_revoke()
348 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in jbd2_journal_revoke()
349 if (bh) in jbd2_journal_revoke()
350 BUFFER_TRACE(bh, "found on hash"); in jbd2_journal_revoke()
361 if (bh2 != bh && buffer_revokevalid(bh2)) in jbd2_journal_revoke()
376 brelse(bh); in jbd2_journal_revoke()
382 if (bh) { in jbd2_journal_revoke()
383 if (!J_EXPECT_BH(bh, !buffer_revoked(bh), in jbd2_journal_revoke()
[all …]
Djfs_user.h79 #define lock_buffer(bh) do {} while (0) argument
80 #define unlock_buffer(bh) do {} while (0) argument
81 #define buffer_req(bh) 1 argument
196 void ll_rw_block(int rw, int op_flags, int nr, struct buffer_head *bh[]);
197 void mark_buffer_dirty(struct buffer_head *bh);
198 void mark_buffer_uptodate(struct buffer_head *bh, int val);
199 void brelse(struct buffer_head *bh);
200 int buffer_uptodate(struct buffer_head *bh);
201 void wait_on_buffer(struct buffer_head *bh);
207 #define set_buffer_uptodate(bh) mark_buffer_uptodate(bh, 1) argument
[all …]
Djournal.c122 struct buffer_head *bh; in getblk() local
123 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - in getblk()
124 sizeof(bh->b_data); in getblk()
126 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer"); in getblk()
127 if (!bh) in getblk()
135 bh->b_ctx = kdev->k_ctx; in getblk()
137 bh->b_io = kdev->k_ctx->fs->io; in getblk()
139 bh->b_io = kdev->k_ctx->journal_io; in getblk()
140 bh->b_size = blocksize; in getblk()
141 bh->b_blocknr = blocknr; in getblk()
[all …]
/third_party/weston/libweston/backend-hdi/
Dhdi_renderer.cpp77 BufferHandle *bh; member
169 BufferHandle *bh = dmabuf->attributes.buffer_handle; in hdi_renderer_surface_state_mmap() local
170 if (bh == NULL) { in hdi_renderer_surface_state_mmap()
174 if (bh->virAddr == NULL) { in hdi_renderer_surface_state_mmap()
176 void *ptr = b->display_gralloc->Mmap(*bh); in hdi_renderer_surface_state_mmap()
177 LOG_CORE("GrallocFuncs.Mmap fd=%d return ptr=%p", bh->fd, ptr); in hdi_renderer_surface_state_mmap()
179 return bh; in hdi_renderer_surface_state_mmap()
198 BufferHandle *bh = dmabuf->attributes.buffer_handle; in hdi_renderer_surface_state_unmap() local
199 if (bh == NULL) { in hdi_renderer_surface_state_unmap()
203 if (bh->virAddr != NULL) { in hdi_renderer_surface_state_unmap()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dbatch_to_space_base.c34 for (int bh = 0; bh < block_h; ++bh) { in BatchToSpaceNoCropForNHWC() local
38 int in_offset = in_stride_n * (bh * stride_h + bw * out_n + n) + w_offset + h_offset; in BatchToSpaceNoCropForNHWC()
75 for (int bh = 0; bh < block_h; ++bh) { in BatchToSpaceForNHWC() local
76 int h_index = h * block_h + bh; in BatchToSpaceForNHWC()
87 int in_offset = in_stride_n * (bh * stride_h + bw * out_n + n) + w_offset + h_offset; in BatchToSpaceForNHWC()
/third_party/mesa3d/src/util/format/
Du_format_rgtc.c43 const unsigned bw = 4, bh = 4, comps = 4; in util_format_rgtc1_unorm_unpack_rgba_8unorm() local
47 for(y = 0; y < height; y += bh) { in util_format_rgtc1_unorm_unpack_rgba_8unorm()
50 for(j = 0; j < bh; ++j) { in util_format_rgtc1_unorm_unpack_rgba_8unorm()
69 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_unorm_pack_rgba_8unorm() local
72 for(y = 0; y < height; y += bh) { in util_format_rgtc1_unorm_pack_rgba_8unorm()
76 for(j = 0; j < bh; ++j) { in util_format_rgtc1_unorm_pack_rgba_8unorm()
116 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_unorm_pack_rgba_float() local
119 for(y = 0; y < height; y += bh) { in util_format_rgtc1_unorm_pack_rgba_float()
123 for(j = 0; j < bh; ++j) { in util_format_rgtc1_unorm_pack_rgba_float()
173 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_snorm_pack_rgba_float() local
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/powerpc/
Djdcolext-altivec.c49 crl, crh, rl, rh, gl, gh, bl, bh, g0w, g1w, g2w, g3w; in jsimd_ycc_rgb_convert_altivec() local
112 bh = vec_add(cbh, cbh); in jsimd_ycc_rgb_convert_altivec()
114 bh = vec_madds(bh, pw_mf0228, pw_one); in jsimd_ycc_rgb_convert_altivec()
116 bh = vec_sra(bh, (__vector unsigned short)pw_one); in jsimd_ycc_rgb_convert_altivec()
118 bh = vec_add(bh, cbh); in jsimd_ycc_rgb_convert_altivec()
120 bh = vec_add(bh, cbh); in jsimd_ycc_rgb_convert_altivec()
122 bh = vec_add(bh, yh); in jsimd_ycc_rgb_convert_altivec()
160 bx2 = vec_mergeh(bh, pw_255); in jsimd_ycc_rgb_convert_altivec()
162 bx3 = vec_mergel(bh, pw_255); in jsimd_ycc_rgb_convert_altivec()
/third_party/libjpeg-turbo/simd/powerpc/
Djdcolext-altivec.c49 crl, crh, rl, rh, gl, gh, bl, bh, g0w, g1w, g2w, g3w; in jsimd_ycc_rgb_convert_altivec() local
112 bh = vec_add(cbh, cbh); in jsimd_ycc_rgb_convert_altivec()
114 bh = vec_madds(bh, pw_mf0228, pw_one); in jsimd_ycc_rgb_convert_altivec()
116 bh = vec_sra(bh, (__vector unsigned short)pw_one); in jsimd_ycc_rgb_convert_altivec()
118 bh = vec_add(bh, cbh); in jsimd_ycc_rgb_convert_altivec()
120 bh = vec_add(bh, cbh); in jsimd_ycc_rgb_convert_altivec()
122 bh = vec_add(bh, yh); in jsimd_ycc_rgb_convert_altivec()
160 bx2 = vec_mergeh(bh, pw_255); in jsimd_ycc_rgb_convert_altivec()
162 bx3 = vec_mergel(bh, pw_255); in jsimd_ycc_rgb_convert_altivec()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dbatch_to_space_int8.c38 for (int bh = 0; bh < block_h; ++bh) { in BatchToSpaceNoCropForNHWCInt8() local
42 size_t in_offset = in_stride_n * (bh * stride_h + bw * out_n + n) + w_offset + h_offset; in BatchToSpaceNoCropForNHWCInt8()
85 for (int bh = 0; bh < block_h; ++bh) { in BatchToSpaceForNHWCInt8() local
86 size_t h_index = h * block_h + bh; in BatchToSpaceForNHWCInt8()
97 size_t in_offset = in_stride_n * (bh * stride_h + bw * out_n + n) + w_offset + h_offset; in BatchToSpaceForNHWCInt8()
/third_party/ffmpeg/libavcodec/
Dzmbv.c70 int bw, bh, bx, by; member
104 for (y = 0; y < c->height; y += c->bh) { in zmbv_decode_xor_8()
105 bh2 = ((c->height - y) > c->bh) ? c->bh : (c->height - y); in zmbv_decode_xor_8()
147 output += c->width * c->bh; in zmbv_decode_xor_8()
148 prev += c->width * c->bh; in zmbv_decode_xor_8()
178 for (y = 0; y < c->height; y += c->bh) { in zmbv_decode_xor_16()
179 bh2 = ((c->height - y) > c->bh) ? c->bh : (c->height - y); in zmbv_decode_xor_16()
223 output += c->width * c->bh; in zmbv_decode_xor_16()
224 prev += c->width * c->bh; in zmbv_decode_xor_16()
257 for (y = 0; y < c->height; y += c->bh) { in zmbv_decode_xor_24()
[all …]

1234567891011