Lines Matching refs:rbuf
102 static int process_ldapmod_rec( LDAP *ld, char *rbuf );
103 static int process_ldif_rec( LDAP *ld, char *rbuf );
109 static int process_ldapmod_rec( char *rbuf );
110 static int process_ldif_rec( char *rbuf );
240 char *rbuf, *saved_rbuf, *start, *p, *q; in process() local
291 ( rbuf = read_one_record( ldaptool_fp )) != NULL ) { in process()
297 use_ldif = ( p = strchr( rbuf, ':' )) != NULL && in process()
298 ( q = strchr( rbuf, '\n' )) != NULL && p < q && in process()
299 (( q = strchr( rbuf, '=' )) == NULL || p < q ); in process()
301 start = rbuf; in process()
302 saved_rbuf = strdup( rbuf ); in process()
304 if ( !use_ldif && ( q = strchr( rbuf, '\n' )) != NULL ) { in process()
305 for ( p = rbuf; p < q; ++p ) { in process()
354 free( rbuf ); in process()
438 process_ldif_rec( LDAP *ld, char *rbuf ) argument
440 process_ldif_rec( char *rbuf )
465 while ( rc == 0 && ( line = str_getline( &rbuf )) != NULL ) {
467 while ( rc == 0 && ( line = ldif_getline( &rbuf )) != NULL ) {
535 if ( *rbuf == '\0' ) {
784 process_ldapmod_rec( LDAP *ld, char *rbuf ) argument
786 process_ldapmod_rec( char *rbuf )
796 line = rbuf;
799 while ( rc == 0 && rbuf != NULL && *rbuf != '\0' ) {
801 if (( p = strchr( rbuf, '\n' )) == NULL ) {
802 rbuf = NULL;
806 rbuf = p;
810 rbuf = p;
879 line = rbuf;