Searched refs:g_maxCount (Results 1 – 3 of 3) sorted by relevance
/base/startup/init/test/benchmark/ |
D | parameter_benchmark.cpp | 25 static int g_maxCount = 512; variable 38 if (g_maxCount < nprops) { in LocalParameterTestState() 116 g_maxCount = max > 0 ? max : g_maxCount; in CreateLocalParameterTest() 117 g_localParamTester = new init_benchmark_param::LocalParameterTestState(g_maxCount); in CreateLocalParameterTest() 131 fprintf(stderr, "Invalid nprops %d \n", g_maxCount); in BMCachedParameterGet() 135 …CachedHandle handle = CachedParameterCreate(g_localParamTester->names[TestRandom() % g_maxCount], … in BMCachedParameterGet() 150 fprintf(stderr, "Invalid nprops %d \n", g_maxCount); in BMCachedParameterGetChangedStatic() 156 g_localParamTester->names[TestRandom() % g_maxCount], "xxxxxx"); in BMCachedParameterGetChangedStatic() 171 fprintf(stderr, "Invalid nprops %d \n", g_maxCount); in BMCachedParameterGetChangedGlobal() 175 …CachedHandle handle = CachedParameterCreate(g_localParamTester->names[TestRandom() % g_maxCount], … in BMCachedParameterGetChangedGlobal() [all …]
|
/base/security/device_auth/test/unittest/tdd_framework/tdd_helper/memory_monitor/src/ |
D | memory_monitor.cpp | 54 static int g_maxCount = 0; variable 85 if (g_maxCount < g_mallocCount) { in HcMonitorMalloc() 86 g_maxCount = g_mallocCount; in HcMonitorMalloc() 119 gMemoryMap.size(), g_mallocCount, g_maxCount, g_maxSingleCount); in ReportMonitor() 152 g_maxCount = 0; in HcDestroyMallocMonitor()
|
/base/startup/init/test/unittest/loopevent/ |
D | loopserver_unittest.cpp | 48 static int g_maxCount = 0; variable 189 if (g_maxCount == 2) { // 2 stop in TestProcessTimer() 190 if (g_timeCount >= g_maxCount) { in TestProcessTimer() 194 if (g_maxCount == 3) { // 3 stop timer in TestProcessTimer() 195 if (g_timeCount >= g_maxCount) { in TestProcessTimer() 200 if (g_maxCount == 10) { // 10 write watcher file in TestProcessTimer() 367 g_maxCount = 2; // 2 stop 378 g_maxCount = 3; // 3 stop timer 397 g_maxCount = 10; // 10 write watcher file
|