![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <windows.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include <fcntl.h>
#include <ctype.h>
#include <math.h>
#include <wctype.h>
#include <wchar.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <locale.h>
#include <signal.h>
#include <limits.h>
#include <float.h>
#include <iso646.h>
#include <assert.h>
#include <stdbool.h>
#include <process.h>
#include "platform.h"
#include "util.h"
#include "fileio.h"
#include "benchzstd.h"
#include "dibio.h"
#include "zstdcli_trace.h"
#include "../lib/zstd.h"
#include "fileio_asyncio.h"
Macros | |
#define | __attribute__(unused) |
#define | uchar unsigned char |
#define | uint unsigned int |
#define | ushort unsigned short |
#define | ZSTDCLI_CLEVEL_DEFAULT 3 |
#define | ZSTDCLI_CLEVEL_MAX 19 /* without using --ultra */ |
#define | ZSTDCLI_NBTHREADS_DEFAULT 1 |
#define | COMPRESSOR_NAME "Zstandard CLI" |
#define | ZSTD_VERSION "v" ZSTD_VERSION_STRING |
#define | AUTHOR "Yann Collet" |
#define | WELCOME_MESSAGE "*** %s (%i-bit) %s, by %s ***\n", COMPRESSOR_NAME, (int)(sizeof(size_t)*8), ZSTD_VERSION, AUTHOR |
#define | ZSTD_ZSTDMT "zstdmt" |
#define | ZSTD_UNZSTD "unzstd" |
#define | ZSTD_CAT "zstdcat" |
#define | ZSTD_ZCAT "zcat" |
#define | ZSTD_GZ "gzip" |
#define | ZSTD_GUNZIP "gunzip" |
#define | ZSTD_GZCAT "gzcat" |
#define | ZSTD_LZMA "lzma" |
#define | ZSTD_UNLZMA "unlzma" |
#define | ZSTD_XZ "xz" |
#define | ZSTD_UNXZ "unxz" |
#define | ZSTD_LZ4 "lz4" |
#define | ZSTD_UNLZ4 "unlz4" |
#define | KB *(1 <<10) |
#define | MB *(1 <<20) |
#define | GB *(1U<<30) |
#define | DISPLAY_LEVEL_DEFAULT 2 |
#define | OVERLAP_LOG_DEFAULT 9999 |
#define | LDM_PARAM_DEFAULT 9999 /* Default for parameters where 0 is valid */ |
#define | DEFAULT_ACCEL 1 |
#define | DISPLAY_F(f, ...) |
#define | DISPLAYOUT(...) |
#define | DISPLAY(...) |
#define | DISPLAYLEVEL(l, ...) |
#define | ZSTD_NB_STRATEGIES 9 |
#define | ENV_CLEVEL "ZSTD_CLEVEL" |
#define | ENV_NBTHREADS "ZSTD_NBTHREADS" /* takes lower precedence than directly specifying -T# in the CLI */ |
#define | NEXT_FIELD(ptr) |
#define | NEXT_UINT32(val32) |
#define | NEXT_TSIZE(valTsize) |
#define | CLEAN_RETURN(i) |
#define | MINCLEVEL ZSTD_minCLevel() |
#define | MAXCLEVEL ZSTD_maxCLevel() |
Enumerations | |
enum | dictType { cover , fastCover , legacy } |
enum | zstd_operation_mode { zom_compress , zom_decompress , zom_test , zom_bench , zom_train , zom_list } |
Functions | |
void | pedro_dprintf2 (int amanda_level, char *format,...) |
pedro_dprintf2 is my variant of my debug function because too much calls to pedro_dprintf these days, I am lazy, sorry.... | |
int | main_8 (int argCount, const char *argv[]) |
#define __attribute__ | ( | unused | ) |
#define AUTHOR "Yann Collet" |
#define CLEAN_RETURN | ( | i | ) |
#define COMPRESSOR_NAME "Zstandard CLI" |
#define DEFAULT_ACCEL 1 |
#define DISPLAY | ( | ... | ) |
#define DISPLAY_LEVEL_DEFAULT 2 |
#define DISPLAYLEVEL | ( | l, | |
... ) |
#define DISPLAYOUT | ( | ... | ) |
#define ENV_CLEVEL "ZSTD_CLEVEL" |
#define ENV_NBTHREADS "ZSTD_NBTHREADS" /* takes lower precedence than directly specifying -T# in the CLI */ |
#define GB *(1U<<30) |
#define KB *(1 <<10) |
#define LDM_PARAM_DEFAULT 9999 /* Default for parameters where 0 is valid */ |
#define MAXCLEVEL ZSTD_maxCLevel() |
#define MB *(1 <<20) |
#define MINCLEVEL ZSTD_minCLevel() |
#define NEXT_FIELD | ( | ptr | ) |
#define NEXT_TSIZE | ( | valTsize | ) |
#define NEXT_UINT32 | ( | val32 | ) |
#define OVERLAP_LOG_DEFAULT 9999 |
#define uchar unsigned char |
#define uint unsigned int |
#define ushort unsigned short |
#define WELCOME_MESSAGE "*** %s (%i-bit) %s, by %s ***\n", COMPRESSOR_NAME, (int)(sizeof(size_t)*8), ZSTD_VERSION, AUTHOR |
#define ZSTD_CAT "zstdcat" |
#define ZSTD_GUNZIP "gunzip" |
#define ZSTD_GZ "gzip" |
#define ZSTD_GZCAT "gzcat" |
#define ZSTD_LZ4 "lz4" |
#define ZSTD_LZMA "lzma" |
#define ZSTD_NB_STRATEGIES 9 |
#define ZSTD_UNLZ4 "unlz4" |
#define ZSTD_UNLZMA "unlzma" |
#define ZSTD_UNXZ "unxz" |
#define ZSTD_UNZSTD "unzstd" |
#define ZSTD_VERSION "v" ZSTD_VERSION_STRING |
#define ZSTD_XZ "xz" |
#define ZSTD_ZCAT "zcat" |
#define ZSTD_ZSTDMT "zstdmt" |
#define ZSTDCLI_CLEVEL_DEFAULT 3 |
#define ZSTDCLI_CLEVEL_MAX 19 /* without using --ultra */ |
#define ZSTDCLI_NBTHREADS_DEFAULT 1 |
enum dictType |
enum zstd_operation_mode |
void pedro_dprintf2 | ( | int | amanda_level, |
char * | format, | ||
... ) |
pedro_dprintf2 is my variant of my debug function because too much calls to pedro_dprintf these days, I am lazy, sorry....
esta em brotli ou brotli2
em brotli or brotli2
amanda_level | if equal or above 0 print the string |
format | printf based format |
... |