Home
last modified time | relevance | path

Searched refs:maxCount (Results 1 – 17 of 17) sorted by relevance

/base/hiviewdfx/hiview/base/event_pool/test/unittest/common/
Devent_pool_test.cpp23 int const EventPoolTest::maxCount; member in EventPoolTest
27 eventThreadPool = std::make_unique<OHOS::HiviewDFX::EventThreadPool>(maxCount, "EPTest"); in SetUpTestCase()
67 for (int i = 0; i < maxCount; ++i) {
72 while (startCount < maxCount) {
79 for (int i = 0; i < maxCount; ++i) {
86 while (endCount < maxCount) {
95 while (endCount < (maxCount * 2)) {
103 ASSERT_EQ(maxCount * 2, endCount);
127 for (int i = 0; i < maxCount; ++i) {
132 while (startCount < maxCount) {
[all …]
Devent_pool_test.h39 static int const maxCount = 5; variable
/base/startup/init/test/moduletest/
Dparam_test_module.c36 int maxCount = MAX_COUNT; in PluginParamCmdWriteParam() local
38 maxCount = atoi(argv[1]); in PluginParamCmdWriteParam()
43 while (count < maxCount) { in PluginParamCmdWriteParam()
Dparam_test_cmds.c203 int maxCount = StringToInt(argv[CMD_INDEX], -1); // 2 cmd index in BShellParamCmdWatch() local
204 if (maxCount <= 0 || maxCount > 65535) { // 65535 max count in BShellParamCmdWatch()
211 while (count < (size_t)maxCount) { // 100 max count in BShellParamCmdWatch()
/base/startup/init/interfaces/innerkits/reboot/
Dinit_reboot_innerkits.c61 const int maxCount = 10; in DoReboot() local
63 const int maxCount = 1; in DoReboot()
67 while (count < maxCount) { in DoReboot()
/base/hiviewdfx/hiview/base/logstore/
Dlog_store_ex.cpp142 void LogStoreEx::ClearSameLogFilesIfNeeded(LogFileFilter filter, uint32_t maxCount) in ClearSameLogFilesIfNeeded() argument
146 if (fileList.size() > maxCount) { in ClearSameLogFilesIfNeeded()
147 removeFileNumber = fileList.size() - maxCount; in ClearSameLogFilesIfNeeded()
/base/hiviewdfx/hiview/base/logstore/include/
Dlog_store_ex.h63 void ClearSameLogFilesIfNeeded(LogFileFilter filter, uint32_t maxCount);
/base/startup/init/interfaces/innerkits/fs_manager/
Dfstab.c62 const int maxCount = 3; in ConvertFlags() local
63 char **vector = SplitStringExt(flagBuffer, ",", &flagCount, maxCount); in ConvertFlags()
466 const int maxCount = 15; in GetMountFlags() local
467 char **flagsVector = SplitStringExt(mountFlag, ",", &flagCount, maxCount); in GetMountFlags()
/base/startup/init/services/utils/
Dinit_utils.c331 unsigned int maxCount = maxSecond * 2; in WaitForFile() local
333 maxCount = 0; in WaitForFile()
336 while ((stat(source, &sourceInfo) < 0) && (errno == ENOENT) && (count < maxCount)) { in WaitForFile()
340 …INIT_CHECK_ONLY_ELOG(count != maxCount, "wait for file:%s failed after %d second.", source, maxSec… in WaitForFile()
/base/security/crypto_framework/frameworks/js/napi/certificate/src/
Dnapi_x509_crl_entry.cpp109 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument
111 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
Dnapi_x509_crl.cpp130 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument
132 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
Dnapi_x509_certificate.cpp122 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument
124 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_rand.cpp108 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument
110 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
Dnapi_md.cpp107 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument
109 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
Dnapi_mac.cpp110 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument
112 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
/base/startup/init/services/param/trigger/
Dtrigger_processor.c95 static void ExecuteQueueWork(uint32_t maxCount) in ExecuteQueueWork() argument
102 if (executeCount > maxCount) { in ExecuteQueueWork()
/base/startup/init/services/init/
Dinit_service_manager.c190 static int GetServiceArgs(const cJSON *argJson, const char *name, int maxCount, ServiceArgs *args) in GetServiceArgs() argument
199 …INIT_ERROR_CHECK((count > 0) && (count < maxCount), return SERVICE_FAILURE, "Array size = %d is wr… in GetServiceArgs()