Home
last modified time | relevance | path

Searched refs:ctr (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query_hw_sm.c607 struct nvc0_hw_sm_counter_cfg ctr[8]; member
621 .ctr[0] = _CB(0x0001, B6, 0x02, 0x00000000),
630 .ctr[0] = _CB(0x003f, B6, 0x02, 0x31483104),
639 .ctr[0] = _CA(0x0001, B6, 0x1c, 0x000000004),
648 .ctr[0] = _CA(0x0001, B6, 0x1c, 0x00000000),
657 .ctr[0] = _CA(0x0001, B6, 0x1c, 0x0000000c),
666 .ctr[0] = _CA(0x0001, B6, 0x1c, 0x00000010),
675 .ctr[0] = _CA(0x0001, B6, 0x1b, 0x00000010),
684 .ctr[0] = _CB(0x0001, B6, 0x08, 0x00000010),
693 .ctr[0] = _CB(0x0001, B6, 0x11, 0x00000004),
[all …]
/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dalts_counter_test.cc30 static bool do_bytes_represent_client(alts_counter* ctr, unsigned char* counter, in do_bytes_represent_client() argument
32 return (ctr->counter[size - 1] & 0x80) == 0x80; in do_bytes_represent_client()
37 alts_counter* ctr = nullptr; in alts_counter_test_input_sanity_check() local
43 alts_counter_create(true, 0, overflow_size, &ctr, &error_details); in alts_counter_test_input_sanity_check()
50 status = alts_counter_create(true, counter_size, 0, &ctr, &error_details); in alts_counter_test_input_sanity_check()
64 status = alts_counter_create(true, counter_size, overflow_size, &ctr, in alts_counter_test_input_sanity_check()
77 status = alts_counter_increment(ctr, nullptr, &error_details); in alts_counter_test_input_sanity_check()
82 alts_counter_destroy(ctr); in alts_counter_test_input_sanity_check()
88 alts_counter* ctr = nullptr; in alts_counter_test_overflow_full_range() local
91 is_client, counter_size, overflow_size, &ctr, &error_details); in alts_counter_test_overflow_full_range()
[all …]
/external/libhevc/encoder/
Dihevce_memory_init.c165 WORD32 ctr; in ihevce_mem_manager_init() local
322 for(ctr = 0; ctr < n_tot_layers; ctr++) in ihevce_mem_manager_init()
324 a_ctb_align_wd[ctr] = a_wd[ctr] + SET_CTB_ALIGN(a_wd[ctr], ctb_size); in ihevce_mem_manager_init()
326 a_ctb_align_ht[ctr] = a_ht[ctr] + SET_CTB_ALIGN(a_ht[ctr], ctb_size); in ihevce_mem_manager_init()
446 for(ctr = 0; ctr < ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.i4_num_res_layers; ctr++) in ihevce_mem_manager_init()
448 ps_enc_ctxt->s_lap_stat_prms.ai4_quality_preset[ctr] = in ihevce_mem_manager_init()
449 ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.as_tgt_params[ctr].i4_quality_preset; in ihevce_mem_manager_init()
451 if(ps_enc_ctxt->s_lap_stat_prms.ai4_quality_preset[ctr] == IHEVCE_QUALITY_P7) in ihevce_mem_manager_init()
453 ps_enc_ctxt->s_lap_stat_prms.ai4_quality_preset[ctr] = IHEVCE_QUALITY_P6; in ihevce_mem_manager_init()
1415 for(ctr = 0; ctr < NUM_ME_ENC_BUFS; ctr++) in ihevce_mem_manager_init()
[all …]
Dihevce_hle_interface.c184 WORD32 i4_total_cores = 0, ctr, i4_mres_flag = 0; in ihevce_hle_interface_create() local
291 for(ctr = 0; ctr < i4_num_resolutions; ctr++) in ihevce_hle_interface_create()
315 pi4_active_res_id[ctr] = 0; in ihevce_hle_interface_create()
321 ps_enc_static_cfg_params->s_tgt_lyr_prms.as_tgt_params[ctr].i4_num_bitrate_instances; in ihevce_hle_interface_create()
336 ps_hle_ctxt->ai4_num_core_per_res[ctr]; in ihevce_hle_interface_create()
340 ps_hle_ctxt->ai4_num_core_per_res[ctr]; in ihevce_hle_interface_create()
348 ps_enc_ctxt->i4_resolution_id = ctr; in ihevce_hle_interface_create()
421 ps_hle_ctxt->apv_enc_hdl[ctr] = ps_enc_ctxt; in ihevce_hle_interface_create()
425 for(ctr = 0; ctr < i4_num_resolutions; ctr++) in ihevce_hle_interface_create()
429 PROFILE_INIT(&ps_hle_ctxt->profile_enc_me[ctr]); in ihevce_hle_interface_create()
[all …]
Dihevce_dep_mngr.c296 WORD32 ctr, thrds; in ihevce_dmgr_rst_row_frm_sync() local
302 for(ctr = 0; ctr < ps_dep_mngr_state->i4_num_vert_units; ctr++) in ihevce_dmgr_rst_row_frm_sync()
304 ((WORD32 *)ps_dep_mngr_state->pv_units_prcsd_in_row)[ctr] = 0; in ihevce_dmgr_rst_row_frm_sync()
308 for(ctr = 0; ctr < ps_dep_mngr_state->i4_num_vert_units; ctr++) in ihevce_dmgr_rst_row_frm_sync()
312 ps_dep_mngr_state->pi4_wait_thrd_id[thrds + (ps_dep_mngr_state->i4_num_thrds * ctr)] = in ihevce_dmgr_rst_row_frm_sync()
380 WORD32 ctr; in ihevce_dmgr_rst_row_row_sync() local
386 for(ctr = 0; ctr < (ps_dep_mngr_state->i4_num_vert_units * ps_dep_mngr_state->i4_num_tile_cols); in ihevce_dmgr_rst_row_row_sync()
387 ctr++) in ihevce_dmgr_rst_row_row_sync()
389 ((WORD32 *)ps_dep_mngr_state->pv_units_prcsd_in_row)[ctr] = 0; in ihevce_dmgr_rst_row_row_sync()
393 for(ctr = 0; ctr < ps_dep_mngr_state->i4_num_vert_units; ctr++) in ihevce_dmgr_rst_row_row_sync()
[all …]
Dihevce_entropy_interface.c450 WORD32 ctr = 0; in ihevce_entropy_encode_frame() local
455 for(ctr = 0; ctr < MIN(num_non_vcl_prefix_nals, MAX_NUM_PREFIX_NALS_PER_AU); ctr++) in ihevce_entropy_encode_frame()
458 ULWORD64 u8_cur_nal_start = (ULWORD64)ps_bitstrm->apu1_nal_start[ctr]; in ihevce_entropy_encode_frame()
463 if((ctr + 1) < num_non_vcl_prefix_nals) in ihevce_entropy_encode_frame()
465 ULWORD64 u8_next_nal_start = (ULWORD64)ps_bitstrm->apu1_nal_start[ctr + 1]; in ihevce_entropy_encode_frame()
466 ps_curr_out->ai4_size_non_vcl_prefix_nals[ctr] = in ihevce_entropy_encode_frame()
473 ps_curr_out->ai4_size_non_vcl_prefix_nals[ctr] = in ihevce_entropy_encode_frame()
476 ASSERT(ps_curr_out->ai4_size_non_vcl_prefix_nals[ctr] > 0); in ihevce_entropy_encode_frame()
483 ps_curr_out->ai4_off_non_vcl_prefix_nals[ctr] = in ihevce_entropy_encode_frame()
486 if(ctr) in ihevce_entropy_encode_frame()
[all …]
Dihevce_enc_loop_utils.c2941 WORD32 ctr; in ihevce_intra_rdopt_cu_ntu() local
3125 for(ctr = 0; ctr < num_cu_parts; ctr++) in ihevce_intra_rdopt_cu_ntu()
3186 u1_compute_recon = !u1_compute_spatial_ssd && ((num_cu_parts > 1) && (ctr < 3)); in ihevce_intra_rdopt_cu_ntu()
3188 if(!ctr && (u1_compute_spatial_ssd || u1_compute_recon)) in ihevce_intra_rdopt_cu_ntu()
3192 else if(!ctr) in ihevce_intra_rdopt_cu_ntu()
3221 &ps_cu_analyse->s_cu_intra_cand.au1_nxn_eval_mark[ctr][0]); in ihevce_intra_rdopt_cu_ntu()
3225 (ps_cu_analyse->s_cu_intra_cand.au1_num_modes_added[ctr] >= MAX_INTRA_CU_CANDIDATES)) in ihevce_intra_rdopt_cu_ntu()
3230 WORD32 i4_curr_index = ps_cu_analyse->s_cu_intra_cand.au1_num_modes_added[ctr]; in ihevce_intra_rdopt_cu_ntu()
3243 .au1_intra_luma_mode_nxn_hash[ctr][ai4_mpm_mode_list[i]] == 0) in ihevce_intra_rdopt_cu_ntu()
3248 .au1_intra_luma_mode_nxn_hash[ctr][ai4_mpm_mode_list[i]] = 1; in ihevce_intra_rdopt_cu_ntu()
[all …]
Dihevce_multi_thrd_funcs.c342 WORD32 ctr; in ihevce_pre_enc_grp_job_set_out_dep() local
348 for(ctr = 0; ctr < ps_curr_job->i4_num_output_dep; ctr++) in ihevce_pre_enc_grp_job_set_out_dep()
353 pu1_ptr += ps_curr_job->au4_out_ofsts[ctr]; in ihevce_pre_enc_grp_job_set_out_dep()
384 WORD32 ctr; in ihevce_enc_grp_job_set_out_dep() local
400 for(ctr = 0; ctr < ps_curr_job->i4_num_output_dep; ctr++) in ihevce_enc_grp_job_set_out_dep()
403 i4_off = ps_curr_job->au4_out_ofsts[ctr]; in ihevce_enc_grp_job_set_out_dep()
492 WORD32 ctr; in ihevce_prepare_job_queue() local
554 for(ctr = 0; ctr < out_dep; ctr++) in ihevce_prepare_job_queue()
564 ps_job_queue_curr->au4_out_ofsts[ctr] = (UWORD32)u8_temp; in ihevce_prepare_job_queue()
583 WORD32 ctr; in ihevce_prepare_job_queue() local
[all …]
Dihevce_entropy_cod.c224 WORD32 ctr; in ihevce_ent_coding_thrd() local
231 for(ctr = 0; in ihevce_ent_coding_thrd()
232 ctr < ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.i4_num_res_layers; in ihevce_ent_coding_thrd()
233 ctr++) in ihevce_ent_coding_thrd()
235 if(ctr != i4_resolution_id) in ihevce_ent_coding_thrd()
240 other_res_active |= pi4_active_res_check[ctr]; in ihevce_ent_coding_thrd()
745 WORD32 ctr = 0; in ihevce_entropy_encode_header() local
750 for(ctr = 0; ctr < MIN(num_non_vcl_prefix_nals, MAX_NUM_PREFIX_NALS_PER_AU); ctr++) in ihevce_entropy_encode_header()
753 ULWORD64 u8_cur_nal_start = (ULWORD64)ps_bitstrm->apu1_nal_start[ctr]; in ihevce_entropy_encode_header()
758 if((ctr + 1) < num_non_vcl_prefix_nals) in ihevce_entropy_encode_header()
[all …]
Dihevce_bs_compute_ctb.c262 WORD32 ctr; in ihevce_bs_compute_cu() local
269 for(ctr = 0; ctr < ((ps_cu_final->b4_cu_size << 3) >> 2); ctr++) in ihevce_bs_compute_cu()
271 ps_nbr_4x4 = ps_top_nbr_4x4 + ctr; in ihevce_bs_compute_cu()
275 u4_temp_bs = (u4_temp_bs | (2U << (30 - 2 * (ctr + horz_bit_offset)))); in ihevce_bs_compute_cu()
280 u4_temp_bs = (u4_temp_bs | (1 << (30 - 2 * (ctr + horz_bit_offset)))); in ihevce_bs_compute_cu()
294 WORD32 ctr; in ihevce_bs_compute_cu() local
301 for(ctr = 0; ctr < ((ps_cu_final->b4_cu_size << 3) >> 2); ctr++) in ihevce_bs_compute_cu()
303 ps_nbr_4x4 = ps_left_nbr_4x4 + ctr * nbr_4x4_left_strd; in ihevce_bs_compute_cu()
307 u4_temp_bs = (u4_temp_bs | (2U << (30 - 2 * (ctr + vert_bit_offset)))); in ihevce_bs_compute_cu()
312 u4_temp_bs = (u4_temp_bs | (1 << (30 - 2 * (ctr + vert_bit_offset)))); in ihevce_bs_compute_cu()
/external/llvm-project/llvm/test/Transforms/StructurizeCFG/
Dbug36015.ll10 %ctr.loop.outer = phi i32 [ 0, %entry ], [ %ctr.else, %else ]
15 %ctr.loop.inner = phi i32 [ %ctr.loop.outer, %loop.outer ], [ %ctr.if, %if ]
17 %cond.inner = icmp eq i32 %cmp0, %ctr.loop.inner
24 %ctr.if = add i32 %ctr.loop.inner, 1
26 %cond.if = icmp slt i32 %ctr.if, %count
40 %ctr.else = add i32 %ctr.loop.inner, 1
42 %cond.else = icmp slt i32 %ctr.else, %count
/external/libjpeg-turbo/
Djidctred.c132 int ctr; variable
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) {
143 if (ctr == DCTSIZE - 4)
205 for (ctr = 0; ctr < 4; ctr++) {
206 outptr = output_buf[ctr] + output_col;
289 int ctr; in jpeg_idct_2x2() local
298 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { in jpeg_idct_2x2()
300 if (ctr == DCTSIZE - 2 || ctr == DCTSIZE - 4 || ctr == DCTSIZE - 6) in jpeg_idct_2x2()
341 for (ctr = 0; ctr < 2; ctr++) { in jpeg_idct_2x2()
342 outptr = output_buf[ctr] + output_col; in jpeg_idct_2x2()
Djidctint.c185 int ctr; variable
196 for (ctr = DCTSIZE; ctr > 0; ctr--) {
303 for (ctr = 0; ctr < DCTSIZE; ctr++) {
304 outptr = output_buf[ctr] + output_col;
438 int ctr; in jpeg_idct_7x7() local
447 for (ctr = 0; ctr < 7; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_7x7()
499 for (ctr = 0; ctr < 7; ctr++) { in jpeg_idct_7x7()
500 outptr = output_buf[ctr] + output_col; in jpeg_idct_7x7()
587 int ctr; in jpeg_idct_6x6() local
596 for (ctr = 0; ctr < 6; ctr++, inptr++, quantptr++, wsptr++) { in jpeg_idct_6x6()
[all …]
/external/lzma/C/
DAesOpt.c112 __m128i ctr = *p; in AesCtr_Code_Intel() local
123 ctr = _mm_add_epi64(ctr, one); m0 = _mm_xor_si128(ctr, t); in AesCtr_Code_Intel()
124 ctr = _mm_add_epi64(ctr, one); m1 = _mm_xor_si128(ctr, t); in AesCtr_Code_Intel()
125 ctr = _mm_add_epi64(ctr, one); m2 = _mm_xor_si128(ctr, t); in AesCtr_Code_Intel()
146 ctr = _mm_add_epi64(ctr, one); in AesCtr_Code_Intel()
147 m = _mm_xor_si128(ctr, p[2]); in AesCtr_Code_Intel()
160 *p = ctr; in AesCtr_Code_Intel()
/external/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c394 select_counter(struct counter_group *group, int ctr, int n) in select_counter() argument
397 assert(ctr < group->group->num_counters); in select_counter()
399 group->label[ctr] = group->group->countables[n].name; in select_counter()
400 group->counter[ctr].select_val = n; in select_counter()
423 if (group->group->counters[ctr].enable) { in select_counter()
424 OUT_PKT0(ring, group->group->counters[ctr].enable, 1); in select_counter()
428 if (group->group->counters[ctr].clear) { in select_counter()
429 OUT_PKT0(ring, group->group->counters[ctr].clear, 1); in select_counter()
432 OUT_PKT0(ring, group->group->counters[ctr].clear, 1); in select_counter()
436 OUT_PKT0(ring, group->group->counters[ctr].select_reg, 1); in select_counter()
[all …]
/external/openssh/
Dcipher-aesctr.c33 aesctr_inc(u8 *ctr, u32 len) in aesctr_inc() argument
39 if (++ctr[i]) /* continue on overflow */ in aesctr_inc()
45 ctr[i] += add; in aesctr_inc()
47 x = ctr[i]; in aesctr_inc()
65 memcpy(x->ctr, iv, AES_BLOCK_SIZE); in aesctr_ivsetup()
76 rijndaelEncrypt(x->ek, x->rounds, x->ctr, buf); in aesctr_encrypt_bytes()
77 aesctr_inc(x->ctr, AES_BLOCK_SIZE); in aesctr_encrypt_bytes()
/external/libwebsockets/lib/secure-streams/
Dsecure-streams-serialize.c364 par->ctr = 0; in lws_ss_deserialize_parse()
373 par->ctr = 0; in lws_ss_deserialize_parse()
379 par->ctr = 0; in lws_ss_deserialize_parse()
426 par->ctr = 0; in lws_ss_deserialize_parse()
494 par->ctr = 0; in lws_ss_deserialize_parse()
501 par->rideshare[par->ctr++] = *cp++; in lws_ss_deserialize_parse()
504 if (par->ctr != par->slen) in lws_ss_deserialize_parse()
609 if (!--par->rem && par->ctr != 3) in lws_ss_deserialize_parse()
613 if (++par->ctr < 4) in lws_ss_deserialize_parse()
625 par->ctr = 0; in lws_ss_deserialize_parse()
[all …]
/external/grpc-grpc/test/core/gpr/
Dmpscq_test.cc35 size_t* ctr; member
38 static test_node* new_node(size_t i, size_t* ctr) { in new_node() argument
41 n->ctr = ctr; in new_node()
61 size_t ctr; member
72 gpr_mpscq_push(a->q, &new_node(i, &a->ctr)->node); in test_thread()
85 ta[i].ctr = 0; in test_mt()
100 GPR_ASSERT(*tn->ctr == tn->i - 1); in test_mt()
101 *tn->ctr = tn->i; in test_mt()
137 GPR_ASSERT(*tn->ctr == tn->i - 1); in pull_thread()
138 *tn->ctr = tn->i; in pull_thread()
[all …]
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dppc-passname-assert.ll3 ; Test pass name: ppc-ctr-loops-verify.
4 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-before=ppc-ctr-loo…
5 ; STOP-BEFORE-CTR-LOOPS-VERIFY-NOT: -ppc-ctr-loops-verify
6 ; STOP-BEFORE-CTR-LOOPS-VERIFY-NOT: "ppc-ctr-loops-verify" pass is not registered.
9 ; RUN: llc -mtriple=powerpc64le-unknown-unknown < %s -debug-pass=Structure -stop-after=ppc-ctr-loop…
10 ; STOP-AFTER-CTR-LOOPS-VERIFY: -ppc-ctr-loops-verify
11 ; STOP-AFTER-CTR-LOOPS-VERIFY-NOT: "ppc-ctr-loops-verify" pass is not registered.
/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm.c247 uint32_t ctr; in CRYPTO_gcm128_setiv() local
251 ctr = 1; in CRYPTO_gcm128_setiv()
273 ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_setiv()
277 ++ctr; in CRYPTO_gcm128_setiv()
278 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_setiv()
372 uint32_t ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_encrypt() local
378 ++ctr; in CRYPTO_gcm128_encrypt()
379 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
395 ++ctr; in CRYPTO_gcm128_encrypt()
396 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/modes/
Dgcm.c247 uint32_t ctr; in CRYPTO_gcm128_setiv() local
251 ctr = 1; in CRYPTO_gcm128_setiv()
273 ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_setiv()
277 ++ctr; in CRYPTO_gcm128_setiv()
278 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_setiv()
372 uint32_t ctr = CRYPTO_bswap4(ctx->Yi.d[3]); in CRYPTO_gcm128_encrypt() local
378 ++ctr; in CRYPTO_gcm128_encrypt()
379 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
395 ++ctr; in CRYPTO_gcm128_encrypt()
396 ctx->Yi.d[3] = CRYPTO_bswap4(ctr); in CRYPTO_gcm128_encrypt()
[all …]
/external/selinux/libselinux/src/
Dis_customizable_type.c16 unsigned int ctr = 0, i; in get_customizable_type_list() local
28 while (fgets_unlocked(buf, selinux_page_size, fp) && ctr < UINT_MAX) { in get_customizable_type_list()
29 ctr++; in get_customizable_type_list()
32 if (ctr) { in get_customizable_type_list()
35 ctr + 1); in get_customizable_type_list()
39 && i < ctr) { in get_customizable_type_list()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol.cc32 alts_counter* ctr; member
227 rp->crypter, alts_counter_get_counter(rp->ctr), in alts_iovec_record_protocol_integrity_only_protect()
228 alts_counter_get_size(rp->ctr), unprotected_vec, unprotected_vec_length, in alts_iovec_record_protocol_integrity_only_protect()
240 return increment_counter(rp->ctr, error_details); in alts_iovec_record_protocol_integrity_only_protect()
280 rp->crypter, alts_counter_get_counter(rp->ctr), in alts_iovec_record_protocol_integrity_only_unprotect()
281 alts_counter_get_size(rp->ctr), protected_vec, protected_vec_length, &tag, in alts_iovec_record_protocol_integrity_only_unprotect()
288 return increment_counter(rp->ctr, error_details); in alts_iovec_record_protocol_integrity_only_unprotect()
340 rp->crypter, alts_counter_get_counter(rp->ctr), in alts_iovec_record_protocol_privacy_integrity_protect()
341 alts_counter_get_size(rp->ctr), /* aad_vec = */ nullptr, in alts_iovec_record_protocol_privacy_integrity_protect()
354 return increment_counter(rp->ctr, error_details); in alts_iovec_record_protocol_privacy_integrity_protect()
[all …]
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol.cc32 alts_counter* ctr; member
225 rp->crypter, alts_counter_get_counter(rp->ctr), in alts_iovec_record_protocol_integrity_only_protect()
226 alts_counter_get_size(rp->ctr), unprotected_vec, unprotected_vec_length, in alts_iovec_record_protocol_integrity_only_protect()
238 return increment_counter(rp->ctr, error_details); in alts_iovec_record_protocol_integrity_only_protect()
278 rp->crypter, alts_counter_get_counter(rp->ctr), in alts_iovec_record_protocol_integrity_only_unprotect()
279 alts_counter_get_size(rp->ctr), protected_vec, protected_vec_length, &tag, in alts_iovec_record_protocol_integrity_only_unprotect()
286 return increment_counter(rp->ctr, error_details); in alts_iovec_record_protocol_integrity_only_unprotect()
338 rp->crypter, alts_counter_get_counter(rp->ctr), in alts_iovec_record_protocol_privacy_integrity_protect()
339 alts_counter_get_size(rp->ctr), /* aad_vec = */ nullptr, in alts_iovec_record_protocol_privacy_integrity_protect()
352 return increment_counter(rp->ctr, error_details); in alts_iovec_record_protocol_privacy_integrity_protect()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_query_hw_sm.c110 struct nv50_hw_sm_counter_cfg ctr[4]; member
195 hsq->ctr[i] = c; in nv50_hw_sm_begin_query()
206 PUSH_DATA (push, (cfg->ctr[i].sig << 24) | (func << 8) in nv50_hw_sm_begin_query()
207 | cfg->ctr[i].unit | cfg->ctr[i].mode); in nv50_hw_sm_begin_query()
294 if (mask & (1 << hsq->ctr[i])) in nv50_hw_sm_end_query()
297 mask |= 1 << hsq->ctr[i]; in nv50_hw_sm_end_query()
298 func = nv50_hw_sm_get_func(hsq->ctr[i]); in nv50_hw_sm_end_query()
300 BEGIN_NV04(push, NV50_CP(MP_PM_CONTROL(hsq->ctr[i])), 1); in nv50_hw_sm_end_query()
301 PUSH_DATA (push, (cfg->ctr[i].sig << 24) | (func << 8) in nv50_hw_sm_end_query()
302 | cfg->ctr[i].unit | cfg->ctr[i].mode); in nv50_hw_sm_end_query()
[all …]

12345678910>>...12