Lines Matching refs:dbase

131 	db		*dbase;  in tableDB()  local
137 dbase = InUseDictionary->find_table(intName, &tbl); in tableDB()
141 return (dbase); in tableDB()
343 db * dbase = InUseDictionary->find_table(table_name, &tbl); in db_first_entry() local
345 if (tbl == NULL || dbase == NULL) in db_first_entry()
358 res = dbase->execute(DB_FIRST, query, NULL, NULL); in db_first_entry()
375 db * dbase = InUseDictionary->find_table(table_name); in db_next_entry() local
377 if (dbase != NULL) { in db_next_entry()
379 return (dbase->execute(DB_NEXT, NULL, NULL, next_desc)); in db_next_entry()
394 db * dbase = InUseDictionary->find_table(table_name); in db_reset_next_entry() local
396 if (dbase != NULL) { in db_reset_next_entry()
398 return (dbase->execute(DB_RESET_NEXT, in db_reset_next_entry()
415 db * dbase = InUseDictionary->find_table(table_name, &tbl, in __db_list_entries() local
418 if (tbl == NULL || dbase == NULL) in __db_list_entries()
429 res = dbase->execute(DB_LOOKUP, query, in __db_list_entries()
433 res = dbase->execute(DB_ALL, NULL, NULL, NULL); in __db_list_entries()
503 db *dbase; in dbFindObject() local
538 dbase = InUseDictionary->find_table_noLDAP(table, &tbl, TRUE, TRUE); in dbFindObject()
540 if (dbase != 0) in dbFindObject()
541 mindex = dbase->mindex(); in dbFindObject()
542 if (dbase == 0 || tbl == 0 || mindex == 0) { in dbFindObject()
567 res = dbase->execute(DB_LOOKUP, query, 0, 0); in dbFindObject()
771 db *dbase; in dbTouchObj() local
800 dbase = InUseDictionary->find_table(table, &tbl, TRUE); in dbTouchObj()
801 if (dbase != 0) in dbTouchObj()
802 mindex = dbase->mindex(); in dbTouchObj()
803 if (dbase == 0 || tbl == 0 || mindex == 0) { in dbTouchObj()
987 db *dbase; in dbRefreshObj() local
1009 dbase = InUseDictionary->find_table(table, &tbl, TRUE); in dbRefreshObj()
1010 if (dbase != 0) in dbRefreshObj()
1011 mindex = dbase->mindex(); in dbRefreshObj()
1012 if (dbase == 0 || tbl == 0 || mindex == 0) { in dbRefreshObj()
1281 db *dbase; in loadAllLDAP() local
1346 dbase = InUseDictionary->find_table(t->objPath, in loadAllLDAP()
1348 if (dbase != 0) in loadAllLDAP()
1349 mindex = dbase->mindex(); in loadAllLDAP()
1350 if (dbase == 0 || tbl == 0 || mindex == 0) { in loadAllLDAP()
1437 dbase = InUseDictionary->find_table(objPath, in loadAllLDAP()
1439 if (dbase != 0) in loadAllLDAP()
1440 mindex = dbase->mindex(); in loadAllLDAP()
1441 if (dbase == 0 || tbl == 0 || mindex == 0) { in loadAllLDAP()
1538 dbase = InUseDictionary->find_table(t->objPath, in loadAllLDAP()
1540 if (dbase != 0) in loadAllLDAP()
1541 mindex = dbase->mindex(); in loadAllLDAP()
1542 if (dbase == 0 || tbl == 0 || mindex == 0) { in loadAllLDAP()
1592 db * dbase = InUseDictionary->find_table(tab, &tbl, FALSE); in db_add_entry_x() local
1594 if (tbl == NULL || dbase == NULL) { in db_add_entry_x()
1598 res = dbase->execute(DB_ADD_NOLOG, NULL, in db_add_entry_x()
1610 res = dbase->execute(DB_ADD_NOSYNC, in db_add_entry_x()
1613 res = dbase->execute(DB_ADD, query, in db_add_entry_x()
1654 db * dbase = InUseDictionary->find_table(table_name, &tbl, FALSE); in db_remove_entry_x() local
1657 if (tbl == NULL || dbase == NULL) in db_remove_entry_x()
1668 res = dbase->execute(DB_REMOVE_NOSYNC, in db_remove_entry_x()
1671 res = dbase->execute(DB_REMOVE, query, in db_remove_entry_x()
1676 res = dbase->execute(DB_REMOVE_NOSYNC, in db_remove_entry_x()
1679 res = dbase->execute(DB_REMOVE, in db_remove_entry_x()
1703 db * dbase = InUseDictionary->find_table(table_name); in db_version() local
1705 if (dbase == NULL) in db_version()
1707 vers* v = new vers(dbase->get_version()); in db_version()
1717 db * dbase = InUseDictionary->find_table(table_name); in db_log_entries_since() local
1719 if (dbase == NULL) in db_log_entries_since()
1721 return (dbase->get_log_entries_since(v)); in db_log_entries_since()
1727 db * dbase = InUseDictionary->find_table(table_name); in db_sync_log() local
1729 if (dbase == NULL) in db_sync_log()
1731 return (dbase->sync_log()); in db_sync_log()
1742 db * dbase = InUseDictionary->find_table(table_name, NULL, FALSE); in db_apply_log_entry() local
1744 if (dbase == NULL) in db_apply_log_entry()
1746 if (dbase->execute_log_entry(entry)) in db_apply_log_entry()
1785 db *dbase = InUseDictionary->find_table(table_name, &tbl); in db_stats() local
1787 if (tbl == NULL || dbase == NULL || tbl->scheme == NULL) in db_stats()
1790 dbase->print(); in db_stats()
1800 db * dbase = InUseDictionary->find_table(table_name); in db_print_all_indices() local
1802 if (dbase == NULL) in db_print_all_indices()
1804 dbase->print_all_indices(); in db_print_all_indices()
1812 db * dbase = InUseDictionary->find_table(table_name); in db_print_index() local
1814 if (dbase == NULL) in db_print_index()
1816 dbase->print_index(which); in db_print_index()
1898 db *dbase = InUseDictionary->find_table(table_name, NULL); in __db_configure() local
1900 if (dbase == NULL || table_name == 0) in __db_configure()
1909 if (dbase->configure(tablePath)) in __db_configure()