libsigrok  unreleased development snapshot
sigrok hardware access and backend library
Macros | Functions
testmini.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "minilzo.h"
+ Include dependency graph for testmini.c:

Go to the source code of this file.

Macros

#define IN_LEN   (128*1024ul)
 
#define OUT_LEN   (IN_LEN + IN_LEN / 16 + 64 + 3)
 
#define HEAP_ALLOC(var, size)   lzo_align_t __LZO_MMODEL var [ ((size) + (sizeof(lzo_align_t) - 1)) / sizeof(lzo_align_t) ]
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

#define HEAP_ALLOC (   var,
  size 
)    lzo_align_t __LZO_MMODEL var [ ((size) + (sizeof(lzo_align_t) - 1)) / sizeof(lzo_align_t) ]

Definition at line 65 of file testmini.c.

#define IN_LEN   (128*1024ul)

Definition at line 54 of file testmini.c.

Referenced by main().

#define OUT_LEN   (IN_LEN + IN_LEN / 16 + 64 + 3)

Definition at line 55 of file testmini.c.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 75 of file testmini.c.

References IN_LEN, lzo1x_1_compress(), lzo1x_decompress(), LZO_E_OK, lzo_init, lzo_memset(), lzo_version_date(), and lzo_version_string().

+ Here is the call graph for this function: