Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 1467) sorted by relevance

12345678910>>...59

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_cloud_schema_mgr_test.cpp277 TableInfo table; variable
302 TableInfo table; variable
330 TableInfo table; variable
358 TableInfo table; variable
386 TableInfo table; variable
414 TableInfo table; variable
441 TableInfo table; variable
466 TableInfo table; variable
526 TableInfo table; variable
553 TableInfo table; variable
[all …]
H A Ddistributeddb_relational_schema_analysis_test.cpp104 TableInfo table; in AnalysisTable() local
108 return table; in AnalysisTable()
122 EXPECT_EQ(table.GetPrimaryKey().size(), 1u);
135 EXPECT_EQ(table.GetPrimaryKey().size(), 2u);
148 EXPECT_EQ(table.GetPrimaryKey().size(), 1u);
162 EXPECT_EQ(table.GetAutoIncrement(), true);
165 EXPECT_EQ(table.GetAutoIncrement(), true);
168 EXPECT_EQ(table.GetAutoIncrement(), true);
171 EXPECT_EQ(table.GetAutoIncrement(), true);
175 EXPECT_EQ(table.GetAutoIncrement(), false);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dcollaboration_log_table_manager.cpp21 return ((table.GetIdentifyKey().size() == 1u && table.GetIdentifyKey().at(0) == "rowid") || in IsCollaborationWithoutKey()
22 table.GetAutoIncrement()); in IsCollaborationWithoutKey()
29 if (IsCollaborationWithoutKey(table)) { in CalcPrimaryKeyHash()
33 if (table.GetIdentifyKey().size() == 1u) { in CalcPrimaryKeyHash()
37 for (const auto &it : table.GetIdentifyKey()) { in CalcPrimaryKeyHash()
53 insertTrigger += "ON '" + table.GetTableName() + "'\n"; in GetInsertTrigger()
73 updateTrigger += "ON '" + table.GetTableName() + "'\n"; in GetUpdateTrigger()
77 if (table.GetIdentifyKey().size() == 1u && table.GetIdentifyKey().at(0) == "rowid") { in GetUpdateTrigger()
123 SqliteLogTableManager::GetIndexSql(table, schema); in GetIndexSql()
125 GetLogTableName(table) + "(data_key);"; in GetIndexSql()
[all …]
H A Dsplit_device_log_table_manager.cpp24 if (table.GetPrimaryKey().size() == 1) { in CalcPrimaryKeyHash()
25 sql = "calc_hash(" + references + "'" + table.GetPrimaryKey().at(0) + "', 0)"; in CalcPrimaryKeyHash()
28 for (const auto &it : table.GetPrimaryKey()) { in CalcPrimaryKeyHash()
43 insertTrigger += "ON '" + table.GetTableName() + "'\n"; in GetInsertTrigger()
51 insertTrigger += CalcPrimaryKeyHash("NEW.", table, identity) + ");\n"; in GetInsertTrigger()
61 updateTrigger += "ON '" + table.GetTableName() + "'\n"; in GetUpdateTrigger()
63 if (table.GetPrimaryKey().size() == 1 && table.GetPrimaryKey().at(0) == "rowid") { in GetUpdateTrigger()
90 deleteTrigger += "ON '" + table.GetTableName() + "'\n"; in GetDeleteTrigger()
94 deleteTrigger += " WHERE hash_key=" + CalcPrimaryKeyHash("OLD.", table, identity) + in GetDeleteTrigger()
100 std::string SplitDeviceLogTableManager::GetPrimaryKeySql(const TableInfo &table) in GetPrimaryKeySql() argument
[all …]
H A Dsimple_tracker_log_table_manager.cpp26 if (table.GetPrimaryKey().size() == 1) { in CalcPrimaryKeyHash()
30 for (const auto &it : table.GetPrimaryKey()) { in CalcPrimaryKeyHash()
42 const std::string tableName = GetLogTableName(table); in GetIndexSql()
60 if (table.GetTrackerTable().GetTrackerColNames().empty()) { in GetInsertTrigger()
63 std::string logTblName = GetLogTableName(table); in GetInsertTrigger()
64 std::string tableName = table.GetTableName(); in GetInsertTrigger()
92 std::string logTblName = GetLogTableName(table); in GetUpdateTrigger()
93 std::string tableName = table.GetTableName(); in GetUpdateTrigger()
121 std::string tableName = table.GetTableName(); in GetDeleteTrigger()
128 deleteTrigger += "\t UPDATE " + GetLogTableName(table); in GetDeleteTrigger()
[all …]
H A Dcloud_sync_log_table_manager.cpp27 FieldInfoMap fieldInfos = table.GetFields(); in CalcPrimaryKeyHash()
28 if (table.GetPrimaryKey().size() == 1) { in CalcPrimaryKeyHash()
45 for (const auto &it : table.GetPrimaryKey()) { in CalcPrimaryKeyHash()
83 auto primaryKey = table.GetPrimaryKey(); in GetPrimaryKeySql()
93 std::string logTblName = GetLogTableName(table); in GetInsertTrigger()
94 std::string tableName = table.GetTableName(); in GetInsertTrigger()
128 std::string logTblName = GetLogTableName(table); in GetUpdateTrigger()
129 std::string tableName = table.GetTableName(); in GetUpdateTrigger()
158 std::string logTblName = GetLogTableName(table); in GetDeleteTrigger()
159 std::string tableName = table.GetTableName(); in GetDeleteTrigger()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_wrapper_display.cpp101 UpdateQueryValue(&table->major, &table->minor); in Init()
109 if (table->isLoad && table->egl.eglInitialize) { in Init()
110 if (table->egl.eglInitialize(disp_, &table->major, &table->minor)) { in Init()
120 UpdateQueryValue(&table->major, &table->minor); in Init()
180 if (table->isLoad && table->egl.eglMakeCurrent) { in InternalMakeCurrent()
438 if (table->isLoad && table->egl.eglCreateContext) { in CreateEglContext()
586 if (table->isLoad && table->egl.eglCopyBuffers) { in CopyBuffers()
650 if (table->isLoad && table->egl.eglQueryContext) { in QueryContext()
674 if (table->isLoad && table->egl.eglQuerySurface) { in QuerySurface()
702 if (table->isLoad && table->egl.eglSwapBuffers) { in SwapBuffers()
[all …]
H A Degl_wrapper_entry.cpp81 if (table->isLoad && table->egl.eglChooseConfig) { in EglChooseConfigImpl()
216 if (table->isLoad && table->egl.eglGetConfigs) { in EglGetConfigsImpl()
287 if (table->isLoad && table->egl.eglGetError) { in EglGetErrorImpl()
407 if (table->isLoad && table->egl.eglQueryString) { in EglQueryStringImpl()
487 if (table->isLoad && table->egl.eglWaitGL) { in EglWaitGLImpl()
501 if (table->isLoad && table->egl.eglWaitNative) { in EglWaitNativeImpl()
572 if (table->isLoad && table->egl.eglBindAPI) { in EglBindAPIImpl()
585 if (table->isLoad && table->egl.eglQueryAPI) { in EglQueryAPIImpl()
629 if (table->isLoad && table->egl.eglWaitClient) { in EglWaitClientImpl()
655 if (table->isLoad && table->egl.eglCreateSync) { in EglCreateSyncImpl()
[all …]
H A Degl_wrapper_layer.cpp72 static void SetupFuncMaps(FunctionTable &table, in SetupFuncMaps() argument
78 if (table.find(name) == table.end()) { in SetupFuncMaps()
79 table[name] = *curr; in SetupFuncMaps()
93 if (table->find(name) == table->end()) { in GetNextLayerProcAddr()
98 EglWrapperFuncPointer val = (*table)[name]; in GetNextLayerProcAddr()
177 bool EglWrapperLayer::Init(EglWrapperDispatchTable *table) in Init() argument
185 if (table == nullptr) { in Init()
195 InitLayers(table); in Init()
348 SetupLayerFuncTbl(table); in InitLayers()
352 for (const auto &table : layerFuncTbl_) { in InitLayers() local
[all …]
/ohos5.0/docs/zh-cn/release-notes/
H A DOpenHarmony-v4.0.2-release.md125 | [I9D96I](https://e.gitee.com/open_harmony/issues/table?issue=I9D96I) | 【OpenHarmony 4.0.10.18】联系人…
127 | [I97K8F](https://e.gitee.com/open_harmony/issues/table?issue=I97K8F) | 【OpenHarmony 4.0.10.16】小型系…
157 | [IA9LC2](https://e.gitee.com/open_harmony/issues/table?issue=IA9LC2) | 【漏洞】【OpenHarmony-4.0-Relea…
158 | [I9PJJN](https://e.gitee.com/open_harmony/issues/table?issue=I9PJJN) | 【漏洞】【OpenHarmony-4.0-Relea…
159 | [I9QZR5](https://e.gitee.com/open_harmony/issues/table?issue=I9QZR5) | 【漏洞】【OpenHarmony-4.0-Relea…
160 | [I9QZC7](https://e.gitee.com/open_harmony/issues/table?issue=I9QZC7) | 【漏洞】【OpenHarmony-4.0-Relea…
161 | [I9QZB8](https://e.gitee.com/open_harmony/issues/table?issue=I9QZB8) | 【漏洞】【OpenHarmony-4.0-Relea…
162 | [I9QZ9J](https://e.gitee.com/open_harmony/issues/table?issue=I9QZ9J) | 【漏洞】【OpenHarmony-4.0-Relea…
163 | [I9QW5Y](https://e.gitee.com/open_harmony/issues/table?issue=I9QW5Y) | 【漏洞】【OpenHarmony-4.0-Relea…
164 | [I9QW30](https://e.gitee.com/open_harmony/issues/table?issue=I9QW30) | 【漏洞】【OpenHarmony-4.0-Relea…
[all …]
/ohos5.0/base/security/asset/services/db_operator/src/test/
H A Dtest_table.rs24 table::Table,
40 assert!(!table.exist().unwrap()); in create_delete_table()
42 assert!(table.exist().unwrap()); in create_delete_table()
43 table.delete().unwrap(); in create_delete_table()
56 table in table_restore()
95 table.create(columns).unwrap(); in insert_test_data()
163 table.create(columns).unwrap(); in single_data()
298 assert!(table in upgrade_table()
304 assert!(table in upgrade_table()
310 assert!(table in upgrade_table()
[all …]
/ohos5.0/base/security/security_guard/services/data_collect/store/src/
H A Ddatabase_helper.cpp71 SecEventTableInfo table; in QueryRecentEventByEventId() local
257 SecEventTableInfo table; in QueryEventBase() local
283 SecEventTableInfo &table) in GetResultSetTableInfo() argument
301 table.eventIdIndex = i; in GetResultSetTableInfo()
304 table.versionIndex = i; in GetResultSetTableInfo()
307 table.dateIndex = i; in GetResultSetTableInfo()
313 table.userIdIndex = i; in GetResultSetTableInfo()
319 table.rowCount = rowCount; in GetResultSetTableInfo()
323 table.eventIdIndex, table.versionIndex, table.dateIndex, table.contentIndex); in GetResultSetTableInfo()
342 std::string table; in CreateTable() local
[all …]
H A Ddatabase_manager.cpp76 if (table == RISK_TABLE) { in QueryAllEvent()
85 if (table == RISK_TABLE) { in QueryRecentEventByEventId()
94 if (table == RISK_TABLE) { in QueryRecentEventByEventId()
103 if (table == RISK_TABLE) { in QueryEventByEventIdAndDate()
112 if (table == RISK_TABLE) { in QueryEventByEventId()
121 if (table == RISK_TABLE) { in QueryEventByEventId()
129 if (table == RISK_TABLE) { in QueryEventByEventType()
137 if (table == RISK_TABLE) { in QueryEventByLevel()
145 if (table == RISK_TABLE) { in QueryEventByOwner()
153 if (table == RISK_TABLE) { in CountAllEvent()
[all …]
/ohos5.0/base/security/security_guard/services/config_manager/src/
H A Dconfig_database_helper.cpp82 AppInfoTableInfo table; in QueryAppInfoBase() local
104 AppInfoTableInfo &table) in GetResultSetTableInfo() argument
122 table.appNameIndex = i; in GetResultSetTableInfo()
125 table.appHashIndex = i; in GetResultSetTableInfo()
128 table.appAttrIndex = i; in GetResultSetTableInfo()
134 table.rowCount = rowCount; in GetResultSetTableInfo()
138 table.appNameIndex, table.appHashIndex, table.appAttrIndex); in GetResultSetTableInfo()
153 AppInfoTableInfo table; in QueryAppInfosByName() local
246 AppInfoTableInfo table; in QueryAppInfoByAttribute() local
290 std::string table; in CreateTable() local
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/ipc_framework/cRPC/unittest/
H A Dhash_table_test.cpp37 table = InitHashTable(slots);
38 EXPECT_TRUE(table != nullptr);
39 EXPECT_TRUE(table->list != nullptr);
42 EXPECT_TRUE(table->list[i] == nullptr);
48 table = InitHashTable(3);
50 ASSERT_NE(table, nullptr);
56 ASSERT_EQ(table->size, 100);
60 EXPECT_EQ(InsertHashTable(table, ctx), -2);
66 Context *pCtx = FindContext(table, fd);
71 DeleteHashTable(table, pCtx);
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_base/
H A Dhash_table_test.cpp37 table = InitHashTable(slots);
38 EXPECT_TRUE(table != nullptr);
39 EXPECT_TRUE(table->list != nullptr);
42 EXPECT_TRUE(table->list[i] == nullptr);
48 table = InitHashTable(3);
50 ASSERT_NE(table, nullptr);
56 ASSERT_EQ(table->size, 100);
60 EXPECT_EQ(InsertHashTable(table, ctx), -2);
66 Context *pCtx = FindContext(table, fd);
71 DeleteHashTable(table, pCtx);
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Dencoder.rs72 table: &'a mut DynamicTable, field
109 table: &'a mut DynamicTable, in new()
115 table, in new()
272 self.table,
420 .table in duplicate_instruction_stream_cancellation()
423 .table in duplicate_instruction_stream_cancellation()
425 encoder.table.update( in duplicate_instruction_stream_cancellation()
456 .table in dynamic_table_insert_eviction()
459 .table in dynamic_table_insert_eviction()
461 encoder.table.update( in dynamic_table_insert_eviction()
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Devent_db_helper.cpp113 return QuerySysUsageEvent(oldEvent, table) != 0 ? in InsertSysUsageEvent()
114 InsertSysUsageTable(table, event->ToJsonString()) : in InsertSysUsageEvent()
115 UpdateSysUsageTable(table, event->ToJsonString()); in InsertSysUsageEvent()
178 return DeleteTableData(table); in DeleteSysUsageEvent()
181 int EventDbHelper::CreateTable(const std::string& table, in CreateTable() argument
204 return CreateTable(table, fields); in CreatePluginStatsTable()
217 return CreateTable(table, fields); in CreateSysUsageTable()
241 if (CreateSysUsageTable(table) != 0) { in InsertSysUsageTable()
277 NativeRdb::AbsRdbPredicates predicates(table); in UpdateSysUsageTable()
304 NativeRdb::AbsRdbPredicates predicates(table); in QueryDb()
[all …]
/ohos5.0/docs/en/release-notes/
H A DOpenHarmony-v4.0.2-release.md157 | [IA9LC2](https://e.gitee.com/open_harmony/issues/table?issue=IA9LC2) | [Vulnerability] [OpenHarmo…
158 | [I9PJJN](https://e.gitee.com/open_harmony/issues/table?issue=I9PJJN) | [Vulnerability] [OpenHarmo…
159 | [I9QZR5](https://e.gitee.com/open_harmony/issues/table?issue=I9QZR5) | [Vulnerability] [OpenHarmo…
160 | [I9QZC7](https://e.gitee.com/open_harmony/issues/table?issue=I9QZC7) | [Vulnerability] [OpenHarmo…
161 | [I9QZB8](https://e.gitee.com/open_harmony/issues/table?issue=I9QZB8) | [Vulnerability] [OpenHarmo…
162 | [I9QZ9J](https://e.gitee.com/open_harmony/issues/table?issue=I9QZ9J) | [Vulnerability] [OpenHarmo…
164 | [I9QW30](https://e.gitee.com/open_harmony/issues/table?issue=I9QW30) | [Vulnerability] [OpenHarmo…
165 | [I9Q65G](https://e.gitee.com/open_harmony/issues/table?issue=I9Q65G) | [Vulnerability] [OpenHarmo…
166 | [I9Q1NE](https://e.gitee.com/open_harmony/issues/table?issue=I9Q1NE) | [Vulnerability] [OpenHarmo…
167 | [I9Q1MT](https://e.gitee.com/open_harmony/issues/table?issue=I9Q1MT) | [Vulnerability] [OpenHarmo…
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dprocess_recorder.cpp26 bool ProcessRecorder::IsDownloadFinish(int userIndex, const std::string &table) const in IsDownloadFinish()
28 return IsRecordFinish(userIndex, table, downloadRecord_); in IsDownloadFinish()
33 RecordFinish(userIndex, table, finish, downloadRecord_); in MarkDownloadFinish()
36 bool ProcessRecorder::IsUploadFinish(int userIndex, const std::string &table) const in IsUploadFinish()
38 return IsRecordFinish(userIndex, table, uploadRecord_); in IsUploadFinish()
43 RecordFinish(userIndex, table, finish, uploadRecord_); in MarkUploadFinish()
46 bool ProcessRecorder::IsRecordFinish(int userIndex, const std::string &table, in IsRecordFinish() argument
53 if (record.at(userIndex).find(table) == record.at(userIndex).end()) { in IsRecordFinish()
56 return record.at(userIndex).at(table); in IsRecordFinish()
59 void ProcessRecorder::RecordFinish(int userIndex, const std::string &table, bool finish, in RecordFinish() argument
[all …]
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/GLES3/
H A Dgles3.cpp50 …OHOS::GlHookTable *table = static_cast<OHOS::GlHookTable *>(pthread_getspecific(g_glHookTableKey)); in GetHookTable() local
51 if (__builtin_expect(table != nullptr, 1)) { in GetHookTable()
52 return table; in GetHookTable()
56 OHOS::GlHookTable *table = g_pfnGetGlHookTable(); in GetHookTable() local
58 return table; in GetHookTable()
64 OHOS::GlHookTable *table = GetHookTable(); \
65 if (table && table->table3.api) { \
66 table->table3.api(__VA_ARGS__); \
75 OHOS::GlHookTable *table = GetHookTable(); \
76 if (table && table->table3.api) { \
[all …]
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnetlink_socket_test.cpp34 uint32_t table = 0; in DealInfoFromKernelTest001() local
35 DealInfoFromKernel(nullptr, clearThing, table); in DealInfoFromKernelTest001()
41 uint32_t table = 0; in DealInfoFromKernelTest002() local
43 DealInfoFromKernel(&hdr, clearThing, table); in DealInfoFromKernelTest002()
68 uint32_t table = 0; variable
76 uint32_t table = 0; variable
77 auto ret = ClearRouteInfo(clearThing, table);
84 uint32_t table = 0; variable
85 auto ret = ClearRouteInfo(clearThing, table);
92 uint32_t table = 0; variable
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/
H A Dcloud_db_impl.cpp40 .table = reinterpret_cast<const unsigned char *>(table.c_str()), in Execute()
41 .tableLen = table.size(), in Execute()
54 int32_t CloudDbImpl::BatchInsert(const std::string &table, DBVBuckets &&values, DBVBuckets &extends) in BatchInsert() argument
65 table.size(), valIn.first, exdIn.first); in BatchInsert()
84 table.size(), valIn.first, exdIn.first); in BatchUpdate()
103 table.size(), valIn.first, exdIn.first); in BatchUpdate()
109 int32_t CloudDbImpl::BatchDelete(const std::string &table, DBVBuckets &extends) in BatchDelete() argument
116 table.size(), data.first); in BatchDelete()
122 std::shared_ptr<DBCursor> CloudDbImpl::Query(const std::string &table, const DBVBucket &extend) in Query() argument
130 .table = reinterpret_cast<const unsigned char *>(table.c_str()), in Query()
[all …]
/ohos5.0/base/security/security_guard/test/unittest/mock/database_manager/
H A Ddatabase_manager.h34 virtual int QueryAllEvent(std::string table, std::vector<SecEvent> &events) = 0;
36 virtual int QueryRecentEventByEventId(std::string table, const std::vector<int64_t> &eventId,
38 virtual int QueryEventByEventIdAndDate(std::string table, std::vector<int64_t> &eventIds,
41 virtual int QueryEventByEventId(std::string table, std::vector<int64_t> &eventIds,
44 …virtual int QueryEventByLevel(std::string table, int32_t level, std::vector<SecEvent> &events) = 0;
46 virtual int64_t CountAllEvent(std::string table) = 0;
65 MOCK_METHOD2(QueryAllEvent, int(std::string table, std::vector<SecEvent> &events));
67 …MOCK_METHOD3(QueryRecentEventByEventId, int(std::string table, const std::vector<int64_t> &eventId,
69 MOCK_METHOD5(QueryEventByEventIdAndDate, int(std::string table, std::vector<int64_t> &eventIds,
72 MOCK_METHOD3(QueryEventByEventId, int(std::string table, std::vector<int64_t> &eventIds,
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_log_table_manager.h28 virtual std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table,
32 …int AddRelationalLogTableTrigger(sqlite3 *db, const TableInfo &table, const std::string &identity);
34 int CreateRelationalLogTable(sqlite3 *db, const TableInfo &table);
38 virtual void GetIndexSql(const TableInfo &table, std::vector<std::string> &schema);
39 std::string GetLogTableName(const TableInfo &table) const;
42 virtual std::string GetInsertTrigger(const TableInfo &table, const std::string &identity) = 0;
43 virtual std::string GetUpdateTrigger(const TableInfo &table, const std::string &identity) = 0;
44 virtual std::string GetDeleteTrigger(const TableInfo &table, const std::string &identity) = 0;
45 virtual std::vector<std::string> GetDropTriggers(const TableInfo &table) = 0;
47 virtual std::string GetPrimaryKeySql(const TableInfo &table) = 0;

12345678910>>...59