/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_gatt_utils.cpp | 37 struct CaseInsensitiveCompare {
struct 45 static map<string, uint64_t, CaseInsensitiveCompare> g_advAddrMap; // map<addr, time>
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | table_info.cpp | 175 if (!DBCommon::CaseInsensitiveCompare(fieldName_, inField.GetFieldName()) || isNotNull_ != inField.IsNotNull()) { in CompareWithField() 189 return (isLite && DBCommon::CaseInsensitiveCompare(defaultValue_, "NULL")) || in CompareWithField() 190 (DBCommon::CaseInsensitiveCompare(defaultValue_, "NULL") && in CompareWithField() 191 DBCommon::CaseInsensitiveCompare(inField.GetDefaultValue(), "NULL")) || in CompareWithField() 440 if (!DBCommon::CaseInsensitiveCompare(tableName_, inTableInfo.GetTableName())) { in CompareWithTable() 483 !DBCommon::CaseInsensitiveCompare(local.at(i), remote.at(i))) { in CompareWithPrimaryKey() 497 if (DBCommon::CaseInsensitiveCompare(itLocal->first, itInTable->first)) { // Same field in CompareWithTableFields() 539 if (!DBCommon::CaseInsensitiveCompare(local.at(i), remote.at(i))) { in CompareCompositeFields() 571 if (!DBCommon::CaseInsensitiveCompare(itLocal->first, itInTable->first) || in CompareWithTableIndex()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | schema_mgr.cpp | 141 if (DBCommon::CaseInsensitiveCompare(kvPair.second, cloudField.colName)) { in ComparePrimaryField() 215 if (DBCommon::CaseInsensitiveCompare(tableSchema.name, tableName)) { in GetCloudTableSchema() 232 if (DBCommon::CaseInsensitiveCompare(tableName, tableSchema.sharedTableName)) { in IsSharedTable()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_common_test.cpp | 544 EXPECT_TRUE(DBCommon::CaseInsensitiveCompare("HELLO WORLD.", "hello world.")); in HWTEST_F() 545 EXPECT_TRUE(DBCommon::CaseInsensitiveCompare("ABCDEFGHIJKLMN", "abcdefghijklmn")); in HWTEST_F() 546 EXPECT_TRUE(DBCommon::CaseInsensitiveCompare("OPQRSTUVWXYZ", "opqrstuvwxyz")); in HWTEST_F() 547 EXPECT_FALSE(DBCommon::CaseInsensitiveCompare("sqlite", "sqlite3")); in HWTEST_F() 548 EXPECT_FALSE(DBCommon::CaseInsensitiveCompare("gitee", "git")); in HWTEST_F()
|
H A D | distributeddb_tools_unit_test.cpp | 895 if (!DBCommon::CaseInsensitiveCompare(input.field[i], expected.field[i])) { in isChangedDataEq()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | db_common.h | 102 static bool CaseInsensitiveCompare(const std::string &first, const std::string &second);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | schema_negotiate.cpp | 103 if (!DBCommon::CaseInsensitiveCompare(remoteSchema.GetTable(it.first).GetTableName(), it.first)) { in MakeOpinionEachTable()
|
H A D | db_common.cpp | 479 bool DBCommon::CaseInsensitiveCompare(const std::string &first, const std::string &second) in CaseInsensitiveCompare() function in DBCommon
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_able_storage.cpp | 1648 if (DBCommon::CaseInsensitiveCompare(property.sourceTableName, sourceTableName)) { in GetTableReference() 1681 if (DBCommon::CaseInsensitiveCompare(table.name, tableName) || in GetSourceTableName() 1682 DBCommon::CaseInsensitiveCompare(table.sharedTableName, tableName)) { in GetSourceTableName() 1707 if (DBCommon::CaseInsensitiveCompare(table.name, tableName)) { in GetSharedTargetTableName() 2145 if (DBCommon::CaseInsensitiveCompare(property.sourceTableName, sourceTableName) || in IsTableExistReferenceOrReferenceBy() 2146 DBCommon::CaseInsensitiveCompare(property.targetTableName, sourceTableName)) { in IsTableExistReferenceOrReferenceBy()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_sync_tag_assets.cpp | 351 if (DBCommon::CaseInsensitiveCompare(item.first, assetFieldName)) { in GetAssetsCaseInsensitive()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_relational_storage_engine.cpp | 207 if (DBCommon::CaseInsensitiveCompare(schema.GetTable(tableName).GetTableName(), tableName)) { in CreateDistributedTable()
|
H A D | sqlite_single_ver_relational_storage_executor.cpp | 101 if (DBCommon::CaseInsensitiveCompare(field.GetFieldName(), std::string(DBConstant::SQLITE_INNER_ROWID))) { in CheckTableConstraint()
|
H A D | sqlite_single_ver_relational_storage_executor_extend.cpp | 169 if (!DBCommon::CaseInsensitiveCompare(localTable.GetTableName(), tableSchema.name)) { in GetPrimaryKeyHashValue()
|