Home
last modified time | relevance | path

Searched refs:blk (Results 1 – 25 of 168) sorted by relevance

1234567

/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_ksl.c77 static void ksl_blk_objalloc_del(ngtcp2_ksl *ksl, ngtcp2_ksl_blk *blk) { in ksl_blk_objalloc_del() argument
78 ngtcp2_objalloc_ksl_blk_release(&ksl->blkalloc, blk); in ksl_blk_objalloc_del()
101 static void ksl_free_blk(ngtcp2_ksl *ksl, ngtcp2_ksl_blk *blk) { in ksl_free_blk() argument
104 if (!blk->leaf) { in ksl_free_blk()
105 for (i = 0; i < blk->n; ++i) { in ksl_free_blk()
106 ksl_free_blk(ksl, ngtcp2_ksl_nth_node(ksl, blk, i)->blk); in ksl_free_blk()
110 ksl_blk_objalloc_del(ksl, blk); in ksl_free_blk()
134 static ngtcp2_ksl_blk *ksl_split_blk(ngtcp2_ksl *ksl, ngtcp2_ksl_blk *blk) { in ksl_split_blk() argument
142 rblk->next = blk->next; in ksl_split_blk()
143 blk->next = rblk; in ksl_split_blk()
[all …]
/third_party/node/deps/ngtcp2/nghttp3/lib/
Dnghttp3_ksl.c78 static void ksl_blk_objalloc_del(nghttp3_ksl *ksl, nghttp3_ksl_blk *blk) { in ksl_blk_objalloc_del() argument
79 nghttp3_objalloc_ksl_blk_release(&ksl->blkalloc, blk); in ksl_blk_objalloc_del()
102 static void ksl_free_blk(nghttp3_ksl *ksl, nghttp3_ksl_blk *blk) { in ksl_free_blk() argument
105 if (!blk->leaf) { in ksl_free_blk()
106 for (i = 0; i < blk->n; ++i) { in ksl_free_blk()
107 ksl_free_blk(ksl, nghttp3_ksl_nth_node(ksl, blk, i)->blk); in ksl_free_blk()
111 ksl_blk_objalloc_del(ksl, blk); in ksl_free_blk()
135 static nghttp3_ksl_blk *ksl_split_blk(nghttp3_ksl *ksl, nghttp3_ksl_blk *blk) { in ksl_split_blk() argument
143 rblk->next = blk->next; in ksl_split_blk()
144 blk->next = rblk; in ksl_split_blk()
[all …]
/third_party/ffmpeg/libavcodec/
Dhq_hqadsp.c35 static inline void idct_row(int16_t *blk) in idct_row() argument
40 tmp0 = blk[5] - blk[3]; in idct_row()
41 tmp1 = blk[5] + blk[3]; in idct_row()
42 tmp2 = blk[1] - blk[7]; in idct_row()
43 tmp3 = blk[1] + blk[7]; in idct_row()
52 tmpC = blk[2] + blk[6]; in idct_row()
53 tmpD = blk[2] - blk[6]; in idct_row()
54 tmpE = blk[0] - blk[4]; in idct_row()
55 tmpF = blk[0] + blk[4]; in idct_row()
63 blk[0] = tmp14 + tmp8; in idct_row()
[all …]
Dhqxdsp.c27 static inline void idct_col(int16_t *blk, const uint8_t *quant) in idct_col() argument
33 s0 = (int) blk[0 * 8] * quant[0 * 8]; in idct_col()
34 s1 = (int) blk[1 * 8] * quant[1 * 8]; in idct_col()
35 s2 = (int) blk[2 * 8] * quant[2 * 8]; in idct_col()
36 s3 = (int) blk[3 * 8] * quant[3 * 8]; in idct_col()
37 s4 = (int) blk[4 * 8] * quant[4 * 8]; in idct_col()
38 s5 = (int) blk[5 * 8] * quant[5 * 8]; in idct_col()
39 s6 = (int) blk[6 * 8] * quant[6 * 8]; in idct_col()
40 s7 = (int) blk[7 * 8] * quant[7 * 8]; in idct_col()
63 blk[0 * 8] = t13 + t4 * 2; in idct_col()
[all …]
Dmss34dsp.c64 #define DCT_TEMPLATE(blk, step, SOP, shift) \ argument
65 const unsigned t0 =-39409U * blk[7 * step] - 58980U * blk[1 * step]; \
66 const unsigned t1 = 39410U * blk[1 * step] - 58980U * blk[7 * step]; \
67 const unsigned t2 =-33410U * blk[5 * step] -167963U * blk[3 * step]; \
68 const unsigned t3 = 33410U * blk[3 * step] -167963U * blk[5 * step]; \
69 const unsigned t4 = blk[3 * step] + blk[7 * step]; \
70 const unsigned t5 = blk[1 * step] + blk[5 * step]; \
73 const unsigned t8 = 35470U * blk[2 * step] - 85623U * blk[6 * step]; \
74 const unsigned t9 = 35470U * blk[6 * step] + 85623U * blk[2 * step]; \
75 const unsigned tA = SOP(blk[0 * step] - blk[4 * step]); \
[all …]
Dac3enc_template.c87 int blk, ch; in apply_mdct() local
90 for (blk = 0; blk < s->num_blocks; blk++) { in apply_mdct()
91 AC3Block *block = &s->blocks[blk]; in apply_mdct()
92 const SampleType *input_samples = &s->planar_samples[ch][blk * AC3_BLOCK_SIZE]; in apply_mdct()
118 int av_uninit(blk), ch, bnd, i, j; in apply_channel_coupling()
134 for (blk = 0; blk < s->num_blocks; blk++) { in apply_channel_coupling()
135 AC3Block *block = &s->blocks[blk]; in apply_channel_coupling()
159 for (blk = 0; blk < s->num_blocks; blk++) { in apply_channel_coupling()
160 AC3Block *block = &s->blocks[blk]; in apply_channel_coupling()
165 MAC_COEF(energy[blk][ch][bnd], v, v); in apply_channel_coupling()
[all …]
Dsbcdec.c73 int ch, sb, blk, bit; /* channel, subband, block and bit standard in sbc_unpack_frame() local
160 for (blk = 0; blk < frame->blocks; blk++) { in sbc_unpack_frame()
166 frame->sb_sample[blk][ch][sb] = 0; in sbc_unpack_frame()
184 frame->sb_sample[blk][ch][sb] = (int32_t) in sbc_unpack_frame()
192 for (blk = 0; blk < frame->blocks; blk++) { in sbc_unpack_frame()
195 temp = frame->sb_sample[blk][0][sb] + in sbc_unpack_frame()
196 frame->sb_sample[blk][1][sb]; in sbc_unpack_frame()
197 frame->sb_sample[blk][1][sb] = in sbc_unpack_frame()
198 frame->sb_sample[blk][0][sb] - in sbc_unpack_frame()
199 frame->sb_sample[blk][1][sb]; in sbc_unpack_frame()
[all …]
Dac3enc.c273 int blk, ch; in ff_ac3_compute_coupling_strategy() local
279 for (blk = 0; blk < s->num_blocks; blk++) { in ff_ac3_compute_coupling_strategy()
280 AC3Block *block = &s->blocks[blk]; in ff_ac3_compute_coupling_strategy()
289 for (blk = 0; blk < s->num_blocks; blk++) { in ff_ac3_compute_coupling_strategy()
290 AC3Block *block = &s->blocks[blk]; in ff_ac3_compute_coupling_strategy()
302 block->new_cpl_strategy = !blk; in ff_ac3_compute_coupling_strategy()
303 if (blk) { in ff_ac3_compute_coupling_strategy()
305 if (block->channel_in_cpl[ch] != s->blocks[blk-1].channel_in_cpl[ch]) { in ff_ac3_compute_coupling_strategy()
313 if (!blk || (block->cpl_in_use && !got_cpl_snr)) { in ff_ac3_compute_coupling_strategy()
325 for (blk = 0; blk < s->num_blocks; blk++) { in ff_ac3_compute_coupling_strategy()
[all …]
Deac3dec.c198 int bin, blk, gs; in ff_eac3_decode_transform_coeffs_aht_ch() local
241 for (blk = 0; blk < 6; blk++) { in ff_eac3_decode_transform_coeffs_aht_ch()
242 s->pre_mantissa[ch][bin][blk] = (av_lfg_get(&s->dith_state) & 0x7FFFFF) - 0x400000; in ff_eac3_decode_transform_coeffs_aht_ch()
247 for (blk = 0; blk < 6; blk++) { in ff_eac3_decode_transform_coeffs_aht_ch()
248 s->pre_mantissa[ch][bin][blk] = ff_eac3_mantissa_vq[hebap][v][blk] * (1 << 8); in ff_eac3_decode_transform_coeffs_aht_ch()
260 for (blk = 0; blk < 6; blk++) { in ff_eac3_decode_transform_coeffs_aht_ch()
282 s->pre_mantissa[ch][bin][blk] = mant; in ff_eac3_decode_transform_coeffs_aht_ch()
291 int i, blk, ch; in ff_eac3_parse_header() local
418 for (blk = 0; blk < s->num_blocks; blk++) { in ff_eac3_parse_header()
514 for (blk = 0; blk < s->num_blocks; blk++) { in ff_eac3_parse_header()
[all …]
Dsbcdsp.c274 int ch, sb, blk; in sbc_calc_scalefactors() local
278 for (blk = 0; blk < blocks; blk++) { in sbc_calc_scalefactors()
279 int32_t tmp = FFABS(sb_sample_f[blk][ch][sb]); in sbc_calc_scalefactors()
292 int blk, joint = 0; in sbc_calc_scalefactors_j() local
300 for (blk = 0; blk < blocks; blk++) { in sbc_calc_scalefactors_j()
301 tmp0 = FFABS(sb_sample_f[blk][0][sb]); in sbc_calc_scalefactors_j()
302 tmp1 = FFABS(sb_sample_f[blk][1][sb]); in sbc_calc_scalefactors_j()
316 for (blk = 0; blk < blocks; blk++) { in sbc_calc_scalefactors_j()
317 tmp0 = sb_sample_f[blk][0][sb]; in sbc_calc_scalefactors_j()
318 tmp1 = sb_sample_f[blk][1][sb]; in sbc_calc_scalefactors_j()
[all …]
Deac3enc.c94 int ch, blk; in ff_eac3_set_cpl_states() local
100 for (blk = 0; blk < s->num_blocks; blk++) { in ff_eac3_set_cpl_states()
101 AC3Block *block = &s->blocks[blk]; in ff_eac3_set_cpl_states()
115 for (blk = 0; blk < s->num_blocks; blk++) { in ff_eac3_set_cpl_states()
116 AC3Block *block = &s->blocks[blk]; in ff_eac3_set_cpl_states()
127 int blk, ch; in ff_eac3_output_frame_header() local
211 for (blk = 1; blk < s->num_blocks; blk++) { in ff_eac3_output_frame_header()
212 AC3Block *block = &s->blocks[blk]; in ff_eac3_output_frame_header()
223 for (blk = 0; blk < s->num_blocks; blk++) in ff_eac3_output_frame_header()
224 for (ch = !s->blocks[blk].cpl_in_use; ch <= s->fbw_channels; ch++) in ff_eac3_output_frame_header()
[all …]
/third_party/pcre2/pcre2/maint/Unicode.tables/
DPropertyValueAliases.txt151 # Block (blk)
153 blk; Adlam ; Adlam
154 blk; Aegean_Numbers ; Aegean_Numbers
155 blk; Ahom ; Ahom
156 blk; Alchemical ; Alchemical_Symbols
157 blk; Alphabetic_PF ; Alphabetic_Presentation_Forms
158 blk; Anatolian_Hieroglyphs ; Anatolian_Hieroglyphs
159 blk; Ancient_Greek_Music ; Ancient_Greek_Musical_Notation
160 blk; Ancient_Greek_Numbers ; Ancient_Greek_Numbers
161 blk; Ancient_Symbols ; Ancient_Symbols
[all …]
/third_party/f2fs-tools/fsck/
Dquotaio_tree.c63 static void read_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in read_blk() argument
67 err = h->read(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in read_blk()
70 log_err("Cannot read block %u: %s", blk, strerror(errno)); in read_blk()
76 static int write_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in write_blk() argument
80 err = h->write(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in write_blk()
83 log_err("Cannot write block (%u): %s", blk, strerror(errno)); in write_blk()
95 int blk; in get_free_dqblk() local
101 blk = info->dqi_free_blk; in get_free_dqblk()
102 read_blk(h, blk, buf); in get_free_dqblk()
113 blk = info->dqi_blocks++; in get_free_dqblk()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
Dastc_decompress_symbolic.cpp92 imageblock* blk in decompress_symbolic_block() argument
94 blk->xpos = xpos; in decompress_symbolic_block()
95 blk->ypos = ypos; in decompress_symbolic_block()
96 blk->zpos = zpos; in decompress_symbolic_block()
107 blk->orig_data[4 * i] = 1.0f; in decompress_symbolic_block()
108 blk->orig_data[4 * i + 1] = 0.0f; in decompress_symbolic_block()
109 blk->orig_data[4 * i + 2] = 1.0f; in decompress_symbolic_block()
110 blk->orig_data[4 * i + 3] = 1.0f; in decompress_symbolic_block()
111 blk->rgb_lns[i] = 0; in decompress_symbolic_block()
112 blk->alpha_lns[i] = 0; in decompress_symbolic_block()
[all …]
/third_party/astc-encoder/Source/
Dastcenc_averages_and_directions.cpp49 const image_block& blk, in compute_partition_averages_rgb() argument
53 unsigned int texel_count = blk.texel_count; in compute_partition_averages_rgb()
59 averages[0] = blk.data_mean.swz<0, 1, 2>(); in compute_partition_averages_rgb()
76 vfloat data_r = loada(blk.data_r + i); in compute_partition_averages_rgb()
79 vfloat data_g = loada(blk.data_g + i); in compute_partition_averages_rgb()
82 vfloat data_b = loada(blk.data_b + i); in compute_partition_averages_rgb()
86 vfloat4 block_total = blk.data_mean.swz<0, 1, 2>() * static_cast<float>(blk.texel_count); in compute_partition_averages_rgb()
113 vfloat data_r = loada(blk.data_r + i); in compute_partition_averages_rgb()
117 vfloat data_g = loada(blk.data_g + i); in compute_partition_averages_rgb()
121 vfloat data_b = loada(blk.data_b + i); in compute_partition_averages_rgb()
[all …]
Dastcenc_image.cpp154 image_block& blk, in fetch_image_block() argument
165 blk.xpos = xpos; in fetch_image_block()
166 blk.ypos = ypos; in fetch_image_block()
167 blk.zpos = zpos; in fetch_image_block()
235 blk.data_r[idx] = datav.lane<0>(); in fetch_image_block()
236 blk.data_g[idx] = datav.lane<1>(); in fetch_image_block()
237 blk.data_b[idx] = datav.lane<2>(); in fetch_image_block()
238 blk.data_a[idx] = datav.lane<3>(); in fetch_image_block()
240 blk.rgb_lns[idx] = rgb_lns; in fetch_image_block()
241 blk.alpha_lns[idx] = a_lns; in fetch_image_block()
[all …]
Dastcenc_decompress_symbolic.cpp193 image_block& blk in decompress_symbolic_block() argument
195 blk.xpos = xpos; in decompress_symbolic_block()
196 blk.ypos = ypos; in decompress_symbolic_block()
197 blk.zpos = zpos; in decompress_symbolic_block()
199 blk.data_min = vfloat4::zero(); in decompress_symbolic_block()
200 blk.data_mean = vfloat4::zero(); in decompress_symbolic_block()
201 blk.data_max = vfloat4::zero(); in decompress_symbolic_block()
202 blk.grayscale = false; in decompress_symbolic_block()
209 blk.data_r[i] = error_color_nan(); in decompress_symbolic_block()
210 blk.data_g[i] = error_color_nan(); in decompress_symbolic_block()
[all …]
Dastcenc_ideal_endpoints_and_weights.cpp38 const image_block& blk, in compute_ideal_colors_and_weights_1_comp() argument
47 unsigned int texel_count = blk.texel_count; in compute_ideal_colors_and_weights_1_comp()
57 error_weight = blk.channel_weight.lane<0>(); in compute_ideal_colors_and_weights_1_comp()
58 data_vr = blk.data_r; in compute_ideal_colors_and_weights_1_comp()
61 error_weight = blk.channel_weight.lane<1>(); in compute_ideal_colors_and_weights_1_comp()
62 data_vr = blk.data_g; in compute_ideal_colors_and_weights_1_comp()
65 error_weight = blk.channel_weight.lane<2>(); in compute_ideal_colors_and_weights_1_comp()
66 data_vr = blk.data_b; in compute_ideal_colors_and_weights_1_comp()
70 error_weight = blk.channel_weight.lane<3>(); in compute_ideal_colors_and_weights_1_comp()
71 data_vr = blk.data_a; in compute_ideal_colors_and_weights_1_comp()
[all …]
/third_party/mesa3d/src/panfrost/util/
Dpan_liveness.c62 liveness_block_live_out(pan_block *blk, unsigned temp_count) in liveness_block_live_out() argument
64 pan_foreach_successor(blk, succ) { in liveness_block_live_out()
66 blk->live_out[i] |= succ->live_in[i]; in liveness_block_live_out()
76 pan_block *blk, unsigned temp_count, in liveness_block_update() argument
81 liveness_block_live_out(blk, temp_count); in liveness_block_update()
83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update()
84 memcpy(live, blk->live_out, temp_count * sizeof(uint16_t)); in liveness_block_update()
86 pan_foreach_instr_in_block_rev(blk, ins) in liveness_block_update()
92 progress |= (blk->live_in[i] != live[i]); in liveness_block_update()
94 ralloc_free(blk->live_in); in liveness_block_update()
[all …]
/third_party/ffmpeg/libavformat/
Dargo_brp.c273 ArgoBRPBlockHeader blk; in argo_brp_read_header() local
293 blk.stream_id = AV_RL32(buf + 0); in argo_brp_read_header()
294 blk.start_ms = AV_RL32(buf + 4); in argo_brp_read_header()
295 blk.size = AV_RL32(buf + 8); in argo_brp_read_header()
297 if (blk.stream_id == brp->basf.index || blk.stream_id == -1) in argo_brp_read_header()
300 if ((ret = avio_skip(pb, blk.size)) < 0) in argo_brp_read_header()
304 if (i == BRP_BASF_LOOKAHEAD || blk.stream_id == -1) { in argo_brp_read_header()
312 if (blk.size < ASF_CHUNK_HEADER_SIZE) in argo_brp_read_header()
340 st->start_time = av_rescale_rnd(blk.start_ms, st->codecpar->sample_rate, 1000, AV_ROUND_UP); in argo_brp_read_header()
353 ArgoBRPBlockHeader blk; in argo_brp_read_packet() local
[all …]
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_liveness.c58 liveness_block_update(bi_block *blk, unsigned temp_count) in liveness_block_update() argument
63 bi_foreach_successor(blk, succ) { in liveness_block_update()
65 blk->live_out[i] |= succ->live_in[i]; in liveness_block_update()
68 uint8_t *live = ralloc_array(blk, uint8_t, temp_count); in liveness_block_update()
69 memcpy(live, blk->live_out, temp_count); in liveness_block_update()
71 bi_foreach_instr_in_block_rev(blk, ins) in liveness_block_update()
77 progress |= (blk->live_in[i] != live[i]); in liveness_block_update()
79 ralloc_free(blk->live_in); in liveness_block_update()
80 blk->live_in = live; in liveness_block_update()
114 bi_block *blk = bi_worklist_pop_tail(&worklist); in bi_compute_liveness() local
[all …]
/third_party/glslang/Test/
Dspv.320.meshShaderUserDefined.mesh28 } blk[];
42 blk[iid].f = 11.0;
43 blk[iid+1].fArr[gid] = blk[iid].f;
44 blk[iid/2].pos.yzx = vec3(14.0, 15.0, 13.0);
45 blk[iid*2].posArr[1].yzw = blk[iid/2].pos;
46 blk[iid/4].m[2].wzyx = vec4(13.0, 14.0, 15.0, 16.0);
47 blk[iid].mArr[0][1][1] = blk[iid/4].m[2].w;
48 blk[iid*4].mArr[1][gid] = vec3(17.0, 18.0, 19.0);
Dspv.meshShaderUserDefined.mesh28 } blk[];
42 blk[iid].f = 11.0;
43 blk[iid+1].fArr[gid] = blk[iid].f;
44 blk[iid/2].pos.yzx = vec3(14.0, 15.0, 13.0);
45 blk[iid*2].posArr[1].yzw = blk[iid/2].pos;
46 blk[iid/4].m[2].wzyx = vec4(13.0, 14.0, 15.0, 16.0);
47 blk[iid].mArr[0][1][1] = blk[iid/4].m[2].w;
48 blk[iid*4].mArr[1][gid] = vec3(17.0, 18.0, 19.0);
/third_party/toybox/toys/pending/
Dsh.c1040 } *blk = 0, *new; in run_function() local
1056 if (!blk || pl->arg->c>2 || ss[strspn(ss, "0123456789")]) { in run_function()
1062 while (i && blk) { in run_function()
1064 pl = blk->start; in run_function()
1067 pl = blk->end; in run_function()
1068 llist_traverse(blk->fdelete, free); in run_function()
1069 free(llist_pop(&blk)); in run_function()
1078 if (!blk) toys.exitval = run_pipeline(&pl, 0); in run_function()
1079 else if (blk->run) toys.exitval = run_pipeline(&pl, blk->redir); in run_function()
1086 if (!blk || blk->start != pl) { in run_function()
[all …]
/third_party/mesa3d/src/asahi/compiler/
Dagx_liveness.c85 agx_block *blk = agx_worklist_pop_head(&worklist); in agx_compute_liveness() local
88 memcpy(blk->live_in, blk->live_out, words * sizeof(BITSET_WORD)); in agx_compute_liveness()
90 agx_foreach_instr_in_block_rev(blk, I) { in agx_compute_liveness()
98 agx_liveness_ins_update(blk->live_in, I); in agx_compute_liveness()
108 agx_foreach_predecessor(blk, pred) { in agx_compute_liveness()
109 BITSET_WORD *live = ralloc_array(blk, BITSET_WORD, words); in agx_compute_liveness()
110 memcpy(live, blk->live_in, words * sizeof(BITSET_WORD)); in agx_compute_liveness()
113 agx_foreach_instr_in_block(blk, I) { in agx_compute_liveness()
121 agx_foreach_instr_in_block(blk, I) { in agx_compute_liveness()
124 agx_index operand = I->src[agx_predecessor_index(blk, *pred)]; in agx_compute_liveness()

1234567