Home
last modified time | relevance | path

Searched refs:isExists (Results 1 - 11 of 11) sorted by relevance

/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Ddb_upgrade_utils.cpp38 bool isExists = !resultSet->GetRowCount(rowCount) && rowCount > 0; in IsTableExists() local
39 MEDIA_INFO_LOG("Media_Restore: tableName=%{public}s, isExists:%{public}d", tableName.c_str(), isExists); in IsTableExists()
40 return isExists; in IsTableExists()
57 bool isExists = !resultSet->GetRowCount(rowCount) && rowCount > 0; in IsColumnExists() local
58 MEDIA_INFO_LOG("Media_Restore: tableName=%{public}s, columnName=%{public}s, isExists:%{public}d", in IsColumnExists()
61 isExists); in IsColumnExists()
62 return isExists; in IsColumnExists()
/foundation/multimodalinput/input/util/napi/src/
H A Dkey_event_napi.cpp126 bool isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_CTRL_LEFT) in WriteKeyStatusToJs() local
128 auto status = SetNameProperty(env, out, "ctrlKey", isExists); in WriteKeyStatusToJs()
131 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_ALT_LEFT) in WriteKeyStatusToJs()
133 status = SetNameProperty(env, out, "altKey", isExists); in WriteKeyStatusToJs()
136 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_SHIFT_LEFT) in WriteKeyStatusToJs()
138 status = SetNameProperty(env, out, "shiftKey", isExists); in WriteKeyStatusToJs()
141 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_META_LEFT) in WriteKeyStatusToJs()
143 status = SetNameProperty(env, out, "logoKey", isExists); in WriteKeyStatusToJs()
146 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_FN); in WriteKeyStatusToJs()
147 status = SetNameProperty(env, out, "fnKey", isExists); in WriteKeyStatusToJs()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
H A Dsqlite_store_executor_impl.cpp327 bool isExists = IsCollectionExists(collName, errCode); in CreateCollection() local
332 if (isExists) { in CreateCollection()
360 bool isExists = IsCollectionExists(collName, errCode); in DropCollection() local
364 if (!isExists) { in DropCollection()
380 bool isExists = false; in IsCollectionExists() local
388 [&isExists](sqlite3_stmt *stmt, bool &isMatchOneData) { in IsCollectionExists()
389 isExists = true; in IsCollectionExists()
395 return isExists; in IsCollectionExists()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_relational_database_upgrader.cpp122 bool isExists = false; in UpgradeTrigger() local
123 int errCode = SQLiteUtils::CheckTableExists(db_, table.first, isExists); in UpgradeTrigger()
124 if (errCode == E_OK && !isExists) { in UpgradeTrigger()
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp450 bool isExists = false; in GetClearWaterMarkTables() local
451 int errCode = SQLiteUtils::CheckTableExists(dbHandle_, logTableName, isExists); in GetClearWaterMarkTables()
456 if (!isExists) { // table maybe dropped after set reference in GetClearWaterMarkTables()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_service.cpp470 bool isExists = false; in CheckAllUser() local
471 if (AccountHelper::IsOsAccountExists(userId, isExists) != ERR_OK) { in CheckAllUser()
476 if (!isExists) { in CheckAllUser()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_sqlite_ext.cpp1392 bool isExists = false; in CheckUnLockingDataExists() local
1394 isExists = true; in CheckUnLockingDataExists()
1397 return isExists; in CheckUnLockingDataExists()
1485 void PostHandle(bool isExists, sqlite3 *db) in PostHandle() argument
1489 if (!isExists) { // first create db, clean old time helper in PostHandle()
1564 bool isExists = (access(filename, 0) == 0); in sqlite3_open_relational() local
1569 PostHandle(isExists, *ppDb); in sqlite3_open_relational()
1575 bool isExists = (access(static_cast<const char *>(filename), 0) == 0); in sqlite3_open16_relational() local
1580 PostHandle(isExists, *ppDb); in sqlite3_open16_relational()
1586 bool isExists in sqlite3_open_v2_relational() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtracker_table.cpp275 bool isExists = (errCode == SQLiteUtils::MapSQLiteErrno(SQLITE_ROW)) ? true : false; in ReBuildTempTrigger() local
298 if (!isExists) { in ReBuildTempTrigger()
/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/
H A Djs_input_monitor.cpp1193 bool isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_CTRL_LEFT) in GetPressedKey() local
1195 if (SetNameProperty(jsEnv_, result, "ctrlKey", isExists) != napi_ok) { in GetPressedKey()
1199 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_ALT_LEFT) in GetPressedKey()
1201 if (SetNameProperty(jsEnv_, result, "altKey", isExists) != napi_ok) { in GetPressedKey()
1205 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_SHIFT_LEFT) in GetPressedKey()
1207 if (SetNameProperty(jsEnv_, result, "shiftKey", isExists) != napi_ok) { in GetPressedKey()
1211 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_META_LEFT) in GetPressedKey()
1213 if (SetNameProperty(jsEnv_, result, "logoKey", isExists) != napi_ok) { in GetPressedKey()
1217 isExists = HasKeyCode(pressedKeys, KeyEvent::KEYCODE_FN); in GetPressedKey()
1218 if (SetNameProperty(jsEnv_, result, "fnKey", isExists) ! in GetPressedKey()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_utils.cpp1249 bool isExists = false; in GetSchema() local
1250 int errCode = CheckTableExists(db, "meta_data", isExists); in GetSchema()
1251 if (errCode != E_OK || !isExists) { in GetSchema()
1252 LOGW("meta table may has not been created, err=%d, isExists=%d", errCode, isExists); in GetSchema()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp1506 bool isExists = bundleInfoTest.innerBundleUserInfos_.find(key) != bundleInfoTest.innerBundleUserInfos_.cend(); in ChangeAppDisabledStatus() local
1507 if (!isExists) { in ChangeAppDisabledStatus()

Completed in 36 milliseconds