Home
last modified time | relevance | path

Searched refs:rstate (Results 1 – 16 of 16) sorted by relevance

/external/ppp/pppd/plugins/radius/
Dradius.c137 static struct radius_state rstate; variable
165 memset(&rstate, 0, sizeof(rstate)); in plugin_init()
167 strlcpy(rstate.config_file, "/etc/radiusclient/radiusclient.conf", in plugin_init()
168 sizeof(rstate.config_file)); in plugin_init()
225 if (rstate.choose_ip) { in radius_choose_ip()
226 *addrp = rstate.ip_addr; in radius_choose_ip()
266 radius_pre_auth_hook(rstate.user, in radius_pap_auth()
267 &rstate.authserver, in radius_pap_auth()
268 &rstate.acctserver); in radius_pap_auth()
276 rstate.client_port = get_client_port(portnummap ? devnam : ifname); in radius_pap_auth()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c700 struct r600_pipe_state *rstate; in r600_create_blend_state_mode() local
706 rstate = &blend->rstate; in r600_create_blend_state_mode()
708 rstate->id = R600_PIPE_STATE_BLEND; in r600_create_blend_state_mode()
774 r600_pipe_state_add_reg(rstate, R_028780_CB_BLEND0_CONTROL + i * 4, bc); in r600_create_blend_state_mode()
776 r600_pipe_state_add_reg(rstate, R_028804_CB_BLEND_CONTROL, bc); in r600_create_blend_state_mode()
779 r600_pipe_state_add_reg(rstate, R_028D44_DB_ALPHA_TO_MASK, in r600_create_blend_state_mode()
787 return rstate; in r600_create_blend_state_mode()
803 struct r600_pipe_state *rstate; in r600_create_dsa_state() local
814 rstate = &dsa->rstate; in r600_create_dsa_state()
816 rstate->id = R600_PIPE_STATE_DSA; in r600_create_dsa_state()
[all …]
Devergreen_state.c688 struct r600_pipe_state *rstate; in evergreen_create_blend_state_mode() local
697 rstate = &blend->rstate; in evergreen_create_blend_state_mode()
699 rstate->id = R600_PIPE_STATE_BLEND; in evergreen_create_blend_state_mode()
724 r600_pipe_state_add_reg(rstate, R_028808_CB_COLOR_CONTROL, in evergreen_create_blend_state_mode()
756 r600_pipe_state_add_reg(rstate, R_028780_CB_BLEND0_CONTROL + i * 4, blend_cntl[i]); in evergreen_create_blend_state_mode()
759 r600_pipe_state_add_reg(rstate, R_028B70_DB_ALPHA_TO_MASK, in evergreen_create_blend_state_mode()
767 return rstate; in evergreen_create_blend_state_mode()
783 struct r600_pipe_state *rstate; in evergreen_create_dsa_state() local
794 rstate = &dsa->rstate; in evergreen_create_dsa_state()
796 rstate->id = R600_PIPE_STATE_DSA; in evergreen_create_dsa_state()
[all …]
Dr600_state_common.c175 struct r600_pipe_state *rstate; in r600_bind_blend_state_internal() local
178 rstate = &blend->rstate; in r600_bind_blend_state_internal()
179 rctx->states[rstate->id] = rstate; in r600_bind_blend_state_internal()
180 r600_context_pipe_state_set(rctx, rstate); in r600_bind_blend_state_internal()
220 struct r600_pipe_state *rstate = CALLOC_STRUCT(r600_pipe_state); in r600_set_blend_color() local
222 if (rstate == NULL) in r600_set_blend_color()
225 rstate->id = R600_PIPE_STATE_BLEND_COLOR; in r600_set_blend_color()
226 r600_pipe_state_add_reg(rstate, R_028414_CB_BLEND_RED, fui(state->color[0])); in r600_set_blend_color()
227 r600_pipe_state_add_reg(rstate, R_028418_CB_BLEND_GREEN, fui(state->color[1])); in r600_set_blend_color()
228 r600_pipe_state_add_reg(rstate, R_02841C_CB_BLEND_BLUE, fui(state->color[2])); in r600_set_blend_color()
[all …]
Dr600_pipe.h181 struct r600_pipe_state rstate; member
195 struct r600_pipe_state rstate; member
203 struct r600_pipe_state rstate; member
216 struct r600_pipe_state rstate; member
239 struct r600_pipe_state rstate; member
/external/openfst/src/include/fst/
Drandgen.h189 bool Sample(const RandState<A> &rstate) { in Sample() argument
191 if ((fst_.NumArcs(rstate.state_id) == 0 && in Sample()
192 fst_.Final(rstate.state_id) == Weight::Zero()) || in Sample()
193 rstate.length == max_length_) { in Sample()
198 for (size_t i = 0; i < rstate.nsamples; ++i) in Sample()
199 ++sample_map_[arc_selector_(fst_, rstate.state_id)]; in Sample()
268 bool Sample(const RandState<A> &rstate) { in Sample() argument
270 if ((fst_.NumArcs(rstate.state_id) == 0 && in Sample()
271 fst_.Final(rstate.state_id) == Weight::Zero()) || in Sample()
272 rstate.length == max_length_) { in Sample()
[all …]
/external/boringssl/src/ssl/
Dd1_pkt.c274 if ((s->rstate != SSL_ST_READ_BODY) || in dtls1_get_record()
288 s->rstate = SSL_ST_READ_BODY; in dtls1_get_record()
358 s->rstate = SSL_ST_READ_HEADER; /* set state for later operations */ in dtls1_get_record()
467 if (rr->length == 0 || s->rstate == SSL_ST_READ_BODY) { in dtls1_read_bytes()
529 s->rstate = SSL_ST_READ_HEADER; in dtls1_read_bytes()
Dssl_stat.c388 switch (s->rstate) { in SSL_rstate_string_long()
975 switch (s->rstate) { in SSL_rstate_string()
Ds3_pkt.c279 if (s->rstate != SSL_ST_READ_BODY || in ssl3_get_record()
285 s->rstate = SSL_ST_READ_BODY; in ssl3_get_record()
342 s->rstate = SSL_ST_READ_HEADER; /* set state for later operations */ in ssl3_get_record()
771 if (rr->length == 0 || s->rstate == SSL_ST_READ_BODY) { in ssl3_read_bytes()
834 s->rstate = SSL_ST_READ_HEADER; in ssl3_read_bytes()
Dssl_lib.c204 ssl->rstate = SSL_ST_READ_HEADER; in SSL_clear()
334 s->rstate = SSL_ST_READ_HEADER; in SSL_new()
762 if (s->rstate == SSL_ST_READ_BODY) { in SSL_pending()
Ds3_srvr.c656 assert(s->rstate == SSL_ST_READ_HEADER); in ssl3_get_initial_bytes()
/external/ppp/pppd/include/net/
Dslcompress.h135 struct cstate rstate[MAX_STATES]; /* receive connection states */ member
Dvjcompress.h127 struct cstate rstate[MAX_STATES]; /* receive connection states */ member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c302 struct r600_pipe_state rstate; in si_update_alpha_ref()
305 rstate.nregs = 0; in si_update_alpha_ref()
308 si_pm4_set_reg(&rstate, R_028438_SX_ALPHA_REF, alpha_ref); in si_update_alpha_ref()
Dsi_state.c2134 struct si_pipe_sampler_state *rstate = CALLOC_STRUCT(si_pipe_sampler_state); in si_create_sampler_state() local
2139 if (rstate == NULL) { in si_create_sampler_state()
2158 rstate->val[0] = (S_008F30_CLAMP_X(si_tex_wrap(state->wrap_s)) | in si_create_sampler_state()
2166 rstate->val[1] = (S_008F34_MIN_LOD(S_FIXED(CLAMP(state->min_lod, 0, 15), 8)) | in si_create_sampler_state()
2168 rstate->val[2] = (S_008F38_LOD_BIAS(S_FIXED(CLAMP(state->lod_bias, -16, 16), 8)) | in si_create_sampler_state()
2172 rstate->val[3] = S_008F3C_BORDER_COLOR_TYPE(border_color_type); in si_create_sampler_state()
2182 return rstate; in si_create_sampler_state()
/external/boringssl/src/include/openssl/
Dssl.h1339 int rstate; /* where we are when reading */ member