Searched defs:ld (Results 1 - 25 of 136) sorted by relevance

123456

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmessage.c51 ldap_first_message( LDAP *ld, LDAPMessage *chain ) argument
53 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
63 ldap_next_message( LDAP *ld, LDAPMessage *msg ) argument
65 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
79 ldap_count_messages( LDAP *ld, LDAPMessage *chain ) argument
83 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
H A Dbind.c45 * ldap_bind( ld, "cn=manager, o=university of michigan, c=us", "secret",
51 ldap_bind( LDAP *ld, const char *dn, const char *passwd, int authmethod ) argument
67 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
73 return( ldap_simple_bind( ld, dn, passwd ) );
76 LDAP_SET_LDERRNO( ld, LDAP_AUTH_UNKNOWN, NULL, NULL );
90 * ldap_bind_s( ld, "cn=manager, o=university of michigan, c=us",
92 * ldap_bind_s( ld, "cn=manager, o=university of michigan, c=us",
97 ldap_bind_s( LDAP *ld, const char *dn, const char *passwd, int authmethod ) argument
105 return( ldap_simple_bind_s( ld, dn, passwd ) );
109 LDAP_SET_LDERRNO( ld, er
117 ldap_set_rebind_proc( LDAP *ld, LDAP_REBINDPROC_CALLBACK *rebindproc, void *arg ) argument
[all...]
H A Dgetattr.c60 ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **ber ) argument
68 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
73 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
77 if ( nsldapi_alloc_ber_with_options( ld, ber ) != LDAP_SUCCESS ) {
104 LDAP_SET_LDERRNO( ld, err, NULL, NULL );
115 ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber ) argument
122 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
127 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
140 LDAP_SET_LDERRNO( ld, err, NULL, NULL );
H A Dgetentry.c42 ldap_first_entry( LDAP *ld, LDAPMessage *chain ) argument
44 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || chain == NULLMSG ) {
52 return( ldap_next_entry( ld, chain ));
58 ldap_next_entry( LDAP *ld, LDAPMessage *entry ) argument
60 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || entry == NULLMSG ) {
76 ldap_count_entries( LDAP *ld, LDAPMessage *chain ) argument
80 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
96 ldap_get_entry_controls( LDAP *ld, LDAPMessage *entry, argument
104 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
126 LDAP_SET_LDERRNO( ld, r
[all...]
H A Dproxyauthctrl.c32 ld LDAP pointer to the desired connection
47 LDAP *ld,
56 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
61 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
70 if ( ( nsldapi_alloc_ber_with_options( ld, &ber ) ) != LDAP_SUCCESS ) {
71 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL );
81 LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL );
89 LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
101 ld LDAP pointer to the desired connection
112 LDAP *ld,
46 ldap_create_proxyauth_control( LDAP *ld, const char *dn, const char ctl_iscritical, LDAPControl **ctrlp ) argument
111 ldap_create_proxiedauth_control( LDAP *ld, const char *authzid, LDAPControl **ctrlp ) argument
[all...]
H A Dabandon.c41 static int do_abandon( LDAP *ld, int origid, int msgid,
47 * ld LDAP descriptor
53 * ldap_abandon( ld, msgid );
57 ldap_abandon( LDAP *ld, int msgid ) argument
61 if ( ldap_abandon_ext( ld, msgid, NULL, NULL ) == LDAP_SUCCESS ) {
75 ldap_abandon_ext( LDAP *ld, int msgid, LDAPControl **serverctrls, argument
82 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
86 LDAP_MUTEX_LOCK( ld, LDAP_CONN_LOCK );
87 LDAP_MUTEX_LOCK( ld, LDAP_REQ_LOCK );
88 rc = do_abandon( ld, msgi
109 do_abandon( LDAP *ld, int origid, int msgid, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument
[all...]
H A Dadd.c43 * ld LDAP descriptor
57 * msgid = ldap_add( ld, dn, attrs );
61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) argument
67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid )
71 return( -1 ); /* error is in ld handle */
82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, argument
101 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
107 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
113 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
121 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOC
190 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ) argument
196 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument
[all...]
H A Dcache.c41 ldap_cache_flush( LDAP *ld, const char *dn, const char *filter ) argument
43 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
51 return( (ld->ld_cache_flush)( ld, dn, filter ) );
62 nsldapi_add_result_to_cache( LDAP *ld, LDAPMessage *m ) argument
76 ld->ld_cache_add == NULL ) {
84 dn = ldap_get_dn( ld, m );
92 for ( i = 0, a = ldap_first_attribute( ld, m, &ber ); a != NULL;
93 a = ldap_next_attribute( ld, m, ber ), i++ ) {
116 mods[i]->mod_bvalues = ldap_get_values_len( ld,
[all...]
H A Ddelete.c39 * ld LDAP descriptor
43 * msgid = ldap_delete( ld, dn );
47 ldap_delete( LDAP *ld, const char *dn ) argument
53 if ( ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) {
56 return( -1 ); /* error is in ld handle */
62 ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls, argument
75 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
81 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
88 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
89 *msgidp = ++ld
133 ldap_delete_s( LDAP *ld, const char *dn ) argument
140 ldap_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument
[all...]
H A Dgetoption.c31 #define LDAP_GET_BITOPT( ld, bit ) \
32 ((ld)->ld_options & bit ) != 0 ? 1 : 0
40 ldap_get_option( LDAP *ld, int option, void *optdata ) argument
67 if ( ld != NULL ) {
68 LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
86 * if ld is NULL, arrange to return options from our default settings
88 if ( ld == NULL ) {
89 ld = &nsldapi_ld_defaults;
92 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
97 if (ld !
[all...]
H A Dmodify.c43 * ld LDAP descriptor
55 * msgid = ldap_modify( ld, dn, mods );
59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) argument
65 if ( ldap_modify_ext( ld, dn, mods, NULL, NULL, &msgid )
69 return( -1 ); /* error is in ld handle */
75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, argument
101 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
106 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
112 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
119 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOC
190 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ) argument
197 ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument
[all...]
H A Dsbind.c40 static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
42 static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd );
50 * ldap_simple_bind( ld, "cn=manager, o=university of michigan, c=us",
56 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd ) argument
62 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
66 rc = simple_bind_nolock( ld, dn, passwd, 1 );
73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, argument
91 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
92 msgid = ++ld->ld_msgid;
93 LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOC
153 ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd ) argument
182 simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd ) argument
[all...]
H A Dsetoption.c41 #define LDAP_SETCLR_BITOPT(ld, bit, optdata) \
43 (ld)->ld_options |= bit; \
45 (ld)->ld_options &= ~bit; \
51 ldap_set_option(LDAP *ld, int option, const void *optdata) argument
96 * if ld is NULL, arrange to modify our default settings
98 if (ld == NULL) {
99 ld = &nsldapi_ld_defaults;
109 if (!NSLDAPI_VALID_LDAP_POINTER(ld)) {
114 if (ld != &nsldapi_ld_defaults &&
117 LDAP_MUTEX_LOCK(ld, LDAP_OPTION_LOC
[all...]
H A Dspagectrl.c24 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output) argument
29 if (NULL == ld || NULL == output)
47 ld->ld_errno = rc;
51 int ldap_parse_page_control(LDAP *ld, LDAPControl **controls, unsigned int *totalcount, struct berval **cookie) argument
H A Dcompare.c46 * ldap_compare( ld, "c=us@cn=bob", "userPassword", "secret" )
50 ldap_compare( LDAP *ld, const char *dn, const char *attr, const char *value ) argument
60 if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid )
64 return( -1 ); /* error is in ld handle */
70 ldap_compare_ext( LDAP *ld, const char *dn, const char *attr, argument
90 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
96 LDAP_SET_LDERRNO( ld, lderr, NULL, NULL );
104 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
105 *msgidp = ++ld->ld_msgid;
106 LDAP_MUTEX_UNLOCK( ld, LDAP_MSGID_LOC
150 ldap_compare_s( LDAP *ld, const char *dn, const char *attr, const char *value ) argument
163 ldap_compare_ext_s( LDAP *ld, const char *dn, const char *attr, const struct berval *bvalue, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument
[all...]
H A Dpsearch.c28 ldap_create_persistentsearch_control( LDAP *ld, int changetypes, argument
35 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
57 if (( nsldapi_alloc_ber_with_options( ld, &ber )) != LDAP_SUCCESS ) {
73 LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
80 ldap_parse_entrychange_control( LDAP *ld, LDAPControl **ctrls, int *chgtypep, argument
89 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
170 LDAP_SET_LDERRNO( ld, rc, NULL, NULL );
H A Dreferral.c38 ldap_first_reference( LDAP *ld, LDAPMessage *res ) argument
40 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || res == NULLMSG ) {
48 return( ldap_next_reference( ld, res ));
54 ldap_next_reference( LDAP *ld, LDAPMessage *ref ) argument
56 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || ref == NULLMSG ) {
72 ldap_count_references( LDAP *ld, LDAPMessage *res ) argument
76 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
95 ldap_parse_reference( LDAP *ld, LDAPMessage *ref, char ***referralsp, argument
100 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) ||
105 err = nsldapi_parse_reference( ld, re
123 nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp, LDAPControl ***serverctrlsp ) argument
173 ldap_get_reference_urls(LDAP *ld, LDAPMessage *res) argument
[all...]
H A Drename.c43 * ld LDAP descriptor
57 * rc = ldap_rename( ld, dn, newrdn, newparent, deleteoldrdn, serverctrls, clientctrls, &msgid );
62 LDAP *ld,
87 if ( !NSLDAPI_VALID_LDAP_POINTER( ld )) {
91 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
99 if (( NSLDAPI_LDAP_VERSION( ld ) < LDAP_VERSION3 )
102 LDAP_SET_LDERRNO( ld, LDAP_NOT_SUPPORTED, NULL, NULL );
107 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL );
111 LDAP_MUTEX_LOCK( ld, LDAP_MSGID_LOCK );
112 *msgidp = ++ld
61 ldap_rename( LDAP *ld, const char *dn, const char *newrdn, const char *newparent, int deleteoldrdn, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp ) argument
185 ldap_modrdn2( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) argument
198 ldap_modrdn( LDAP *ld, const char *dn, const char *newrdn ) argument
205 ldap_rename_s( LDAP *ld, const char *dn, const char *newrdn, const char *newparent, int deleteoldrdn, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument
233 ldap_modrdn2_s( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) argument
249 ldap_modrdn_s( LDAP *ld, const char *dn, const char *newrdn ) argument
[all...]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dnanl.c38 long double ld; member in union:__anon3551
45 long double ld; member in union:__anon3552
55 return (__nanl_union.ld);
H A Dfmaxl.c44 long double ld; member in union:__anon3514
63 xx.ld = x;
64 yy.ld = y;
75 return (xx.ld);
H A Dfminl.c44 long double ld; member in union:__anon3517
63 xx.ld = x;
64 yy.ld = y;
75 return (xx.ld);
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-float.c27 double ld; local
67 ld = 2.5;
68 sm_snprintf(buf, sizeof(buf), "%.3f %.1f", d, ld);
/illumos-gate/usr/src/lib/libbc/libc/compat/common/
H A Dlockf.c49 struct flock ld; local
53 ld.l_type = F_WRLCK; /* lockf() only deals with exclusive locks */
54 ld.l_whence = 1; /* lock always starts at current position */
56 ld.l_start = size;
57 ld.l_len = -size;
59 ld.l_start = 0L;
60 ld.l_len = size;
65 if (_syscall(SYS_fcntl, fildes, SV_GETLK, &ld) != -1) {
66 if (ld.l_type == F_UNLCK) {
67 ld
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_krbcontainer.c80 LDAP *ld=NULL; local
156 if ((ent = ldap_first_entry(ld, result)) != NULL) {
157 if ((st=krb5_ldap_get_string(ld, ent, "krbcontainerreference",
174 if ((ent = ldap_first_entry(ld, result))) {
175 if ((st=krb5_ldap_get_string(ld, ent, "krbticketpolicyreference",
189 ent=ldap_first_entry(ld, result);
191 krb5_ldap_get_value(ld, ent, "krbmaxtktlife", &(cparams->max_life));
192 krb5_ldap_get_value(ld, ent, "krbmaxrenewableage", &(cparams->max_renewable_life));
193 krb5_ldap_get_value(ld, ent, "krbticketflags", &(cparams->tktflags));
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_ftoull.c225 _Q_qtoull(long double ld) argument
233 int *plngdbl = (int *)&ld;

Completed in 80 milliseconds

123456