Searched refs:SAFEMEMCPY (Results 1 - 25 of 27) sorted by relevance

12

/osnet-11/usr/src/lib/libkmf/ber_der/inc/
H A Dkmfber_int.h94 #ifdef SAFEMEMCPY
95 #undef SAFEMEMCPY macro
96 #define SAFEMEMCPY(d, s, n) memmove(d, s, n); macro
H A Dber_der.h90 #define SAFEMEMCPY(d, s, n) memmove(d, s, n) macro
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/
H A Dlber-int.h271 #ifdef SAFEMEMCPY
272 #undef SAFEMEMCPY macro
273 #define SAFEMEMCPY(d,s,n) if (1 == n) *((char*)d) = *((char*)s); else THEMEMCPY(d,s,n); macro
H A Dencode.c467 SAFEMEMCPY( (*sos)->sos_first + taglen +
491 SAFEMEMCPY( (*sos)->sos_first, (char *) &ntag +
500 SAFEMEMCPY( (*sos)->sos_first + 1, &ltag, 1 );
505 SAFEMEMCPY( (*sos)->sos_first + 2,
516 SAFEMEMCPY( (*sos)->sos_first + taglen +
522 SAFEMEMCPY( (*sos)->sos_first + taglen + 1,
H A Dio.c218 SAFEMEMCPY( buf, ber->ber_ptr, (size_t)actuallen );
260 SAFEMEMCPY( ber->ber_buf, oldbuf, have_bytes );
304 SAFEMEMCPY( ber->ber_ptr, buf, (size_t)len );
312 SAFEMEMCPY( ber->ber_sos->sos_ptr, buf, (size_t)len );
1254 SAFEMEMCPY( new->bv_val, ber->ber_buf, (size_t)len );
H A Ddecode.c253 SAFEMEMCPY( buf, transbuf, datalen );
737 SAFEMEMCPY( new->bv_val, bv->bv_val, (size_t) bv->bv_len );
/osnet-11/usr/src/lib/libldap4/ber/
H A Dencode.c452 (void) SAFEMEMCPY( (*sos)->sos_first + taglen +
476 (void) SAFEMEMCPY( (*sos)->sos_first, (char *) &ntag +
484 (void) SAFEMEMCPY( (*sos)->sos_first + 1, &ltag, 1 );
489 (void) SAFEMEMCPY( (*sos)->sos_first + 2,
500 (void) SAFEMEMCPY( (*sos)->sos_first + taglen +
506 (void) SAFEMEMCPY( (*sos)->sos_first + taglen + 1,
H A Ddecode.c238 (void) SAFEMEMCPY( buf, transbuf, datalen );
589 SAFEMEMCPY( new->bv_val, bv->bv_val, (size_t) bv->bv_len );
624 SAFEMEMCPY(bv->bv_val, ber->ber_buf, (size_t)len);
H A Dio.c248 SAFEMEMCPY( buf, ber->ber_ptr, (size_t)actuallen );
263 (void) SAFEMEMCPY( ber->ber_ptr, buf, (size_t)len );
271 (void) SAFEMEMCPY( ber->ber_sos->sos_ptr, buf, (size_t)len );
465 SAFEMEMCPY(new->ber_buf, bv->bv_val, bv->bv_len);
/osnet-11/usr/src/lib/libldap4/common/
H A Dgetfilter.c378 SAFEMEMCPY( f, valwords[ i ], slen );
387 SAFEMEMCPY( f, valwords[ wordnum ], slen );
392 SAFEMEMCPY( f, value, slen );
397 SAFEMEMCPY( f, attr, slen );
H A Dgetdn.c233 (void) SAFEMEMCPY( rdns[ count-1 ], rdnstart,
390 SAFEMEMCPY( rdncomps[ count-1 ], rdnstart,
H A Dcontrols.c90 SAFEMEMCPY(ctrl_dst->ldctl_value.bv_val,
H A Dcache.c295 SAFEMEMCPY( new->lm_ber->ber_buf, request->ber_buf, len );
551 SAFEMEMCPY( new->lm_ber->ber_buf, msg->lm_ber->ber_buf, len );
H A Dcldap.c162 SAFEMEMCPY( (char *)&sock.sin_addr.s_addr,
334 SAFEMEMCPY( (char *)newsap, (char *)sap, sizeof( struct sockaddr ));
H A Dos-ip.c194 SAFEMEMCPY((char *) &sin.sin_addr.s_addr,
/osnet-11/usr/src/lib/libldap5/include/ldap/
H A Dportable.h382 * SAFEMEMCPY is an overlap-safe copy from s to d of n bytes
387 #define SAFEMEMCPY( d, s, n ) BlockMoveData( (Ptr)s, (Ptr)d, n ) macro
390 #define SAFEMEMCPY( d, s, n ) bcopy( s, d, n ) macro
392 #define SAFEMEMCPY( d, s, n ) memmove( d, s, n ) macro
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Ddsparse.c144 SAFEMEMCPY( line, linestart, p - linestart );
H A Dgetdxbyname.c213 SAFEMEMCPY( dxs[ dx_count ], r, txt_len );
H A Dgetfilter.c334 if ( flen > 0 ) SAFEMEMCPY( f, v, flen );
337 if ( vlen > 0 ) SAFEMEMCPY( f, v, vlen );
H A Dgetdn.c296 SAFEMEMCPY( rdns[ count-1 ], rdnstart,
H A Dcontrol.c432 SAFEMEMCPY( ctrl_dst->ldctl_value.bv_val,
H A Dsasl.c167 SAFEMEMCPY( buf, sb->sb_sasl_iptr, ret );
246 SAFEMEMCPY( sb->sb_sasl_ibuf, dbuf, dlen );
251 SAFEMEMCPY( buf, sb->sb_sasl_iptr, ret );
/osnet-11/usr/src/lib/libldap4/include/
H A Dlber.h217 * SAFEMEMCPY is an overlap-safe copy from s to d of n bytes
220 #define SAFEMEMCPY(d, s, n) bcopy(s, d, n) macro
222 #define SAFEMEMCPY(d, s, n) memmove(d, s, n) macro
/osnet-11/usr/src/head/
H A Dlber.h39 #define SAFEMEMCPY(d, s, n) bcopy(s, d, n) macro
41 #define SAFEMEMCPY(d, s, n) memmove(d, s, n) macro
/osnet-11/usr/src/cmd/ldap/common/
H A Dfileurl.c315 SAFEMEMCPY( bvp->bv_val, value, vlen );

Completed in 87 milliseconds

12