Lines Matching defs:num
64 static int buffer_write(BIO *h, const char *buf,int num);
133 int i,num=0;
140 num=0;
152 num+=i;
153 if (outl == i) return(num);
171 if (i < 0) return((num > 0)?num:i);
172 if (i == 0) return(num);
174 num+=i;
175 if (outl == i) return(num);
187 if (i < 0) return((num > 0)?num:i);
188 if (i == 0) return(num);
199 int i,num=0;
214 return(num+inl);
225 num+=i;
237 if (i < 0) return((num > 0)?num:i);
238 if (i == 0) return(num);
256 if (i < 0) return((num > 0)?num:i);
257 if (i == 0) return(num);
259 num+=i;
262 if (inl == 0) return(num);
270 static long buffer_ctrl(BIO *b, int cmd, long num, void *ptr)
289 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
307 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
315 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
319 if (num > ctx->ibuf_size)
321 p1=OPENSSL_malloc((int)num);
327 ctx->ibuf_len=(int)num;
328 memcpy(ctx->ibuf,ptr,(int)num);
337 ibs=(int)num;
343 obs=(int)num;
348 ibs=(int)num;
349 obs=(int)num;
355 p1=(char *)OPENSSL_malloc((int)num);
360 p2=(char *)OPENSSL_malloc((int)num);
387 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
395 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
422 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
432 ret=BIO_ctrl(b->next_bio,cmd,num,ptr);
458 int num=0,i,flag;
481 num+=i;
488 return(num);
498 if (i < 0) return((num > 0)?num:i);
499 if (i == 0) return(num);