/base/hiviewdfx/hilog_lite/frameworks/mini/ |
D | hiview_log_limit.c | 48 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()
|
D | hiview_log_limit.h | 29 uint8 maxNum; /* the max num limit of log line */ member
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
D | faultlog_manager.cpp | 128 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()
|
D | faultlog_manager.h | 42 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;
|
D | faultlog_database.h | 36 const std::string& module, int32_t id, int32_t faultType, int32_t maxNum);
|
D | faultlogger.cpp | 517 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()
|
D | faultlogger.h | 61 int32_t pid, int32_t faultType, int32_t maxNum) override;
|
D | faultlog_database.cpp | 95 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/ |
D | faultlogger_service_stub.cpp | 52 int32_t maxNum = data.ReadInt32(); in OnRemoteRequest() local 53 auto result = QuerySelfFaultLog(type, maxNum); in OnRemoteRequest()
|
D | faultlogger_service_proxy.cpp | 54 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/ |
D | ifaultlogger_service.h | 38 virtual sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) = 0;
|
D | faultlogger_service_proxy.h | 33 virtual sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) override;
|
D | faultlogger_service_ohos.h | 45 sptr<IRemoteObject> QuerySelfFaultLog(int32_t faultType, int32_t maxNum) override;
|
/base/hiviewdfx/hiview/plugins/faultlogger/common/ |
D | faultlogger_plugin.h | 46 int32_t faultType, int32_t maxNum) in QuerySelfFaultLog() argument
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/include/ |
D | faultlogger_client.h | 57 std::unique_ptr<FaultLogQueryResult> QuerySelfFaultLog(FaultLogType faultType, int32_t maxNum);
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/ |
D | faultlogger_client.cpp | 124 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/ |
D | faultlogger_service_ohos.cpp | 122 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/ |
D | init_utils.h | 63 int SplitString(char *srcPtr, const char *del, char **dstPtr, int maxNum);
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
D | napi_os_account.cpp | 983 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/ |
D | user_auth_driver_manager_fuzzer.cpp | 175 static const uint32_t maxNum = 20; in GetExecutorList() local 181 uint32_t executorNum = num % maxNum; in GetExecutorList()
|
/base/startup/init/services/utils/ |
D | init_utils.c | 253 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/ |
D | fuzz_test_manager.cpp | 324 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/ |
D | nativetoken.c | 397 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/ |
D | napi_os_account_common.h | 162 bool ParseParaQueryMaxNum(napi_env env, napi_callback_info cbInfo, QueryMaxNumAsyncContext *maxNum);
|
/base/notification/distributed_notification_service/test/resource/notificationfuzztest/src/ |
D | notificationfuzztestmanager.cpp | 727 int GetRandomInt(int minNum, int maxNum) in GetRandomInt() argument 729 return GetU16Param() % (maxNum - minNum + 1) + minNum; in GetRandomInt()
|