/base/hiviewdfx/hiview/base/utility/ |
H A D | sql_util.cpp | 21 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 D | sql_util.cpp | 20 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 D | event_db_helper.cpp | 182 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 D | json_parser.cpp | 48 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 D | export_db_storage.cpp | 36 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 D | sql_util.h | 27 const std::vector<std::pair<std::string, std::string>>& fields);
|
/base/update/updater/services/include/applypatch/ |
H A D | apply_patch.h | 22 std::vector<std::string> fields; member
|
/base/hiviewdfx/hiview/plugins/unified_collector/storage/ |
H A D | cpu_storage.cpp | 129 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 D | mms_content_type.cpp | 398 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 D | sql_util.h | 30 const std::vector<std::pair<std::string, std::string>>& fields);
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | data_share_store.cpp | 37 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 D | data_share_dao.cpp | 109 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 D | app_event_mapping_dao.cpp | 54 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 D | user_property_dao.cpp | 57 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 D | user_id_dao.cpp | 57 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 D | app_event_dao.cpp | 57 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 D | app_event_observer_dao.cpp | 51 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 D | json_parser.h | 34 static bool CheckJsonValue(const Json::Value& value, const std::vector<std::string>& fields);
|
/base/hiviewdfx/hiview/plugins/usage_event_report/test/unittest/ |
H A D | fold_app_usage_test.cpp | 309 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 D | security_guard_config_manager_test.cpp | 449 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 D | model_cfg_marshalling.h | 34 std::vector<Field> fields;
|
/base/security/security_guard/test/unittest/data_collect/sa/ |
H A D | model_cfg_marshalling.h | 33 std::vector<Field> fields;
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
H A D | trace_storage.cpp | 68 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 D | app_event_task_storage.cpp | 58 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 D | daily_db_helper.cpp | 46 const std::vector<std::pair<std::string, std::string>> fields = {
in CreateEventsTable() local 52 std::string sql = SqlUtil::GenerateCreateSql(EVENTS_TABLE, fields);
in CreateEventsTable()
|