Lines Matching refs:source

7  * Redistribution and use in source and binary forms, with or without
11 * * Redistributions of source code must retain the above copyright
32 * - LZ4 source repository : http://code.google.com/p/lz4/
37 static int real_LZ4_compress(const char *source, char *dest, int isize,
39 static int real_LZ4_uncompress(const char *source, char *dest, int osize);
41 static int LZ4_uncompress_unknownOutputSize(const char *source, char *dest,
43 static int LZ4_compressCtx(void *ctx, const char *source, char *dest,
45 static int LZ4_compress64kCtx(void *ctx, const char *source, char *dest,
109 * return : the number of bytes read in the source buffer.
110 * If the source stream is malformed, the function will stop
133 * (necessarily <= maxOutputSize). If the source stream is
517 LZ4_compressCtx(void *ctx, const char *source, char *dest, int isize,
527 const BYTE *ip = (BYTE *) source;
576 while ((ip > anchor) && (ref > (BYTE *) source) &&
712 LZ4_compress64kCtx(void *ctx, const char *source, char *dest, int isize,
722 const BYTE *ip = (BYTE *) source;
769 while ((ip > anchor) && (ref > (BYTE *) source) &&
893 real_LZ4_compress(const char *source, char *dest, int isize, int osize)
907 result = LZ4_compress64kCtx(ctx, source, dest, isize, osize);
909 result = LZ4_compressCtx(ctx, source, dest, isize, osize);
915 return (LZ4_compress64kCtx(NULL, source, dest, isize, osize));
916 return (LZ4_compressCtx(NULL, source, dest, isize, osize));
933 real_LZ4_uncompress(const char *source, char *dest, int osize)
936 const BYTE *restrict ip = (const BYTE *) source;
1040 return (int)(((char *)ip) - source);
1044 return (int)(-(((char *)ip) - source));
1048 LZ4_uncompress_unknownOutputSize(const char *source, char *dest, int isize,
1052 const BYTE *restrict ip = (const BYTE *) source;
1173 return (int)(-(((char *)ip) - source));