/ohos5.0/build/hb/util/preloader/ |
H A D | parse_vendor_product_config.py | 43 pairs = dict() 44 pairs['features'] = feats 45 return pairs 67 pairs = dict() 68 pairs['syscap'] = feats 69 return pairs 73 pairs = dict() 74 pairs['exclusions'] = exclusions 75 return pairs 90 pairs = get_features(features) [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/ndk/src/ |
H A D | oh_preferences_value.cpp | 37 const char *OH_PreferencesPair_GetKey(const OH_PreferencesPair *pairs, uint32_t index) in OH_PreferencesPair_GetKey() argument 39 if (pairs == nullptr || index >= pairs[0].maxIndex) { in OH_PreferencesPair_GetKey() 45 pairs[index].cid, PreferencesNdkStructId::PREFERENCES_OH_PAIR_CID)) { in OH_PreferencesPair_GetKey() 46 …LOG_ERROR("cid error when get key from pair, cid: %{public}ld", static_cast<long>(pairs[index].cid… in OH_PreferencesPair_GetKey() 49 return pairs[index].key; in OH_PreferencesPair_GetKey() 52 const OH_PreferencesValue *OH_PreferencesPair_GetPreferencesValue(const OH_PreferencesPair *pairs, … in OH_PreferencesPair_GetPreferencesValue() argument 54 if (pairs == nullptr || index >= pairs[0].maxIndex) { in OH_PreferencesPair_GetPreferencesValue() 60 pairs[index].cid, PreferencesNdkStructId::PREFERENCES_OH_PAIR_CID)) { in OH_PreferencesPair_GetPreferencesValue() 61 …LOG_ERROR("cid error when get value from pair, cid: %{public}ld", static_cast<long>(pairs[index].c… in OH_PreferencesPair_GetPreferencesValue() 64 return pairs[index].value; in OH_PreferencesPair_GetPreferencesValue()
|
H A D | oh_preferences.cpp | 417 inline void FreePairValue(OH_PreferencesPair *pairs, size_t count) in FreePairValue() argument 420 delete pairs[i].value; in FreePairValue() 434 OH_PreferencesPair *pairs = new (std::nothrow) OH_PreferencesPair[count]; in OnChange() local 435 if (pairs == nullptr) { in OnChange() 445 FreePairValue(pairs, i); in OnChange() 446 delete []pairs; in OnChange() 450 … pairs[i++] = OH_PreferencesPair { PreferencesNdkStructId::PREFERENCES_OH_PAIR_CID, key.c_str(), in OnChange() 453 (dataObserver_)(context_, pairs, count); in OnChange() 454 FreePairValue(pairs, count); in OnChange() 455 delete []pairs; in OnChange()
|
/ohos5.0/build/hb/util/ |
H A D | product_util.py | 363 pairs = get_features(features) 368 pairs = get_syscap(syscap) 401 pairs = dict() 402 pairs['features'] = feats 403 return pairs 425 pairs = dict() 426 pairs['syscap'] = feats 427 return pairs 431 pairs = dict() 432 pairs['exclusions'] = exclusions [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | freeze_common.cpp | 71 std::map<std::string, std::pair<std::string, bool>> pairs; in IsAssignedEvent() local 74 pairs = freezeRuleCluster_->GetApplicationPairs(); in IsAssignedEvent() 77 pairs = freezeRuleCluster_->GetSystemPairs(); in IsAssignedEvent() 80 pairs = freezeRuleCluster_->GetSysWarningPairs(); in IsAssignedEvent() 85 for (auto const &pair : pairs) { in IsAssignedEvent()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkts/ |
H A D | js-apis-url.md | 98 Deletes key-value pairs of the specified key. 370 searchParamsObject.sort(); // Sort the key/value pairs 396 for (let key of keys) { // Output key-value pairs 450 let pairs = Array.from(iter); 451 for (let pair of pairs) { 728 Deletes key-value pairs of the specified key. 806 let pairs = Array.from(iter); 807 for (let pair of pairs) { // Show keyName/valueName pairs 992 for (let key of keys) { // Output key-value pairs 1050 let pairs = Array.from(iter); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | _preferences.md | 31 …rver)) (void \*context, const [OH_PreferencesPair](#oh_preferencespair) \*pairs, uint32_t count) |… 68 …referencespair_getkey) (const [OH_PreferencesPair](#oh_preferencespair) \*pairs, uint32_t index) |… 69 …r_getpreferencesvalue) (const [OH_PreferencesPair](#oh_preferencespair) \*pairs, uint32_t index) |… 108 typedef void(*OH_PreferencesDataObserver) (void *context, const OH_PreferencesPair *pairs, uint32_t… 122 | pairs | 发生变更的KV数据的指针。 | 854 const char* OH_PreferencesPair_GetKey (const OH_PreferencesPair *pairs, uint32_t index ) 867 | pairs | 目标KV数据[OH_PreferencesPair](#oh_preferencespair)的指针。 | 882 const OH_PreferencesValue* OH_PreferencesPair_GetPreferencesValue (const OH_PreferencesPair *pairs,… 895 | pairs | 目标KV数据[OH_PreferencesPair](#oh_preferencespair)的指针。 |
|
H A D | oh__preferences__value_8h.md | 42 …getkey) (const [OH_PreferencesPair](_preferences.md#oh_preferencespair) \*pairs, uint32_t index) |… 43 …svalue) (const [OH_PreferencesPair](_preferences.md#oh_preferencespair) \*pairs, uint32_t index) |…
|
/ohos5.0/foundation/distributeddatamgr/preferences/interfaces/ndk/include/ |
H A D | oh_preferences_value.h | 101 const char *OH_PreferencesPair_GetKey(const OH_PreferencesPair *pairs, uint32_t index); 113 const OH_PreferencesValue *OH_PreferencesPair_GetPreferencesValue(const OH_PreferencesPair *pairs, …
|
H A D | oh_preferences.h | 68 typedef void (*OH_PreferencesDataObserver)(void *context, const OH_PreferencesPair *pairs, uint32_t…
|
/ohos5.0/docs/en/application-dev/database/ |
H A D | preferences-guidelines.md | 4 …pairs and storage of a small amount of data for local applications. The data is stored in local fi… 34 | const char \* OH_PreferencesPair_GetKey (const OH_PreferencesPair \*pairs, uint32_t index) | Obta… 35 …lue (const OH_PreferencesPair \*pairs, uint32_t index) | Obtains the value based on the specified … 71 void DataChangeObserverCallback(void *context, const OH_PreferencesPair *pairs, uint32_t count) { 74 const OH_PreferencesValue *pValue = OH_PreferencesPair_GetPreferencesValue(pairs, i);
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | oh__preferences__value_8h.md | 42 …getkey) (const [OH_PreferencesPair](_preferences.md#oh_preferencespair) \*pairs, uint32_t index) |… 43 …rences.md#oh_preferencespair) \*pairs, uint32_t index) | Obtains the value based on the specified …
|
H A D | _preferences.md | 30 …rver)) (void \*context, const [OH_PreferencesPair](#oh_preferencespair) \*pairs, uint32_t count) |… 67 …referencespair_getkey) (const [OH_PreferencesPair](#oh_preferencespair) \*pairs, uint32_t index) |… 68 …cesPair](#oh_preferencespair) \*pairs, uint32_t index) | Obtains the value based on the specified … 107 typedef void(*OH_PreferencesDataObserver) (void *context, const OH_PreferencesPair *pairs, uint32_t… 121 | pairs | Pointer to the changed KV data.| 122 | count | Number of KV pairs changed.| 855 const char* OH_PreferencesPair_GetKey (const OH_PreferencesPair *pairs, uint32_t index ) 868 | pairs | Pointer to the target [OH_PreferencesPair](#oh_preferencespair).| 885 const OH_PreferencesValue* OH_PreferencesPair_GetPreferencesValue (const OH_PreferencesPair *pairs,… 890 Obtains the value based on the specified index from the KV pairs. [all …]
|
H A D | _o_h___v_bucket.md | 21 | [capability](_r_d_b.md#capability) | Number of the KV pairs in the struct.|
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_server_profile.cpp | 1452 pairs[num].attHandle = db_.GetService(attHandle)->handle_; in AssembleAttFindInforRspSvcPackage() 1454 pairs[num].uuid.uuid16 = UUID_PRIMARY_SERVICE; in AssembleAttFindInforRspSvcPackage() 1456 pairs[num].uuid.uuid16 = UUID_SECONDARY_SERVICE; in AssembleAttFindInforRspSvcPackage() 1458 pairs[num].uuid.type = UUID_16BIT_FORMAT; in AssembleAttFindInforRspSvcPackage() 1474 pairs[num].uuid.uuid16 = UUID_CHARACTERISTIC; in AssembleAttFindInforRspCharacteristicPackage() 1475 pairs[num].uuid.type = UUID_16BIT_FORMAT; in AssembleAttFindInforRspCharacteristicPackage() 1496 pairs[num].uuid.type = UUID_16BIT_FORMAT; in AssembleAttFindInforRspCharacteristicValPackage() 1500 pairs[num].uuid.type = UUID_128BIT_FORMAT; in AssembleAttFindInforRspCharacteristicValPackage() 1516 pairs[num].attHandle = db_.GetDescriptor(attHandle)->handle_; in AssembleAttFindInforRspDescPackage() 1519 pairs[num].uuid.type = UUID_16BIT_FORMAT; in AssembleAttFindInforRspDescPackage() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-form-kit/ |
H A D | js-apis-application-formBindingData.md | 23 …n the JS widget. The value can be an object containing multiple key-value pairs or a string in JSO… 38 …le key-value pairs or a string in JSON format. The image data is identified by **'formImages'**, a…
|
H A D | js-apis-app-form-formBindingData.md | 42 …d on the widget. The value can be an object containing multiple key-value pairs or a string in JSO… 59 …le key-value pairs or a string in JSON format. The image data is identified by **'formImages'**, a…
|
H A D | js-apis-app-form-formExtensionAbility-sys.md | 37 | Record\<string, Object> | Data to be shared by the widget, in the form of key-value pairs.| 76 | Record\<string, Object> | Custom data of the widget, in the form of key-value pairs.|
|
/ohos5.0/docs/zh-cn/application-dev/database/ |
H A D | preferences-guidelines.md | 34 | const char \* OH_PreferencesPair_GetKey (const OH_PreferencesPair \*pairs, uint32_t index) | 获取KV… 35 …lue \* OH_PreferencesPair_GetPreferencesValue (const OH_PreferencesPair \*pairs, uint32_t index) |… 71 void DataChangeObserverCallback(void *context, const OH_PreferencesPair *pairs, uint32_t count) { 74 const OH_PreferencesValue *pValue = OH_PreferencesPair_GetPreferencesValue(pairs, i);
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | nonlinear-container.md | 12 …pairs that have association relationships. The key in the storage element is unique. You can custo… 14 | LightWeightMap | Stores a set of key-value pairs that have association relationships. The key in … 16 …pairs that have association relationships. The key in the storage element is unique. The bottom la… 20 …s/js-apis-hashmap.md) is used to store a set of associated key-value (KV) pairs. In a hash map, ea… 28 You are advised to use **HashMap** when you need to quickly access, remove, and insert KV pairs. 71 [TreeMap](../reference/apis-arkts/js-apis-treemap.md) is used to store a set of associated KV pairs… 77 You are advised to use **TreeMap** when you need to store KV pairs in sorted order. 130 Compared with [HashMap](../reference/apis-arkts/js-apis-hashmap.md), which can also store KV pairs,… 132 You are advised to use **LightWeightMap** when you need to store and access **KV pairs**. 189 …](../reference/apis-arkts/js-apis-lightweightmap.md) are used to store KV pairs in the lightweight… [all …]
|
/ohos5.0/base/update/updater/services/applypatch/ |
H A D | block_set.cpp | 35 BlockSet::BlockSet(std::vector<BlockPair> &&pairs) in BlockSet() argument 38 if (pairs.empty()) { in BlockSet() 43 for (const auto &pair : pairs) { in BlockSet() 83 std::vector<std::string> pairs = SplitString(blockStr, ","); in ParserAndInsert() local 84 return ParserAndInsert(pairs); in ParserAndInsert()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkts/ |
H A D | js-apis-url.md | 189 for (let pair of arrayValue) { // Show keyName/valueName pairs 370 searchParamsObject.sort(); // Sort the key/value pairs 396 for (let key of keys) { // Output key-value pairs 450 let pairs = Array.from(iter); 451 for (let pair of pairs) { 804 let pairs = Array.from(iter); 805 for (let pair of pairs) { // Show keyName/valueName pairs 961 searchParamsObject.sort(); // Sort the key/value pairs 989 for (let key of keys) { // Output key-value pairs 1047 let pairs = Array.from(iter); [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | errorcode-access-token.md | 71 1. One of the APIs that need to be used in pairs is repeatedly called. 72 2. One of the APIs that need to be used in pairs is independently called. 76 1. For the APIs that need to be used in pairs, for example, **on()** and **off()**, check whether *… 77 2. For the APIs that need to be used in pairs, for example, **on()** and **off()**, check whether *…
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/src/ |
H A D | js_url.ts | 483 let pairs = []; 493 pairs.push(convertedPair); 496 for (const pair of pairs) { 506 let pairs = []; 513 pairs.push(convertedPair); 516 for (const pair of pairs) {
|
/ohos5.0/docs/en/application-dev/file-management/ |
H A D | app-file-overview.md | 5 - The data used and saved by an application is stored in files, key-value (KV) pairs, and databases…
|