/base/hiviewdfx/hiview/base/event_pool/test/unittest/common/ |
D | event_pool_test.cpp | 23 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 …]
|
D | event_pool_test.h | 39 static int const maxCount = 5; variable
|
/base/startup/init/test/moduletest/ |
D | param_test_module.c | 36 int maxCount = MAX_COUNT; in PluginParamCmdWriteParam() local 38 maxCount = atoi(argv[1]); in PluginParamCmdWriteParam() 43 while (count < maxCount) { in PluginParamCmdWriteParam()
|
D | param_test_cmds.c | 203 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/ |
D | init_reboot_innerkits.c | 61 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/ |
D | log_store_ex.cpp | 142 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/ |
D | log_store_ex.h | 63 void ClearSameLogFilesIfNeeded(LogFileFilter filter, uint32_t maxCount);
|
/base/startup/init/interfaces/innerkits/fs_manager/ |
D | fstab.c | 62 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/ |
D | init_utils.c | 331 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/ |
D | napi_x509_crl_entry.cpp | 109 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument 111 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
|
D | napi_x509_crl.cpp | 130 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument 132 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
|
D | napi_x509_certificate.cpp | 122 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/ |
D | napi_rand.cpp | 108 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument 110 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
|
D | napi_md.cpp | 107 size_t maxCount, napi_value callbackValue) in CreateCallbackAndPromise() argument 109 context->asyncType = (argc == maxCount) ? ASYNC_TYPE_CALLBACK : ASYNC_TYPE_PROMISE; in CreateCallbackAndPromise()
|
D | napi_mac.cpp | 110 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/ |
D | trigger_processor.c | 95 static void ExecuteQueueWork(uint32_t maxCount) in ExecuteQueueWork() argument 102 if (executeCount > maxCount) { in ExecuteQueueWork()
|
/base/startup/init/services/init/ |
D | init_service_manager.c | 190 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()
|