Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/contrib/zstd/programs/
HDzstdcli.c102 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
103 static int g_displayLevel = DISPLAY_LEVEL_DEFAULT; /* 0 : no display, 1: errors, 2 : + result +… variable
248 if (g_displayLevel >= 2) usage(stderr, programName); in badusage()
565 if (g_displayLevel < DISPLAY_LEVEL_DEFAULT) { in printVersion()
571 if (g_displayLevel >= 3) { in printVersion()
587 if (g_displayLevel >= 4) { in printVersion()
768 …teMode(prefs); forceStdout=1; followLinks=1; outFileName=stdoutmark; g_displayLevel=1; } /* su… in main()
769 …teMode(prefs); forceStdout=1; followLinks=1; outFileName=stdoutmark; g_displayLevel=1; } /* beh… in main()
772 …teMode(prefs); forceStdout=1; followLinks=1; outFileName=stdoutmark; g_displayLevel=1; } /* beha… in main()
813 if (!strcmp(argument, "--verbose")) { g_displayLevel++; continue; } in main()
[all …]
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/
HDzwrapbench.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()
545 if (g_displayLevel == 1) { in BMK_benchMem()
597 if (g_displayLevel == 1 && !g_additionalParam) in BMK_benchCLevel()
831 if (g_displayLevel >= 1) usage(programName); in badusage()
894 if (!strcmp(argument, "--verbose")) { g_displayLevel++; continue; } in main()
[all …]
/freebsd-13-stable/sys/contrib/zstd/lib/dictBuilder/
HDfastcover.c46 static int g_displayLevel = 2; variable
60 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__)
75 #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
551 g_displayLevel = parameters.zParams.notificationLevel; in ZDICT_trainFromBuffer_fastCover()
586 COVER_warnOnSmallCorpus(dictBufferCapacity, ctx.nbDmers, g_displayLevel); in ZDICT_trainFromBuffer_fastCover()
675 g_displayLevel = displayLevel == 0 ? 0 : displayLevel - 1; in ZDICT_optimizeTrainFromBuffer_fastCover()
718 data->parameters.zParams.notificationLevel = g_displayLevel; in ZDICT_optimizeTrainFromBuffer_fastCover()
HDcover.c49 static int g_displayLevel = 2; variable
63 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__)
78 #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
737 g_displayLevel = parameters.zParams.notificationLevel; in ZDICT_trainFromBuffer_cover()
760 COVER_warnOnSmallCorpus(dictBufferCapacity, ctx.suffixSize, g_displayLevel); in ZDICT_trainFromBuffer_cover()
1164 g_displayLevel = displayLevel == 0 ? 0 : displayLevel - 1; in ZDICT_optimizeTrainFromBuffer_cover()
1207 data->parameters.zParams.notificationLevel = g_displayLevel; in ZDICT_optimizeTrainFromBuffer_cover()