/base/hiviewdfx/hiview/base/event_store/dao/ |
D | sys_event_dao.cpp | 29 const std::vector<std::string>& names) in BuildQuery() argument 31 HIVIEW_LOGD("squery domain=%{public}s, names.size=%{public}zu", domain.c_str(), names.size()); in BuildQuery() 32 if (domain.empty() || names.empty()) { in BuildQuery() 35 return std::make_shared<SysEventQueryWrapper>(domain, names); in BuildQuery() 39 const std::vector<std::string>& names, uint32_t type, int64_t toSeq) in BuildQuery() argument 42 domain.c_str(), names.size(), type, toSeq); in BuildQuery() 43 return std::make_shared<SysEventQueryWrapper>(domain, names, type, toSeq); in BuildQuery()
|
/base/startup/init/test/benchmark/ |
D | parameter_benchmark.cpp | 42 names = new char *[nprops]; in LocalParameterTestState() 53 names[i] = new char[PARAM_NAME_LEN_MAX + 1]; in LocalParameterTestState() 56 if (j == 0 || names[i][j - 1] == '.' || j == nameLens[i] - 1) { in LocalParameterTestState() 66 names[i][j] = paramNameChars[TestRandom() % paramNameLen]; in LocalParameterTestState() 68 names[i][nameLens[i]] = 0; in LocalParameterTestState() 77 if (SystemSetParameter(names[i], values[i]) != 0) { in LocalParameterTestState() 93 delete names[i]; in ~LocalParameterTestState() 96 delete[] names; in ~LocalParameterTestState() 104 char **names; member 135 …CachedHandle handle = CachedParameterCreate(g_localParamTester->names[TestRandom() % g_maxCount], … in BMCachedParameterGet() [all …]
|
/base/hiviewdfx/hiview/base/event_store/include/ |
D | sys_event_query_wrapper.h | 50 SysEventQueryWrapper(const std::string& domain, const std::vector<std::string>& names) in SysEventQueryWrapper() argument 51 : SysEventQuery(domain, names) {} in SysEventQueryWrapper() 52 SysEventQueryWrapper(const std::string& domain, const std::vector<std::string>& names, in SysEventQueryWrapper() argument 53 uint32_t type, int64_t toSeq) : SysEventQuery(domain, names, type, toSeq) {} in SysEventQueryWrapper()
|
D | sys_event_dao.h | 39 …ed_ptr<SysEventQuery> BuildQuery(const std::string& domain, const std::vector<std::string>& names); 43 const std::vector<std::string>& names, uint32_t type, int64_t toSeq);
|
D | sys_event_query.h | 222 std::vector<std::string> names; member 227 SysEventQueryArg(const std::string& domain, const std::vector<std::string>& names, in SysEventQueryArg() 231 this->names.assign(names.begin(), names.end()); in SysEventQueryArg() 240 SysEventQuery(const std::string& domain, const std::vector<std::string>& names); 274 …SysEventQuery(const std::string& domain, const std::vector<std::string>& names, uint32_t type, int…
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_common_utils.cpp | 115 std::vector<std::string> names; in GetCpuInfos() local 116 if (!GetNamesInFolder("/sys/devices/system/cpu/", names)) { in GetCpuInfos() 119 for (size_t i = 0; i < names.size(); i++) { in GetCpuInfos() 120 std::string name = names[i]; in GetCpuInfos() 152 std::vector<std::string> names; in GetPidInfos() local 153 if (!GetNamesInFolder("/proc/", names)) { in GetPidInfos() 156 for (size_t i = 0; i < names.size(); i++) { in GetPidInfos() 157 std::string name = names[i]; in GetPidInfos() 231 bool DumpCommonUtils::GetNamesInFolder(const std::string& folder, std::vector<std::string>& names) in GetNamesInFolder() argument 242 names.push_back(name); in GetNamesInFolder()
|
/base/notification/common_event_service/services/test/unittest/common_event_control_manager_branch_test/ |
D | mock_common_event_permission_manager.cpp | 30 per.names.emplace_back(eventName); in GetEventPermission() 31 per.names.emplace_back(eventNames); in GetEventPermission()
|
/base/update/updater/services/script/script_interpreter/ |
D | script_function.cpp | 82 std::vector<std::string> names; in GetParamNames() local 88 return names; in GetParamNames() 90 names.push_back(varName); in GetParamNames() 92 return names; in GetParamNames()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_check_labels_callback.cpp | 36 std::vector<std::string> names; in SendResult() local 39 names.push_back(account.GetName()); in SendResult() 42 result.SetParam(Constants::KEY_ACCOUNT_NAMES, names); in SendResult()
|
/base/hiviewdfx/hisysevent/test/unittest/common/napi/ |
D | napi_hisysevent.test.js | 245 names: ["STACK"], property 295 names: ["STACK"], property 344 names: ["STACK_STACK_STACK_STACK_STACK_STACK"], property 608 names: ["CONNECT_SERVICE"], property 637 names: ["CONNECT_SERVICE"], property 716 names: ["STACK"], property 767 names: ["STACK"], property 818 names: ["STACK"], property 869 names: ["STACK"], property 902 names: ["STACK"], property
|
/base/startup/init/test/unittest/param/ |
D | client_unittest.cpp | 69 const char *names[] = { in TestForMultiThread() local 78 reinterpret_cast<void *>(const_cast<char *>(names[i % ARRAY_LENGTH(names)]))); in TestForMultiThread() 82 reinterpret_cast<void *>(const_cast<char *>(names[i % ARRAY_LENGTH(names)]))); in TestForMultiThread()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
D | hisysevent_record_c.cpp | 87 int GetParamNames(const HiSysEventRecordC& record, char*** names, size_t& len) in GetParamNames() argument 98 return OHOS::HiviewDFX::StringUtil::ConvertCStringVec(dataVec, names, len); in GetParamNames() 146 void OH_HiSysEvent_GetParamNames(const HiSysEventRecordC* record, char*** names, size_t* len) in OH_HiSysEvent_GetParamNames() argument 148 GetParamNames(*record, names, *len); in OH_HiSysEvent_GetParamNames()
|
/base/notification/common_event_service/services/src/ |
D | access_token_helper.cpp | 51 if (!permission.isSensitive || permission.names.empty()) { in RecordSensitivePermissionUsage() 55 for (const auto &permissionName : permission.names) { in RecordSensitivePermissionUsage()
|
/base/print/print_fwk/frameworks/helper/src/ |
D | print_extension_info_helper.cpp | 47 auto names = NapiPrintUtils::GetPropertyNames(env, jsValue); in BuildFromJs() local 48 for (auto name : names) { in BuildFromJs()
|
D | print_resolution_helper.cpp | 63 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local 64 for (auto name : names) { in ValidateProperty()
|
D | print_preview_attribute_helper.cpp | 79 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local 80 for (auto name : names) { in ValidateProperty()
|
D | print_margin_helper.cpp | 94 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local 95 for (auto name : names) { in ValidateProperty()
|
D | print_page_size_helper.cpp | 78 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local 79 for (auto name : names) { in ValidateProperty()
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | raw_file_manager.cpp | 51 std::vector<std::string> names; member 124 RState state = mgr->resManager->GetRawFileList(dirName, result->fileNameCache.names); in LoadRawDirFromHap() 164 result->fileNameCache.names.push_back(tempName + "/" + dirp->d_name); in OH_ResourceManager_OpenRawDir() 238 return rawDir->fileNameCache.names.size(); in OH_ResourceManager_GetRawFileCount() 246 uint32_t rawFileCount = rawDir->fileNameCache.names.size(); in OH_ResourceManager_GetRawFileName() 250 return rawDir->fileNameCache.names[index].c_str(); in OH_ResourceManager_GetRawFileName()
|
/base/notification/common_event_service/services/test/unittest/mock/ |
D | mock_common_event_permission_manager.cpp | 39 per.names.emplace_back(eventName); in GetEventPermission()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/ |
D | app_event_blocks_dao.h | 33 int GetBlocks(std::vector<std::string>& names);
|
/base/hiviewdfx/hidumper/frameworks/native/src/common/ |
D | option_args.cpp | 129 void OptionArgs::SetNamesAndArgs(const std::vector<std::string>& names, const std::vector<std::stri… in SetNamesAndArgs() argument 132 names_.assign(names.begin(), names.end()); in SetNamesAndArgs()
|
/base/request/request/frameworks/js/napi/src/upload/ |
D | js_util.cpp | 217 auto names = NapiUtils::GetPropertyNames(env, jsHeader); in ParseHeader() local 218 auto iter = find(names.begin(), names.end(), cipherList); in ParseHeader() 219 if (iter == names.end()) { in ParseHeader() 222 for (iter = names.begin(); iter != names.end(); ++iter) { in ParseHeader()
|
/base/notification/common_event_service/services/include/ |
D | common_event_permission_manager.h | 35 std::vector<std::string> names; member
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/ |
D | app_event_blocks_dao.cpp | 93 int AppEventBlocksDao::GetBlocks(std::vector<std::string>& names) in GetBlocks() argument 110 names.emplace_back(name); in GetBlocks()
|