Home
last modified time | relevance | path

Searched refs:fields (Results 1 - 25 of 34) sorted by relevance

12

/base/hiviewdfx/hiview/base/utility/
H A Dsql_util.cpp21 const std::vector<std::pair<std::string, std::string>>& fields) in GenerateCreateSql()
28 for (auto field : fields) { in GenerateCreateSql()
20 GenerateCreateSql(const std::string& table, const std::vector<std::pair<std::string, std::string>>& fields) GenerateCreateSql() argument
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
H A Dsql_util.cpp20 std::string CreateTable(const std::string& table, const std::vector<std::pair<std::string, std::string>>& fields) in CreateTable() argument
24 for (auto field : fields) { in CreateTable()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Devent_db_helper.cpp182 const std::vector<std::pair<std::string, std::string>>& fields) in CreateTable()
184 std::string sql = SqlUtil::GenerateCreateSql(table, fields); in CreateTable()
201 std::vector<std::pair<std::string, std::string>> fields = { in CreatePluginStatsTable() local
204 return CreateTable(table, fields); in CreatePluginStatsTable()
216 std::vector<std::pair<std::string, std::string>> fields = {{DB_COLUMIN_EVNET, SQL_TEXT_TYPE}}; in CreateSysUsageTable() local
217 return CreateTable(table, fields); in CreateSysUsageTable()
181 CreateTable(const std::string& table, const std::vector<std::pair<std::string, std::string>>& fields) CreateTable() argument
H A Djson_parser.cpp48 bool JsonParser::CheckJsonValue(const Json::Value& eventJson, const std::vector<std::string>& fields) in CheckJsonValue() argument
50 for (auto field : fields) { in CheckJsonValue()
/base/hiviewdfx/hiview/plugins/event_store/event_export/database/adapter/
H A Dexport_db_storage.cpp36 const std::vector<std::pair<std::string, std::string>>& fields) in CreateTable()
38 std::string sql = SqlUtil::GenerateCreateSql(tableName, fields); in CreateTable()
57 const std::vector<std::pair<std::string, std::string>> fields = { in CreateExportDetailsTable() local
62 if (auto ret = CreateTable(dbStore, MODULE_EXPORT_DETAILS_TABLE_NAME, fields); ret != NativeRdb::E_OK) { in CreateExportDetailsTable()
35 CreateTable(NativeRdb::RdbStore& dbStore, const std::string& tableName, const std::vector<std::pair<std::string, std::string>>& fields) CreateTable() argument
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/include/
H A Dsql_util.h27 const std::vector<std::pair<std::string, std::string>>& fields);
/base/update/updater/services/include/applypatch/
H A Dapply_patch.h22 std::vector<std::string> fields; member
/base/hiviewdfx/hiview/plugins/unified_collector/storage/
H A Dcpu_storage.cpp129 const std::vector<std::pair<std::string, std::string>>& fields) in CreateTable()
131 std::string sql = SqlUtil::GenerateCreateSql(tableName, fields); in CreateTable()
159 const std::vector<std::pair<std::string, std::string>> fields = { in CreateCpuCollectionTable() local
169 if (auto ret = CreateTable(dbStore, CPU_COLLECTION_TABLE_NAME, fields); ret != NativeRdb::E_OK) { in CreateCpuCollectionTable()
187 const std::vector<std::pair<std::string, std::string>> fields = { in CreateThreadCpuCollectionTable() local
195 if (auto ret = CreateTable(dbStore, THREAD_CPU_COLLECTION_TABLE_NAME, fields); ret != NativeRdb::E_OK) { in CreateThreadCpuCollectionTable()
213 const std::vector<std::pair<std::string, std::string>> fields = { in CreateVersionTable() local
216 if (auto ret = CreateTable(dbStore, SYS_VERSION_TABLE_NAME, fields); ret != NativeRdb::E_OK) { in CreateVersionTable()
128 CreateTable(NativeRdb::RdbStore& dbStore, const std::string& tableName, const std::vector<std::pair<std::string, std::string>>& fields) CreateTable() argument
/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_content_type.cpp398 uint8_t fields[textParamLen] = {static_cast<uint8_t>(ContentParam::CT_P_FILENAME), in EncodeTextField() local
405 for (size_t i = 0; i < sizeof(fields); i++) { in EncodeTextField()
406 if (msgContentParm_.GetParamMap().find(fields[i]) != msgContentParm_.GetParamMap().end()) { in EncodeTextField()
407 if (!encodeBuffer.WriteByte(fields[i])) { in EncodeTextField()
411 if (!encodeBuffer.EncodeText(msgContentParm_.GetParamMap()[fields[i]])) { in EncodeTextField()
/base/hiviewdfx/hiview/base/utility/include/
H A Dsql_util.h30 const std::vector<std::pair<std::string, std::string>>& fields);
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Ddata_share_store.cpp37 std::vector<std::pair<std::string, std::string>> fields = {{EventTable::FIELD_UID, SQL_INT_TYPE}, in OnCreate() local
41 std::string sql = SqlUtil::GenerateCreateSql(EventTable::TABLE, fields); in OnCreate()
H A Ddata_share_dao.cpp109 std::vector<std::string> fields = { std::to_string(uid) }; in DeleteSubscriberInfo() local
110 if (int ret = dbStore->Delete(delRow, eventTable_, cond, fields); ret != NativeRdb::E_OK) { in DeleteSubscriberInfo()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
H A Dapp_event_mapping_dao.cpp54 const std::vector<std::pair<std::string, std::string>> fields = { in Create() local
58 std::string sql = SqlUtil::CreateTable(TABLE, fields); in Create()
H A Duser_property_dao.cpp57 const std::vector<std::pair<std::string, std::string>> fields = { in Create() local
61 std::string sql = SqlUtil::CreateTable(TABLE, fields); in Create()
H A Duser_id_dao.cpp57 const std::vector<std::pair<std::string, std::string>> fields = { in Create() local
61 std::string sql = SqlUtil::CreateTable(TABLE, fields); in Create()
H A Dapp_event_dao.cpp57 const std::vector<std::pair<std::string, std::string>> fields = { in Create() local
72 std::string sql = SqlUtil::CreateTable(Events::TABLE, fields); in Create()
H A Dapp_event_observer_dao.cpp51 const std::vector<std::pair<std::string, std::string>> fields = { in Create() local
55 std::string sql = SqlUtil::CreateTable(Observers::TABLE, fields); in Create()
/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
H A Djson_parser.h34 static bool CheckJsonValue(const Json::Value& value, const std::vector<std::string>& fields);
/base/hiviewdfx/hiview/plugins/usage_event_report/test/unittest/
H A Dfold_app_usage_test.cpp309 std::vector<std::string> fields; in HWTEST_F() local
310 fields.emplace_back("key"); in HWTEST_F()
311 ASSERT_FALSE(JsonParser::CheckJsonValue(object, fields)); in HWTEST_F()
312 JsonParser::ParseStringVec(object, fields); in HWTEST_F()
/base/security/security_guard/test/unittest/config_manager/src/
H A Dsecurity_guard_config_manager_test.cpp449 EXPECT_TRUE(rule.fields.empty()); in HWTEST_F()
459 EXPECT_TRUE(rule.fields.empty()); in HWTEST_F()
467 jsonObj["fields"] = 0; in HWTEST_F()
470 EXPECT_TRUE(rule.fields.empty()); in HWTEST_F()
478 jsonObj["fields"] = 0; in HWTEST_F()
482 EXPECT_TRUE(rule.fields.empty()); in HWTEST_F()
490 jsonObj["fields"] = 0; in HWTEST_F()
494 EXPECT_TRUE(rule.fields.empty()); in HWTEST_F()
502 jsonObj["fields"] = 0; in HWTEST_F()
506 EXPECT_TRUE(rule.fields in HWTEST_F()
[all...]
/base/security/security_guard/test/unittest/risk_classify/include/
H A Dmodel_cfg_marshalling.h34 std::vector<Field> fields;
/base/security/security_guard/test/unittest/data_collect/sa/
H A Dmodel_cfg_marshalling.h33 std::vector<Field> fields;
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/
H A Dtrace_storage.cpp68 const std::vector<std::pair<std::string, std::string>> fields = { in CreateTraceFlowControlTable() local
73 std::string sql = SqlUtil::GenerateCreateSql(TABLE_NAME, fields); in CreateTraceFlowControlTable()
H A Dapp_event_task_storage.cpp58 const std::vector<std::pair<std::string, std::string>> fields = { in InnerCreateAppTaskTable() local
73 std::string sql = SqlUtil::GenerateCreateSql(TABLE_NAME_TASK, fields); in InnerCreateAppTaskTable()
/base/hiviewdfx/hiview/plugins/sysevent_source/control/db/
H A Ddaily_db_helper.cpp46 const std::vector<std::pair<std::string, std::string>> fields = { in CreateEventsTable() local
52 std::string sql = SqlUtil::GenerateCreateSql(EVENTS_TABLE, fields); in CreateEventsTable()

Completed in 11 milliseconds

12