Home
last modified time | relevance | path

Searched refs:g_displayLevel (Results 1 – 12 of 12) sorted by relevance

/external/zstd/programs/
Dzstdcli.c105 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
106 static int g_displayLevel = DISPLAY_LEVEL_DEFAULT; /* 0 : no display, 1: errors, 2 : + result +… variable
280 if (g_displayLevel >= 2) usage(stderr, programName); in badusage()
614 if (g_displayLevel < DISPLAY_LEVEL_DEFAULT) { in printVersion()
620 if (g_displayLevel >= 3) { in printVersion()
636 if (g_displayLevel >= 4) { in printVersion()
677 assert(g_displayLevel >= 4); in printActualCParams()
861 …teMode(prefs); forceStdout=1; followLinks=1; outFileName=stdoutmark; g_displayLevel=1; } /* su… in main()
862 …teMode(prefs); forceStdout=1; followLinks=1; outFileName=stdoutmark; g_displayLevel=1; } /* beh… in main()
865 …teMode(prefs); forceStdout=1; followLinks=1; outFileName=stdoutmark; g_displayLevel=1; } /* beha… in main()
[all …]
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c76 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
77 static unsigned g_displayLevel = DEFAULT_DISPLAY_LEVEL; /* 0 : no display; 1: errors; 2 : + r… variable
80 #define DISPLAYUPDATE(l, ...) if (g_displayLevel>=l) { \
81 if ((clock() - g_time > refreshRate) || (g_displayLevel>=4)) \
83 if (g_displayLevel>=4) fflush(displayOut); } }
112 void BMK_setNotificationLevel(unsigned level) { g_displayLevel=level; } in BMK_setNotificationLevel()
560 if (g_displayLevel == 1) { in BMK_benchMem()
612 if (g_displayLevel == 1 && !g_additionalParam) in BMK_benchCLevel()
846 if (g_displayLevel >= 1) usage(programName); in badusage()
909 if (!strcmp(argument, "--verbose")) { g_displayLevel++; continue; } in main()
[all …]
/external/lz4/programs/
Dbench.c252 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
253 static U32 g_displayLevel = 2; /* 0 : no display; 1: errors; 2 : + result + interaction + war… variable
255 #define DISPLAYUPDATE(l, ...) if (g_displayLevel>=l) { \
256 if ((clock() - g_time > refreshRate) || (g_displayLevel>=4)) \
258 if (g_displayLevel>=4) fflush(stdout); } }
288 void BMK_setNotificationLevel(unsigned level) { g_displayLevel=level; } in BMK_setNotificationLevel()
508 if (g_displayLevel == 1) { in BMK_benchMem()
565 if (g_displayLevel == 1 && !g_additionalParam) in BMK_benchCLevel()
Dlz4io.c94 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
95 static int g_displayLevel = 0; /* 0 : no display ; 1: errors ; 2 : + result + interaction + war… variable
97 #define DISPLAYUPDATE(l, ...) if (g_displayLevel>=l) { \
99 || (g_displayLevel>=4) ) { \
102 if (g_displayLevel>=4) fflush(stderr); \
269 g_displayLevel = level; in LZ4IO_setNotificationLevel()
270 return g_displayLevel; in LZ4IO_setNotificationLevel()
350 if (g_displayLevel <= 1) { /* No interaction possible */ in LZ4IO_openDstFile()
1634 if (g_displayLevel < 3) { in LZ4IO_displayCompressedFilesInfo()
1656 if (g_displayLevel < 3) { in LZ4IO_displayCompressedFilesInfo()
/external/zstd/lib/dictBuilder/
Dfastcover.c54 static int g_displayLevel = 0; variable
68 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__)
83 #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
559 g_displayLevel = (int)parameters.zParams.notificationLevel; in ZDICT_trainFromBuffer_fastCover()
594 COVER_warnOnSmallCorpus(dictBufferCapacity, ctx.nbDmers, g_displayLevel); in ZDICT_trainFromBuffer_fastCover()
683 g_displayLevel = displayLevel == 0 ? 0 : displayLevel - 1; in ZDICT_optimizeTrainFromBuffer_fastCover()
726 data->parameters.zParams.notificationLevel = (unsigned)g_displayLevel; in ZDICT_optimizeTrainFromBuffer_fastCover()
Dcover.c57 static int g_displayLevel = 0; variable
71 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__)
86 #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
745 g_displayLevel = (int)parameters.zParams.notificationLevel; in ZDICT_trainFromBuffer_cover()
768 COVER_warnOnSmallCorpus(dictBufferCapacity, ctx.suffixSize, g_displayLevel); in ZDICT_trainFromBuffer_cover()
1172 g_displayLevel = displayLevel == 0 ? 0 : displayLevel - 1; in ZDICT_optimizeTrainFromBuffer_cover()
1215 data->parameters.zParams.notificationLevel = g_displayLevel; in ZDICT_optimizeTrainFromBuffer_cover()
/external/zstd/tests/
Dparamgrill.c56 #define DISPLAYLEVEL(n, ...) if(g_displayLevel >= n) { fprintf(stderr, __VA_ARGS__); }
254 static int g_displayLevel = 3; variable
906 || g_displayLevel >= 4) { in BMK_printWinnerOpt()
912 if(g_displayLevel >= 2) { in BMK_printWinnerOpt()
917 if(g_displayLevel >= 1) { BMK_paramValues_into_commandLine(f, params); } in BMK_printWinnerOpt()
923 if(g_optmode && g_optimizer && (DEBUG || g_displayLevel == 3)) { in BMK_printWinnerOpt()
2545 if (g_displayLevel >= 0) { in optimizeForSize()
2902 while (argument[0] == 'q') { argument++; g_displayLevel--; } in main()
2906 while (argument[0] == 'v') { argument++; g_displayLevel++; } in main()
Ddecodecorpus.c48 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
49 static U32 g_displayLevel = 2; variable
54 (g_displayLevel >= 4)) { \
57 if (g_displayLevel >= 4) fflush(stderr); \
1840 g_displayLevel++; in main()
Dzstreamtest.c62 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { \
64 if (g_displayLevel>=4) fflush(stderr); }
65 static U32 g_displayLevel = 2; variable
70 #define DISPLAYUPDATE(l, ...) if (g_displayLevel>=l) { \
71 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (g_displayLevel>=4)) \
73 if (g_displayLevel>=4) fflush(stderr); } }
2501 g_displayLevel++; in main()
2506 g_displayLevel--; in main()
Dfuzzer.c62 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
63 static U32 g_displayLevel = 2; variable
69 if (g_displayLevel>=l) { \
70 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (g_displayLevel>=4)) \
72 if (g_displayLevel>=4) fflush(stderr); } \
197 if (g_displayLevel<3) return 0; in FUZ_mallocTests_internal()
4172 g_displayLevel++; in main()
4177 g_displayLevel--; in main()
4235 g_displayLevel = MAX(3, g_displayLevel); in main()
/external/lz4/tests/
Dfuzzer.c95 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
96 static int g_displayLevel = 2; variable
113 if ((FUZ_GetClockSpan(g_time) > g_refreshRate) || (g_displayLevel>=4)) { in FUZ_displayUpdate()
348 if (g_displayLevel>=4) { \ in FUZ_test()
1729 … if (!strcmp(argument, "--no-prompt")) { use_pause=0; seedset=1; g_displayLevel=1; continue; } in main()
1739 g_displayLevel++; in main()
/external/zstd/contrib/largeNbDicts/
DlargeNbDicts.c62 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
63 static int g_displayLevel = DISPLAY_LEVEL_DEFAULT; /* 0 : no display, 1: errors, 2 : + result +… variable