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

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dpsearch.c80 ldap_parse_entrychange_control( LDAP *ld, LDAPControl **ctrls, int *chgtypep, argument
96 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; ++i ) {
97 if ( strcmp( ctrls[i]->ldctl_oid, LDAP_CONTROL_ENTRYCHANGE ) == 0 ) {
102 if ( ctrls == NULL || ctrls[i] == NULL ) {
122 if (( ber = ber_init( &(ctrls[i]->ldctl_value))) == NULL ) {
H A Dcontrol.c29 * Append a list of LDAPv3 controls to ber. If ctrls is NULL, use default
35 nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq, argument
45 if ( ctrls == NULL ) {
46 ctrls = ld->ld_servercontrols;
50 if ( ctrls == NULL || ctrls[ 0 ] == NULL ) {
60 for ( i = 0; ctrls != NULL && ctrls[i] != NULL; i++ ) {
61 if ( ctrls[i]->ldctl_iscritical ) {
76 for ( i = 0; ctrls[
[all...]
H A Dvlistctrl.c153 * "ctrls" *target_posp, *list_sizep, and *errcodep are set based on its
181 LDAPControl **ctrls,
204 if ( ctrls == NULL ) {
210 for ( i = 0; (( ctrls[i] != NULL ) && ( !foundListControl )); i++ ) {
211 foundListControl = !strcmp( ctrls[i]->ldctl_oid,
219 listCtrlp = ctrls[i-1];
178 ldap_parse_virtuallist_control( LDAP *ld, LDAPControl **ctrls, unsigned long *target_posp, unsigned long *list_sizep, int *errcodep ) argument
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[
[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, unsigned long *list_sizep, int *errcodep);
492 int ldap_parse_entrychange_control(LDAP *ld, LDAPControl **ctrls, int *chgtypep, char **prevdnp, int *chgnumpresentp, ber_int_t *chgnump);
H A Dldap-int.h792 int nsldapi_put_controls( LDAP *ld, LDAPControl **ctrls, int closeseq,
/illumos-gate/usr/src/uts/common/io/audio/ac97/
H A Dac97.c129 list_t ctrls; member in struct:ac97
706 list_t *l = &ac->ctrls;
741 for (ctrl = list_head(&ac->ctrls); ctrl;
742 ctrl = list_next(&ac->ctrls, ctrl)) {
1298 for (ctrl = list_head(&ac->ctrls); ctrl;
1299 ctrl = list_next(&ac->ctrls, ctrl)) {
1311 for (ctrl = list_head(&ac->ctrls); ctrl;
1312 ctrl = list_next(&ac->ctrls, ctrl)) {
1364 list_insert_tail(&ac->ctrls, ctrl);
1375 list_remove(&ac->ctrls, ctr
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_op.c1354 LDAPControl *ctrls[3], *sortCtrl = 0, *vlvCtrl = 0; local
1367 ctrls[0] = ctrls[1] = ctrls[2] = 0;
1446 ctrls[0] = ctrls[1] = 0;
1478 ctrls[0] = sortCtrl;
1479 ctrls[1] = vlvCtrl;
1480 ctrls[2] = 0;
1483 ls->attrsonly, ctrls,
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiosolo/
H A Daudiosolo.c201 solo_ctrl_t ctrls[CTL_NUM]; member in struct:solo_dev
374 uint64_t value = dev->ctrls[num].val;
400 v = (dev->ctrls[CTL_FRONT].val >> 8) & 0xff;
405 v = dev->ctrls[CTL_FRONT].val & 0xff;
414 mon = dev->ctrls[CTL_MONSRC].val;
415 rec = dev->ctrls[CTL_RECSRC].val;
442 if (dev->ctrls[CTL_MICBOOST].val) {
452 v = dev->ctrls[CTL_SPEAKER].val & 0xff;
456 if (dev->ctrls[CTL_LOOPBACK].val) {
563 pc = &dev->ctrls[nu
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptest.c278 LDAPControl *ctrls[2]; local
295 ctrls[0] = &aCtrl;
296 ctrls[1] = NULL;
944 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls);
954 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls);
962 ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, ctrls);
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 );
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_reads.c83 _freeControlList(LDAPControl ***ctrls) argument
87 if (ctrls == NULL || *ctrls == NULL)
90 for (ctrl = *ctrls; *ctrl != NULL; ctrl++)
92 free(*ctrls);
93 *ctrls = NULL;
1832 LDAPControl **ctrls; local
1897 ctrls = (LDAPControl **)calloc(3, sizeof (LDAPControl *));
1898 if (ctrls == NULL) {
1904 ctrls[
1914 LDAPControl **ctrls; local
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.c1090 control = statep->ctrls[CTL_SPEAKER];
1096 control = statep->ctrls[CTL_HEADPHONE];
1102 control = statep->ctrls[CTL_FRONT];
1108 control = statep->ctrls[CTL_CD];
1114 control = statep->ctrls[CTL_LINEIN];
1120 control = statep->ctrls[CTL_MIC];
1161 control = statep->ctrls[CTL_FRONT];
1167 control = statep->ctrls[CTL_REAR];
1173 control = statep->ctrls[CTL_CENTER];
1177 control = statep->ctrls[CTL_LF
[all...]
H A Daudiohd.h861 audiohd_ctrl_t ctrls[CTL_MAX]; member in struct:audiohd_state
/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.h424 emu10k_ctrl_t ctrls[CTL_MAX]; member in struct:_emu10k_devc_t
H A Daudioemu10k.c1001 emu10k_ctrl_t *ec = &devc->ctrls[i];
1501 ec = &devc->ctrls[ctl];
1530 ec = &devc->ctrls[ctl];
1568 ec = &devc->ctrls[CTL_AC97SRC];
1618 ec = &devc->ctrls[CTL_RECSRC];
1692 ec = &devc->ctrls[CTL_JACK3];

Completed in 168 milliseconds