Home
last modified time | relevance | path

Searched refs:num_blks (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c219 unsigned *num_blks = block_type == BLOCK_SSBO ? &prog->data->NumShaderStorageBlocks : in nir_interstage_cross_validate_uniform_blocks() local
257 num_blks, sh_blks[j]); in nir_interstage_cross_validate_uniform_blocks()
272 *num_blks = 0; in nir_interstage_cross_validate_uniform_blocks()
283 for (unsigned j = 0; j < *num_blks; j++) { in nir_interstage_cross_validate_uniform_blocks()
306 prog->data->NumUniformBlocks = *num_blks; in nir_interstage_cross_validate_uniform_blocks()
Dlinker.cpp1143 unsigned *num_blks = validate_ssbo ? &prog->data->NumShaderStorageBlocks : in interstage_cross_validate_uniform_blocks() local
1182 num_blks, sh_blks[j]); in interstage_cross_validate_uniform_blocks()
1196 *num_blks = 0; in interstage_cross_validate_uniform_blocks()
1208 for (unsigned j = 0; j < *num_blks; j++) { in interstage_cross_validate_uniform_blocks()
Dgl_nir_link_uniforms.c1034 ASSERTED unsigned num_blks = nir_variable_is_in_ubo(var) ? in find_and_update_previous_uniform_storage() local
1050 assert(block_index < num_blks); in find_and_update_previous_uniform_storage()
/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_pkt.c659 size_t num_blks, max_num_blks; in ngtcp2_pkt_decode_ack_frame() local
710 num_blks = (size_t)vi; in ngtcp2_pkt_decode_ack_frame()
711 len += num_blks * (1 + 1); in ngtcp2_pkt_decode_ack_frame()
725 for (i = 0; i < num_blks; ++i) { in ngtcp2_pkt_decode_ack_frame()
758 max_num_blks = ngtcp2_min(NGTCP2_MAX_ACK_BLKS, num_blks); in ngtcp2_pkt_decode_ack_frame()
769 dest->num_blks = max_num_blks; in ngtcp2_pkt_decode_ack_frame()
781 for (i = max_num_blks; i < num_blks; ++i) { in ngtcp2_pkt_decode_ack_frame()
1630 ngtcp2_put_varint_len(fr->num_blks) + in ngtcp2_pkt_encode_ack_frame()
1636 for (i = 0; i < fr->num_blks; ++i) { in ngtcp2_pkt_encode_ack_frame()
1657 p = ngtcp2_put_varint(p, fr->num_blks); in ngtcp2_pkt_encode_ack_frame()
[all …]
Dngtcp2_acktr.c296 for (i = 0; i < fr->num_blks && j < nacks; ++i) { in ngtcp2_acktr_recv_ack()
Dngtcp2_log.c241 fr->num_blks); in log_fr_ack()
252 for (i = 0; i < fr->num_blks; ++i) { in log_fr_ack()
Dngtcp2_pkt.h213 size_t num_blks; member
Dngtcp2_qlog.c349 for (i = 0; i < fr->num_blks; ++i) { in write_ack_frame()
768 NGTCP2_QLOG_ACK_FRAME_RANGE_OVERHEAD * (1 + fr->ack.num_blks) + 1) { in ngtcp2_qlog_write_frame()
Dngtcp2_rtb.c1020 for (i = 0; i < fr->num_blks;) { in ngtcp2_rtb_recv_ack()
Dngtcp2_conn.c1720 ack->num_blks = 0; in conn_create_ack_frame()
1750 if (ack->num_blks == NGTCP2_MAX_ACK_BLKS) { in conn_create_ack_frame()
1756 blk_idx = ack->num_blks++; in conn_create_ack_frame()
1757 rv = conn_ensure_ack_blks(conn, ack->num_blks); in conn_create_ack_frame()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c251 int num_blks; member
6844 rep->num_blks = blocks; in read_write_thread()
6938 memset(rep->buffp, 0, rep->num_blks * rep->bs); in normal_in_operation()
6942 rep->num_blks * rep->bs, strerror(errno)); in normal_in_operation()
6943 res = rep->num_blks * clp->bs; in normal_in_operation()
6963 rep->num_blks = blocks; in normal_in_operation()
6977 rep->num_blks * clp->bs)) < 0) in normal_out_operation()
6983 rep->num_blks * rep->bs, strerror(errno)); in normal_out_operation()
6984 res = rep->num_blks * clp->bs; in normal_out_operation()
6999 rep->num_blks = blocks; in normal_out_operation()
[all …]