/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_common_utils.cpp | 42 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/ |
D | script_function.cpp | 69 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/ |
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/request/request/download/interfaces/kits/js/napi/download_single/src/ |
D | download_task_napi.cpp | 241 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()
|
D | download_task_napi_V9.cpp | 266 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()
|
D | napi_utils.cpp | 62 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/ |
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/notification/common_event_service/services/src/ |
D | access_token_helper.cpp | 50 if (!permission.isSensitive || permission.names.empty()) { in RecordSensitivePermissionUsage() 54 for (const auto &permissionName : permission.names) { in RecordSensitivePermissionUsage()
|
D | common_event_permission_manager.cpp | 241 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/ |
D | hisysevent_record_c.cpp | 87 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/ |
D | raw_file_manager.cpp | 51 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/ |
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/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/ |
D | app_event_blocks_dao.h | 33 int GetBlocks(std::vector<std::string>& names);
|
/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()
|
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
D | dump_common_utils.h | 53 static bool GetNamesInFolder(const std::string& folder, std::vector<std::string>& names);
|
/base/hiviewdfx/hidumper/frameworks/native/include/common/ |
D | option_args.h | 46 … void SetNamesAndArgs(const std::vector<std::string>& names, const std::vector<std::string>& args);
|
/base/hiviewdfx/hisysevent/test/unittest/common/napi/ |
D | napi_hisysevent.test.js | 268 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/ |
D | napi_hisysevent_util.cpp | 447 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/ |
D | download_manager.cpp | 167 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/ |
D | README.md | 19 …e widely used by applications, such as the layered parameters, permission names and descriptions, …
|
/base/global/resource_management/ |
D | README.md | 11 …e GUI resources for applications, for example, displaying the application names or icons specific …
|
/base/global/resource_management_lite/ |
D | README.md | 11 …e GUI resources for applications, for example, displaying the application names or icons specific …
|
/base/global/i18n/ |
D | README.md | 34 …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/ |
D | napi_util.h | 51 void GetPropertyNames(const napi_env env, const napi_value object, std::vector<std::string>& names);
|