Searched refs:rs (Results 1 - 25 of 411) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/lto/
H A D20090312_0.c8 char *s = *sp, *rs = s; local
11 rs++;
12 while (c = *rs)
17 *rs++ = c;
22 *rs++ = c;
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-bdb/
H A Dbind.c28 bdb_bind( Operation *op, SlapReply *rs )
48 return rs->sr_err;
60 rs->sr_err = bdb_reader_get(op, bdb->bi_dbenv, &rtxn);
61 switch(rs->sr_err) {
65 rs->sr_text = "internal error";
66 send_ldap_result( op, rs );
67 return rs->sr_err;
72 rs->sr_err = bdb_dn2entry( op, rtxn, &op->o_req_ndn, &ei, 1,
75 switch(rs->sr_err) {
80 send_ldap_error( op, rs, LDAP_BUS
[all...]
H A Dcompare.c27 bdb_compare( Operation *op, SlapReply *rs )
38 rs->sr_err = bdb_reader_get(op, bdb->bi_dbenv, &rtxn);
39 switch(rs->sr_err) {
43 send_ldap_error( op, rs, LDAP_OTHER, "internal error" );
44 return rs->sr_err;
49 rs->sr_err = bdb_dn2entry( op, rtxn, &op->o_req_ndn, &ei, 1,
52 switch( rs->sr_err ) {
57 rs->sr_text = "ldap server busy";
63 rs->sr_err = LDAP_OTHER;
64 rs
[all...]
H A Dadd.c27 bdb_add(Operation *op, SlapReply *rs )
62 rs->sr_text = "invalid transaction identifier";
63 rs->sr_err = LDAP_X_TXN_ID_INVALID;
74 rs->sr_text = "transaction cannot span multiple database contexts";
75 rs->sr_err = LDAP_AFFECTS_MULTIPLE_DSAS;
81 rs->sr_text = "transaction specified";
82 rs->sr_err = LDAP_X_TXN_SPECIFY_OKAY;
89 send_ldap_result( op, rs );
90 return rs->sr_err;
98 rs
[all...]
H A Ddelete.c28 bdb_delete( Operation *op, SlapReply *rs )
68 rs->sr_text = "invalid transaction identifier";
69 rs->sr_err = LDAP_X_TXN_ID_INVALID;
80 rs->sr_text = "transaction cannot span multiple database contexts";
81 rs->sr_err = LDAP_AFFECTS_MULTIPLE_DSAS;
87 rs->sr_text = "transaction specified";
88 rs->sr_err = LDAP_X_TXN_SPECIFY_OKAY;
95 send_ldap_result( op, rs );
96 return rs->sr_err;
126 rs
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-monitor/
H A Dbind.c36 monitor_back_bind( Operation *op, SlapReply *rs )
45 rs->sr_err = LDAP_INVALID_CREDENTIALS;
46 send_ldap_result( op, rs );
48 return rs->sr_err;
H A Dcompare.c32 monitor_back_compare( Operation *op, SlapReply *rs )
40 monitor_cache_dn2entry( op, rs, &op->o_req_ndn, &e, &matched );
42 rs->sr_err = LDAP_NO_SUCH_OBJECT;
50 rs->sr_matched = matched->e_dn;
53 send_ldap_result( op, rs );
56 rs->sr_matched = NULL;
59 return rs->sr_err;
62 rs->sr_err = access_allowed( op, e, op->oq_compare.rs_ava->aa_desc,
64 if ( !rs->sr_err ) {
65 rs
[all...]
H A Dmodify.c36 monitor_back_modify( Operation *op, SlapReply *rs )
46 monitor_cache_dn2entry( op, rs, &op->o_req_ndn, &e, &matched );
48 rs->sr_err = LDAP_NO_SUCH_OBJECT;
56 rs->sr_matched = matched->e_dn;
59 send_ldap_result( op, rs );
61 rs->sr_matched = NULL;
64 return rs->sr_err;
74 rc = monitor_entry_modify( op, rs, e );
85 rs->sr_err = rc;
86 send_ldap_result( op, rs );
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/rs/
H A DMakefile5 PROG= rs
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/
H A Dcompare.c44 SlapReply *rs )
68 send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "decoding error" );
75 send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "decoding error" );
82 send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "decoding error" );
86 if( get_ctrls( op, rs, 1 ) != LDAP_SUCCESS ) {
92 rs->sr_err = dnPrettyNormal( NULL, &dn, &op->o_req_dn, &op->o_req_ndn,
94 if( rs->sr_err != LDAP_SUCCESS ) {
97 send_ldap_error( op, rs, LDAP_INVALID_DN_SYNTAX, "invalid DN" );
106 rs->sr_err = slap_bv2ad( &desc, &ava.aa_desc, &rs
[all...]
H A Dsearch.c41 SlapReply *rs /* all the response data we'll send */ )
78 send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "decoding error" );
79 rs->sr_err = SLAPD_DISCONNECT;
84 send_ldap_error( op, rs, LDAP_PROTOCOL_ERROR, "invalid time limit" );
89 send_ldap_error( op, rs, LDAP_PROTOCOL_ERROR, "invalid size limit" );
100 send_ldap_error( op, rs, LDAP_PROTOCOL_ERROR, "invalid scope" );
111 send_ldap_error( op, rs, LDAP_PROTOCOL_ERROR, "invalid deref" );
115 rs->sr_err = dnPrettyNormal( NULL, &base, &op->o_req_dn, &op->o_req_ndn, op->o_tmpmemctx );
116 if( rs->sr_err != LDAP_SUCCESS ) {
119 send_ldap_error( op, rs, LDAP_INVALID_DN_SYNTA
[all...]
H A Dresult.c44 int slap_null_cb( Operation *op, SlapReply *rs )
49 int slap_freeself_cb( Operation *op, SlapReply *rs )
144 /* Set rs->sr_entry after obyeing and clearing sr_flags & REP_ENTRY_MASK. */
146 rs_replace_entry( Operation *op, SlapReply *rs, slap_overinst *on, Entry *e ) argument
148 slap_mask_t e_flags = rs->sr_flags & REP_ENTRY_MUSTFLUSH;
150 if ( e_flags && rs->sr_entry != NULL ) {
153 entry_free( rs->sr_entry );
155 overlay_entry_release_ov( op, rs->sr_entry, 0, on );
157 be_entry_release_rw( op, rs->sr_entry, 0 );
160 rs
170 rs_ensure_entry_modifiable( Operation *op, SlapReply *rs, slap_overinst *on ) argument
1606 slap_read_controls( Operation *op, SlapReply *rs, Entry *e, const struct berval *oid, LDAPControl **ctrl ) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-ndb/
H A Dbind.cpp30 ndb_back_bind( Operation *op, SlapReply *rs )
50 return rs->sr_err;
54 rs->sr_err = ndb_thread_handle( op, &NA.ndb );
62 rs->sr_text = NULL;
67 rs->sr_err = LDAP_OTHER;
68 rs->sr_text = "internal error";
78 rs->sr_err = ndb_entry_get_info( op, &NA, 0, NULL );
80 switch(rs->sr_err) {
84 rs->sr_err = LDAP_INVALID_CREDENTIALS;
87 rs
[all...]
H A Dadd.cpp29 ndb_back_add(Operation *op, SlapReply *rs )
56 rs->sr_err = entry_schema_check( op, op->oq_add.rs_e, NULL,
57 get_relax(op), 1, NULL, &rs->sr_text, textbuf, textlen );
58 if ( rs->sr_err != LDAP_SUCCESS ) {
61 "%s (%d)\n", rs->sr_text, rs->sr_err, 0 );
67 rs->sr_err = slap_add_opattrs( op, &rs->sr_text, textbuf, textlen, 1 );
68 if ( rs->sr_err != LDAP_SUCCESS ) {
71 "%s (%d)\n", rs
[all...]
H A Ddelete.cpp32 ndb_back_delete( Operation *op, SlapReply *rs )
74 rs->sr_err = ndb_thread_handle( op, &NA.ndb );
90 rs->sr_err = SLAPD_ABANDON;
102 rs->sr_text = NULL;
107 rs->sr_err = LDAP_OTHER;
108 rs->sr_text = "internal error";
113 rs->sr_err = ndb_entry_get_info( op, &NA, 1, &matched );
114 switch( rs->sr_err ) {
124 rs->sr_text = "ldap server busy";
127 rs
[all...]
H A Dcompare.cpp29 ndb_back_compare( Operation *op, SlapReply *rs )
41 rs->sr_err = ndb_thread_handle( op, &NA.ndb );
51 rs->sr_text = NULL;
56 rs->sr_err = LDAP_OTHER;
57 rs->sr_text = "internal error";
63 rs->sr_err = ndb_entry_get_info( op, &NA, 0, &matched );
64 switch( rs->sr_err ) {
68 rs->sr_matched = matched.bv_val;
70 ndb_check_referral( op, rs, &NA );
73 rs
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-ldap/
H A Dextended.c33 typedef int (ldap_back_exop_f)( Operation *op, SlapReply *rs, ldapconn_t **lc );
47 ldap_back_extended_one( Operation *op, SlapReply *rs, ldap_back_exop_f exop ) argument
59 if ( !ldap_back_dobind( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
64 if ( ldap_back_controls_add( op, rs, lc, &ctrls ) )
67 send_ldap_extended( op, rs );
68 rs->sr_text = NULL;
70 rc = rs->sr_err = SLAPD_ABANDON;
75 rc = exop( op, rs, &lc );
78 (void)ldap_back_controls_free( op, rs, &ctrls );
91 SlapReply *rs )
109 ldap_back_exop_passwd( Operation *op, SlapReply *rs, ldapconn_t **lcp ) argument
297 ldap_back_exop_generic( Operation *op, SlapReply *rs, ldapconn_t **lcp ) argument
[all...]
H A Ddelete.c39 SlapReply *rs )
49 if ( !ldap_back_dobind( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
50 return rs->sr_err;
55 rc = ldap_back_controls_add( op, rs, lc, &ctrls );
57 send_ldap_result( op, rs );
58 rc = rs->sr_err;
62 rs->sr_err = ldap_delete_ext( lc->lc_ld, op->o_req_dn.bv_val,
64 rc = ldap_back_op_result( lc, op, rs, msgid,
67 if ( rs->sr_err == LDAP_UNAVAILABLE && retrying ) {
69 if ( ldap_back_retry( &lc, op, rs, LDAP_BACK_SENDER
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Ddelete.c37 meta_back_delete( Operation *op, SlapReply *rs )
49 mc = meta_back_getconn( op, rs, &candidate, LDAP_BACK_SENDERR );
50 if ( !mc || !meta_back_dobind( op, rs, mc, LDAP_BACK_SENDERR ) ) {
51 return rs->sr_err;
62 dc.rs = rs;
66 send_ldap_result( op, rs );
72 if ( meta_back_controls_add( op, rs, mc, candidate, &ctrls ) != LDAP_SUCCESS )
74 send_ldap_result( op, rs );
78 rs
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-dnssrv/
H A Dcompare.c37 SlapReply *rs
43 send_ldap_error( op, rs, LDAP_OTHER,
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-perl/
H A Dbind.c31 SlapReply *rs )
39 switch ( be_rootdn_bind( op, rs ) ) {
44 return rs->sr_err;
74 rs->sr_err = POPi;
82 Debug( LDAP_DEBUG_ANY, "Perl BIND returned 0x%04x\n", rs->sr_err, 0, 0 );
85 if( rs->sr_err != LDAP_SUCCESS )
86 send_ldap_result( op, rs );
88 return ( rs->sr_err );
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dbind.c34 backsql_bind( Operation *op, SlapReply *rs )
45 switch ( be_rootdn_bind( op, rs ) ) {
53 rs->sr_err, 0, 0 );
54 return rs->sr_err;
57 rs->sr_err = backsql_get_db_conn( op, &dbh );
58 if ( rs->sr_err != LDAP_SUCCESS ) {
63 rs->sr_text = ( rs->sr_err == LDAP_OTHER )
74 (time_t)(-1), NULL, dbh, op, rs, anlist,
80 rs
[all...]
H A Dcompare.c34 backsql_compare( Operation *op, SlapReply *rs )
46 rs->sr_err = backsql_get_db_conn( op, &dbh );
47 if ( rs->sr_err != LDAP_SUCCESS ) {
52 rs->sr_text = ( rs->sr_err == LDAP_OTHER )
66 (time_t)(-1), NULL, dbh, op, rs, anlist,
76 rs->sr_err = LDAP_SUCCESS;
77 rs->sr_text = NULL;
78 rs->sr_matched = NULL;
79 if ( rs
[all...]
H A Dmodrdn.c35 backsql_modrdn( Operation *op, SlapReply *rs )
61 rs->sr_err = backsql_get_db_conn( op, &dbh );
62 if ( rs->sr_err != LDAP_SUCCESS ) {
66 rs->sr_text = ( rs->sr_err == LDAP_OTHER )
73 rs->sr_err = backsql_init_search( &bsi, &op->o_req_ndn,
75 (time_t)(-1), NULL, dbh, op, rs,
78 switch ( rs->sr_err ) {
86 rs->sr_err = LDAP_SUCCESS;
87 rs
[all...]
/netbsd-6-1-5-RELEASE/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar5416_recv.c94 struct ath_rx_status *rs)
110 rs->rs_status = 0;
111 rs->rs_flags = 0;
113 rs->rs_datalen = ads->ds_rxstatus1 & AR_DataLen;
114 rs->rs_tstamp = ads->AR_RcvTimestamp;
118 rs->rs_rssi = MS(ads->ds_rxstatus4, AR_RxRSSICombined);
119 rs->rs_rssi_ctl[0] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt00);
120 rs->rs_rssi_ctl[1] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt01);
121 rs->rs_rssi_ctl[2] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt02);
122 rs
92 ar5416ProcRxDesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pa, struct ath_desc *nds, uint64_t tsf, struct ath_rx_status *rs) argument
[all...]

Completed in 304 milliseconds

1234567891011>>