Home
last modified time | relevance | path

Searched refs:dbp (Results 1 – 5 of 5) sorted by relevance

/PHP-7.3/ext/dba/
H A Ddba_db3.c53 DB *dbp; member
59 DB *dbp = NULL; local
93 dbp->set_errcall(dbp, php_dba_db3_errcall_fcn);
103 data->dbp = dbp;
109 dbp->close(dbp, 0);
124 dba->dbp->close(dba->dbp, 0);
136 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
153 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
167 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
190 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
[all …]
H A Ddba_db2.c41 DB *dbp; member
47 DB *dbp; in DBA_OPEN_FUNC() local
82 ((dba_db2_data *) info->dbf)->dbp = dbp; in DBA_OPEN_FUNC()
92 dba->dbp->close(dba->dbp, 0); in DBA_CLOSE_FUNC()
102 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC()
119 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC()
132 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC()
143 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS; in DBA_DELETE_FUNC()
156 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) {
158 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) {
[all …]
H A Ddba_db4.c67 DB *dbp; member
73 DB *dbp = NULL; local
122 dbp->set_errcall(dbp, php_dba_db4_errcall_fcn);
132 data->dbp = dbp;
138 dbp->close(dbp, 0);
153 dba->dbp->close(dba->dbp, 0);
168 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
188 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
207 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
233 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
[all …]
H A Ddba_db1.c40 DB *dbp; member
80 dba->dbp = db; in DBA_OPEN_FUNC()
90 dba->dbp->close(dba->dbp); in DBA_CLOSE_FUNC()
101 if (dba->dbp->get(dba->dbp, &gkey, &gval, 0) == RET_SUCCESS) { in DBA_FETCH_FUNC()
117 …return dba->dbp->put(dba->dbp, &gkey, &gval, mode == 1 ? R_NOOVERWRITE : 0) != RET_SUCCESS ? FAILU… in DBA_UPDATE_FUNC()
126 return dba->dbp->get(dba->dbp, &gkey, &gval, 0) != RET_SUCCESS ? FAILURE : SUCCESS; in DBA_EXISTS_FUNC()
134 return dba->dbp->del(dba->dbp, &gkey, 0) != RET_SUCCESS ? FAILURE : SUCCESS; in DBA_DELETE_FUNC()
146 if (dba->dbp->seq(dba->dbp, &gkey, &gval, R_FIRST) == RET_SUCCESS) { in DBA_FIRSTKEY_FUNC()
162 if (dba->dbp->seq(dba->dbp, &gkey, &gval, R_NEXT) == RET_SUCCESS) { in DBA_NEXTKEY_FUNC()
H A Dconfig.m4522 DB * dbp = dbopen("", 0, 0, DB_HASH, 0);

Completed in 14 milliseconds