Home
last modified time | relevance | path

Searched refs:maxNum (Results 1 – 25 of 26) sorted by relevance

12

/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_log_limit.c48 pRule->maxNum = LOG_LIMIT_DEFAULT; in InitLogLimit()
88 if (logNum > pLimitRule->maxNum) { in LogIsLimited()
90 … logNum, logNum - pLimitRule->maxNum, pLimitRule->totalLogNum, pLimitRule->totalDropLogNum); in LogIsLimited()
93 if (logNum > pLimitRule->maxNum) { in LogIsLimited()
109 pRule->maxNum = v; in SetLimitThreshold()
Dhiview_log_limit.h29 uint8 maxNum; /* the max num limit of log line */ member
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_manager.cpp128 int32_t id, int32_t faultType, int32_t maxNum) const in GetFaultInfoList()
132 ret = faultLogDb_->GetFaultInfoList(module, id, faultType, maxNum); in GetFaultInfoList()
146 void FaultLogManager::ReduceLogFileListSize(std::list<std::string> &infoVec, int32_t maxNum) const in ReduceLogFileListSize()
148 if ((maxNum < 0) || (infoVec.size() <= static_cast<uint32_t>(maxNum))) { in ReduceLogFileListSize()
153 std::advance(begin, maxNum); in ReduceLogFileListSize()
158 int32_t faultType, int32_t maxNum) const in GetFaultLogFileList()
164 ReduceLogFileListSize(ret, maxNum); in GetFaultLogFileList()
Dfaultlog_manager.h42 int32_t maxNum) const;
46 const std::string& module, int32_t id, int32_t faultType, int32_t maxNum) const;
50 void ReduceLogFileListSize(std::list<std::string>& infoVec, int32_t maxNum) const;
Dfaultlog_database.h36 const std::string& module, int32_t id, int32_t faultType, int32_t maxNum);
Dfaultlogger.cpp517 int32_t pid, int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() argument
528 if (maxNum < 0 || maxNum > MAX_QUERY_NUM) { in QuerySelfFaultLog()
529 maxNum = MAX_QUERY_NUM; in QuerySelfFaultLog()
540 …rn std::make_unique<FaultLogQueryResultInner>(mgr_->GetFaultInfoList(name, id, faultType, maxNum)); in QuerySelfFaultLog()
Dfaultlogger.h61 int32_t pid, int32_t faultType, int32_t maxNum) override;
Dfaultlog_database.cpp95 int32_t faultType, int32_t maxNum) in GetFaultInfoList() argument
121 EventStore::ResultSet resultSet = query->Execute(maxNum); in GetFaultInfoList()
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/src/
Dfaultlogger_service_stub.cpp52 int32_t maxNum = data.ReadInt32(); in OnRemoteRequest() local
53 auto result = QuerySelfFaultLog(type, maxNum); in OnRemoteRequest()
Dfaultlogger_service_proxy.cpp54 sptr<IRemoteObject> FaultLoggerServiceProxy::QuerySelfFaultLog(int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() argument
72 if (!data.WriteInt32(maxNum)) { in QuerySelfFaultLog()
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/include/
Difaultlogger_service.h38 virtual sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) = 0;
Dfaultlogger_service_proxy.h33 virtual sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) override;
Dfaultlogger_service_ohos.h45 sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) override;
/base/hiviewdfx/hiview/plugins/faultlogger/common/
Dfaultlogger_plugin.h46 int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() argument
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include/
Dfaultlogger_client.h57 std::unique_ptr<FaultLogQueryResult> QuerySelfFaultLog(FaultLogType faultType, int32_t maxNum);
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/
Dfaultlogger_client.cpp124 std::unique_ptr<FaultLogQueryResult> QuerySelfFaultLog(FaultLogType faultType, int32_t maxNum) in QuerySelfFaultLog() argument
132 auto result = service->QuerySelfFaultLog(static_cast<int32_t>(faultType), maxNum); in QuerySelfFaultLog()
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/
Dfaultlogger_service_ohos.cpp122 sptr<IRemoteObject> FaultloggerServiceOhos::QuerySelfFaultLog(int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() argument
138 auto queryResult = service->QuerySelfFaultLog(uid, pid, faultType, maxNum); in QuerySelfFaultLog()
/base/startup/init/services/include/
Dinit_utils.h63 int SplitString(char *srcPtr, const char *del, char **dstPtr, int maxNum);
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp983 QueryMaxNumAsyncContext *maxNum = new (std::nothrow) QueryMaxNumAsyncContext(); in QueryMaxOsAccountNumber() local
984 if (maxNum == nullptr) { in QueryMaxOsAccountNumber()
988 maxNum->env = env; in QueryMaxOsAccountNumber()
989 maxNum->callbackRef = nullptr; in QueryMaxOsAccountNumber()
990 maxNum->throwErr = true; in QueryMaxOsAccountNumber()
992 if (!ParseParaQueryMaxNum(env, cbInfo, maxNum)) { in QueryMaxOsAccountNumber()
993 delete maxNum; in QueryMaxOsAccountNumber()
998 if (maxNum->callbackRef == nullptr) { in QueryMaxOsAccountNumber()
999 napi_create_promise(env, &maxNum->deferred, &result); in QueryMaxOsAccountNumber()
1008 reinterpret_cast<void *>(maxNum), &maxNum->work); in QueryMaxOsAccountNumber()
[all …]
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthdrivermanager_fuzzer/
Duser_auth_driver_manager_fuzzer.cpp175 static const uint32_t maxNum = 20; in GetExecutorList() local
181 uint32_t executorNum = num % maxNum; in GetExecutorList()
/base/startup/init/services/utils/
Dinit_utils.c253 int SplitString(char *srcPtr, const char *del, char **dstPtr, int maxNum) in SplitString() argument
259 while ((counter < maxNum) && (dstPtr[counter] != NULL)) { in SplitString()
261 if (counter >= maxNum) { in SplitString()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dfuzz_test_manager.cpp324 int GetRandomInt(int minNum, int maxNum) in GetRandomInt() argument
326 return GetU16Param() % (maxNum - minNum + 1) + minNum; in GetRandomInt()
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken.c397 static uint32_t CheckStrArray(const char **strArray, int32_t strNum, int32_t maxNum, uint32_t maxIn… in CheckStrArray() argument
400 (strNum > maxNum) || (strNum < 0)) { in CheckStrArray()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account_common.h162 bool ParseParaQueryMaxNum(napi_env env, napi_callback_info cbInfo, QueryMaxNumAsyncContext *maxNum);
/base/notification/distributed_notification_service/test/resource/notificationfuzztest/src/
Dnotificationfuzztestmanager.cpp727 int GetRandomInt(int minNum, int maxNum) in GetRandomInt() argument
729 return GetU16Param() % (maxNum - minNum + 1) + minNum; in GetRandomInt()

12