Home
last modified time | relevance | path

Searched refs:totalCount (Results 1 - 18 of 18) sorted by relevance

/base/hiviewdfx/hiview/framework/native/unified_collection/collector/device_client/
H A Dthread_cpu_data.cpp31 void ThreadCpuData::Init(int magic, unsigned int totalCount, int pid) in Init() argument
34 + sizeof(struct ucollection_thread_cpu_item) * totalCount; in Init()
41 entry_->total_count = totalCount; in Init()
H A Dprocess_cpu_data.cpp28 void ProcessCpuData::Init(int magic, unsigned int totalCount, int pid) in Init() argument
31 + sizeof(struct ucollection_process_cpu_item) * totalCount; in Init()
38 entry_->total_count = totalCount; in Init()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/
H A Dthread_cpu_data.h29 void Init(int magic, unsigned int totalCount, int pid);
H A Dprocess_cpu_data.h28 void Init(int magic, unsigned int totalCount, int pid);
/base/security/access_token/frameworks/privacy/src/
H A Dpermission_used_record_parcel.cpp78 uint32_t totalCount = accRecordSize + rejRecordSize; in Unmarshalling() local
79 RELEASE_IF_FALSE(totalCount <= MAX_ACCESS_RECORD_SIZE, permissionRecordParcel); in Unmarshalling()
/base/security/access_token/interfaces/innerkits/analysis_model/src/
H A Dcode_signature_analysis_kit.c44 int64_t totalCount = 0; in IsRiskStatusChanged() local
50 totalCount += tmp->timeStamp.timeStampCount; in IsRiskStatusChanged()
54 node->status.totalCount = totalCount; in IsRiskStatusChanged()
55 if ((totalCount > MAX_CODE_SIGNATURE_ERROR_NUM) || (eventCount == CODE_SIGNATURE_ERROR_TYPE_SIZE)) { in IsRiskStatusChanged()
142 node->status.totalCount = 0; in AppRiskInfoNodeInit()
H A Dcode_signature_info.h109 int64_t totalCount; member
/base/global/i18n_lite/frameworks/i18n/src/
H A Ddata_resource.cpp424 bool DataResource::ApplyForResource(uint32_t **index, char ***wanted, uint32_t totalCount) in ApplyForResource() argument
426 if ((index == nullptr) || (wanted == nullptr) || (totalCount == 0)) { in ApplyForResource()
429 *index = reinterpret_cast<uint32_t *>(I18nMalloc(sizeof(uint32_t) * totalCount)); in ApplyForResource()
433 *wanted = reinterpret_cast<char **>(I18nMalloc(sizeof(char *) * totalCount)); in ApplyForResource()
437 for (uint32_t i = 0; i < totalCount; ++i) { in ApplyForResource()
/base/hiviewdfx/hiview/plugins/sysevent_source/include/
H A Dplatform_monitor.h38 uint32_t totalCount; member
/base/global/i18n_lite/frameworks/i18n/include/
H A Ddata_resource.h131 bool ApplyForResource(uint32_t **index, char ***wanted, uint32_t totalCount);
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
H A Devent_query_wrapper_builder.h70 void SetEventTotalCount(int64_t totalCount);
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Devent_query_wrapper_builder.cpp348 void BaseEventQueryWrapper::SetEventTotalCount(int64_t totalCount) in SetEventTotalCount() argument
350 HIVIEW_LOGD("SetEventTotalCount: %{public}" PRId64 ".", totalCount); in SetEventTotalCount()
351 totalEventCnt_ = totalCount; in SetEventTotalCount()
/base/startup/init/test/systest/
H A Dloopserver_systest.c327 uint32_t totalCount = msg->tlvCount + TLV_MAX; in MsgRebuild() local
328 message->tlvOffset = malloc(totalCount * sizeof(uint32_t)); in MsgRebuild()
333 for (uint32_t i = 0; i < totalCount; i++) { in MsgRebuild()
/base/startup/appspawn/standard/
H A Dappspawn_msgmgr.c142 uint32_t totalCount = msg->tlvCount + TLV_MAX; in AppSpawnMsgRebuild() local
143 message->tlvOffset = malloc(totalCount * sizeof(uint32_t)); in AppSpawnMsgRebuild()
145 for (uint32_t i = 0; i < totalCount; i++) { in AppSpawnMsgRebuild()
/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Dplatform_monitor.cpp205 perfMeasure.totalCount = totalCount_; in GetBreakStat()
229 "TOTAL_COUNT", perfMeasure.totalCount, "TOTAL_SIZE", perfMeasure.totalSize, in ReportProfile()
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_wifi_test.cpp593 int16_t totalCount = 3; in HWTEST_F() local
597 for (int16_t i = 0; i < totalCount; i++) { in HWTEST_F()
612 double expectedPower = (totalCount - delayCount) * wifiScanAverageMa; in HWTEST_F()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_wifi_test.cpp645 int16_t totalCount = 20; in HWTEST_F() local
649 for (int16_t i = 0; i < totalCount; i++) { in HWTEST_F()
660 double expectedPower = (totalCount - delayCount) * wifiScanAverageMa; in HWTEST_F()
/base/startup/appspawn/test/unittest/
H A Dapp_spawn_test_helper.cpp537 uint32_t totalCount = msg->tlvCount + TLV_MAX; in CreateAppSpawnMsg() local
538 msgNode->tlvOffset = static_cast<uint32_t *>(malloc(totalCount * sizeof(uint32_t))); in CreateAppSpawnMsg()
541 for (uint32_t i = 0; i < totalCount; i++) { in CreateAppSpawnMsg()

Completed in 12 milliseconds