Home
last modified time | relevance | path

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

12345

/base/hiviewdfx/hidumper/services/native/src/
Ddump_common_utils.cpp42 std::vector<std::string> names; in GetCpuInfos() local
43 if (!GetNamesInFolder("/sys/devices/system/cpu/", names)) { in GetCpuInfos()
46 for (size_t i = 0; i < names.size(); i++) { in GetCpuInfos()
47 std::string name = names[i]; in GetCpuInfos()
79 std::vector<std::string> names; in GetPidInfos() local
80 if (!GetNamesInFolder("/proc/", names)) { in GetPidInfos()
83 for (size_t i = 0; i < names.size(); i++) { in GetPidInfos()
84 std::string name = names[i]; in GetPidInfos()
154 bool DumpCommonUtils::GetNamesInFolder(const std::string& folder, std::vector<std::string>& names) in GetNamesInFolder() argument
165 names.push_back(name); in GetNamesInFolder()
/base/update/updater/services/script/script_interpreter/
Dscript_function.cpp69 std::vector<std::string> names; in GetParamNames() local
75 return names; in GetParamNames()
77 names.push_back(varName); in GetParamNames()
79 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/request/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_task_napi.cpp241 auto names = NapiUtils::GetPropertyNames(env, header); in ParseHeader() local
243 DOWNLOAD_HILOGD("current name list size = %{public}zu", names.size()); in ParseHeader()
244 iter = find(names.begin(), names.end(), cipherList); in ParseHeader()
245 if (iter == names.end()) { in ParseHeader()
247 names = NapiUtils::GetPropertyNames(env, header); in ParseHeader()
249 for (iter = names.begin(); iter != names.end(); ++iter) { in ParseHeader()
Ddownload_task_napi_V9.cpp266 auto names = NapiUtils::GetPropertyNames(env, header); in ParseHeader() local
268 DOWNLOAD_HILOGD("current name list size = %{public}zu", names.size()); in ParseHeader()
269 iter = find(names.begin(), names.end(), cipherList); in ParseHeader()
270 if (iter == names.end()) { in ParseHeader()
272 names = NapiUtils::GetPropertyNames(env, header); in ParseHeader()
274 for (iter = names.begin(); iter != names.end(); ++iter) { in ParseHeader()
Dnapi_utils.cpp62 napi_value names = nullptr; in GetPropertyNames() local
63 NAPI_CALL_BASE(env, napi_get_property_names(env, object, &names), ret); in GetPropertyNames()
65 NAPI_CALL_BASE(env, napi_get_array_length(env, names, &length), ret); in GetPropertyNames()
68 if (napi_get_element(env, names, index, &name) != napi_ok) { in GetPropertyNames()
/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/notification/common_event_service/services/src/
Daccess_token_helper.cpp50 if (!permission.isSensitive || permission.names.empty()) { in RecordSensitivePermissionUsage()
54 for (const auto &permissionName : permission.names) { in RecordSensitivePermissionUsage()
Dcommon_event_permission_manager.cpp241 per.names.reserve(REVERSE); in Init()
246 per.names.emplace_back(permissionName); in Init()
252 per.names.clear(); in Init()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
Dhisysevent_record_c.cpp87 int GetParamNames(const HiSysEventRecord& 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 HiSysEventRecord& record, char*** names, size_t& len) in OH_HiSysEvent_GetParamNames() argument
148 GetParamNames(record, names, len); in OH_HiSysEvent_GetParamNames()
/base/global/resource_management/frameworks/resmgr/src/
Draw_file_manager.cpp51 std::vector<std::string> names; member
142 result->fileNameCache.names.push_back(tempName + "/" + dirp->d_name); in OH_ResourceManager_OpenRawDir()
215 return rawDir->fileNameCache.names.size(); in OH_ResourceManager_GetRawFileCount()
223 uint32_t rawFileCount = rawDir->fileNameCache.names.size(); in OH_ResourceManager_GetRawFileName()
227 return rawDir->fileNameCache.names[index].c_str(); in OH_ResourceManager_GetRawFileName()
/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/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/
Dapp_event_blocks_dao.h33 int GetBlocks(std::vector<std::string>& names);
/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()
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/
Ddump_common_utils.h53 static bool GetNamesInFolder(const std::string& folder, std::vector<std::string>& names);
/base/hiviewdfx/hidumper/frameworks/native/include/common/
Doption_args.h46 … void SetNamesAndArgs(const std::vector<std::string>& names, const std::vector<std::string>& args);
/base/hiviewdfx/hisysevent/test/unittest/common/napi/
Dnapi_hisysevent.test.js268 names: ["STACK"], property
343 names: ["STACK"], property
418 names: ["STACK_STACK_STACK_STACK_STACK_STACK"], property
745 names: ["CONNECT_SERVICE"], property
793 names: ["CONNECT_SERVICE"], property
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp447 auto names = rule.GetEventList(); in IsQueryRuleValid() local
448 if (std::any_of(names.begin(), names.end(), [] (auto& name) { in IsQueryRuleValid()
459 std::vector<std::string> names; in ParseQueryRule() local
461 return QueryRule("", names); in ParseQueryRule()
466 ParseStringArray(env, propertyValue, names); in ParseQueryRule()
467 for (auto& name : names) { in ParseQueryRule()
470 return QueryRule(domain, names); in ParseQueryRule()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/legacy/
Ddownload_manager.cpp167 auto names = NapiUtils::GetPropertyNames(env, header); in ParseHeader() local
168 DOWNLOAD_HILOGD("names size=%{public}d", static_cast<int32_t>(names.size())); in ParseHeader()
170 for (const auto& name : names) { in ParseHeader()
/base/global/system_resources/
DREADME.md19 …e widely used by applications, such as the layered parameters, permission names and descriptions, …
/base/global/resource_management/
DREADME.md11 …e GUI resources for applications, for example, displaying the application names or icons specific …
/base/global/resource_management_lite/
DREADME.md11 …e GUI resources for applications, for example, displaying the application names or icons specific …
/base/global/i18n/
DREADME.md34 …me formats \(such as the sequence of year, month, and day, month and week names, and 12-hour or 24…
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
Dnapi_util.h51 void GetPropertyNames(const napi_env env, const napi_value object, std::vector<std::string>& names);

12345