Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/programs/
H A Dzstdcli.c193 if (g_displayLevel >= 2) usage(programName); in badusage()
455 g_displayLevel-=(g_displayLevel==2); in main()
474 …ument, "--stdout")) { forceStdout=1; outFileName=stdoutmark; g_displayLevel-=(g_displayLevel==2); … in main()
607 case 'v': g_displayLevel++; argument++; break; in main()
610 case 'q': g_displayLevel--; argument++; break; in main()
748 g_utilDisplayLevel = g_displayLevel; in main()
786 BMK_setNotificationLevel(g_displayLevel); in main()
813 zParams.notificationLevel = g_displayLevel; in main()
860 …inmark) && outFileName && !strcmp(outFileName,stdoutmark) && (g_displayLevel==2)) g_displayLevel=1; in main()
861 if ((filenameIdx>1) & (g_displayLevel==2)) g_displayLevel=1; in main()
[all …]
H A Dbench.c73 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
74 static int g_displayLevel = 2; /* 0 : no display; 1: errors; 2 : + result + interaction + war… variable
79 #define DISPLAYUPDATE(l, ...) { if (g_displayLevel>=l) { \
80 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (g_displayLevel>=4)) \
82 if (g_displayLevel>=4) fflush(stderr); } } }
107 void BMK_setNotificationLevel(unsigned level) { g_displayLevel=level; } in BMK_setNotificationLevel()
478 if (g_displayLevel == 1) { /* hidden display mode -q, used by python speed benchmark */ in BMK_benchMem()
534 if (g_displayLevel == 1 && !g_additionalParam) in BMK_benchCLevel()
H A Dfileio.c83 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
84 static int g_displayLevel = 2; /* 0 : no display; 1: errors; 2: + result + interaction + warnin… variable
85 void FIO_setNotificationLevel(unsigned level) { g_displayLevel=level; } in FIO_setNotificationLevel()
93 if (g_displayLevel>=l) { \
94 if (READY_FOR_UPDATE() || (g_displayLevel>=4)) { \
97 if (g_displayLevel>=4) fflush(stderr); \
343 if (g_displayLevel <= 1) { in FIO_openDstFile()
788 if (g_displayLevel >= 3) { in FIO_compressZstdFrame()
/freebsd-12.1/sys/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c78 #define DISPLAYUPDATE(l, ...) if (g_displayLevel>=l) { \
79 if ((clock() - g_time > refreshRate) || (g_displayLevel>=4)) \
81 if (g_displayLevel>=4) fflush(displayOut); } }
110 void BMK_setNotificationLevel(unsigned level) { g_displayLevel=level; } in BMK_setNotificationLevel()
543 if (g_displayLevel == 1) { in BMK_benchMem()
595 if (g_displayLevel == 1 && !g_additionalParam) in BMK_benchCLevel()
827 if (g_displayLevel >= 1) usage(programName); in badusage()
915 case 'v': g_displayLevel++; argument++; break; in main()
918 case 'q': g_displayLevel--; argument++; break; in main()
943 BMK_setNotificationLevel(g_displayLevel); in main()
[all …]
/freebsd-12.1/sys/contrib/zstd/tests/
H A Dzbufftest.c58 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
59 static U32 g_displayLevel = 2; variable
64 #define DISPLAYUPDATE(l, ...) if (g_displayLevel>=l) { \
65 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (g_displayLevel>=4)) \
67 if (g_displayLevel>=4) fflush(stderr); } }
516 g_displayLevel=4; in main()
520 g_displayLevel--; in main()
H A Dfuzzer.c57 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
58 static U32 g_displayLevel = 2; variable
63 #define DISPLAYUPDATE(l, ...) if (g_displayLevel>=l) { \
64 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (g_displayLevel>=4)) \
66 if (g_displayLevel>=4) fflush(stderr); } }
178 if (g_displayLevel<3) return 0; in FUZ_mallocTests()
1746 g_displayLevel++; in main()
1751 g_displayLevel--; in main()
1807 g_displayLevel = MAX(3, g_displayLevel); in main()
H A Dzstreamtest.c60 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { \
62 if (g_displayLevel>=4) fflush(stderr); }
63 static U32 g_displayLevel = 2; variable
68 #define DISPLAYUPDATE(l, ...) if (g_displayLevel>=l) { \
69 if ((UTIL_clockSpanMicro(g_displayClock) > g_refreshRate) || (g_displayLevel>=4)) \
71 if (g_displayLevel>=4) fflush(stderr); } }
1911 g_displayLevel++; in main()
1916 g_displayLevel--; in main()
H A Ddecodecorpus.c47 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
48 static U32 g_displayLevel = 2; variable
53 (g_displayLevel >= 4)) { \
56 if (g_displayLevel >= 4) fflush(stderr); \
1831 g_displayLevel++; in main()
/freebsd-12.1/sys/contrib/zstd/lib/dictBuilder/
H A Dcover.c46 static int g_displayLevel = 2; variable
56 #define DISPLAYLEVEL(l, ...) LOCALDISPLAYLEVEL(g_displayLevel, l, __VA_ARGS__)
65 #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
663 g_displayLevel = parameters.zParams.notificationLevel; in ZDICT_trainFromBuffer_cover()
976 g_displayLevel = displayLevel == 0 ? 0 : displayLevel - 1; in ZDICT_optimizeTrainFromBuffer_cover()
1010 data->parameters.zParams.notificationLevel = g_displayLevel; in ZDICT_optimizeTrainFromBuffer_cover()