Home
last modified time | relevance | path

Searched refs:blks (Results 1 – 21 of 21) sorted by relevance

/third_party/ltp/testcases/kernel/fs/doio/
Drwtest328 blks=${szblks[$n]}
337 blks=$(df $dfOpts $dir |
338 (while read fs blks used avail cap mountpoint
347 if [ $blks -eq $blks 2> /dev/null -a $blks -gt 0 ]
351 Linux) blks=$( expr $blks / 2 ) ;;
363 sz=$( perl -le 'print int( '$blks' * '$size' / 100 )' )
366 sz=$(expr \( $blks '*' $size \) / 100)
/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_str.c158 uint16_t blks[8]; in ngtcp2_encode_ipv6() local
166 memcpy(&blks[i / sizeof(uint16_t)], addr + i, sizeof(uint16_t)); in ngtcp2_encode_ipv6()
170 if (blks[i]) { in ngtcp2_encode_ipv6()
179 for (; i < 8 && blks[i] == 0; ++i, ++zlen) in ngtcp2_encode_ipv6()
193 p = write_hex_zsup(p, (const uint8_t *)blks, sizeof(uint16_t)); in ngtcp2_encode_ipv6()
197 p = write_hex_zsup(p, (const uint8_t *)(blks + i), sizeof(uint16_t)); in ngtcp2_encode_ipv6()
209 p = write_hex_zsup(p, (const uint8_t *)(blks + i), sizeof(uint16_t)); in ngtcp2_encode_ipv6()
Dngtcp2_acktr.c297 largest_ack = min_ack - (int64_t)fr->blks[i].gap - 2; in ngtcp2_acktr_recv_ack()
298 min_ack = largest_ack - (int64_t)fr->blks[i].blklen; in ngtcp2_acktr_recv_ack()
Dngtcp2_pkt.c775 blk = &dest->blks[i]; in ngtcp2_pkt_decode_ack_frame()
1637 blk = &fr->blks[i]; in ngtcp2_pkt_encode_ack_frame()
1661 blk = &fr->blks[i]; in ngtcp2_pkt_encode_ack_frame()
2208 if (largest_ack < (int64_t)fr->blks[i].gap + 2) { in ngtcp2_pkt_validate_ack()
2212 largest_ack -= (int64_t)fr->blks[i].gap + 2; in ngtcp2_pkt_validate_ack()
2214 if (largest_ack < (int64_t)fr->blks[i].blklen) { in ngtcp2_pkt_validate_ack()
2218 largest_ack -= (int64_t)fr->blks[i].blklen; in ngtcp2_pkt_validate_ack()
Dngtcp2_conn.h146 ngtcp2_ack_blk blks[NGTCP2_MAX_ACK_BLKS - 1]; member
Dngtcp2_pkt.h214 ngtcp2_ack_blk blks[1]; member
Dngtcp2_rtb.c1021 largest_ack = min_ack - (int64_t)fr->blks[i].gap - 2; in ngtcp2_rtb_recv_ack()
1022 min_ack = largest_ack - (int64_t)fr->blks[i].blklen; in ngtcp2_rtb_recv_ack()
Dngtcp2_log.c253 const ngtcp2_ack_blk *blk = &fr->blks[i]; in log_fr_ack()
Dngtcp2_qlog.c350 blk = &fr->blks[i]; in write_ack_frame()
Dngtcp2_conn.c1762 blk = &ack->blks[blk_idx]; in conn_create_ack_frame()
/third_party/ffmpeg/libavfilter/
Dvf_blurdetect.c61 float *blks; member
114 s->blks = av_calloc((inlink->w / s->block_width) * (inlink->h / s->block_height), in blurdetect_config_input()
115 sizeof(*s->blks)); in blurdetect_config_input()
117 if (!s->tmpbuf || !s->filterbuf || !s->gradients || !s->directions || !s->blks) in blurdetect_config_input()
202 float *blks = s->blks; in calculate_blur() local
232 blks[blkcnt] = block_total_width / block_count; in calculate_blur()
239 AV_QSORT(blks, blkcnt, float, comp); in calculate_blur()
242 total_width += blks[i]; in calculate_blur()
335 av_freep(&s->blks); in blurdetect_uninit()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c218 struct gl_uniform_block *blks = NULL; in nir_interstage_cross_validate_uniform_blocks() local
256 int index = link_cross_validate_uniform_block(prog->data, &blks, in nir_interstage_cross_validate_uniform_blocks()
293 blks[j].stageref |= sh_blks[stage_index]->stageref; in nir_interstage_cross_validate_uniform_blocks()
294 sh_blks[stage_index] = &blks[j]; in nir_interstage_cross_validate_uniform_blocks()
304 prog->data->ShaderStorageBlocks = blks; in nir_interstage_cross_validate_uniform_blocks()
307 prog->data->UniformBlocks = blks; in nir_interstage_cross_validate_uniform_blocks()
562 struct gl_uniform_block *blks = *blocks; in link_linked_shader_uniform_blocks() local
575 fill_block(&blks[block_index], var, variables, &variable_index, in link_linked_shader_uniform_blocks()
Dlinker.cpp1142 struct gl_uniform_block *blks = NULL; in interstage_cross_validate_uniform_blocks() local
1181 int index = link_cross_validate_uniform_block(prog->data, &blks, in interstage_cross_validate_uniform_blocks()
1218 blks[j].stageref |= sh_blks[stage_index]->stageref; in interstage_cross_validate_uniform_blocks()
1219 sh_blks[stage_index] = &blks[j]; in interstage_cross_validate_uniform_blocks()
1229 prog->data->ShaderStorageBlocks = blks; in interstage_cross_validate_uniform_blocks()
1231 prog->data->UniformBlocks = blks; in interstage_cross_validate_uniform_blocks()
Dgl_nir_link_uniforms.c1038 struct gl_uniform_block *blks = nir_variable_is_in_ubo(var) ? in find_and_update_previous_uniform_storage() local
1052 if (var->data.binding == blks[block_index].Binding) { in find_and_update_previous_uniform_storage()
/third_party/openssl/crypto/
Dparams_dup.c66 size_t param_sz, blks; in ossl_param_dup() local
87 blks = ossl_param_bytes_to_blocks(param_sz); in ossl_param_dup()
91 buf[is_secure].cur += blks; in ossl_param_dup()
93 buf[is_secure].blocks += blks; in ossl_param_dup()
/third_party/node/deps/openssl/openssl/crypto/
Dparams_dup.c66 size_t param_sz, blks; in ossl_param_dup() local
87 blks = ossl_param_bytes_to_blocks(param_sz); in ossl_param_dup()
91 buf[is_secure].cur += blks; in ossl_param_dup()
93 buf[is_secure].blocks += blks; in ossl_param_dup()
/third_party/ffmpeg/libavcodec/
Ddvenc.c613 static inline void dv_guess_qnos_hd(EncBlockInfo *blks, int *qnos) in dv_guess_qnos_hd() argument
627 if (blks[8*i+j].min_qlevel > min_qlevel[i]) in dv_guess_qnos_hd()
628 min_qlevel[i] = blks[8*i+j].min_qlevel; in dv_guess_qnos_hd()
641 size_cache[8*i+j][qlevels[i]] = dv100_actual_quantize(&blks[8*i+j], qlevels[i]); in dv_guess_qnos_hd()
673 b = &blks[8*i]; in dv_guess_qnos_hd()
724 b = &blks[8*i]; in dv_guess_qnos_hd()
746 b = &blks[8*i]; in dv_guess_qnos_hd()
755 static inline void dv_guess_qnos(EncBlockInfo *blks, int *qnos) in dv_guess_qnos() argument
767 b = blks; in dv_guess_qnos()
811 b = blks; in dv_guess_qnos()
/third_party/node/deps/zlib/
Dcrc32.c778 z_size_t blks; in crc32_z() local
790 blks = len / (N * W); in crc32_z()
791 len -= blks * N * W; in crc32_z()
847 while (--blks) { in crc32_z()
969 while (--blks) { in crc32_z()
/third_party/zlib/
Dcrc32.c767 z_size_t blks; local
779 blks = len / (N * W);
780 len -= blks * N * W;
836 while (--blks) {
958 while (--blks) {
/third_party/f2fs-tools/include/
Df2fs_fs.h1617 #define SEG_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg) argument
1618 #define ZONE_ALIGN(blks) SIZE_ALIGN(blks, c.blks_per_seg * \ argument
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c1351 unsigned blks = util_format_get_blocksize(format); in si_texture_commit() local
1357 surface->prt_tile_height * surface->prt_tile_depth * blks * samples; in si_texture_commit()