/ohos5.0/base/startup/init/test/benchmark/ |
H A D | parameter_benchmark.cpp | 43 names = new char *[nprops]; in LocalParameterTestState() 54 names[i] = new char[PARAM_NAME_LEN_MAX + 1]; in LocalParameterTestState() 57 if (j == 0 || names[i][j - 1] == '.' || j == nameLens[i] - 1) { in LocalParameterTestState() 67 names[i][j] = paramNameChars[TestRandom() % paramNameLen]; in LocalParameterTestState() 69 names[i][nameLens[i]] = 0; in LocalParameterTestState() 78 if (SystemSetParameter(names[i], values[i]) != 0) { in LocalParameterTestState() 94 delete names[i]; in ~LocalParameterTestState() 97 delete[] names; in ~LocalParameterTestState() 105 char **names; member 157 g_localParamTester->names[TestRandom() % g_maxCount], "xxxxxx"); in BMCachedParameterGetChangedStatic() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/dao/ |
H A D | sys_event_dao.cpp | 31 const std::vector<std::string>& names) in BuildQuery() argument 33 HIVIEW_LOGD("squery domain=%{public}s, names.size=%{public}zu", domain.c_str(), names.size()); in BuildQuery() 34 if (domain.empty() || names.empty()) { in BuildQuery() 37 return std::make_shared<SysEventQueryWrapper>(domain, names); in BuildQuery() 41 const std::vector<std::string>& names, uint32_t type, int64_t toSeq, int64_t fromSeq) in BuildQuery() argument 44 ", fromSeq=%{public}" PRId64, domain.c_str(), names.size(), type, toSeq, fromSeq); in BuildQuery() 45 return std::make_shared<SysEventQueryWrapper>(domain, names, type, toSeq, fromSeq); in BuildQuery()
|
/ohos5.0/base/hiviewdfx/hidumper/services/native/src/ |
H A D | dump_common_utils.cpp | 116 std::vector<std::string> names; in GetCpuInfos() local 120 for (size_t i = 0; i < names.size(); i++) { in GetCpuInfos() 121 std::string name = names[i]; in GetCpuInfos() 153 std::vector<std::string> names; in GetPidInfos() local 154 if (!GetNamesInFolder("/proc/", names)) { in GetPidInfos() 157 for (size_t i = 0; i < names.size(); i++) { in GetPidInfos() 158 std::string name = names[i]; in GetPidInfos() 243 names.push_back(name); in GetNamesInFolder() 273 vector<string> names; in GetProcessNameByPid() local 275 if (names.empty()) { in GetProcessNameByPid() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/ |
H A D | call_context.h | 140 return (true && ... && DefineParameter<Args>(context, names[Index])); in SetContextValues() 150 ICallContext::Ptr CreateCallContextImpl(const BASE_NS::array_view<BASE_NS::string_view>& names) in CreateCallContextImpl() argument 152 if (sizeof...(Args) != names.size()) { in CreateCallContextImpl() 157 if (!SetContextValues<PlainType_t<Args>...>(context, MakeIndexSequenceFor<Args...>(), names)) { in CreateCallContextImpl() 174 return CreateCallContextImpl<Ret, Args...>(names); in CreateCallContext() 183 return CreateCallContextImpl<Ret, Args...>(names); in CreateCallContext() 274 const BASE_NS::array_view<BASE_NS::string_view>& names, IndexSequence<Index...> ind) 282 IAny::Ptr args[] = { context->Get(names[Index])... }; 322 const BASE_NS::array_view<BASE_NS::string_view>& names) 325 …context, [&](Args... args) { return (obj->*func)(args...); }, names, MakeIndexSequenceFor<Args...>… [all …]
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | source-obfuscation.md | 32 * Parameter names and local variable names 33 * Top-level scope names 34 * Property names 35 * Exported names 36 * File names 38 …names and local variable names will be obfuscated by default. No option needs to be configured. Ob… 268 #### -print-kept-names *filepath* 342 What property names should be kept? 482 What file names should be kept? 576 Keep all single-character property names. [all …]
|
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/ |
H A D | bms_helper.cpp | 34 int32_t BMSHelper::RegisterBundleNames(const List<char *> &names) in RegisterBundleNames() argument 36 if (names.Size() + bundleNames_.Size() > BUNDLE_LIST_CAPACITY) { in RegisterBundleNames() 39 for (auto node = names.Begin(); node != names.End(); node = node->next_) { in RegisterBundleNames() 67 int32_t BMSHelper::RegisterTemporaryBundleNames(const List<char *> &names) in RegisterTemporaryBundleNames() argument 69 if (names.Size() + temporaryBundleNames_.Size() > BUNDLE_LIST_CAPACITY) { in RegisterTemporaryBundleNames() 72 for (auto node = names.Begin(); node != names.End(); node = node->next_) { in RegisterTemporaryBundleNames()
|
/ohos5.0/base/hiviewdfx/hisysevent/test/unittest/common/napi/ |
H A D | napi_hisysevent.test.js | 323 names: ["STACK"], 658 names: ["STACK"], 703 names: ["STACK"], 747 names: ["STACK"], 792 names: ["STACK"], 818 names: ["STACK"], 843 names: ["STACK"], 878 names: ["STACK"], 918 names: ["STACK"], 957 names: ["STACK"], [all …]
|
/ohos5.0/docs/en/application-dev/internationalization/ |
H A D | i18n-language-region-display.md | 6 Language and locale name localization means to localize language and locale names on the UI based o… 18 2. Localize language names. 19 …viding language names for a user, for example, when a user switches the system language, the syste… 27 3. Localize country/region names. 28 …untry/region names for a user, for example, when a user switches the country/region, the system di…
|
/ohos5.0/base/location/frameworks/location_common/common/source/ |
H A D | common_hisysevent.cpp | 56 std::vector<std::string> names; in WriteLocationInnerEvent() local 61 names.push_back(x); in WriteLocationInnerEvent() 67 HookUtils::ExecuteHookWhenReportInnerInfo(event, names, values); in WriteLocationInnerEvent() 70 void WriteLocationInnerEvent(const int event, std::vector<std::string> names, std::vector<std::stri… in WriteLocationInnerEvent() argument 72 HookUtils::ExecuteHookWhenReportInnerInfo(event, names, values); in WriteLocationInnerEvent()
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.35/ |
H A D | changelogs-bundlemanager.md | 11 …o display its icon and name. APIs should be available to support obtaining of such icons and names. 12 2. APIs should be available to support obtaining of the icons and names of applications installed b… 21 …names of applications installed by the current user, excluding disabled applications and applicati… 23 …names of applications installed by the current user, excluding disabled applications and applicati… 50 …names, you need to determine whether to display all of them. You can use **getAllBundleInfo** in t…
|
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/ |
H A D | _image_effect___filter_names.md | 22 | uint32_t [size](#size) = 0 | Number of filter names. | 23 | const char \*\* [nameList](#namelist) = nullptr | List of filter names. | 36 List of filter names. 46 Number of filter names.
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-appDomainVerify-sys.md | 3 …odule provides APIs to query the mappings between applications and domain names for the purposes o… 19 …system_basic | Allows an application to access the mappings between applications and domain names.| 27 Queries the list of domain names associated with an application based on its bundle name. 45 | string[] | List of domain names associated with the bundle name. If no domain name is associated,… 63 // Obtain the list of domain names associated with the bundle name "com.example.app1". 75 Obtains the list of bundle names associated with a domain name. 93 | string[] | List of bundle names associated with the domain name. If no application is associated,… 111 // Obtain the list of bundle names associated with the domain name "example.com".
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/offlineaudioeffect/test/unittest/ |
H A D | offline_audio_effect_manager_unit_test.cpp | 63 vector<string> names; in SetUpTestCase() local 64 names = g_manager->GetOfflineAudioEffectChains(); in SetUpTestCase() 65 if (names.size() > 0) { in SetUpTestCase() 66 g_normalName = names[names.size() - 1]; in SetUpTestCase()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/ |
H A D | app_event_observer.cpp | 89 …ventFilter::AppEventFilter(const std::string& domain, const std::unordered_set<std::string>& names, in AppEventFilter() argument 90 uint32_t types) : domain(domain), names(names), types(types) in AppEventFilter() 109 if (!names.empty() && (names.find(eventName) == names.end())) { in IsValidEvent() 325 std::unordered_set<std::string> names; in SetReportConfig() local 327 names.emplace(eventConfig.name); in SetReportConfig() 329 filters_.emplace_back(AppEventFilter(eventConfig.domain, names)); in SetReportConfig()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/event_store/event_export/config/ |
H A D | export_event_list_parser.cpp | 35 void AddDomainNames(const std::string& domain, const std::vector<std::string>& names, in AddDomainNames() argument 38 if (names.empty()) { in AddDomainNames() 43 eventList.emplace(domain, names); in AddDomainNames() 46 iter->second.insert(iter->second.end(), names.begin(), names.end()); in AddDomainNames()
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/ |
H A D | ndk_app_event_watcher.cpp | 40 const char *const *names, int namesLen) in AddAppEventFilter() argument 47 if (names == nullptr && namesLen > 0) { in AddAppEventFilter() 51 if (names[i] == nullptr) { in AddAppEventFilter() 54 filter.names.insert(names[i]); in AddAppEventFilter()
|
/ohos5.0/base/update/updater/services/script/script_interpreter/ |
H A 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()
|
/ohos5.0/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | wifi_chip.cpp | 308 std::vector<std::string> names; in GetApNames() local 310 names.emplace_back(iface->GetName()); in GetApNames() 312 return names; in GetApNames() 317 std::vector<std::string> names; in FindApUsingName() local 328 std::vector<std::string> names; in GetP2pNames() local 330 names.emplace_back(iface->GetName()); in GetP2pNames() 332 return names; in GetP2pNames() 337 std::vector<std::string> names; in FindP2pUsingName() local 348 std::vector<std::string> names; in GetStaNames() local 352 return names; in GetStaNames() [all …]
|
/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/services/dbms/test/unittest/dbms_services_kit_test/ |
H A D | dbms_services_kit_test.cpp | 549 std::vector<ElementName> names; variable 554 names.push_back(name); 578 std::vector<ElementName> names; variable 582 names.push_back(name); 689 std::vector<ElementName> names; variable 713 names.push_back(name_1); 718 names.push_back(name_2); 785 names.push_back(name); 809 names.push_back(name); 1628 names.push_back(name); [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/async_context/src/ |
H A D | fetch_context.cpp | 93 auto names = NapiUtils::GetPropertyNames(GetEnv(), header); in ParseHeader() local 94 std::for_each(names.begin(), names.end(), [header, this](const std::string &name) { in ParseHeader() 176 auto names = NapiUtils::GetPropertyNames(GetEnv(), data); in GetUrlParam() local 177 std::for_each(names.begin(), names.end(), [this, data, &extraParam](std::string name) { in GetUrlParam()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cache_cursor_test.cpp | 81 std::vector<std::string> names; variable 82 auto result = cursor->GetColumnNames(names); 84 EXPECT_EQ(names, expectedNames); 131 std::vector<std::string> names; variable 132 auto result = cursor->GetColumnNames(names); 134 EXPECT_EQ(names, expectedNames);
|
H A D | rdb_result_set_impl_test.cpp | 99 std::vector<std::string> names; variable 100 resultSet->GetAllColumnNames(names); 101 ASSERT_EQ(Names.size(), names.size()); 103 ASSERT_EQ(Names[i].first, names[i]); 106 ASSERT_EQ(colName, names[i]); 222 std::vector<std::string> names; variable 223 EXPECT_EQ(resultSet->GetAllColumnNames(names), NativeRdb::E_OK); 229 EXPECT_EQ(resultSet->GetColumnIndex(names[1], columnIndex), NativeRdb::E_OK);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb_data_ability_adapter/src/ |
H A D | result_set_utils.cpp | 107 std::vector<std::string> names; in GetColumnNames() local 108 auto errCode = resultSet_->GetAllColumnNames(names); in GetColumnNames() 109 return {errCode, std::move(names)}; in GetColumnNames()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/ets/pages/ |
H A D | Index.ets | 279 let names = str.split(","); 280 for (let name of names) { 292 let names = str.split(","); 293 for (let name of names) { 304 let names = str.split(","); 305 let index = names.indexOf(this.caseNameStr); 306 if (index == names.length - 1) { 307 this.TestFunctionalXnode(names[0]); 309 this.TestFunctionalXnode(names[index + 1]);
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/include/ |
H A D | sys_event_query_wrapper.h | 107 SysEventQueryWrapper(const std::string& domain, const std::vector<std::string>& names) in SysEventQueryWrapper() argument 108 : SysEventQuery(domain, names) {} in SysEventQueryWrapper() 109 SysEventQueryWrapper(const std::string& domain, const std::vector<std::string>& names, in SysEventQueryWrapper() argument 110 …uint32_t type, int64_t toSeq, int64_t fromSeq) : SysEventQuery(domain, names, type, toSeq, fromSeq… in SysEventQueryWrapper()
|