Home
last modified time | relevance | path

Searched refs:CaseInsensitiveCompare (Results 1 - 13 of 13) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt_utils.cpp37 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 Dtable_info.cpp175 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 Dschema_mgr.cpp141 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 Ddistributeddb_common_test.cpp544 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 Ddistributeddb_tools_unit_test.cpp895 if (!DBCommon::CaseInsensitiveCompare(input.field[i], expected.field[i])) { in isChangedDataEq()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_common.h102 static bool CaseInsensitiveCompare(const std::string &first, const std::string &second);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dschema_negotiate.cpp103 if (!DBCommon::CaseInsensitiveCompare(remoteSchema.GetTable(it.first).GetTableName(), it.first)) { in MakeOpinionEachTable()
H A Ddb_common.cpp479 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 Drelational_sync_able_storage.cpp1648 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 Dcloud_sync_tag_assets.cpp351 if (DBCommon::CaseInsensitiveCompare(item.first, assetFieldName)) { in GetAssetsCaseInsensitive()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_relational_storage_engine.cpp207 if (DBCommon::CaseInsensitiveCompare(schema.GetTable(tableName).GetTableName(), tableName)) { in CreateDistributedTable()
H A Dsqlite_single_ver_relational_storage_executor.cpp101 if (DBCommon::CaseInsensitiveCompare(field.GetFieldName(), std::string(DBConstant::SQLITE_INNER_ROWID))) { in CheckTableConstraint()
H A Dsqlite_single_ver_relational_storage_executor_extend.cpp169 if (!DBCommon::CaseInsensitiveCompare(localTable.GetTableName(), tableSchema.name)) { in GetPrimaryKeyHashValue()

Completed in 20 milliseconds