Lines Matching refs:size
93 "invalid %s size (%d bytes, block size is %d)\n",
103 "invalid %s size (%d bytes, block size is %d)\n",
183 static int crypto_read(URLContext *h, uint8_t *buf, int size)
189 size = FFMIN(size, c->outdata);
190 memcpy(buf, c->outptr, size);
191 c->outptr += size;
192 c->outdata -= size;
193 c->position = c->position + size;
194 return size;
259 "Crypto: seek_end - can't get file size (pos=%lld)\r\n", (long long int)pos);
303 uint8_t buff[BLOCKSIZE*2]; // maximum size of pos-c->position
329 static int crypto_write(URLContext *h, const unsigned char *buf, int size)
335 total_size = size + c->pad_len;
361 memcpy(c->pad, &buf[size - pad_len], pad_len);
363 memcpy(&c->pad[c->pad_len], buf, size);
367 return size;