Lines Matching defs:num
64 static int buffer_write(BIO *h, const char *buf, int num);
143 int i, num = 0;
152 num = 0;
164 num += i;
166 return (num);
183 return ((num > 0) ? num : i);
185 return (num);
187 num += i;
189 return (num);
201 return ((num > 0) ? num : i);
203 return (num);
214 int i, num = 0;
230 return (num + inl);
239 num += i;
250 return ((num > 0) ? num : i);
252 return (num);
272 return ((num > 0) ? num : i);
274 return (num);
276 num += i;
280 return (num);
289 static long buffer_ctrl(BIO *b, int cmd, long num, void *ptr)
308 ret = BIO_ctrl(b->next_bio, cmd, num, ptr);
326 ret = BIO_ctrl(b->next_bio, cmd, num, ptr);
334 ret = BIO_ctrl(b->next_bio, cmd, num, ptr);
338 if (num > ctx->ibuf_size) {
339 p1 = OPENSSL_malloc((int)num);
347 ctx->ibuf_len = (int)num;
348 memcpy(ctx->ibuf, ptr, (int)num);
355 ibs = (int)num;
360 obs = (int)num;
363 ibs = (int)num;
364 obs = (int)num;
369 p1 = (char *)OPENSSL_malloc((int)num);
374 p2 = (char *)OPENSSL_malloc((int)num);
400 ret = BIO_ctrl(b->next_bio, cmd, num, ptr);
408 ret = BIO_ctrl(b->next_bio, cmd, num, ptr);
433 ret = BIO_ctrl(b->next_bio, cmd, num, ptr);
444 ret = BIO_ctrl(b->next_bio, cmd, num, ptr);
470 int num = 0, i, flag;
489 num += i;
495 return (num);
504 return ((num > 0) ? num : i);
506 return (num);