Home
last modified time | relevance | path

Searched refs:dbf (Results 1 – 16 of 16) sorted by relevance

/PHP-5.5/ext/dba/
H A Ddba_qdbm.c37 DEPOT *dbf; member
42 DEPOT *dbf; in DBA_OPEN_FUNC() local
46 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC()
49 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC()
61 if (dbf) { in DBA_OPEN_FUNC()
64 ((dba_qdbm_data *) info->dbf)->dbf = dbf; in DBA_OPEN_FUNC()
76 dpclose(dba->dbf); in DBA_CLOSE_FUNC()
138 dpiterinit(dba->dbf); in DBA_FIRSTKEY_FUNC()
140 value = dpiternext(dba->dbf, &value_size); in DBA_FIRSTKEY_FUNC()
170 dpoptimize(dba->dbf, 0); in DBA_OPTIMIZE_FUNC()
[all …]
H A Ddba_gdbm.c38 GDBM_FILE dbf; member
44 GDBM_FILE dbf; in DBA_OPEN_FUNC() local
63 if(dbf) { in DBA_OPEN_FUNC()
65 memset(info->dbf, 0, sizeof(dba_gdbm_data)); in DBA_OPEN_FUNC()
66 ((dba_gdbm_data *) info->dbf)->dbf = dbf; in DBA_OPEN_FUNC()
78 gdbm_close(dba->dbf); in DBA_CLOSE_FUNC()
89 gval = gdbm_fetch(dba->dbf, gkey); in DBA_FETCH_FUNC()
147 gkey = gdbm_firstkey(dba->dbf); in DBA_FIRSTKEY_FUNC()
166 gkey = gdbm_nextkey(dba->dbf, dba->nextkey); in DBA_NEXTKEY_FUNC()
181 gdbm_reorganize(dba->dbf); in DBA_OPTIMIZE_FUNC()
[all …]
H A Ddba_ndbm.c39 DBM *dbf; in DBA_OPEN_FUNC() local
66 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
68 pinfo->dbf = dbf; in DBA_OPEN_FUNC()
74 dbm_close(info->dbf); in DBA_CLOSE_FUNC()
83 gval = dbm_fetch(info->dbf, gkey); in DBA_FETCH_FUNC()
99 if(!dbm_store(info->dbf, gkey, gval, mode == 1 ? DBM_INSERT : DBM_REPLACE)) in DBA_UPDATE_FUNC()
108 gval = dbm_fetch(info->dbf, gkey); in DBA_EXISTS_FUNC()
118 return(dbm_delete(info->dbf, gkey) == -1 ? FAILURE : SUCCESS); in DBA_DELETE_FUNC()
126 gkey = dbm_firstkey(info->dbf); in DBA_FIRSTKEY_FUNC()
139 gkey = dbm_nextkey(info->dbf); in DBA_NEXTKEY_FUNC()
H A Ddba_flatfile.c39 #define FLATFILE_DATA flatfile *dba = info->dbf
44 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
45 memset(info->dbf, 0, sizeof(flatfile)); in DBA_OPEN_FUNC()
47 ((flatfile*)info->dbf)->fp = info->fp; in DBA_OPEN_FUNC()
H A Ddba_tcadb.c34 #define TCADB_DATA dba_tcadb_data *dba = info->dbf
72 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
73 memset(info->dbf, 0, sizeof(dba_tcadb_data)); in DBA_OPEN_FUNC()
74 ((dba_tcadb_data *) info->dbf)->tcadb = tcadb; in DBA_OPEN_FUNC()
H A Ddba_dbm.c42 #define DBM_DATA dba_dbm_data *dba = info->dbf
86 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
87 memset(info->dbf, 0, sizeof(dba_dbm_data)); in DBA_OPEN_FUNC()
93 pefree(info->dbf, info->flags&DBA_PERSISTENT); in DBA_CLOSE_FUNC()
H A Ddba_inifile.c40 inifile *dba = info->dbf
55 …info->dbf = inifile_alloc(info->fp, info->mode == DBA_READER, info->flags&DBA_PERSISTENT TSRMLS_CC… in DBA_OPEN_FUNC()
57 return info->dbf ? SUCCESS : FAILURE; in DBA_OPEN_FUNC()
H A Ddba_db2.c36 #define DB2_DATA dba_db2_data *dba = info->dbf
83 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
84 memset(info->dbf, 0, sizeof(dba_db2_data)); in DBA_OPEN_FUNC()
85 ((dba_db2_data *) info->dbf)->dbp = dbp; in DBA_OPEN_FUNC()
H A Ddba_db1.c38 #define DB1_DATA dba_db1_data *dba = info->dbf
85 info->dbf = dba; in DBA_OPEN_FUNC()
94 pefree(info->dbf, info->flags&DBA_PERSISTENT); in DBA_CLOSE_FUNC()
H A Ddba_db3.c45 #define DB3_DATA dba_db3_data *dba = info->dbf
100 info->dbf = data; in DBA_OPEN_FUNC()
H A Ddba_cdb.c48 dba_cdb *cdb = (dba_cdb *) info->dbf
117 pinfo->dbf = cdb; in DBA_OPEN_FUNC()
H A Ddba_db4.c63 #define DB4_DATA dba_db4_data *dba = info->dbf
138 info->dbf = data;
H A Dphp_dba.h42 void *dbf; /* ptr to private data or whatever */ member
/PHP-5.5/ext/fileinfo/tests/
H A Dmagic4755 # http://www.clicketyclick.dk/databases/xbase/format/dbf.html
4785 !:mime application/x-dbf
4786 #!:mime application/x-dbf; charset=unknown-8bit ??
5756 # ESRI Shapefile format (.shp .shx .dbf=DBaseIII)
/PHP-5.5/ext/pcre/pcrelib/
H A DChangeLog2828 U+01d9b - U+01dbf
/PHP-5.5/
H A DNEWS8379 - Implemented #38357 (dbase_open can't open DBase 3 dbf file).

Completed in 105 milliseconds