Searched refs:dbp (Results 1 – 5 of 5) sorted by relevance
/PHP-8.4/ext/dba/ |
H A D | dba_db3.c | 45 DB *dbp; member 51 DB *dbp = NULL; local 81 dbp->set_errcall(dbp, php_dba_db3_errcall_fcn); 91 data->dbp = dbp; 97 dbp->close(dbp, 0); 112 dba->dbp->close(dba->dbp, 0); 127 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { 147 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval, 165 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { 192 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) { [all …]
|
H A D | dba_db2.c | 33 DB *dbp; member 39 DB *dbp; in DBA_OPEN_FUNC() local 70 ((dba_db2_data *) info->dbf)->dbp = dbp; in DBA_OPEN_FUNC() 80 dba->dbp->close(dba->dbp, 0); in DBA_CLOSE_FUNC() 93 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC() 112 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC() 128 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC() 142 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS; in DBA_DELETE_FUNC() 155 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) { 157 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) { [all …]
|
H A D | dba_db4.c | 59 DB *dbp; member 65 DB *dbp = NULL; local 110 dbp->set_errcall(dbp, php_dba_db4_errcall_fcn); 120 data->dbp = dbp; 126 dbp->close(dbp, 0); 141 dba->dbp->close(dba->dbp, 0); 160 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { 183 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval, 206 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { 236 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) { [all …]
|
H A D | dba_db1.c | 35 DB *dbp; member 71 dba->dbp = db; in DBA_OPEN_FUNC() 81 dba->dbp->close(dba->dbp); in DBA_CLOSE_FUNC() 95 if (dba->dbp->get(dba->dbp, &gkey, &gval, 0) == RET_SUCCESS) { in DBA_FETCH_FUNC() 113 …return dba->dbp->put(dba->dbp, &gkey, &gval, mode == 1 ? R_NOOVERWRITE : 0) != RET_SUCCESS ? FAILU… in DBA_UPDATE_FUNC() 125 return dba->dbp->get(dba->dbp, &gkey, &gval, 0) != RET_SUCCESS ? FAILURE : SUCCESS; in DBA_EXISTS_FUNC() 136 return dba->dbp->del(dba->dbp, &gkey, 0) != RET_SUCCESS ? FAILURE : SUCCESS; in DBA_DELETE_FUNC() 148 if (dba->dbp->seq(dba->dbp, &gkey, &gval, R_FIRST) == RET_SUCCESS) { in DBA_FIRSTKEY_FUNC() 163 if (dba->dbp->seq(dba->dbp, &gkey, &gval, R_NEXT) == RET_SUCCESS) { in DBA_NEXTKEY_FUNC()
|
H A D | config.m4 | 637 [DB * dbp = dbopen("", 0, 0, DB_HASH, 0);])],
|
Completed in 12 milliseconds