Searched refs:dbp (Results 1 – 5 of 5) sorted by relevance
/PHP-7.2/ext/dba/ |
H A D | dba_db3.c | 55 DB *dbp; member 61 DB *dbp = NULL; local 96 dbp->set_errcall(dbp, php_dba_db3_errcall_fcn); 106 data->dbp = dbp; 112 dbp->close(dbp, 0); 127 dba->dbp->close(dba->dbp, 0); 139 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { 156 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval, 170 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { 193 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) { [all …]
|
H A D | dba_db2.c | 43 DB *dbp; member 49 DB *dbp; in DBA_OPEN_FUNC() local 85 ((dba_db2_data *) info->dbf)->dbp = dbp; in DBA_OPEN_FUNC() 95 dba->dbp->close(dba->dbp, 0); in DBA_CLOSE_FUNC() 105 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC() 122 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC() 135 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC() 146 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS; in DBA_DELETE_FUNC() 159 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) { 161 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) { [all …]
|
H A D | dba_db4.c | 69 DB *dbp; member 75 DB *dbp = NULL; local 125 dbp->set_errcall(dbp, php_dba_db4_errcall_fcn); 135 data->dbp = dbp; 141 dbp->close(dbp, 0); 156 dba->dbp->close(dba->dbp, 0); 171 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { 191 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval, 210 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 | 42 DB *dbp; member 83 dba->dbp = db; in DBA_OPEN_FUNC() 93 dba->dbp->close(dba->dbp); in DBA_CLOSE_FUNC() 104 if (dba->dbp->get(dba->dbp, &gkey, &gval, 0) == RET_SUCCESS) { in DBA_FETCH_FUNC() 120 …return dba->dbp->put(dba->dbp, &gkey, &gval, mode == 1 ? R_NOOVERWRITE : 0) != RET_SUCCESS ? FAILU… in DBA_UPDATE_FUNC() 129 return dba->dbp->get(dba->dbp, &gkey, &gval, 0) != RET_SUCCESS ? FAILURE : SUCCESS; in DBA_EXISTS_FUNC() 137 return dba->dbp->del(dba->dbp, &gkey, 0) != RET_SUCCESS ? FAILURE : SUCCESS; in DBA_DELETE_FUNC() 149 if (dba->dbp->seq(dba->dbp, &gkey, &gval, R_FIRST) == RET_SUCCESS) { in DBA_FIRSTKEY_FUNC() 165 if (dba->dbp->seq(dba->dbp, &gkey, &gval, R_NEXT) == RET_SUCCESS) { in DBA_NEXTKEY_FUNC()
|
H A D | config.m4 | 524 DB * dbp = dbopen("", 0, 0, DB_HASH, 0);
|
Completed in 12 milliseconds