Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcontrol.c43 if ( ctrls == NULL ) { in nsldapi_put_controls()
44 ctrls = ld->ld_servercontrols; in nsldapi_put_controls()
48 if ( ctrls == NULL || ctrls[ 0 ] == NULL ) { in nsldapi_put_controls()
58 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; i++ ) { in nsldapi_put_controls()
59 if ( ctrls[i]->ldctl_iscritical ) { in nsldapi_put_controls()
74 for ( i = 0; ctrls[i] != NULL; i++ ) { in nsldapi_put_controls()
75 c = ctrls[i]; in nsldapi_put_controls()
279 if ( ctrls != NULL ) { in ldap_controls_free()
280 for ( i = 0; ctrls[i] != NULL; i++ ) { in ldap_controls_free()
281 ldap_control_free( ctrls[i] ); in ldap_controls_free()
[all …]
H A Dpsearch.c78 ldap_parse_entrychange_control( LDAP *ld, LDAPControl **ctrls, int *chgtypep, in ldap_parse_entrychange_control() argument
94 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; ++i ) { in ldap_parse_entrychange_control()
95 if ( strcmp( ctrls[i]->ldctl_oid, LDAP_CONTROL_ENTRYCHANGE ) == 0 ) { in ldap_parse_entrychange_control()
100 if ( ctrls == NULL || ctrls[i] == NULL ) { in ldap_parse_entrychange_control()
120 if (( ber = ber_init( &(ctrls[i]->ldctl_value))) == NULL ) { in ldap_parse_entrychange_control()
H A Dvlistctrl.c179 LDAPControl **ctrls, in ldap_parse_virtuallist_control() argument
202 if ( ctrls == NULL ) { in ldap_parse_virtuallist_control()
208 for ( i = 0; (( ctrls[i] != NULL ) && ( !foundListControl )); i++ ) { in ldap_parse_virtuallist_control()
209 foundListControl = !strcmp( ctrls[i]->ldctl_oid, in ldap_parse_virtuallist_control()
217 listCtrlp = ctrls[i-1]; in ldap_parse_virtuallist_control()
H A Dmemcache.c191 static int memcache_get_ctrls_len(LDAPControl **ctrls);
890 memcache_get_ctrls_len(LDAPControl **ctrls)
894 if (ctrls) {
895 for (i = 0; ctrls[i]; i++) {
897 (ctrls[i]->ldctl_value).bv_len + 4;
911 LDAPControl **ctrls;
918 for (i = 0; ctrls[i]; i++) {
921 if ((ctrls[i]->ldctl_value).bv_len > 0) {
922 memcpy(pCh, (ctrls[i]->ldctl_value).bv_val,
923 (ctrls[i]->ldctl_value).bv_len);
[all …]
H A Dldap-int.h790 int nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq,
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_op.c1367 ctrls[0] = ctrls[1] = ctrls[2] = 0; in ldapSearch()
1446 ctrls[0] = ctrls[1] = 0; in ldapSearch()
1478 ctrls[0] = sortCtrl; in ldapSearch()
1479 ctrls[1] = vlvCtrl; in ldapSearch()
1480 ctrls[2] = 0; in ldapSearch()
1487 if (ctrls[0] != 0) in ldapSearch()
1504 ctrls[1] = 0; in ldapSearch()
1569 ctrls[0] = 0; in ldapSearch()
1573 ctrls[1] = 0; in ldapSearch()
1803 if (ctrls[0] != 0) in ldapSearch()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/ac97/
H A Dac97.c129 list_t ctrls; member
706 list_t *l = &ac->ctrls; in ac97_control_find()
741 for (ctrl = list_head(&ac->ctrls); ctrl; in ac_init_values()
742 ctrl = list_next(&ac->ctrls, ctrl)) { in ac_init_values()
1298 for (ctrl = list_head(&ac->ctrls); ctrl; in ac97_register_controls()
1299 ctrl = list_next(&ac->ctrls, ctrl)) { in ac97_register_controls()
1311 for (ctrl = list_head(&ac->ctrls); ctrl; in ac97_walk_controls()
1312 ctrl = list_next(&ac->ctrls, ctrl)) { in ac97_walk_controls()
1364 list_insert_tail(&ac->ctrls, ctrl); in ac_add_control()
1375 list_remove(&ac->ctrls, ctrl); in ac97_control_remove()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiosolo/
H A Daudiosolo.c201 solo_ctrl_t ctrls[CTL_NUM]; member
374 uint64_t value = dev->ctrls[num].val; in solo_mixer_scale()
400 v = (dev->ctrls[CTL_FRONT].val >> 8) & 0xff; in solo_configure_mixer()
405 v = dev->ctrls[CTL_FRONT].val & 0xff; in solo_configure_mixer()
414 mon = dev->ctrls[CTL_MONSRC].val; in solo_configure_mixer()
415 rec = dev->ctrls[CTL_RECSRC].val; in solo_configure_mixer()
442 if (dev->ctrls[CTL_MICBOOST].val) { in solo_configure_mixer()
452 v = dev->ctrls[CTL_SPEAKER].val & 0xff; in solo_configure_mixer()
456 if (dev->ctrls[CTL_LOOPBACK].val) { in solo_configure_mixer()
563 pc = &dev->ctrls[num]; in solo_alloc_ctrl()
[all …]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c278 LDAPControl *ctrls[2]; in main() local
295 ctrls[0] = &aCtrl; in main()
296 ctrls[1] = NULL; in main()
944 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls); in main()
954 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls); in main()
962 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls); in main()
H A Dcommon.c1611 LDAPControl **ctrls; local
1614 &ctrls, 0 )) != LDAP_SUCCESS ) {
1621 if ( NULL != ctrls ) {
1625 for ( i = 0; NULL != ctrls[i]; ++i ) {
1626 if ( 0 == strcmp( ctrls[i]->ldctl_oid,
1628 s = ctrls[i]->ldctl_value.bv_val;
1637 if ( 0 == strcmp( ctrls[i]->ldctl_oid,
1642 pw_secs = atoi(ctrls[i]->ldctl_value.bv_val);
1672 ldap_controls_free( ctrls );
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.c1108 control = statep->ctrls[CTL_CD]; in audiohd_set_pin_volume()
1120 control = statep->ctrls[CTL_MIC]; in audiohd_set_pin_volume()
1167 control = statep->ctrls[CTL_REAR]; in audiohd_set_pin_volume_by_color()
1177 control = statep->ctrls[CTL_LFE]; in audiohd_set_pin_volume_by_color()
1221 val = statep->ctrls[CTL_RECSRC].val; in audiohd_set_input_pin()
1352 ctrl = statep->ctrls[CTL_MONGAIN]; in audiohd_set_monitor_gain()
1382 control = statep->ctrls[CTL_BEEP]; in audiohd_set_beep_volume()
1791 ac = &statep->ctrls[ctl]; in audiohd_create_mono()
1815 ac = &statep->ctrls[ctl]; in audiohd_create_stereo()
1839 ac = &statep->ctrls[ctl]; in audiohd_create_bool()
[all …]
H A Daudiohd.h861 audiohd_ctrl_t ctrls[CTL_MAX]; member
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c89 if (ctrls == NULL || *ctrls == NULL) in _freeControlList()
94 free(*ctrls); in _freeControlList()
95 *ctrls = NULL; in _freeControlList()
1833 LDAPControl **ctrls; in setup_vlv_params() local
1899 if (ctrls == NULL) { in setup_vlv_params()
1905 ctrls[0] = sortctrl; in setup_vlv_params()
1906 ctrls[1] = vlvctrl; in setup_vlv_params()
1908 cookie->p_serverctrls = ctrls; in setup_vlv_params()
1915 LDAPControl **ctrls; in setup_simplepg_params() local
1930 if (ctrls == NULL) { in setup_simplepg_params()
[all …]
/illumos-gate/usr/src/head/
H A Dldap.h651 LDAP_API(void) LDAP_CALL ldap_controls_free(LDAPControl **ctrls);
679 LDAPControl **ctrls, unsigned long *result, char **attribute);
710 LDAPControl **ctrls, unsigned long *target_posp,
728 LDAPControl **ctrls, int *chgtypep, char **prevdnp,
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/
H A Daudioemu10k.c1006 emu10k_ctrl_t *ec = &devc->ctrls[i]; in emu10k_destroy()
1506 ec = &devc->ctrls[ctl]; in emu10k_create_stereo()
1535 ec = &devc->ctrls[ctl]; in emu10k_create_mono()
1573 ec = &devc->ctrls[CTL_AC97SRC]; in emu10k_create_ac97src()
1623 ec = &devc->ctrls[CTL_RECSRC]; in emu10k_create_recsrc()
1697 ec = &devc->ctrls[CTL_JACK3]; in emu10k_create_jack3()
H A Daudioemu10k.h424 emu10k_ctrl_t ctrls[CTL_MAX]; member