Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dcontrol.c35 nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq, in nsldapi_put_controls() argument
45 if ( ctrls == NULL ) { in nsldapi_put_controls()
46 ctrls = ld->ld_servercontrols; in nsldapi_put_controls()
50 if ( ctrls == NULL || ctrls[ 0 ] == NULL ) { in nsldapi_put_controls()
60 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; i++ ) { in nsldapi_put_controls()
61 if ( ctrls[i]->ldctl_iscritical ) { in nsldapi_put_controls()
76 for ( i = 0; ctrls[i] != NULL; i++ ) { in nsldapi_put_controls()
77 c = ctrls[i]; in nsldapi_put_controls()
277 ldap_controls_free( LDAPControl **ctrls ) in ldap_controls_free() argument
281 if ( ctrls != NULL ) { in ldap_controls_free()
[all …]
H A Dpsearch.c80 ldap_parse_entrychange_control( LDAP *ld, LDAPControl **ctrls, int *chgtypep, in ldap_parse_entrychange_control() argument
96 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; ++i ) { in ldap_parse_entrychange_control()
97 if ( strcmp( ctrls[i]->ldctl_oid, LDAP_CONTROL_ENTRYCHANGE ) == 0 ) { in ldap_parse_entrychange_control()
102 if ( ctrls == NULL || ctrls[i] == NULL ) { in ldap_parse_entrychange_control()
122 if (( ber = ber_init( &(ctrls[i]->ldctl_value))) == NULL ) { in ldap_parse_entrychange_control()
H A Dvlistctrl.c181 LDAPControl **ctrls, in ldap_parse_virtuallist_control() argument
204 if ( ctrls == NULL ) { in ldap_parse_virtuallist_control()
210 for ( i = 0; (( ctrls[i] != NULL ) && ( !foundListControl )); i++ ) { in ldap_parse_virtuallist_control()
211 foundListControl = !strcmp( ctrls[i]->ldctl_oid, in ldap_parse_virtuallist_control()
219 listCtrlp = ctrls[i-1]; in ldap_parse_virtuallist_control()
H A Dmemcache.c192 static int memcache_get_ctrls_len(LDAPControl **ctrls);
891 memcache_get_ctrls_len(LDAPControl **ctrls)
895 if (ctrls) {
896 for (i = 0; ctrls[i]; i++) {
897 len += strlen(NSLDAPI_STR_NONNULL(ctrls[i]->ldctl_oid)) +
898 (ctrls[i]->ldctl_value).bv_len + 4;
912 LDAPControl **ctrls;
916 if ((ctrls = (j ? clientCtrls : serverCtrls)) == NULL)
919 for (i = 0; ctrls[i]; i++) {
920 sprintf(pCh, "%s\n", NSLDAPI_STR_NONNULL(ctrls[i]->ldctl_oid));
[all …]
H A Dllib-lldap370 void ldap_controls_free (LDAPControl **ctrls);
463 int ldap_parse_virtuallist_control(LDAP *ld, LDAPControl **ctrls, unsigned long *target_posp, unsig…
492 int ldap_parse_entrychange_control(LDAP *ld, LDAPControl **ctrls, int *chgtypep, char **prevdnp, in…
H A Dldap-int.h792 int nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq,
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_op.c1355 LDAPControl *ctrls[3], *sortCtrl = 0, *vlvCtrl = 0; in ldapSearch() local
1368 ctrls[0] = ctrls[1] = ctrls[2] = 0; in ldapSearch()
1447 ctrls[0] = ctrls[1] = 0; in ldapSearch()
1479 ctrls[0] = sortCtrl; in ldapSearch()
1480 ctrls[1] = vlvCtrl; in ldapSearch()
1481 ctrls[2] = 0; in ldapSearch()
1484 ls->attrsonly, ctrls, 0, &tv, in ldapSearch()
1488 if (ctrls[0] != 0) in ldapSearch()
1489 ldap_control_free(ctrls[0]); in ldapSearch()
1491 lc->batchFrom, spCookie, 0, &ctrls[0]); in ldapSearch()
[all …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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.c1610 LDAPControl **ctrls; local
1613 &ctrls, 0 )) != LDAP_SUCCESS ) {
1620 if ( NULL != ctrls ) {
1624 for ( i = 0; NULL != ctrls[i]; ++i ) {
1625 if ( 0 == strcmp( ctrls[i]->ldctl_oid,
1627 s = ctrls[i]->ldctl_value.bv_val;
1636 if ( 0 == strcmp( ctrls[i]->ldctl_oid,
1641 pw_secs = atoi(ctrls[i]->ldctl_value.bv_val);
1671 ldap_controls_free( ctrls );
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_reads.c83 _freeControlList(LDAPControl ***ctrls) in _freeControlList() argument
87 if (ctrls == NULL || *ctrls == NULL) in _freeControlList()
90 for (ctrl = *ctrls; *ctrl != NULL; ctrl++) in _freeControlList()
92 free(*ctrls); in _freeControlList()
93 *ctrls = NULL; in _freeControlList()
1832 LDAPControl **ctrls; in setup_vlv_params() local
1897 ctrls = (LDAPControl **)calloc(3, sizeof (LDAPControl *)); in setup_vlv_params()
1898 if (ctrls == NULL) { in setup_vlv_params()
1904 ctrls[0] = sortctrl; in setup_vlv_params()
1905 ctrls[1] = vlvctrl; in setup_vlv_params()
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.c1090 control = statep->ctrls[CTL_SPEAKER]; in audiohd_set_pin_volume()
1096 control = statep->ctrls[CTL_HEADPHONE]; in audiohd_set_pin_volume()
1102 control = statep->ctrls[CTL_FRONT]; in audiohd_set_pin_volume()
1108 control = statep->ctrls[CTL_CD]; in audiohd_set_pin_volume()
1114 control = statep->ctrls[CTL_LINEIN]; in audiohd_set_pin_volume()
1120 control = statep->ctrls[CTL_MIC]; in audiohd_set_pin_volume()
1161 control = statep->ctrls[CTL_FRONT]; in audiohd_set_pin_volume_by_color()
1167 control = statep->ctrls[CTL_REAR]; in audiohd_set_pin_volume_by_color()
1173 control = statep->ctrls[CTL_CENTER]; in audiohd_set_pin_volume_by_color()
1177 control = statep->ctrls[CTL_LFE]; in audiohd_set_pin_volume_by_color()
[all …]
H A Daudiohd.h861 audiohd_ctrl_t ctrls[CTL_MAX]; member
/titanic_41/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,
/titanic_41/usr/src/uts/common/io/audio/drv/audioemu10k/
H A Daudioemu10k.h424 emu10k_ctrl_t ctrls[CTL_MAX]; member
H A Daudioemu10k.c1001 emu10k_ctrl_t *ec = &devc->ctrls[i]; in emu10k_destroy()
1501 ec = &devc->ctrls[ctl]; in emu10k_create_stereo()
1530 ec = &devc->ctrls[ctl]; in emu10k_create_mono()
1568 ec = &devc->ctrls[CTL_AC97SRC]; in emu10k_create_ac97src()
1618 ec = &devc->ctrls[CTL_RECSRC]; in emu10k_create_recsrc()
1692 ec = &devc->ctrls[CTL_JACK3]; in emu10k_create_jack3()