Lines Matching +defs:current +defs:buffer
50 unsigned char *buffer = (unsigned char *)bi_alloc( bi_nbin_size( i));
52 if( buffer == NULL) return NULL;
53 mpz_export(buffer, length, 1, 1, 1, 0, i);
54 return buffer;
59 void bi_2_nbin1( int *length, unsigned char *buffer, const bi_ptr i) {
60 mpz_export(buffer, length, 1, 1, 1, 0, i);
64 INLINE_DECL bi_ptr bi_set_as_nbin( const unsigned long length, const unsigned char *buffer) {
68 mpz_import( ret, length, 1, 1, 1, 0, buffer);
236 node_t *current;
241 current = list->head; // go to first node
243 LogDebug("[flush memory] free %lx\n", current->obj);
244 free( current->obj);
245 current = current->next; // traverse through the list
246 } while(current != NULL); // until current node is NULL