Lines Matching refs:length
26 b->length = 512; in buffer_new()
27 b->data = malloc(sizeof(char)*(b->length)); in buffer_new()
35 if ((INT_MAX - b->length) <= 512) { in buffer_add()
40 if (b->offset == b->length) { in buffer_add()
41 b->length += 512; in buffer_add()
42 b->data = realloc(b->data, b->length); in buffer_add()
50 b->length = 0; in buffer_delete()
56 void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length) in base64_encode_xmlrpc() argument
86 if (offset > length || offset <= 0) { in base64_encode_xmlrpc()
121 void base64_decode_xmlrpc(struct buffer_st *bfr, const char *source, int length) in base64_decode_xmlrpc() argument
157 if (offset > length) endoffile = 1; in base64_decode_xmlrpc()