Home
last modified time | relevance | path

Searched refs:names (Results 1 – 25 of 148) sorted by relevance

123456

/base/hiviewdfx/hiview/base/event_store/dao/
Dsys_event_dao.cpp29 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/
Dparameter_benchmark.cpp42 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/
Dsys_event_query_wrapper.h50 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()
Dsys_event_dao.h39 …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);
Dsys_event_query.h222 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/
Ddump_common_utils.cpp115 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/
Dmock_common_event_permission_manager.cpp30 per.names.emplace_back(eventName); in GetEventPermission()
31 per.names.emplace_back(eventNames); in GetEventPermission()
/base/update/updater/services/script/script_interpreter/
Dscript_function.cpp82 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/
Dapp_account_check_labels_callback.cpp36 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/
Dnapi_hisysevent.test.js245 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/
Dclient_unittest.cpp69 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/
Dhisysevent_record_c.cpp87 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/
Daccess_token_helper.cpp51 if (!permission.isSensitive || permission.names.empty()) { in RecordSensitivePermissionUsage()
55 for (const auto &permissionName : permission.names) { in RecordSensitivePermissionUsage()
/base/print/print_fwk/frameworks/helper/src/
Dprint_extension_info_helper.cpp47 auto names = NapiPrintUtils::GetPropertyNames(env, jsValue); in BuildFromJs() local
48 for (auto name : names) { in BuildFromJs()
Dprint_resolution_helper.cpp63 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local
64 for (auto name : names) { in ValidateProperty()
Dprint_preview_attribute_helper.cpp79 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local
80 for (auto name : names) { in ValidateProperty()
Dprint_margin_helper.cpp94 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local
95 for (auto name : names) { in ValidateProperty()
Dprint_page_size_helper.cpp78 auto names = NapiPrintUtils::GetPropertyNames(env, object); in ValidateProperty() local
79 for (auto name : names) { in ValidateProperty()
/base/global/resource_management/frameworks/resmgr/src/
Draw_file_manager.cpp51 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/
Dmock_common_event_permission_manager.cpp39 per.names.emplace_back(eventName); in GetEventPermission()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/
Dapp_event_blocks_dao.h33 int GetBlocks(std::vector<std::string>& names);
/base/hiviewdfx/hidumper/frameworks/native/src/common/
Doption_args.cpp129 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/
Djs_util.cpp217 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/
Dcommon_event_permission_manager.h35 std::vector<std::string> names; member
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
Dapp_event_blocks_dao.cpp93 int AppEventBlocksDao::GetBlocks(std::vector<std::string>& names) in GetBlocks() argument
110 names.emplace_back(name); in GetBlocks()

123456