Lines Matching refs:body_len
142 int body_len;
188 p->body_len = (part+part_len) - (rnrn + 4);
189 p->body = tr_strndup( rnrn+4, p->body_len );
229 hasSessionId = ourlen<=p->body_len && !memcmp( p->body, ours, ourlen );
244 int body_len = p->body_len;
250 if( body_len >= 2 && !memcmp( &body[body_len - 2], "\r\n", 2 ) )
251 body_len -= 2;
258 if( tr_urlIsValid( body, body_len ) )
260 tr_bencDictAddRaw( args, "filename", body, body_len );
263 else if( !tr_bencLoad( body, body_len, &test, NULL ) )
265 char * b64 = tr_base64_encode( body, body_len, NULL );