Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/programs/
H A 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 …]
/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A 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 …]
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A 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()
H A 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()