/base/startup/init/services/utils/ |
H A D | init_hashmap.c | 26 HashNode *buckets[0];
member 87 HashNode *tmp = GetHashNodeByNode(tab, tab->buckets[hashCode], node);
in OH_HashMapAdd() 92 node->next = tab->buckets[hashCode];
in OH_HashMapAdd() 93 tab->buckets[hashCode] = node;
in OH_HashMapAdd() 106 HashNode *node = tab->buckets[hashCode];
in OH_HashMapRemove() 111 if (node == tab->buckets[hashCode]) {
in OH_HashMapRemove() 112 tab->buckets[hashCode] = node->next;
in OH_HashMapRemove() 132 return GetHashNodeByKey(tab, tab->buckets[hashCode], key, tab->keyCompare);
in OH_HashMapGet() 155 HashListFree(tab, tab->buckets[i], context);
in OH_HashMapDestory() 168 return GetHashNodeByKey(tab, tab->buckets[hashCod in OH_HashMapFind() [all...] |
/base/security/selinux_adapter/framework/policycoreutils/src/ |
H A D | selinux_map.c | 103 HashNode *tmp = GetHashNodeByNode(handle->buckets[hashCode], node); in HashMapAdd() 107 node->next = handle->buckets[hashCode]; in HashMapAdd() 108 handle->buckets[hashCode] = node; in HashMapAdd() 122 return GetHashNodeByKey(handle->buckets[hashCode], key); in HashMapGet() 144 HashListFree(handle->buckets[i]); in HashMapDestroy()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
H A D | access_token_db.cpp | 71 const std::string& tableName, const std::vector<NativeRdb::ValuesBucket>& buckets) in RestoreAndInsertIfCorrupt() 85 res = db_->BatchInsert(outInsertNum, tableName, buckets); in RestoreAndInsertIfCorrupt() 109 std::vector<NativeRdb::ValuesBucket> buckets; in Add() local 110 AccessTokenDbUtil::ToRdbValueBuckets(values, buckets); in Add() 120 int32_t res = db_->BatchInsert(outInsertNum, tableName, buckets); in Add() 124 int32_t result = RestoreAndInsertIfCorrupt(res, outInsertNum, tableName, buckets); in Add() 385 std::vector<NativeRdb::ValuesBucket> buckets; in DeleteAndAddSingleTable() local 386 AccessTokenDbUtil::ToRdbValueBuckets(addValues, buckets); // fill buckets with addValues in DeleteAndAddSingleTable() 388 res = db_->BatchInsert(outInsertNum, tableName, buckets); in DeleteAndAddSingleTable() 70 RestoreAndInsertIfCorrupt(const int32_t resultCode, int64_t& outInsertNum, const std::string& tableName, const std::vector<NativeRdb::ValuesBucket>& buckets) RestoreAndInsertIfCorrupt() argument [all...] |
H A D | access_token_db_util.cpp | 73 std::vector<NativeRdb::ValuesBucket>& buckets) in ToRdbValueBuckets() 82 buckets.emplace_back(bucket); in ToRdbValueBuckets() 72 ToRdbValueBuckets(const std::vector<GenericValues>& values, std::vector<NativeRdb::ValuesBucket>& buckets) ToRdbValueBuckets() argument
|
/base/update/updater/services/diffpatch/diff/ |
H A D | blocks_diff.cpp | 516 std::vector<DataType> buckets;
in Init() local 517 InitBuckets(oldInfo, buckets, suffixArrayTemp);
in Init() 670 std::vector<DataType> &buckets, std::vector<DataType> &suffixArrayTemp)
in InitBuckets() 674 buckets.resize(BUCKET_SIZE, 0);
in InitBuckets() 677 buckets[oldInfo.buffer[i]]++;
in InitBuckets() 679 for (size_t i = 1; i < buckets.size(); i++) {
in InitBuckets() 680 buckets[i] += buckets[i - 1];
in InitBuckets() 682 for (size_t i = buckets.size() - 1; i > 0; i--) {
in InitBuckets() 683 buckets[ in InitBuckets() 669 InitBuckets(const BlockBuffer &oldInfo, std::vector<DataType> &buckets, std::vector<DataType> &suffixArrayTemp) InitBuckets() argument [all...] |
H A D | blocks_diff.h | 39 std::vector<DataType> &buckets, std::vector<DataType> &suffixArrayTemp);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/ |
H A D | access_token_db_util.h | 44 std::vector<NativeRdb::ValuesBucket>& buckets);
|
H A D | access_token_db.h | 50 const std::string& tableName, const std::vector<NativeRdb::ValuesBucket>& buckets);
|
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/include/database/ |
H A D | sandbox_manager_rdb_utils.h | 35 void ToRdbValueBuckets(const std::vector<GenericValues>& values, std::vector<NativeRdb::ValuesBucket> &buckets);
|
/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
H A D | selinux_map.h | 34 HashNode *buckets[0]; member
|
/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/database/ |
H A D | sandbox_manager_rdb_utils.cpp | 73 std::vector<NativeRdb::ValuesBucket> &buckets) in ToRdbValueBuckets() 81 buckets.emplace_back(bucket); in ToRdbValueBuckets() 72 ToRdbValueBuckets(const std::vector<GenericValues>& values, std::vector<NativeRdb::ValuesBucket> &buckets) ToRdbValueBuckets() argument
|
/base/startup/init/test/unittest/loopevent/ |
H A D | loopevent_unittest.cpp | 45 HashNode *buckets[0]; variable
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/ |
H A D | app_event_store.cpp | 281 std::vector<NativeRdb::ValuesBucket> buckets;
in InsertCustomEventParams() local
|